Make cross-test-ssh.sh compatible with a remote POSIX sh
[glibc.git] / ChangeLog
blob16fa8ac98689973e27d5ac7a7c29a49274fd32a1
1 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3         * scripts/cross-test-ssh.sh (command): Use newlines to separate
4         commands.  Quote $PWD.
5         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6         -x" by "export".
7         (remove_newlines): Remove.
9 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12         * stdlib/stdlib.h (atof): Moved to ...
13         * include/bits/stdlib-float.h: Here.  New file.
14         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15         * stdlib/bits/stdlib-float.h: New file.
16         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17         -mno-sse -mno-mmx.
18         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19         <xmmintrin.h>.
21 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23         * conform/conformtest.pl (@headers): Add fenv.h.
24         * conform/data/fenv.h-data: New file.
25         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26         include of <math/fenv.h>.
28         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30         && !UNIX98].  Enables tests for XOPEN2K8.
31         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32         POSIX2008]: Likewise.
34         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35         (struct rusage): Do not expect type or its members.
37         [BZ #3439]
38         * math/math.h (FP_NAN): Define macro to integer constant usable in
39         #if and use that to give value to enum constant.
40         (FP_INFINITE): Likewise.
41         (FP_ZERO): Likewise.
42         (FP_SUBNORMAL): Likewise.
43         (FP_NORMAL): Likewise.
45 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
47         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49         arguments.
51 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55         autoconf-time if not.
56         * configure.in: Remove AC_PREREQ.
58 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62         of the internal implementation.
64 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67         except include of <misc/sys/syslog.h>.
69 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72         function returns with a NULL context exit with zero.
74 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
78 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
80         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
81         (run_program_cmd): This.
82         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
83         (tst_langinfo): New variable.  Use it.
85 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
87         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
88         floating point opcodes.
90 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
92         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
93         variable.
95         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
97         * sysdeps/mach/hurd/powerpc: Remove directory.
98         * sysdeps/mach/powerpc: Likewise.
100 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
102         * scripts/check-local-headers.sh: Ignore c++ headers.
104 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
106         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
107         __libc_cleanup_region_start argument.
109 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
111         [BZ #14784]
112         [BZ #14785]
113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
114         x * y using scaling, not as x * y + z.
115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
116         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
117         * math/libm-test.inc (fma_test): Add more tests.
118         (fma_test_towardzero): Likewise.
119         (fma_test_downward): Likewise.
120         (fma_test_upward): Likewise.
122 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
124         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
126 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
128         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
129         New variable.
131 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
133         * rt/tst-shm.c (worker): Correct checking for mmap failure.
135 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
138         Fix sort order.
139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
140         Likewise.
142 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
145         Fix the order of the list for glibc 2.17.
146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
147         Likewise.
149 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
153 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
155         [BZ #14610]
156         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
157         for low part of x being zero before using __atanl (y).
158         * math/libm-test.inc (atan2_test): Add another test.
160         * manual/install.texi (Configuring and compiling): Document
161         general use of test-wrapper and test-wrapper-env.
162         * INSTALL: Regenerated.
164         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
165         (__fma): Do not extract and scale down low bits on after-rounding
166         systems when result rounded to normal precision would have normal
167         exponent.
168         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
169         (__fmal): Do not extract and scale down low bits on after-rounding
170         systems when result rounded to normal precision would have normal
171         exponent.
172         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
173         (__fmal): Do not extract and scale down low bits on after-rounding
174         systems when result rounded to normal precision would have normal
175         exponent.
176         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
177         macro.
178         (fma_test): Add more tests.
179         (fma_test_towardzero): Likewise.
180         (fma_test_downward): Likewise.
181         (fma_test_upward): Likewise.
183 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
185         * sysdeps/i386/tininess.h: Renamed to ...
186         * sysdeps/x86/tininess.h: This.
187         * sysdeps/x86_64/tininess.h: Removed.
189 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
191         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
192         input.  Use $(build-program-cmd).
193         ($(objpfx)tst-array1-static.out): Likewise.
194         ($(objpfx)tst-array2.out): Likewise.
195         ($(objpfx)tst-array3.out): Likewise.
196         ($(objpfx)tst-array4.out): Likewise.
197         ($(objpfx)tst-array5.out): Likewise.
198         ($(objpfx)tst-array5-static.out): Likewise.
200 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
202         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
203         if defined.
205         * nss/nsswitch.h (nss_interface_function): Provide new
206         macro for use with NSS functions.
207         * grp/initgroups.c: Use new macro.
208         * nss/getXXbyYY.c: Likewise.
209         * nss/getXXbyYY_r.c: Likewise.
210         * nss/getXXent.c: Likewise.
211         * nss/getXXent_r.c: Likewise.
212         * sysdeps/posix/getaddrinfo.c: Likewise.
214 2012-10-30  Andreas Jaeger  <aj@suse.de>
216         * po/ru.po: Update Russion translation from translation project.
218 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
220         [BZ #14152]
221         [BZ #14783]
222         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
223         result and shift together with sticky bit instead of replicating
224         round-to-nearest rounding.
225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
226         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
227         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
228         missing underflow exceptions.
229         (fma_test_towardzero): Add more tests.
230         (fma_test_downward): Likewise.
231         (fma_test_upward): Likewise.
233         [BZ #14047]
234         * sysdeps/generic/tininess.h: New file.
235         * sysdeps/i386/tininess.h: Likewise.
236         * sysdeps/sh/tininess.h: Likewise.
237         * sysdeps/x86_64/tininess.h: Likewise.
238         * stdlib/tst-strtod-underflow.c: Likewise.
239         * stdlib/tst-tininess.c: Likewise.
240         * stdlib/strtod_l.c: Include <tininess.h>.
241         (round_and_return): Do not set errno for exact underflow cases.
242         Force an underflow exception when setting errno for underflow.
243         Determine underflow based on rounding to normal precision if
244         TININESS_AFTER_ROUNDING.
245         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
246         ERANGE for exact underflow cases.
247         * stdlib/Makefile (tests): Add tst-tininess and
248         tst-strtod-underflow.
249         ($(objpfx)tst-tininess): Use $(link-libm).
250         ($(objpfx)tst-strtod-underflow): Likewise.
252 2012-10-30  Andreas Jaeger  <aj@suse.de>
254         [BZ#14767]
255         * elf/Makefile (tests): Remove conditional for have-initfini-array
256         since this is now always required and the variable does not exist
257         anymore.
258         (tests-static): Likewise.
259         (modules-names): Likewise.
261         * po/eo.po: Add Esperanto translation from translation project.
263         * elf/tst-array1.c (fini_array): Make writeable so that it can be
264         merged with constructor/destructor.
265         (init_array): Likewise.
266         * elf/tst-array2dep.c (fini_array): Likewise.
267         (init_array): Likewise.
269 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
271         * manual/message.texi: Delete @cartouche tags.
273 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
275         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
276         EOPNOTSUPP.
277         * sysdeps/mach/hurd/fsync.c: Likewise.
279         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
280         [_POSIX_REALTIME_SIGNALS]: Change condition to
281         [_POSIX_REALTIME_SIGNALS > 0].
283 2012-10-27  Andreas Jaeger  <aj@suse.de>
285         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
286         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
287         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
288         [__WORDSIZE != 64]: Likewise.
290 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
292         *  iconvdata/tst-table.sh: Remove ${SHELL}.
293         *  iconvdata/tst-tables.sh: Likewise.
295 2012-10-25  David S. Miller  <davem@davemloft.net>
297         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
298         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
299         of strtoull.
301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
302         ifunc-impl-list.c
303         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
304         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
305         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
306         file.
308 2012-10-25  Roland McGrath  <roland@hack.frob.com>
310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
311         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
312         __getdirentries.
314 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
315             Jim Blandy  <jimb@codesourcery.com>
317         * scripts/cross-test-ssh.sh: New file.
318         * manual/install.texi (Configuring and compiling): Document use of
319         cross-test-ssh.sh.
320         * INSTALL: Regenerated.
322 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
324         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
325         EOPNOTSUPP.
327 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
329         * Makeconfig (run-program-prefix): Fix comment.
331 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
332             Jim Blandy  <jimb@codesourcery.com>
334         * Makeconfig (test-wrapper): New variable,
335         (test-wrapper-env): Likewise.
336         [$(cross-compiling) = yes && $(test-wrapper) != ""]
337         (run-built-tests): Define to yes.
338         (run-program-prefix): Use $(test-wrapper).
339         (built-program-cmd): Likewise.
340         * Rules (make-test-out): Use $(test-wrapper-env) and
341         $(host-built-program-cmd).
342         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
343         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
344         tst-pathopt.sh.
345         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
346         $(test-wrapper-env) to tst-rtld-load-self.sh.
347         ($(objpfx)order2.out): Use $(test-wrapper).
348         ($(objpfx)tst-initorder.out): Likewise.
349         ($(objpfx)tst-initorder2.out): Likewise.
350         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
351         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
352         (test_wrapper_env): New variable.  Use it to run ld.so.
353         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
354         Use it to run ld.so.
355         (test_wrapper_env): Likewise.
356         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
357         $(test-wrapper) to run-iconv-test.sh.
358         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
359         (ICONV): Use $test_wrapper.
360         * posix/Makefile ($(objpfx)globtest.out): Pass
361         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
362         globtest.sh, not $(run-program-prefix).
363         * posix/globtest.sh (run_via_rtld_prefix): New variable.
364         (test_wrapper): Likewise.
365         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
366         set together with run_via_rtld_prefix.
367         (run_program_prefix): Define in terms of test_wrapper and
368         run_via_rtld_prefix.
370 2012-10-24  Roland McGrath  <roland@hack.frob.com>
372         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
373         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
374         Targets removed.
376         [BZ #14743]
377         * include/time.h: Remove librt_hidden_proto (clock_gettime).
378         Declare __clock_getres, __clock_gettime, __clock_settime,
379         __clock_nanosleep, and __clock_getcpuclockid.
380         * rt/clock_gettime.c: Define __clock_gettime as an alias.
381         Remove librt_hidden_def (clock_gettime).
382         * sysdeps/unix/clock_gettime.c: Likewise.
383         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
384         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
385         * rt/clock_getres.c: Define __clock_getres as an alias.
386         * sysdeps/posix/clock_getres.c: Likewise.
387         * rt/clock_settime.c: Define __clock_settime as an alias.
388         * sysdeps/unix/clock_settime.c: Likewise.
389         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
390         * sysdeps/unix/clock_nanosleep.c: Likewise.
391         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
392         * rt/clock-compat.c: New file.
393         * rt/Makefile (librt-routines): Add clock-compat and move
394         $(clock-routines) to ...
395         (routines): ... here, new variable.
396         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
397         Don't add get_clockfreq here.
398         * rt/Versions (libc: GLIBC_2.17): New version set.
399         Add clock_* symbols here.
400         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
401         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
402         (GLIBC_2.17): Add clock_* symbols.
403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
405         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
407         Likewise.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
409         Likewise.
410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
414         * NEWS: Mention the move.
416         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
417         Use __open, __read, __close rather than their public counterparts.
418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
419         (__get_clockfreq_via_cpuinfo): Likewise.
420         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
421         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
423         * config.h.in (HAVE_IFUNC): New #undef.
424         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
425         was successful.
426         * configure: Regenerated.
428 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
430         * configure.in: Move READELF check to start of file.
431         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
432         libc_cv_asm_gnu_indirect_function in the process.
433         * configure: Regenerated.
435 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
437         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
438         send the output to /dev/null.
439         (libc_cv_cc_with_libunwind): Likewise.
440         (libc_cv_as_noexecstack): Likewise.
441         * configure: Regenerate.
443 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
445         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
447         * posix/globtest.sh (TMPDIR): Do not set.
448         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
449         (testout): Likewise.
451 2012-10-24  Andreas Jaeger  <aj@suse.de>
453         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
454         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
455         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
456         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
457         posix_fadvise64, posix_fallocate64.
459         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
460         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
461         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
462         Likewise.
463         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
464         Likewise.
465         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
468         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
469         <bits/fcntl-linux.h>.
470         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
472         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
473         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
474         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
475         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
476         [__WORDSIZE != 64]: Likewise.
478 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
480         * Makeconfig (run-built-tests): New variable.
481         * Rules [$(cross-compiling) = yes]: Change condition to
482         [$(run-built-tests) = no].
483         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
484         to [$(run-built-tests) = yes].
485         * elf/Makefile [$(cross-compiling) = no]: Likewise
486         * grp/Makefile [$(cross-compiling) = no]: Likewise.
487         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
488         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
489         * intl/Makefile [$(cross-compiling) = no]: Likewise.
490         * io/Makefile [$(cross-compiling) = no]: Likewise.
491         * libio/Makefile [$(cross-compiling) = no]: Likewise.
492         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
493         * misc/Makefile [$(cross-compiling) = no]: Likewise.
494         * posix/Makefile [$(cross-compiling) = no]: Likewise.
495         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
496         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
497         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
498         * string/Makefile [$(cross-compiling) = no]: Likewise.
500         * posix/Makefile ($(objpfx)globtest.out): Pass
501         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
502         $(rtld-installed-name).
503         * posix/globtest.sh (elf_objpfx): Remove variable.
504         (rtld_installed_name): Likewise.
505         (library_path): Likewise.
506         (run_program_prefix): New variable.  Use for running globtest
507         binary.
509 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
510             Joseph Myers  <joseph@codesourcery.com>
512         * Makeconfig (host-built-program-cmd): New variable.
513         * elf/Makefile (tst-stackguard1-ARGS): Use
514         $(host-built-program-cmd).
515         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
516         (tst-spawn-ARGS): Likewise.
517         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
519 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
520             Jim Blandy  <jimb@codesourcery.com>
522         * Makeconfig (run-via-rtld-prefix): New variable.
523         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
524         (built-program-cmd): Likewise.
526 2012-10-22  Andreas Jaeger  <aj@suse.de>
528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
529         __O_RSYNC if it exists, otherwise to O_SYNC.
531 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
532             Joseph Myers  <joseph@codesourcery.com>
534         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
535         /dev/null.
536         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
537         from /dev/null
538         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
539         /dev/null.
541 2012-10-22  Andreas Jaeger  <aj@suse.de>
543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
544         Define always.
545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
548         bits/fcntl-linux.h.
550         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
551         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
554         to __O_LARGEFILE.
555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
556         to __O_LARGEFILE.
558 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
559             Joseph Myers  <joseph@codesourcery.com>
561         * config.make.in (NM): New variable.
563 2012-10-21  Andreas Jaeger  <aj@suse.de>
565         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
566         definitions and declarations that are provided by
567         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
569 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
571         [BZ #14683]
572         * elf/Makefile (tests-static): Add tst-leaks1-static.
573         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
574         ($(objpfx)tst-leaks1-static): New rule.
575         ($(objpfx)tst-leaks1-static-mem): Likewise.
576         (tst-leaks1-static-ENV): New macro.
577         * elf/dl-open.c (dl_open_worker): Check the main application
578         only if SHARED is defined.
579         * elf/tst-leaks1-static.c: New file.
581 2012-10-20  Andreas Jaeger  <aj@suse.de>
583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
584         generic values for Linux.
585         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
586         and declarations that are provided by <bits/fcntl-linux.h> and
587         include <bits/fcntl-linux.h>.
588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
591 2012-10-20  Roland McGrath  <roland@hack.frob.com>
593         * io/fcntl.h: Move include of <bits/types.h> to the top and
594         include it unconditionally.
596 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
598         * wcsmbs/Makefile (tests-ifunc): New variable.
599         (tests): Add $(tests-ifunc).
600         * wcsmbs/test-wcschr-ifunc.c: New file.
601         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
602         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
603         * wcsmbs/test-wcslen-ifunc.c: Likewise.
604         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
605         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
607         * string/Makefile (tests-ifunc): New variable.
608         (tests): Add $(tests-ifunc).
609         * string/test-memccpy.c (TEST_NAME): New macro.
610         * string/test-memchr.c (TEST_NAME): Likewise.
611         * string/test-memcmp.c (TEST_NAME): Likewise.
612         * string/test-memcpy.c (TEST_NAME): Likewise.
613         * string/test-memmem.c (TEST_NAME): Likewise.
614         * string/test-memmove.c (TEST_NAME): Likewise.
615         * string/test-memset.c (TEST_NAME): Likewise.
616         * string/test-rawmemchr.c (TEST_NAME): Likewise.
617         * string/test-stpcpy.c (TEST_NAME): Likewise.
618         * string/test-stpncpy.c (TEST_NAME): Likewise.
619         * string/test-strcasecmp.c (TEST_NAME): Likewise.
620         * string/test-strcasestr.c (TEST_NAME): Likewise.
621         * string/test-strcat.c (TEST_NAME): Likewise.
622         * string/test-strchr.c (TEST_NAME): Likewise.
623         * string/test-strcmp.c(TEST_NAME): Likewise.
624         * string/test-strcpy.c (TEST_NAME): Likewise.
625         * string/test-strcspn.c (TEST_NAME): Likewise.
626         * string/test-strlen.c (TEST_NAME): Likewise.
627         * string/test-strncasecmp.c (TEST_NAME): Likewise.
628         * string/test-strncmp.c (TEST_NAME): Likewise.
629         * string/test-strncpy.c (TEST_NAME): Likewise.
630         * string/test-strnlen.c (TEST_NAME): Likewise.
631         * string/test-strpbrk.c (TEST_NAME): Likewise.
632         * string/test-strrchr.c (TEST_NAME): Likewise.
633         * string/test-strspn.c (TEST_NAME): Likewise.
634         * string/test-strstr.c (TEST_NAME): Likewise.
635         * string/test-bcopy-ifunc.c: New file.
636         * string/test-bzero-ifunc.c: Likewise.
637         * string/test-memccpy-ifunc.c: Likewise.
638         * string/test-memchr-ifunc.c: Likewise.
639         * string/test-memcmp-ifunc.c: Likewise.
640         * string/test-memcpy-ifunc.c: Likewise.
641         * string/test-memmem-ifunc.c: Likewise.
642         * string/test-memmove-ifunc.c: Likewise.
643         * string/test-mempcpy-ifunc.c: Likewise.
644         * string/test-memset-ifunc.c: Likewise.
645         * string/test-rawmemchr-ifunc.c: Likewise.
646         * string/test-stpcpy-ifunc.c: Likewise.
647         * string/test-stpncpy-ifunc.c: Likewise.
648         * string/test-strcasecmp-ifunc.c: Likewise.
649         * string/test-strcasestr-ifunc.c: Likewise.
650         * string/test-strcat-ifunc.c: Likewise.
651         * string/test-strchr-ifunc.c: Likewise.
652         * string/test-strchrnul-ifunc.c: Likewise.
653         * string/test-strcmp-ifunc.c: Likewise.
654         * string/test-strcpy-ifunc.c: Likewise.
655         * string/test-strcspn-ifunc.c: Likewise.
656         * string/test-strlen-ifunc.c: Likewise.
657         * string/test-strncasecmp-ifunc.c: Likewise.
658         * string/test-strncat-ifunc.c: Likewise.
659         * string/test-strncmp-ifunc.c: Likewise.
660         * string/test-strncpy-ifunc.c: Likewise.
661         * string/test-strnlen-ifunc.c: Likewise.
662         * string/test-strpbrk-ifunc.c: Likewise.
663         * string/test-strrchr-ifunc.c: Likewise.
664         * string/test-strspn-ifunc.c: Likewise.
665         * string/test-strstr-ifunc.c: Likewise.
667         * debug/Makefile (tests-ifunc): New variable.
668         (tests): Add $(tests-ifunc).
669         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
670         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
671         * debug/test-stpcpy_chk-ifunc.c: New file.
672         * debug/test-strcpy_chk-ifunc.c: Likewise.
674 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
676         [BZ #13601]
677         * elf/dl-load.c (open_verify): Retry read if the entire ELF
678         header is not read in.
680 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
682         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
683         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
684         directly.  Pass built executable to script as
685         $(built-program-cmd).
686         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
687         $testprogram without using LD_LIBRARY_PATH and $ldso.
689         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
690         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
691         $(rtld-installed-name).
692         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
693         (rtld_installed_name): Likewise.
694         (library_path): Likewise.
695         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
696         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
697         $(run-program-prefix) to tst-tables.sh.
698         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
699         it to run tst-table-from and tst-table-to.
700         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
701         Pass it to tst-table.sh.
702         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
703         $(run-program-prefix) to tst-gettext.sh.
704         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
705         tst-translit.sh.
706         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
707         tst-gettext2.sh.
708         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
709         to run tst-gettext.
710         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
711         to run tst-gettext2.
712         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
713         to run tst-translit.
714         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
715         $(run-program-prefix) to tst-mtrace.sh.
716         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
717         to run tst-mtrace.
718         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
719         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
720         $(rtld-installed-name).
721         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
722         (rtld_installed_name): Likewise.
723         (run_program_prefix): New variable.  Use it to run wordexp-test.
725         * Makeconfig (ARCH): Remove all definitions.
726         (machine): Likewise.
727         [ARCH]: Remove conditional code.
728         [!objdir]: Give error.
729         [!objdir] (objpfx): Remove.
730         [!objdir] (common-objpfx): Likewise.
731         [!objdir] (common-objdir): Likewise.
732         * configure.in (config_makefile): Remove.  Hardcode Makefile in
733         AC_CONFIG_FILES call.
734         * configure: Regenerated.
736         [BZ #13888]
737         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
738         or TMPDIR.
739         (testout): Likewise.
741         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
742         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
743         $(rtld-installed-name).
744         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
745         (rtld_installed_name): Likwise.
746         (runit): Remove function.
747         (run_getconf): New variable,  Use it for running getconf binary.
749 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
751         [BZ #14716]
752         * string/test-memmem.c (check_result): New function.
753         (do_one_test): Use it.
754         (check1): New function.
755         (test_main): Use it.
757 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
759         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
761 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
763         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
764         (_G_LSEEK64): Likewise.
765         (_G_MMAP64): Likewise.
766         (_G_FSTAT64): Likewise.
767         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
768         (_G_LSEEK64): Likewise.
769         (_G_MMAP64): Likewise.
770         (_G_FSTAT64): Likewise.
771         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
772         unconditional.  Call __mmap64 directly.
773         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
774         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
775         __lseek64 directly.
776         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
777         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
778         __mmap64 directly.
779         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
780         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
781         __lseek64 directly.
782         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
783         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
784         __lseek64 directly.
785         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
786         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
787         __lseek64 directly.
788         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
789         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
790         __fxstat64 directly.
791         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
792         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
793         unconditional.
794         (freopen64) [!_G_OPEN64]: Remove conditional code.
795         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
796         unconditional.
797         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
798         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
799         unconditional.
800         (ftello64) [!_G_LSEEK64]: Remove conditional code.
801         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
802         unconditional.
803         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
804         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
805         unconditional.
806         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
807         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
808         unconditional.
809         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
810         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
811         unconditional.
812         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
813         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
814         unconditional.
815         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
817 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
819         [BZ #12140]
820         * manual/memory.texi (Malloc Tunable Parameters): Add note
821         about free list pointers overwriting some perturb bytes.
822         Wording suggested by Roland McGrath.
824 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
826         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
827         (lgamma_test): Likewise.
828         (tgamma_test): Likewise.
830 2012-10-16  Florian Weimer  <fweimer@redhat.com>
832         [BZ #14700]
833         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
834         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
836 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
838         * NEWS: Mention BZ #14716.
839         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
840         when removing AVAILABLE1_USES_J macro.
842 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
844         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
845         (__bswap_64): __uint64_t for unsigned 64-bit int.
847 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
849         * include/string.h (memmem): Declare libc hidden alias.
850         * string/memmem.c (memmem): Define libc hidden alias.
851         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
852         __read, __close instead of open, read, close.
854 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
857         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
858         global and hidden.
859         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
860         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
861         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
862         Likewise.
863         (__rawmemchr_sse2): Likewise.
864         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
865         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
866         (__strchr_sse2): Likewise.
867         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
868         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
869         (__strcasecmp_sse2): Likewise.
870         (__strncasecmp_sse2): Likewise.
871         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
872         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
873         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
874         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
875         (__strrchr_sse2): Likewise.
876         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
877         ifunc-impl-list.c.
878         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
879         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
880         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
881         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
882         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
883         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
884         * sysdeps/x86_64/multiarch/memset.S: Likewise.
885         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
886         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
887         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
888         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
889         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
890         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
891         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
892         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
893         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
894         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
895         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
896         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
897         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
898         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
899         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
900         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
901         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
902         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
903         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
904         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
905         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
906         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
907         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
909         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
910         global and hidden.
911         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
912         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
913         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
914         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
915         Likewise.
916         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
917         Likewise.
918         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
919         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
920         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
921         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
922         ifunc-impl-list.c.
923         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
924         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
925         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
926         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
927         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
928         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
929         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
930         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
931         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
932         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
933         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
934         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
935         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
936         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
937         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
938         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
939         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
940         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
941         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
942         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
943         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
944         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
945         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
946         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
947         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
948         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
949         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
950         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
951         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
952         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
953         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
954         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
955         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
956         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
957         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
958         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
959         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
960         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
961         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
962         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
963         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
965         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
966         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
967         * include/ifunc-impl-list.h: New file.
968         * misc/ifunc-impl-list.c: Likewise.
969         * misc/Makefile (routines): Add ifunc-impl-list.
970         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
971         * string/test-string.h: Include <ifunc-impl-list.h>.
972         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
973         impl_array): New variables.
974         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
975         are defined.
976         (test_init): Call __libc_ifunc_impl_list to initialize
977         func_list if TEST_IFUNC and TEST_NAME are defined.
979         * string/Makefile (strop-tests): Add bcopy and bzero.
980         * string/test-bcopy.c: New file.
981         * string/test-bzero.c: Likewise.
982         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
983         defined.
984         * string/test-memset.c: Support bzero test if TEST_BZERO is
985         defined.
986         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
987         __libc_memmove.
988         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
989         __libc_memset.
990         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
991         of memset.
993 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
995         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
996         * configure: Regenerated.
998         * Makeconfig (+link-static-before-libc): Don't include
999         $(link-static-libc).
1001         * libio/libio.h (_IO_pos_t): Remove.
1003 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
1005         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
1006         McGrath.
1008 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
1010         * crypt/crypt-entry.c: Include fips-private.h.
1011         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1012         * crypt/md5c-test.c (main): Tolerate disabled MD5.
1013         * sysdeps/unix/sysv/linux/fips-private.h: New file.
1014         * sysdeps/generic/fips-private.h: New file, dummy fallback.
1016 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
1018         * crypt/crypt-private.h: Include stdbool.h.
1019         (_ufc_setup_salt_r): Return bool.
1020         * crypt/crypt-entry.c: Include errno.h.
1021         (__crypt_r): Return NULL with EINVAL for bad salt.
1022         * crypt/crypt_util.c (bad_for_salt): New.
1023         (_ufc_setup_salt_r): Check that salt is long enough and within
1024         the specified alphabet.
1025         * crypt/badsalttest.c: New file.
1026         * crypt/Makefile (tests): Add it.
1027         ($(objpfx)badsalttest): New.
1029 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
1031         * NEWS: Add entry for BZ #14602.
1033 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
1035         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1036         type-generic.
1037         * math/libm-test.inc: Update comment listing what functions and
1038         macros are tested.
1039         (isgreater_test): New function.
1040         (isgreaterequal_test): Likewise.
1041         (isless_test): Likewise.
1042         (islessequal_test): Likewise.
1043         (islessgreater_test): Likewise.
1044         (isunordered_test): Likewise.
1045         (main): Call the new functions.
1047 2012-10-09  Roland McGrath  <roland@hack.frob.com>
1049         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1050         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1051         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1052         * sysdeps/i386/configure: Regenerated.
1053         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1054         * sysdeps/mach/configure: Regenerated.
1055         * sysdeps/mach/hurd/configure: Regenerated.
1056         * sysdeps/powerpc/configure: Regenerated.
1057         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1058         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1059         * sysdeps/s390/s390-32/configure: Regenerated.
1060         * sysdeps/s390/s390-64/configure: Regenerated.
1061         * sysdeps/sh/configure: Regenerated.
1062         * sysdeps/sparc/configure: Regenerated.
1063         * sysdeps/unix/sysv/linux/configure: Regenerated.
1064         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1065         * sysdeps/x86_64/configure: Regenerated.
1067         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1068         defined.  Don't check if MAP is NULL.
1070 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
1072         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1073         (_G_stat64): Likewise.
1074         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1075         (_G_stat64): Likewise.
1076         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1077         instead of struct _G_stat64.
1078         * libio/fileops.c (mmap_remap_check): Likewise.
1079         (decide_maybe_mmap): Likewise.
1080         (_IO_new_file_seekoff): Likewise.
1081         (_IO_file_stat): Likewise.
1082         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1083         _G_off64_t.
1084         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1085         instead of struct _G_stat64.
1086         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1088 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
1090         [BZ #14602]
1091         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1092         Replace with ...
1093         (CHECK_EOL): New macro.
1094         (two_way_short_needle): Check beginning of haystack for EOL.  Use
1095         CHECK_EOL.
1096         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1097         Replace with CHECK_EOL.
1098         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1099         Replace with CHECK_EOL.
1101 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
1103         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1104         type-generic.
1105         * math/libm-test.inc: Update comment listing what functions and
1106         macros are tested.
1107         (finite_test): New function.
1108         (isinf_test): Likewise.
1109         (isnan_test): Likewise.
1110         (fpclassify_test): Test subnormal input.
1111         (isfinite_test): Likewise.
1112         (isnormal_test): Likewise.
1113         (main): Call the new functions.
1115 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
1117         [BZ #14660]
1118         * Makerules (%.dynsym): Force C locale when running
1119         $(OBJDUMP) --dynamic-syms.
1121 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1123         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1124         <stdint.h>.
1126 2012-10-06  David S. Miller  <davem@davemloft.net>
1128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1129         upper 32-bits of the length value in %o2 since we use branch-on-register
1130         tests which consider the entire 64-bit register.
1132 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
1134         * string/test-strstr.c (check2): Add a test for page boundary.
1136 2012-10-05  David S. Miller  <davem@davemloft.net>
1138         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1139         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1140         file.
1141         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1142         sysdep_routines.
1143         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1144         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1145         and bzero when HWCAP_SPARC_CRYPTO is present.
1147 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
1149         [BZ #14602]
1150         * string/test-strstr.c (check2): New function.
1151         (test_main): Call check2.
1153         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1154         and bug-strchr1.
1155         * string/bug-strcasestr1.c (do_test): Moved to ...
1156         * string/test-strcasestr.c (check1): Here.  New function.
1157         (do_one_test): Break out result checking code into ...
1158         (check_result): This.  New function.
1159         (do_one_test): Call check_result.
1160         (test_main): Call check1.
1161         * string/bug-strchr1.c (do_test): Moved to ...
1162         * string/test-strchr.c (check1): Here.  New function.
1163         (do_one_test): Break out result checking code into ...
1164         (check_result): This.  New function.
1165         (do_one_test): Call check_result.
1166         (test_main): Call check1.
1167         * string/bug-strstr1.c (main): Moved to ...
1168         * string/test-strchr.c (check1): Here.  New function.
1169         (do_one_test): Break out result checking code into ...
1170         (check_result): This.  New function.
1171         (do_one_test): Call check_result.
1172         (test_main): Call check1.
1173         * string/bug-strcasestr1.c: Removed.
1174         * string/bug-strchr1.c: Likewise.
1175         * string/bug-strstr1.c: Likewise.
1177         * elf/Makefile (dl-routines): Add hwcaps.
1178         * elf/dl-support.c (_dl_important_hwcaps): Removed.
1179         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1180         (_dl_important_hwcaps): Moved to ...
1181         * elf/dl-hwcaps.c: Here.  New file.
1182         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1184         [BZ #14557]
1185         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1186         if IS_IN_rtld isn't defined.
1188         * elf/dl-support.c (_dl_sysinfo_map): New.
1189         Include "get-dynamic-info.h" and "setup-vdso.h".
1190         (_dl_non_dynamic_init): Call setup_vdso.
1191         * elf/dynamic-link.h: Don't include <assert.h>.
1192         (elf_get_dynamic_info): Moved to ...
1193         * elf/get-dynamic-info.h: Here.  New file.
1194         * elf/dynamic-link.h: Include "get-dynamic-info.h".
1195         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1196         * elf/setup-vdso.h: Here.  New file.
1197         * elf/rtld.c: Include "setup-vdso.h".
1198         (dl_main): Call setup_vdso.
1200 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
1202         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1203         creal in comment listing functions tested.  List finite, isinf,
1204         isnan, isless, islessequal, isgreater, isgreaterequal,
1205         islessgreater, isunordered, lgamma_r and pow10 as functions and
1206         macros not tested.  Mention which functions not tested are aliases
1207         for other functions.  Fix typo.  Note that signs of NaNs are not
1208         tested.
1210         * scripts/config.guess: Update from config.git.
1211         * scripts/config.sub: Likewise.
1213 2012-10-04  Roland McGrath  <roland@hack.frob.com>
1215         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1216         * misc/madvise.c (madvise): Renamed to __madvise.
1217         Make madvise a weak alias.
1218         * include/sys/mman.h: Declare __madvise.
1219         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1220         * sysdeps/unix/syscalls.list
1221         (madvise): Make __madvise the strong name, and madvise a weak alias.
1222         * sysdeps/unix/sysv/linux/syscalls.list
1223         (madvise, mmap): Remove redundant entries.
1224         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1225         * malloc/malloc.c (mtrim): Likewise.
1226         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1228 2012-10-03  Roland McGrath  <roland@hack.frob.com>
1230         * sysdeps/mach/hurd/dl-cache.c: File removed.
1231         * config.h.in (USE_LDCONFIG): New #undef.
1232         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1233         * configure: Regenerated.
1234         * elf/Makefile (dl-routines): Add dl-cache only under
1235         [$(use-ldconfig) = yes].
1236         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1237         cache on [USE_LDCONFIG].
1238         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1239         [USE_LDCONFIG].
1240         * elf/rtld.c (dl_main): Likewise.
1242 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
1244         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1245         _SC_LEVEL4_CACHE_LINESIZE.
1247 2012-10-03  Roland McGrath  <roland@hack.frob.com>
1249         * sysdeps/unix/bsd/confstr.h: File removed.
1251 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
1253         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1254         sys/sdt-config.h.
1256 2012-10-02  Roland McGrath  <roland@hack.frob.com>
1258         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1259         Make 'mapoff' field ElfW(Off) rather than off_t.
1261 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
1263         * nscd/Makefile: Remove nscd-cflags and all its users.
1264         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1265         (CFLAGS-nonlib): Add compiler flags for nscd modules.
1267         [BZ #10631]
1268         * malloc.c (malloc_printerr): Clarify error message.
1270 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
1272         [BZ #14648]
1273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1274         Set bit_FMA_Usable if FMA is supported.
1275         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1276         macro.
1277         (bit_FMA4_Usable): Updated.
1278         (index_FMA_Usable): New macro.
1279         (CPUID_FMA): Likewise
1280         (HAS_FMA): Defined with bit_FMA_Usable.
1282 2012-10-01  Roland McGrath  <roland@hack.frob.com>
1284         * bits/types.h (__swblk_t): Type removed.
1285         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1286         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1288         (__SWBLK_T_TYPE): Likewise.
1289         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1290         (__SWBLK_T_TYPE): Likewise.
1291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1292         (__SWBLK_T_TYPE): Likewise.
1293         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1294         (__SWBLK_T_TYPE): Likewise.
1296 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
1297             Honza Horak <hhorak@redhat.com>
1299         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1300         (xdr_mapname): Use YPMAXMAP as maxsize.
1301         (xdr_peername): Use YPMAXPEER as maxsize.
1302         (xdr_keydat): Use YPAXRECORD as maxsize.
1303         (xdr_valdat): Use YPMAXRECORD as maxsize.
1305 2012-10-01  Roland McGrath  <roland@hack.frob.com>
1307         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1309         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1310         * csu/init-first.c: ... here.
1311         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1312         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1313         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1314         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1315         * sysdeps/i386/init-first.c: File removed.
1316         * sysdeps/sh/init-first.c: File removed.
1318 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
1320         [BZ #14645]
1321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1322         if x * y might underflow to zero and z is zero.
1323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1325         * math/libm-test.inc (min_subnorm_value): New variable.
1326         (fma_test): Add more tests.
1327         (fma_test_towardzero): Likewise.
1328         (fma_test_downward): Likewise
1329         (fma_test_upward): Likewise.
1330         (initialize): Set min_subnorm_value.
1332 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
1334         [BZ #14638]
1335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1336         0 + 0.
1337         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1338         mode for addition resulting in exact zero.
1339         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1341         exact 0 + 0.
1342         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1344         * math/libm-test.inc (fma_test): Add more tests.
1345         (fma_test_towardzero): New function.
1346         (fma_test_downward): Likewise.
1347         (fma_test_upward): Likewise.
1348         (main): Call the new functions.
1350 2012-09-28  David S. Miller  <davem@davemloft.net>
1352         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1354 2012-09-28  Roland McGrath  <roland@hack.frob.com>
1356         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1357         instead of SIGALRM.
1359         * sysdeps/gnu/_G_config.h: Moved to ...
1360         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1361         * sysdeps/mach/hurd/_G_config.h: Moved to ...
1362         * sysdeps/generic/_G_config.h: ... here.
1364         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
1366         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1368         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1369         Conditionalize target on [libnss_test1.so-version].
1371         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1373         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1374         (elfobjdir): Move out of conditionals.
1376         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1377         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1378         (__nss_lookup_function): Conditionalize label remove_from_tree on
1379         [!DO_STATIC_NSS || SHARED], matching its only use.
1381 2012-09-28  David S. Miller  <davem@davemloft.net>
1383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1384         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1385         file.
1386         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1387         sysdep_routines.
1388         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1390         when HWCAP_SPARC_CRYPTO is present.
1392 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1394         * io/tst-mknodat.c: Create a FIFO instead of a socket.
1396 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
1398         [BZ #6530]
1399         * stdio-common/vfprintf.c (process_string_arg): Revert
1400         2000-07-22 change.
1402 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
1404         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1405         for testcase.
1406         * stdio-common/tst-sprintf.c: Include <locale.h>
1407         (main): Test sprintf's handling of incomplete multibyte
1408         characters.
1410 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
1412         * elf/dl-runtime.c (VERSYMIDX): Removed.
1413         * elf/dl-version.c (VERSYMIDX): Likewise.
1414         * elf/do-rel.h (VERSYMIDX): Likewise.
1415         (VALIDX): Likewise.
1416         * elf/dynamic-link.h (VERSYMIDX): Likewise.
1417         * elf/rtld.c (VALIDX): Likewise.
1418         (ADDRIDX): Likewise.
1419         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1420         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1421         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1422         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1423         (VALIDX): Likewise.
1424         (ADDRIDX): Likewise.
1426 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1428         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1430 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
1432         [BZ #11438]
1433         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1434         to global scope.
1435         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1436         addresses are in the same scope as 192.0.2/24.
1437         * posix/gai.conf: Document new scope table defaults.
1439 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1441         [BZ #5298]
1442         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1443         for ftell.  Compute offsets from write pointers instead.
1444         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1446 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1448         [BZ #14543]
1449         * libio/Makefile (tests): New test case tst-fseek.
1450         * libio/tst-fseek.c: New test case to verify that fseek/ftell
1451         combination works in wide mode.
1452         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1453         state when the external buffer state changes.
1455 2012-09-27  David S. Miller  <davem@davemloft.net>
1457         [BZ #14376]
1458         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1459         pass reloc->r_addend in as the 'high' argument to
1460         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1464 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1466         * rt/tst-aio2.c: Include <pthread.h>.
1467         * rt/tst-aio3.c: Likewise.
1469 2012-09-27  Steve Ellcey  <sellcey@mips.com>
1471         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1473 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
1475         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1476         contents on [SHARED].
1478 2012-09-26  Marek Polacek  <polacek@redhat.com>
1480         [BZ #14530]
1481         [BZ #13741]
1482         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1483         for C++ and GCC <4.3 as well as for non GCC compilers.
1485 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
1487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1489 2012-09-25  Roland McGrath  <roland@hack.frob.com>
1491         * Makefile.in (all, install): Declare with .PHONY.
1492         Reported by Michael Hope <michael.hope@linaro.org>.
1494 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1496         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1497         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1498         system header.
1499         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1500         Likewise.
1501         (sydep_routines): Add the new and the internal functions.
1502         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1503         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1505         (GLIBC_2.17): Add the new function.
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1507         (GLIBC_2.17): Likewise.
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1509         (GLIBC_2.17): Likewise.
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1511         (GLIBC_2.17): Likewise.
1512         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1514 2012-09-25  Alan Modra  <amodra@gmail.com>
1516         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1517         Add release barrier before setting once_control to say
1518         initialisation is done.  Add hints on lwarx.  Use macro in
1519         place of isync.
1520         (clear_once_control): Add release barrier.
1522 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
1524         [BZ #13629]
1525         * math/s_clog.c (__clog): Handle more values close to |z| = 1
1526         specially.
1527         * math/s_clog10.c (__clog10): Likewise.
1528         * math/s_clog10f.c (__clog10f): Likewise.
1529         * math/s_clog10l.c (__clog10l): Likewise.
1530         * math/s_clogf.c (__clogf): Likewise.
1531         * math/s_clogl.c (__clogl): Likewise.
1532         * math/Makefile (libm-calls): Add x2y2m1.
1533         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1534         (__x2y2m1): Likewise.
1535         (__x2y2m1l): Likewise.
1536         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1537         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1538         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1539         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1540         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1541         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1542         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1543         * sysdeps/i386/fpu/libm-test-ulps: Update.
1544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1546         [BZ #14621]
1547         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1548         int as type of variable DEPTH.
1549         (glob): Use size_t instead of int as type of variables NEWCOUNT
1550         and OLD_PATHC.
1552 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1554         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1555         Add s_sincosf-sse2.
1556         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1557         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1558         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1559         macros for using routine as __sincosf_ia32.
1560         Use macro for function declaration and weak_alias.
1561         * sysdeps/i386/fpu/libm-test-ulps: Update.
1563         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1566         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1567         subnormal argument.
1568         * math/s_cexpf.c (__cexpf): Likewise.
1569         * math/s_csinf.c (__csinf): Likewise.
1570         * math/s_csinhf.c (__csinhf): Likewise.
1571         * math/s_ctanf.c (__ctanf): Likewise.
1572         * math/s_ctanhf.c (__ctanhf): Likewise.
1573         * math/s_ccosh.c (__ccoshf): Likewise.
1574         * math/s_cexp.c (__cexpl): Likewise.
1575         * math/s_csin.c (__csin): Likewise.
1576         * math/s_csinh.c (__csinh): Likewise.
1577         * math/s_ctan.c (__ctan): Likewise.
1578         * math/s_ctanh.c (ctanh): Likewise.
1579         * math/s_ccoshl.c (__ccoshl): Likewise.
1580         * math/s_cexpl.c (__cexpl): Likewise.
1581         * math/s_csinl.c (__csinl): Likewise.
1582         * math/s_csinhl.c (__csinhl): Likewise.
1583         * math/s_ctanl.c (__ctanl): Likewise.
1584         * math/s_ctanhl.c (__ctanhl): Likewise.
1586 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
1588         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1589         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1590         (_IO_off_t): Define to __off_t, not _G_off_t.
1591         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1592         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1593         (_IO_wint_t): Define to wint_t, not _G_wint_t.
1594         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1595         type of __dummy and __dummy2 fields.
1596         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1597         (_G_ssize_t): Likewise.
1598         (_G_off_t): Likewise.
1599         (_G_pid_t): Likewise.
1600         (_G_uid_t): Likewise.
1601         (_G_wchar_t): Likewise.
1602         (_G_wint_t): Likewise.
1603         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1604         (_G_ssize_t): Likewise.
1605         (_G_off_t): Likewise.
1606         (_G_pid_t): Likewise.
1607         (_G_uid_t): Likewise.
1608         (_G_wchar_t): Likewise.
1609         (_G_wint_t): Likewise.
1610         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1611         (_G_ssize_t): Likewise.
1612         (_G_off_t): Likewise.
1613         (_G_pid_t): Likewise.
1614         (_G_uid_t): Likewise.
1615         (_G_wchar_t): Likewise.
1616         (_G_wint_t): Likewise.
1618 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1620         * malloc/arena.c: Include malloc-sysdep.h.
1621         (shrink_heap): Use check_may_shrink_heap to decide if madvise
1622         is sufficient to shrink the heap or an unmap is needed.
1623         * sysdeps/generic/malloc-sysdep.h: New file.  Define
1624         new function check_may_shrink_heap.
1625         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
1626         new function check_may_shrink_heap.
1628 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1630         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1631         comments.
1633 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
1635         * catgets/test-gencat.sh: Add "set -e".
1636         * elf/tst-pathopt.sh: Likewise.
1637         * grp/tst_fgetgrent.sh: Likewise.
1638         * iconvdata/run-iconv-test.sh: Likewise.
1639         * intl/tst-gettext.sh: Likewise.
1640         * intl/tst-gettext2.sh: Likewise.
1641         * intl/tst-gettext4.sh: Likewise.
1642         * intl/tst-gettext6.sh: Likewise.
1643         * intl/tst-translit.sh: Likewise.
1644         * io/ftwtest-sh: Likewise.
1645         * libio/test-freopen.sh: Likewise.
1646         * malloc/tst-mtrace.sh: Likewise.
1647         * posix/globtest.sh: Likewise.
1648         * posix/tst-getconf.sh: Likewise.
1649         * posix/wordexp-tst.sh: Likewise.
1650         * stdio-common/tst-printf.sh: Likewise.
1651         * stdio-common/tst-unbputc.sh: Likewise.
1652         * stdlib/tst-fmtmsg.sh: Likewise.
1653         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1654         * catgets/Makefile: Do not specify -e option when running
1655         testsuite shell scripts.
1656         * elf/Makefile: Likewise.
1657         * grp/Makefile: Likewise.
1658         * iconvdata/Makefile: Likewise.
1659         * intl/Makefile: Likewise.
1660         * io/Makefile: Likewise.
1661         * libio/Makefile: Likewise.
1662         * malloc/Makefile: Likewise.
1663         * posix/Makefile: Likewise.
1664         * stdio-common/Makefile: Likewise.
1665         * stdlib/Makefile: Likewise.
1666         * sysdeps/x86_64/Makefile: Likewise.
1668         * io/ftwtest-sh: Add copyright header.
1669         * posix/globtest.sh: Likewise.
1670         * posix/tst-getconf.sh: Likewise.
1671         * posix/wordexp-tst.sh: Likewise.
1672         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1674 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
1676         [BZ #13679]
1677         * Makeconfig (+link): Defined as $(+link-static) if
1678         $(build-shared) isn't yes.
1679         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1680         isn't yes.
1681         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1683         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1685         [BZ #14562]
1686         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1687         new chunk size with MALLOC_ALIGN_MASK.
1689 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
1691         [BZ #5044]
1692         * stdio-common/printf_fphex.c: Include <stdbool.h> and
1693         <rounding-mode.h>.
1694         (__printf_fphex): Determine rounding using get_rounding_mode and
1695         round_away.
1696         * stdio-common/tst-printf-round.c (struct hex_test): New
1697         structure.
1698         (hex_tests): New variable.
1699         (test_hex_in_one_mode): New function.
1700         (do_test): Also run tests for hex float output.
1702 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
1704         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1705         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1706         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1707         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1708         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1709         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1710         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1711         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1713 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
1715         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1716         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1717         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1718         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1720 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
1722         [BZ #14579]
1723         * elf/rtld.c (dl_main): Limit the check for self loading to normal
1724         mode only.
1725         * elf/tst-rtld-load-self.sh: New test.
1726         * elf/Makefile: Run it.
1728 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
1730         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1731         (tst-writev-ENV): Remove.
1732         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1734 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
1736         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1738 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
1740         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1741         unconditional.
1742         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1743         Likewise.
1744         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1745         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1746         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1747         Likewise.
1749 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
1751         [BZ #14587]
1752         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1753         * config.make.in (have-cpp-asm-debuginfo): Removed.
1754         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1755         * configure: Regenerated.
1757 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
1759         [BZ #5044]
1760         * stdio-common/printf_fp.c: Include <stdbool.h> and
1761         <rounding-mode.h>.
1762         (___printf_fp): Determine rounding using get_rounding_mode and
1763         round_away.
1764         * stdio-common/tst-printf-round.c: New file.
1765         * stdio-common/Makefile (tests): Add tst-printf-round.
1766         (link-libm): New variable.
1767         ($(objpfx)tst-printf-round): Depend in $(link-libm).
1769 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
1771         [BZ #14576]
1772         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1773         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1774         Likewise.
1775         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1776         Likewise.
1778 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
1780         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1781         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1782         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1783         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1785 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
1787         [BZ #14518]
1788         * include/rounding-mode.h: New file.
1789         * sysdeps/generic/get-rounding-mode.h: Likewise.
1790         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1791         * stdlib/strtod_l.c: Include <rounding-mode.h>.
1792         (MAX_VALUE): New macro.
1793         (MIN_VALUE): Likewise.
1794         (overflow_value): New function.
1795         (underflow_value): Likewise.
1796         (round_and_return): Use overflow_value and underflow_value to
1797         determine return values in overflow and underflow cases.  Use
1798         round_away to determine rounding depending on rounding mode.
1799         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1800         determine return values in overflow and underflow cases.
1801         * stdlib/tst-strtod-round.c: Include <fenv.h>.
1802         (struct test_results): New structure.
1803         (struct test): Use struct test_results to store expected results
1804         for all rounding modes.
1805         (TEST): Include expected results for all rounding modes.
1806         (test_in_one_mode): New function.
1807         (do_test): Use test_in_one_mode to compute and check results.
1808         Check results for all rounding modes.
1809         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1810         $(link-libm).
1812 2012-12-09  Allan McRae  <allan@archlinux.org>
1814         * sysdeps/i386/fpu/libm-test-ulps: Update
1816 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
1818         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1819         (_G_int32_t): Likewise.
1820         (_G_uint16_t): Likewise.
1821         (_G_uint32_t): Likewise.
1822         (_G_HAVE_BOOL): Likewise.
1823         (_G_HAVE_ATEXIT): Likewise.
1824         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1825         (_G_HAVE_IO_FILE_OPEN): Likewise.
1826         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1827         (_G_int32_t): Likewise.
1828         (_G_uint16_t): Likewise.
1829         (_G_uint32_t): Likewise.
1830         (_G_HAVE_BOOL): Likewise.
1831         (_G_HAVE_ATEXIT): Likewise.
1832         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1833         (_G_HAVE_IO_FILE_OPEN): Likewise.
1834         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1835         (_G_int32_t): Likewise.
1836         (_G_uint16_t): Likewise.
1837         (_G_uint32_t): Likewise.
1838         (_G_HAVE_BOOL): Likewise.
1839         (_G_HAVE_ATEXIT): Likewise.
1840         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1841         (_G_HAVE_IO_FILE_OPEN): Likewise.
1843 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
1845         * csu/libc-tls.c: Update copyright years.
1847 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
1849         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1850         [!_G_USING_THUNKS]: Remove conditional code.
1851         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1852         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1854         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1855         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1856         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1857         (_G_VTABLE_LABEL_PREFIX): Likewise.
1858         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1859         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1860         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1861         (_G_VTABLE_LABEL_PREFIX): Likewise.
1862         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1863         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1864         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1865         (_G_VTABLE_LABEL_PREFIX): Likewise.
1866         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1868 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
1870         * libio/Makefile: Include ../Makeconfig before tests.
1871         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1872         only if $(build-shared) is yes.
1874         * iconv/gconv_db.c: Update copyright years.
1876 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1878         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1879         unwind info if defined PIC. Fix special cases description.
1880         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1882         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1883         DP_HI_MASK entry.
1884         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1886 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
1888         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1890         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1891         is NULL.
1893         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1894         (LDLIBS-tst-chk4): This.
1895         (LDFLAGS-tst-chk5): Renamed to ...
1896         (LDLIBS-tst-chk5): This.
1897         (LDFLAGS-tst-chk6): Renamed to ...
1898         (LDLIBS-tst-chk6): This.
1899         (LDFLAGS-tst-lfschk4): Renamed to ...
1900         (LDLIBS-tst-lfschk4): This.
1901         (LDFLAGS-tst-lfschk5): Renamed to ...
1902         (LDLIBS-tst-lfschk5): This.
1903         (LDFLAGS-tst-lfschk6): Renamed to ...
1904         (LDLIBS-tst-lfschk6): This.
1906         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1907         on $(common-objpfx)soversions.mk.
1909 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
1911         [BZ #10014]
1912         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1913         example host name.
1915 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1917         * malloc/arena.c (arena_get_retry): New function that gets
1918         another arena for the caller to try its request on.
1919         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1920         current arena cannot fulfill the request.
1921         (__libc_memalign): Likewise.
1922         (__libc_memalign): Likewise.
1923         (__libc_pvalloc): Likewise.
1924         (__libc_calloc): Likewise.
1926 2012-09-05  John Tobey  <john.tobey@gmail.com>
1928         [BZ #13542]
1929         * manual/arith.texi (Operations on Complex): Fix description
1930         of carg branch cut.
1932 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1934         [BZ #10014]
1935         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1936         host name.
1938         [BZ #10038]
1939         * manual/memory.texi (Memory): Make order of menu items match
1940         order of sections.
1942 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1944         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1945         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
1946         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1948 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1950         * csu/libc-tls.c (static_dtv): Renamed to ...
1951         (_dl_static_dtv): This.  Make it global.
1952         (_dl_initial_dtv): Removed.
1953         (__libc_setup_tls): Updated.
1954         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1955         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1956         DL_INITIAL_DTV.
1958 2012-09-06  Petr Machata  <pmachata@redhat.com>
1960         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1961         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1962         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1963         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1965 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1967         [BZ #14545]
1968         * csu/libc-tls.c (_dl_initial_dtv): New variable.
1969         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1970         freeing dtv[-1].
1972 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1974         [BZ #14544]
1975         * Makeconfig (link-static-before-libc): Replace $(+prector)
1976         with $(+prectorT).
1977         (link-static-after-libc): Replace $(+postctor) with
1978         $(+postctorT).
1979         (link-bounded): Replace $(+prector)/$(+postctor) with
1980         $(+prectorT)/$(+postctorT).
1981         (+prectorT): New macro.
1982         (+postctorT): Likewise.
1984 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1986         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1987         (round_str): Handle values above the maximum for IBM long double
1988         as inexact.
1989         * stdlib/tst-strtod-round.c (tests): Regenerated.
1991 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1993         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1994         assembler flag.
1995         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1996         zarch_nohighgprs around the zarch optimized routines.
1997         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1998         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1999         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2000         for zarch.
2002 2012-09-05  David S. Miller  <davem@davemloft.net>
2004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2006         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2007         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2008         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2009         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2010         entries.
2012 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
2014         * malloc/arena.c: Fold copyright years.
2015         * malloc/mcheck.c, malloc/memusage.c: Likewise.
2017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
2019         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2021 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
2023         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
2025 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
2027         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2028         change internal state upon failure.
2030 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
2032         * malloc/mcheck.c (mcheck_check_all): Fix typo.
2033         * malloc/memusage.c (mmap): Likewise.
2034         (mmap64, mremap): Likewise.  Adjust name in comment.
2036 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2038         * libio/fileops.c: Fix typos in comments.
2039         * libio/oldfileops.c: Likewise.
2040         * libio/wfileops.c: Likewise.
2042 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2044         [BZ #1349]
2045         * malloc/Makefile (tests): Add tst-malloc-usable test case.
2046         (tst-malloc-usable-ENV): Set environment for test case.
2047         * malloc/hooks.c (malloc_check_get_size): New function to get
2048         requested size.
2049         * malloc/malloc.c (musable): Use malloc_check_get_size.
2050         * malloc/tst-malloc-usable.c: New test case.
2052 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
2054         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2056 2012-09-05  Allan McRae  <allan@archlinux.org>
2058         [BZ #13966]
2059         * configure.in (CXX_SYSINCLUDES): Use compiler output to
2060         determine header location.
2061         * configure: Regenerated.
2063 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
2065         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2066         float format.
2067         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2068         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2069         format.
2070         (test): Regenerate.
2072 2012-09-04  David S. Miller  <davem@davemloft.net>
2074         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2075         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2076         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2078 2012-09-04  Florian Weimer  <fweimer@redhat.com>
2080         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2081         failures.
2083         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2085 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
2087         [BZ #9914]
2088         * libio/iogetdelim.c: Include <limits.h>.
2089         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2090         + len + 1 would overflow.
2092 2012-09-03  Andreas Jaeger  <aj@suse.de>
2094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2095         * sysdeps/i386/fpu/libm-test-ulps: Update.
2097 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2099         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2100         Add s_sinf-sse2, s_conf-sse2.
2102         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2103         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2104         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2105         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2107         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2108         for using routine as __sinf_ia32.
2109         Use macro for function declaration and weak_alias.
2110         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2111         for using routine as __cosf_ia32.
2112         Use macro for function declaration and weak_alias.
2114         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2115         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2117         * sysdeps/x86_64/fpu/s_sinf.S: New file.
2118         * sysdeps/x86_64/fpu/s_cosf.S: New file.
2119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2121         * math/libm-test.inc (cos_test): Add more test cases.
2122         (sin_test): Likewise.
2123         (sincos_test): Likewise.
2125 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2127         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2128         (IFUNC_RESOLVE): Make pointers to the specialized implementations
2129         hidden.
2130         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2132 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
2134         [BZ #14538]
2135         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2136         first element of the GOT.
2137         (elf_machine_load_address): Return the difference between
2138         the runtime address of _DYNAMIC and elf_machine_dynamic ().
2140 2012-09-01  Allan McRae  <allan@archlinux.org>
2142         [BZ #13412]
2143         * configure.in (AWK): Require gawk version 3.0 or later.
2144         * configure: Regenerated.
2146 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
2148         * sysdeps/unix/sysv/linux/kernel-features.h
2149         (__ASSUME_POSIX_CPU_TIMERS): Remove.
2150         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2151         [__NR_clock_getres]: Make code unconditional.
2152         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2153         (clock_getcpuclockid): Remove code left unreachable by removal of
2154         conditionals.
2155         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2156         code unconditional.
2157         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2158         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2159         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2160         Make code unconditional.
2161         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2162         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2163         * sysdeps/unix/sysv/linux/clock_settime.c
2164         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2165         conditional code.
2166         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2167         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2169 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
2171         [BZ #14476]
2172         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2173         scripts/test-installation.pl.
2175         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2176         and $ld_so_version if it is set.
2178 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2180         [BZ #14516]
2181         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2182         failure if reading from procfs failed.
2183         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2185 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
2187         * sysdeps/unix/sysv/linux/kernel-features.h
2188         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2189         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2190         Remove conditional code.
2191         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2192         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2193         Remove conditional code.
2194         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2195         * sysdeps/unix/sysv/linux/i386/fxstat.c
2196         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2197         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2198         * sysdeps/unix/sysv/linux/i386/fxstatat.c
2199         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2200         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2201         * sysdeps/unix/sysv/linux/i386/lxstat.c
2202         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2203         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2204         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2205         Remove conditional code.
2206         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2207         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2208         Remove conditional code.
2209         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2210         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2211         <kernel-features.h>.
2212         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2213         Remove.
2214         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2215         Remove conditional code.
2216         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2217         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2218         Remove conditional.
2220 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
2222         [BZ #5400]
2223         * NEWS: Add fixed bug number.
2225 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
2227         [BZ #14519]
2228         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2229         underflowing exponent in case of negative sign.
2230         * stdlib/tst-strtod-round-data: Add more tests.
2231         * stdlib/tst-strtod-round.c (tests): Regenerated.
2233         [BZ #3479]
2234         * stdlib/strtod_l.c (NDIG): Remove.
2235         (HEXNDIG): Likewise.
2236         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2237         smallest representable value.
2238         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2239         lie within an exact representation of 1/2 ulp of the result.
2240         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2241         unconditionally.
2242         (TENS_P9_IDX): Define unconditionally.
2243         (TENS_P9_SIZE): Likewise.
2244         (TENS_P10_IDX): Likewise.
2245         (TENS_P10_SIZE): Likewise.
2246         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2247         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2248         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2249         entries for 10^2^13 and 10^2^14.
2250         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2251         (TENS_P13_IDX): Define.
2252         (TENS_P13_SIZE): Likewise.
2253         (TENS_P14_IDX): Likewise.
2254         (TENS_P14_SIZE): Likewise.
2255         (_fpioconst_pow10): Change array size to
2256         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
2257         unconditional.
2258         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2259         1024]: Add entries for 10^2^13 and 10^2^14.
2260         [LAST_POW10 > _LAST_POW10]: Remove #error.
2261         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2262         (_fpioconst_pow10): Change array size to
2263         FPIOCONST_POW10_ARRAY_SIZE.
2264         * stdlib/gen-fpioconst.c: New file.
2265         * stdlib/gen-tst-strtod-round.c: Likewise.
2266         * stdlib/tst-strtod-round-data: Likewise.
2267         * stdlib/tst-strtod-round.c: Likewise.
2268         * stdlib/Makefile (tests): Add tst-strtod-round.
2270         [BZ #14459]
2271         * stdlib/strtod_l.c: Include <stdint.h>.
2272         (NDEBUG): Do not define.
2273         (round_and_return): Change EXPONENT parameter to type intmax_t.
2274         Rearrange calculations to avoid internal overflow possibilities.
2275         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2276         Rearrange calculations to avoid internal overflow possibilities.
2277         Assert that number fits inside MPNSIZE limbs.
2278         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2279         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
2280         calculations and add assertions to avoid internal overflow
2281         possibilities.  Add casts to avoid signed/unsigned operations.
2282         * stdlib/tst-strtod-overflow.c: New file.
2283         * stdlib/Makefile (tests): Add tst-strtod-overflow.
2285 2012-08-25  Marek Polacek  <polacek@redhat.com>
2287         * time/time.h: Fix some typos in comments.
2289 2012-08-23  Roland McGrath  <roland@hack.frob.com>
2291         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2292         * posix/tst-rfc3484-2.c: Likewise.
2293         * posix/tst-rfc3484-3.c: Likewise.
2295 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
2297         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2298         (EF_ARM_ABI_FLOAT_HARD): Likewise.
2300 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
2302         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2303         #include of fxstatat64.c.
2305 2012-08-22  Roland McGrath  <roland@hack.frob.com>
2307         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2308         * shadow/getspent_r.c: Likewise.
2309         * shadow/getspnam.c: Likewise.
2310         * shadow/getspnam_r.c: Likewise.
2311         * gshadow/getsgent.c: Likewise.
2312         * gshadow/getsgent_r.c: Likewise.
2313         * gshadow/getsgnam.c: Likewise.
2314         * gshadow/getsgnam_r.c: Likewise.
2315         * inet/getnetbyad.c: Likewise.
2316         * inet/getnetbyad_r.c: Likewise.
2317         * inet/getnetbynm.c: Likewise.
2318         * inet/getnetbynm_r.c: Likewise.
2319         * inet/getnetent.c: Likewise.
2320         * inet/getnetent_r.c: Likewise.
2321         * inet/getproto.c: Likewise.
2322         * inet/getproto_r.c: Likewise.
2323         * inet/getprtent.c: Likewise.
2324         * inet/getprtent_r.c: Likewise.
2325         * inet/getprtname.c: Likewise.
2326         * inet/getprtname_r.c: Likewise.
2327         * inet/getrpcbyname.c: Likewise.
2328         * inet/getrpcbyname_r.c: Likewise.
2329         * inet/getrpcbynumber.c: Likewise.
2330         * inet/getrpcbynumber_r.c: Likewise.
2331         * inet/getrpcent.c: Likewise.
2332         * inet/getrpcent_r.c: Likewise.
2333         * inet/getaliasent.c: Likewise.
2334         * inet/getaliasent_r.c: Likewise.
2335         * inet/getaliasname.c: Likewise.
2336         * inet/getaliasname_r.c: Likewise.
2337         * nscd/getgrgid_r.c: Likewise.
2338         * nscd/getgrnam_r.c: Likewise.
2339         * nscd/gethstbyad_r.c: Likewise.
2340         * nscd/gethstbynm3_r.c: Likewise.
2341         * nscd/getpwnam_r.c: Likewise.
2342         * nscd/getpwuid_r.c: Likewise.
2343         * nscd/getsrvbynm_r.c: Likewise.
2344         * nscd/getsrvbypt_r.c: Likewise.
2345         * nscd/gai.c: Likewise.
2347         * configure.in (build_nscd): New substituted variable, set
2348         by --disable-build-nscd and defaults to $use_nscd.
2349         * configure: Regenerated.
2350         * config.make.in (build-nscd): New substituted variable.
2351         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2352         Change conditional to require [$(build-nscd) = yes] as well.
2353         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2355         [BZ# 13696]
2356         * configure.in (use_nscd): New substituted variable, set by
2357         --disable-nscd.  If enabled, define USE_NSCD.
2358         * configure: Regenerated.
2359         * config.h.in: Add USE_NSCD.
2360         * config.make.in (use-nscd): New substituted variable.
2361         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2362         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2363         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2364         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2365         (CFLAGS-getgrnam_r.c): Likewise.
2366         (CFLAGS-initgroups.c): Likewise.
2367         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2368         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2369         Variables removed.
2370         * inet/getnetgrent_r.c
2371         (nscd_setnetgrent): New function, broken out of ...
2372         (setnetgrent): ... here.  Call it.
2373         (innetgr): Conditionalize nscd bits on [USE_NSCD].
2374         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2375         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2376         * nscd/Makefile (routines, aux): Move definitions after include of
2377         Makeconfig.  Conditionalize on [$(use-nscd) != no].
2378         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2379         Conditionalize on [USE_NSCD].
2380         (is_nscd, nscd_init_cb): Likewise.
2381         (nss_load_library): Conditionalize init callback on [USE_NSCD].
2382         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2383         * nss/nss_db/db-init.c: Likewise.
2384         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2385         [USE_NSCD].
2386         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2387         (make_request): Use it.
2388         (cache_valid_p): New function.
2389         (__check_pf): Use it.
2390         * NEWS: Add item for --disable-nscd.
2392 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
2394         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2395         to support sed >= 4.2.1-20-ga9bf076.
2396         * configure: Regenerated.
2398 2012-08-22  Roland McGrath  <roland@hack.frob.com>
2400         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2401         Conditionalize whole body on [IREL].
2403 2012-08-22  Jeff Law <law@redhat.com>
2405         [BZ #14505]
2406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2407         if the family is PF_UNSPEC.
2409 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
2411         * Makerules (lib-version): Rename from V.
2412         (install-lib-nosubdir): Change V to lib-version.
2414 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
2416         [BZ #14252]
2417         * powerpc32/power6/wcschr.c: New file.
2418         * powerpc32/power6/wcscpy.c: New file.
2419         * powerpc32/power6/wcsrchr.c: New file.
2420         * powerpc64/power6/wcschr.c: New file.
2421         * powerpc64/power6/wcscpy.c: New file.
2422         * powerpc64/power6/wcsrchr.c: New file.
2424 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
2426         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2427         (two_way_short_needle): Use it.
2428         * string/strstr.c (AVAILABLE1_USES_J): Define.
2429         * string/strcasestr.c: Likewise.
2431         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2432         array references.
2433         * string/strcasestr.c (TOLOWER): Make side-effect safe.
2435         [BZ #11607]
2436         * NEWS: Add an entry.
2437         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2438         define their defaults.
2439         (two_way_short_needle): Detect end-of-string on-the-fly.
2440         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2441         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2442         * string/bug-strcasestr1.c: New test.
2443         * string/Makefile: Run it.
2445 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
2447         [BZ #11607]
2448         * string/str-two-way.h (two_way_short_needle): Optimize matching of
2449         the first character.
2451 2012-08-21  Roland McGrath  <roland@hack.frob.com>
2453         * csu/elf-init.c (__libc_csu_irel): Function removed.
2454         * csu/libc-start.c (apply_irel): New function.
2455         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2457 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
2459         * sysdeps/unix/sysv/linux/kernel-features.h
2460         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2461         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2462         <kernel-features.h>.
2463         [__NR_fadvise64_64]: Make code unconditional.
2464         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2465         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2466         !__NR_fadvise64_64)]: Likewise.
2467         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2468         !__NR_fadvise64_64))]: Likewise.
2469         [__NR_fadvise64]: Make code unconditional.
2470         [!__NR_fadvise64]: Remove conditional code.
2471         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2472         <kernel-features.h>.
2473         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2474         unconditional.
2475         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2476         conditional code.
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2478         not include <kernel-features.h>.
2479         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2480         unconditional.
2481         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2482         conditional code.
2483         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2484         include <kernel-features.h>.
2485         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2486         unconditional.
2487         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2488         conditional code.
2490 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
2492         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2493         slight instruction rearrangements per scrollpipe analysis.
2494         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2496 2012-08-20  Roland McGrath  <roland@hack.frob.com>
2498         * manual/syslog.texi (syslog; vsyslog, closelog):
2499         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2500         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2502         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2503         DSOCAPS to match condition on defining it.
2505 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
2507         * sysdeps/unix/sysv/linux/kernel-features.h
2508         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2510         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2511         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2513         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2514         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2516         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2517         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2519         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2520         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2522         * sysdeps/unix/sysv/linux/kernel-features.h
2523         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2524         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2525         unconditional.
2526         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2527         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2528         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2529         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2530         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2531         Make code unconditional.
2532         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2533         (__mmap64) [!__NR_mmap2]: Likewise.
2534         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2535         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2536         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2537         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2538         [__NR_mmap2]: Make code unconditional.
2539         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2540         (__mmap64) [!__NR_mmap2]: Likewise.
2542 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2544         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2546 2012-08-18  Andreas Jaeger  <aj@suse.de>
2548         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2550 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
2552         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2553         * include/unistd.h (__have_sock_cloexec): Likewise.
2554         (__have_pipe2): Likewise.
2555         (__have_dup3): Likewise.
2557 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
2559         [BZ #9685]
2560         * include/unistd.h (__have_pipe2): Change define into an extern int.
2561         (__have_dup3): Likewise.
2562         * socket/have_sock_cloexec.c: Include fcntl.h.
2563         (__have_pipe2): New variable.
2564         (__have_dup3): Likewise.
2566 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
2568         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2570 2012-08-17  Marek Polacek  <polacek@redhat.com>
2572         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2573         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2575 2012-08-17  Roland McGrath  <roland@hack.frob.com>
2577         * configure.in: Add AC_SUBST for sysheaders.
2578         * configure: Regenerated.
2579         * config.make.in (sysheaders): New substituted variable.
2581         * sysdeps/unix/mkfifo.c: Moved ...
2582         * sysdeps/posix/mkfifo.c: ... here.
2583         * sysdeps/unix/mkfifoat.c: Moved ...
2584         * sysdeps/posix/mkfifoat.c: ... here.
2586         * sysdeps/unix/utime.c: Moved ...
2587         * sysdeps/posix/utime.c: ... here.
2589         * sysdeps/unix/time.c: Moved ...
2590         * sysdeps/posix/time.c: ... here.
2591         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2592         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2594         * sysdeps/unix/nice.c: Moved ...
2595         * sysdeps/posix/nice.c: ... here.
2597         * sysdeps/unix/alarm.c: Moved ...
2598         * sysdeps/posix/alarm.c: ... here.
2600         * intl/Makefile ($(codeset_mo)): Depend on the input file.
2602 2012-08-17  Jeff Law <law@redhat.com>
2604         * intl/Makefile (codeset_mo): New variable.
2605         ($(codeset_mo)): New target.
2606         (tst-codeset.out): Depend on that.  Remove explicit rule.
2607         (tst-gettext3.out, tst-gettext5.out): Likewise.
2608         (LOCPATH-ENV, tst-codeset-ENV): New variables.
2609         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2610         * intl/tst-codeset.sh: Remove.
2611         * intl/tst-gettext3.sh: Likewise.
2612         * intl/tst-gettext5.sh: Likewise.
2614 2012-08-17  Roland McGrath  <roland@hack.frob.com>
2616         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
2617         * sysdeps/unix/syscalls.list: ... here.
2619         * sysdeps/posix/getaddrinfo.c
2620         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2621         (gaiconf_init, gaiconf_reload): Use them.
2622         [!_STATBUF_ST_NSEC]
2623         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2624         Define using time_t rather than struct timespec.
2626         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2627         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2628         Macros removed.
2629         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2630         [!NO_THREADS].
2631         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2632         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2633         Likewise.
2635         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2636         __libc_cleanup_push argument.
2638         * bits/param.h: New file.
2639         * misc/sys/param.h: New file.
2640         * include/sys/param.h: New file.
2641         * misc/Makefile (headers): Add bits/param.h.
2642         * sysdeps/generic/sys/param.h: File removed.
2643         * sysdeps/unix/sysv/linux/bits/param.h: New file.
2644         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2645         * sysdeps/mach/hurd/bits/param.h: New file.
2646         * sysdeps/mach/hurd/sys/param.h: File removed.
2648         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2649         last change.
2651         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2652         [_IO_MTSAFE_IO].
2653         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2654         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2655         New macros.
2657         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2658         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2659         rather than -D_IO_MTSAFE_IO conditionally.
2660         * stdio-common/Makefile (CPPFLAGS): Likewise.
2661         * wcsmbs/Makefile (CPPFLAGS): Likewise.
2662         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2663         Use $(libio-mtsafe).
2664         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2665         of -D_IO_MTSAFE_IO.
2666         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2667         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2668         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2669         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2670         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2671         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2672         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2673         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2674         (CFLAGS-fread_u_chk.c): Likewise.
2675         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2676         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2677         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2678         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2679         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2680         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2681         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2682         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2683         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2685         * libio/Makefile: Test [$(libc-reentrant) = yes]
2686         instead of [$(filter %REENTRANT, $(defines)) nonempty].
2688         * Makeconfig
2689         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2690         * sysdeps/pthread/configure: File removed.
2691         * sysdeps/pthread/Makeconfig: New file.
2692         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2693         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2695 2012-08-16  Gary Benson  <gbenson@redhat.com>
2697         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2698         unmapping the first object in a namespace.
2700 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2702         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2703         (__internal_setnetgrent): ... this.  Add internal_function to
2704         definition.  Add libc_hidden_def.
2705         (setnetgrent): Update caller.
2706         (internal_endnetgrent): Renamed to ...
2707         (__internal_endnetgrent): ... this.  Add internal_function to
2708         definition.  Add libc_hidden_def.
2709         (endnetgrent): Update caller.
2710         (internal_getnetgrent_r): Renamed to ...
2711         (__internal_getnetgrent_r): ... this.  Add internal_function to
2712         definition.  Add libc_hidden_def.
2713         (__getnetgrent_r): Update caller.
2714         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
2716 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2718         * stdlib/longlong.h: Update from GCC.
2720 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2722         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2723         on _QL, which is set by umul_ppmm but never used.
2724         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2725         variables, which are set by GMP macros but never used.
2726         * stdio-common/_itowa.c (_itowa): Likewise.
2727         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2728         * stdlib/mod_1.c (mpn_mod_1): Likewise.
2730 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
2732         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2733         struct La_sh_regs is not constant.
2734         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2735         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2736         and struct La_sparc64_regs are not constant.
2738 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2740         * sysdeps/unix/sysv/linux/kernel-features.h
2741         (__ASSUME_POSIX_TIMERS): Remove.
2742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2743         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2744         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2745         Make code unconditional.
2746         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2747         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2748         Make code unconditional.
2749         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2750         * sysdeps/unix/sysv/linux/clock_nanosleep.c
2751         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2752         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2753         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2754         Make code unconditional.
2755         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2756         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2757         (__libc_missing_posix_timers): Remove.
2759 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2761         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2762         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2764         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2766         * elf/dl-sym.c: Include <stdlib.h>.
2768         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2769         constants, which avoids warnings in 32-bit builds.
2771         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2772         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2774         * misc/lseek.c: File moved to ...
2775         * io/lseek.c: ... here.
2777         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2779         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2780         shifting LEN more than 31 bits at once.
2782 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2784         [BZ #14195]
2785         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2786         segmentation fault for a case of two empty input strings.
2787         * string/test-strncasecmp.c (check1): Renamed to...
2788         (bz12205): ...this.
2789         (bz14195): Add new testcase for two empty input strings and N > 0.
2790         (test_main): Call new testcase, adapt for renamed function.
2792 2012-08-15  Andreas Jaeger  <aj@suse.de>
2794         [BZ #14090]
2795         * crypt/md5test2.c: New test, based on test supplied by Serge
2796         Belyshev <belyshev@depni.sinp.msu.ru>.
2797         * crypt/Makefile (xtests): Add md5test-giant..
2798         * crypt/Makefile ($(objpfx)md5test-giant): Add.
2800 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
2802         [BZ #14090]
2803         * crypt/md5.c (md5_process_block): Don't assume the buffer
2804         length is less than 2**32.
2805         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2806         length is less than 2**64.
2808 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2810         * string/str-two-way.h: Include <sys/param.h>.
2811         (MAX): Macro removed.
2813         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2814         Move #define and #undef of memmove to just before and after
2815         including <string.h>.
2817         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2818         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2819         and after including <string.h>.  Move declarations of
2820         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2821         to before #include "string/memmove.c".
2823         * include/dirent.h: Declare __getdirentries.
2825         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2826         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2828 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
2830         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2831         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2832         * sysdeps/i386/configure: Regenerated.
2833         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2834         STABS_CURRENT_FILE, and STABS_FUN.
2835         (END): Remove call to STABS_FUN_END.
2836         (STABS_CURRENT_FILE1): Delete.
2837         (STABS_CURRENT_FILE): Likewise.
2838         (STABS_FUN): Likewise.
2839         (STABS_FUN_END): Likewise.
2840         (STABS_FUN2): Likewise.
2841         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2842         * sysdeps/x86_64/configure: Regenerated.
2844 2012-08-14  Roland McGrath  <roland@hack.frob.com>
2846         * elf/dl-open.c: Include <atomic.h>.
2847         * elf/dl-lookup.c: Likewise.
2849 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
2851         * sysdeps/unix/sysv/linux/kernel-features.h
2852         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2853         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2854         unconditionally.
2855         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2856         unconditionally.
2857         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2858         condition on __ASSUME_CLONE_THREAD_FLAGS.
2860 2012-08-14  Andreas Jaeger  <aj@suse.de>
2862         * sysdeps/i386/fpu/libm-test-ulps: Update.
2864 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
2866         * include/atomic.h (atomic_exchange_and_add): Split into ...
2867         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2868         New atomic macros.
2870 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
2872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2874 2012-08-13  Jeff Law <law@redhat.com>
2876         * manual/stdio.texi (snprintf): Clarify handling of the trailing
2877         null byte in the output string.
2879 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
2881         * sysdeps/unix/sysv/linux/kernel-features.h
2882         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2883         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2884         (__ASSUME_ARG_MAX_STACK_BASED): Define.
2885         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2886         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2887         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
2888         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2890 2012-08-09  Jeff Law <law@redhat.com>
2892         [BZ #13939]
2893         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2894         When avoid_arena is set, don't retry in the that arena.  Pick the
2895         next one, whatever it might be.
2896         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2897         (arena_lock): Pass in new parameter to arena_get2.
2898         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2899         arena_get2.
2900         (__libc_malloc): Unify retrying after main arena failure with
2901         __libc_memalign version.
2902         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2904 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
2906         [BZ #14166]
2907         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2908         to __redirect_strstr.
2909         (__strstr_sse42): Use typeof __redirect_strstr.
2910         (__strstr_ia32): Likewise.
2911         (__libc_strstr): New prototype.
2912         (strstr): Renamed to ...
2913         (__libc_strstr): This.
2914         (strstr): New strong alias of __libc_strstr.
2915         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2916         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2917         __redirect_time.
2918         Include <time.h>.
2919         (__libc_time): New prototype.
2920         (time_ifunc): Replace time with __libc_time.
2921         (time): New strong alias and hidden definition of __libc_time.
2922         (__GI_time): Remove strong alias.
2923         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2924         Include <stddef.h>.
2925         (memmove): Redefined to __redirect_memmove.
2926         (__memmove_sse2): Use typeof __redirect_memmove.
2927         (__memmove_ssse3): Likewise.
2928         (__memmove_ssse3_back): Likewise.
2929         (__libc_memmove): New prototype.
2930         (memmove): Renamed to ...
2931         (__libc_memmove): This.
2932         (memmove): New strong alias of __libc_memmove.
2934 2012-08-08  Mark Salter  <msalter@redhat.com>
2936         * elf/elf.h
2937         (R_MN10300_TLS_GD): Define.
2938         (R_MN10300_TLS_LD): Likewise.
2939         (R_MN10300_TLS_LDO): Likewise.
2940         (R_MN10300_TLS_GOTIE): Likewise.
2941         (R_MN10300_TLS_IE): Likewise.
2942         (R_MN10300_TLS_LE): Likewise.
2943         (R_MN10300_TLS_DTPMOD): Likewise.
2944         (R_MN10300_TLS_DTPOFF): Likewise.
2945         (R_MN10300_TLS_TPOFF): Likewise.
2946         (R_MN10300_SYM_DIFF): Likewise.
2947         (R_MN10300_ALIGN): Likewise.
2948         (R_MN10300_NUM): Update.
2950 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
2952         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2953         Remove.
2955 2012-08-08  Roland McGrath  <roland@hack.frob.com>
2957         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2959         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2960         sysdeps/unix -> sysdeps/posix move.
2961         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2963 2012-08-07      Allan McRae     <allan@archlinux.org>
2965         [BZ #14303]
2966         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2967         (SUNOS_CPP): Likewise.
2968         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2969         not found.
2970         (open_input): Call CPP using execvp.
2972 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
2974         * sysdeps/unix/sysv/linux/kernel-features.h
2975         (__ASSUME_PROT_GROWSUPDOWN): Remove.
2976         (__ASSUME_NO_CLONE_DETACHED): Likewise.
2977         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2978         (__ASSUME_WAITID_SYSCALL): Likewise.
2979         * sysdeps/unix/sysv/linux/dl-execstack.c
2980         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2981         code unconditional.
2982         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2983         conditional code.
2984         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2985         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2986         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2987         code.
2988         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2989         unconditional.
2990         [__ASSUME_WAITID_SYSCALL]: Likewise.
2991         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2993 2012-08-07  Roland McGrath  <roland@hack.frob.com>
2995         * sysdeps/unix/closedir.c: Renamed to ...
2996         * sysdeps/posix/closedir.c: ... here.
2997         * sysdeps/unix/dirfd.c: Renamed to ...
2998         * sysdeps/posix/dirfd.c: ... here.
2999         * sysdeps/unix/dirstream.h: Renamed to ...
3000         * sysdeps/posix/dirstream.h: ... here.
3001         * sysdeps/unix/fdopendir.c: Renamed to ...
3002         * sysdeps/posix/fdopendir.c: ... here.
3003         * sysdeps/unix/opendir.c: Renamed to ...
3004         * sysdeps/posix/opendir.c: ... here.
3005         * sysdeps/unix/readdir.c: Renamed to ...
3006         * sysdeps/posix/readdir.c: ... here.
3007         * sysdeps/unix/readdir_r.c: Renamed to ...
3008         * sysdeps/posix/readdir_r.c: ... here.
3009         * sysdeps/unix/rewinddir.c: Renamed to ...
3010         * sysdeps/posix/rewinddir.c: ... here.
3011         * sysdeps/unix/seekdir.c: Renamed to ...
3012         * sysdeps/posix/seekdir.c: ... here.
3013         * sysdeps/unix/telldir.c: Renamed to ...
3014         * sysdeps/posix/telldir.c: ... here.
3015         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3016         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3017         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3018         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3020         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3021         * bits/fcntl.h: ... here.
3023         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3024         not 0.
3025         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3026         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3027         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3028         (struct flock): Move l_start, l_len to the beginning.
3029         Use __pid_t for l_pid.
3030         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3031         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3032         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3033         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3034         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3035         [__USE_LARGEFILE64] (struct flock64): New type.
3036         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3038         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3039         * bits/dirent.h: ... here.
3041         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3042         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3044 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
3046         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3047         Change from 2.6.0 to 2.6.16.
3048         * sysdeps/unix/sysv/linux/configure: Regenerated.
3049         * sysdeps/unix/sysv/linux/kernel-features.h
3050         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3051         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3052         version.
3053         (__ASSUME_UTIMES): Likewise.
3054         (__ASSUME_CLONE_STOPPED): Remove.
3055         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3056         architectures, not kernel version.
3057         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3058         (__ASSUME_NO_CLONE_DETACHED): Likewise.
3059         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3060         (__ASSUME_WAITID_SYSCALL): Likewise.
3061         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3062         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3063         * README: State 2.6.16 as minimum Linux kernel version.  Do not
3064         refer to older versions.
3066 2012-08-06  Roland McGrath  <roland@hack.frob.com>
3068         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3069         Define alphasort64 as an alias.
3070         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3071         Define versionsort64 as an alias.
3072         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3073         Define scandir64 as an alias.
3074         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3075         Define scandirat64 as an alias.
3076         * dirent/alphasort64.c (alphasort64):
3077         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3078         * dirent/versionsort64.c: Likewise.
3079         * dirent/scandir64.c: Likewise.
3080         * dirent/scandirat64.c: Likewise.
3081         * sysdeps/wordsize-64/alphasort.c: File removed.
3082         * sysdeps/wordsize-64/alphasort64.c: File removed.
3083         * sysdeps/wordsize-64/scandir.c: File removed.
3084         * sysdeps/wordsize-64/scandir64.c: File removed.
3085         * sysdeps/wordsize-64/scandirat.c: File removed.
3086         * sysdeps/wordsize-64/scandirat64.c: File removed.
3087         * sysdeps/wordsize-64/versionsort.c: File removed.
3088         * sysdeps/wordsize-64/versionsort64.c: File removed.
3089         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3090         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3091         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3092         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3093         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3094         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3095         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3096         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3098         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3100         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3102         [defined __arch64__ || defined __sparcv9]
3103         (__INO_T_MATCHES_INO64_T): New macro.
3104         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3105         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3106         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3107         * sysdeps/unix/sysv/linux/bits/dirent.h
3108         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3109         (_DIRENT_MATCHES_DIRENT64): New macro.
3111         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3112         Define lockf64 as an alias.
3113         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3114         Define fseeko64 as an alias.
3115         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3116         Define ftello64 as an alias.
3117         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3118         Define _IO_fgetpos64 and fgetpos64 as aliases.
3119         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3120         Define _IO_fsetpos64 and fsetpos64 as aliases.
3121         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3122         Conditionalize body on this.
3123         * libio/fseeko64.c: Likewise.
3124         * libio/ftello64.c: Likewise.
3125         * libio/iofgetpos64.c: Likewise.
3126         * libio/iofsetpos64.c: Likewise.
3127         * sysdeps/wordsize-64/lockf.c: File removed.
3128         * sysdeps/wordsize-64/lockf64.c: File removed.
3129         * sysdeps/wordsize-64/fseeko.c: File removed.
3130         * sysdeps/wordsize-64/fseeko64.c: File removed.
3131         * sysdeps/wordsize-64/ftello.c: File removed.
3132         * sysdeps/wordsize-64/ftello64.c: File removed.
3133         * sysdeps/wordsize-64/iofgetpos.c: File removed.
3134         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3135         * sysdeps/wordsize-64/iofsetpos.c: File removed.
3136         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3137         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3138         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3139         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3140         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3141         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3142         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3143         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3144         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3145         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3146         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3148         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3150         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3152         [defined __arch64__ || defined __sparcv9]
3153         (__OFF_T_MATCHES_OFF64_T): New macro.
3154         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3155         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3156         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3157         (__OFF_T_MATCHES_OFF64_T): New macro.
3159 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
3161         * stdlib/secure-getenv.c (__secure_getenv): Replace
3162         GLIBC_2_16 with GLIBC_2_17.
3164 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
3166         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3167         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3169 2012-08-03  David S. Miller  <davem@davemloft.net>
3171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3173 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
3175         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3176         Remove.
3177         (__ASSUME_CORRECT_SI_PID): Likewise.
3178         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3179         (__ASSUME_TMPFS_NAME): Likewise.
3180         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3181         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3182         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3183         (HAVE_AUX_SECURE): Make definition unconditional.
3184         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3185         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3187 2012-08-03  Roland McGrath  <roland@hack.frob.com>
3189         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3190         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3191         * sysdeps/mach/hurd/eloop-threshold.h: New file.
3192         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3193         __eloop_threshold instead of SYMLOOP_MAX.
3195         * sysdeps/generic/eloop-threshold.h: New file.
3196         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3197         of MAXSYMLINKS.
3198         * elf/chroot_canon.c (chroot_canon): Likewise.
3200 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
3202         [BZ #13717]
3203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3204         Change to 2.6.0 everywhere.
3205         * sysdeps/unix/sysv/linux/configure: Regenerated.
3206         * sysdeps/unix/sysv/linux/kernel-features.h
3207         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3208         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3209         kernel versions.
3210         (__ASSUME_POSIX_TIMERS): Define unconditionally.
3211         (__ASSUME_FUTEX_REQUEUE): Remove.
3212         (__ASSUME_STATFS64): Define unconditionally.
3213         (__ASSUME_AT_SECURE): Likewise.
3214         (__ASSUME_CORRECT_SI_PID): Likewise.
3215         (__ASSUME_TGKILL): Define without depending on kernel version for
3216         i386.
3217         (__ASSUME_UTIMES): Likewise.
3218         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3219         kernel version.
3220         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3221         (__ASSUME_TMPFS_NAME): Likewise.
3222         * README: Update reference to Linux kernel versions.
3224 2012-08-02  Marek Polacek  <polacek@redhat.com>
3226         [BZ# 14150]
3227         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
3228         libc_cv_asm_type_prefix with %.
3229         * configure: Regenerated.
3230         * include/libc-symbols.h: Remove comment about
3231         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3232         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3233         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3234         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3235         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3236         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3237         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3238         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3239         * elf/tst-unique2mod1.c: Likewise.
3240         * elf/tst-unique1mod2.c: Likewise.
3241         * elf/tst-unique1mod1.c: Likewise.
3242         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3243         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3244         Replace ASM_TYPE_DIRECTIVE with .type.
3245         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3246         * sysdeps/i386/sysdep.h: Likewise.
3247         * sysdeps/x86_64/sysdep.h: Likewise.
3248         * sysdeps/sh/sysdep.h: Likewise.
3249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3250         Do not define ASM_TYPE_DIRECTIVE.
3251         * sysdeps/powerpc/sysdep.h: Likewise.
3252         * sysdeps/powerpc/powerpc32/sysdep.h:
3253         Replace ASM_TYPE_DIRECTIVE with .type.
3254         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3255         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3256         * sysdeps/i386/fpu/e_powf.S: Likewise.
3257         * sysdeps/i386/fpu/e_expl.S: Likewise.
3258         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3259         * sysdeps/i386/fpu/e_acosh.S: Likewise.
3260         * sysdeps/i386/fpu/e_pow.S: Likewise.
3261         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3262         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3263         * sysdeps/i386/fpu/s_expm1.S: Likewise.
3264         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3265         * sysdeps/i386/fpu/e_log2.S: Likewise.
3266         * sysdeps/i386/fpu/e_log2l.S: Likewise.
3267         * sysdeps/i386/fpu/e_scalb.S: Likewise.
3268         * sysdeps/i386/fpu/e_powl.S: Likewise.
3269         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3270         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3271         * sysdeps/i386/fpu/e_logl.S: Likewise.
3272         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3273         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3274         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3275         * sysdeps/i386/fpu/e_log2f.S: Likewise.
3276         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3277         * sysdeps/i386/fpu/e_log.S: Likewise.
3278         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3279         * sysdeps/i386/fpu/e_logf.S: Likewise.
3280         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3281         * sysdeps/i386/fpu/e_atanh.S: Likewise.
3282         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3283         * sysdeps/i386/fpu/e_log10.S: Likewise.
3284         * sysdeps/i386/fpu/s_frexp.S: Likewise.
3285         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3286         * sysdeps/i386/fpu/s_asinh.S: Likewise.
3287         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3288         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3289         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3290         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3291         * sysdeps/i386/i686/strtok.S: Likewise.
3292         * sysdeps/i386/i386-mcount.S: Likewise.
3293         * sysdeps/i386/strtok.S: Likewise.
3294         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3295         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3296         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3297         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3298         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3299         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3300         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3301         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3302         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3303         * sysdeps/x86_64/_mcount.S: Likewise.
3304         * sysdeps/x86_64/strtok.S: Likewise.
3305         * sysdeps/sh/_mcount.S: Likewise.
3307 2012-08-01  Roland McGrath  <roland@hack.frob.com>
3309         * libio/iofopen.c: Include <fcntl.h>.
3310         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3311         (_IO_fopen64, fopen64): Define as aliases.
3312         * libio/iofopen64.c: Include <fcntl.h>.
3313         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3314         Conditionalize body on this.
3315         * sysdeps/wordsize-64/iofopen.c: File removed.
3316         * sysdeps/wordsize-64/iofopen64.c: File removed.
3318 2012-08-01  Marek Polacek  <polacek@redhat.com>
3320         * libc/Makeconfig: Use elf in place of binfmt-subdir.
3321         Use dlfcn directly instead of a variable.
3322         (binfmt-subdir): Do not define.
3323         (dlfcn): Likewise.
3325 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
3327         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3328         Remove all definitions.
3329         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3330         <kernel-features.h>.
3331         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3332         (miss_F_GETOWN_EX): Remove all definitions.
3333         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3334         macro definition.
3335         [!__ASSUME_FCNTL64]: Remove conditional code.
3336         [__ASSUME_FCNTL64]: Make code unconditional.
3337         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3338         <kernel-features.h>.
3339         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3340         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3341         (lockf64) [__NR_fcntl64]: Make code unconditional.
3342         (lockf64) [__ASSUME_FCNTL64]: Likewise.
3344         * sysdeps/unix/sysv/linux/kernel-features.h
3345         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3346         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3347         Make code unconditional.
3348         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3349         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3351         [__NR_vfork]: Make code unconditional.
3352         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3353         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3355         [__NR_vfork]: Make code unconditional.
3356         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3357         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3359 2012-08-01  Roland McGrath  <roland@hack.frob.com>
3361         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3362         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3364         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3365         Define mkstemp64 as an alias.
3366         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3367         Define mkstemps64 as an alias.
3368         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3369         Define mkostemp64 as an alias.
3370         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3371         Define mkostemps64 as an alias.
3372         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3373         Conditionalize body on this.
3374         * misc/mkostemp64.c: Likewise.
3375         * misc/mkostemps64.c: Likewise.
3376         * misc/mkstemps64.c: Likewise.
3377         * sysdeps/wordsize-64/mkstemp64.c: File removed.
3378         * sysdeps/wordsize-64/mkostemp64.c: File removed.
3379         * sysdeps/wordsize-64/mkostemp.c: File removed.
3380         * sysdeps/wordsize-64/mkstemp.c: File removed.
3381         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3382         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3383         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3384         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3386         [BZ #14138]
3387         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3388         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3389         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3390         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3392         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3393         compat_symbol macros from <shlib-compat.h> rather than the underlying
3394         default_symbol_version and symbol_version macros, so that DEFAULT
3395         lines in shlib-versions are respected.
3396         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3398 2012-08-01  Florian Weimer  <fweimer@redhat.com>
3400         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3401         Declare with warn_unused_result.
3402         (setgid, setregid, setegid, setresgid): Likewise.
3403         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3404         Likewise.
3405         * WUR-REPORT: Remove set*id functions.
3407 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
3409         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3411 2012-07-31  Roland McGrath  <roland@hack.frob.com>
3413         * include/sys/socket.h (__libc_accept, __libc_accept4):
3414         Add attribute_hidden.
3415         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3417         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3418         use of PTR_MANGLE.
3419         * inet/getnetgrent_r.c (setup): Likewise.
3421         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3423 2012-07-31  David S. Miller  <davem@davemloft.net>
3425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3427 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
3429         [BZ #13629]
3430         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3431         value between 1.0 and 2.0 and smaller part has absolute value less
3432         than 1.0.
3433         * math/s_clog10.c (__clog10): Likewise.
3434         * math/s_clog10f.c (__clog10f): Likewise.
3435         * math/s_clog10l.c (__clog10l): Likewise.
3436         * math/s_clogf.c (__clogf): Likewise.
3437         * math/s_clogl.c (__clogl): Likewise.
3438         * math/libm-test.inc (clog_test): Add more tests.
3439         (clog10_test): Likewise.
3440         * sysdeps/i386/fpu/libm-test-ulps: Update.
3441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3443 2012-07-31  Florian Weimer  <fweimer@redhat.com>
3445         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3446         Exit with zero in case no suitable GID is found, and write a
3447         message to standard error.
3449 2012-07-30  Roland McGrath  <roland@hack.frob.com>
3451         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3452         rather than to 1.
3453         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3454         (MAXPATHLEN): Removed.
3455         (NOGROUP, NODEV): New macros.
3456         (setbit, clrbit, isset, isclr): New macros.
3457         (howmany, roundup, powerof2): New macros.
3458         (DEV_BSIZE): New macro.
3460         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3461         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3463         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3464         definition on [!__NO_LONG_DOUBLE_MATH].
3466         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3467         PTR_MANGLE and PTR_DEMANGLE.
3469         * socket/accept4.c (accept4): Rename to __libc_accept4.
3470         Define accept4 as a weak alias.
3472         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3473         on [_DIRENT_HAVE_D_TYPE].
3474         * io/ftw.c (ftw_dir): Likewise.
3476         * io/xmknod.c (__xmknod): Don't check PATH for being null.
3478         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3480         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3481         Use the BSD numbers rather than the arbitrary ones we had.
3482         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3483         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3484         (SIGXCPU, SIGXFSZ): New macros.
3485         (_NSIG): Now 32.
3487         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3488         initializer on [_LIBC_REENTRANT].
3490         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3491         definitions inside [_POSIX_MAPPED_FILES].
3493         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3495         * dirent/opendir.c: Include <fcntl.h>.
3497         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3498         (__libc_getspecific): Likewise.
3499         (__libc_key_create): Likewise.
3501         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3502         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3503         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3504         (tmpfile64): Define as alias.
3505         * sysdeps/wordsize-64/tmpfile.c: File removed.
3506         * sysdeps/wordsize-64/tmpfile64.c: File removed.
3507         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3508         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3510         * stdio-common/vfscanf.c: Include <stdbool.h>.
3511         * nss/makedb.c: Likewise.
3512         * stdio-common/_i18n_number.h: Likewise.
3513         * argp/argp-help.c: Likewise.
3514         * posix/wordexp.c: Likewise.
3515         * sysdeps/posix/spawni.c: Likewise.
3516         * nss/nss_files/files-initgroups.c: Likewise.
3517         * stdio-common/reg-modifier.c: Include <stdlib.h>.
3518         * nss/nss_files/files-initgroups.c: Likewise.
3519         * nss/nss_db/db-netgrp.c: Likewise.
3520         * nss/nss_db/db-initgroups.c: Likewise.
3521         * io/fchmodat.c: Include <sys/stat.h>.
3523         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3524         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3526         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3527         [HAVE_MMAP].
3529         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3530         Add multiple inclusion protection.
3532 2012-07-27  David S. Miller  <davem@davemloft.net>
3534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3536 2012-07-27  Gary Benson  <gbenson@redhat.com>
3538         [BZ #14298]
3539         * elf/rtld.c: Include <stap-probe.h>.
3540         (dl_main): Added static probes "init_start" and "init_complete".
3541         * elf/dl-load.c: Include <stap-probe.h>.
3542         (lose): Take new parameter "nsid".
3543         Added static probe "map_failed".
3544         (_dl_map_object_from_fd): Pass namespace id to lose.
3545         Added static probe "map_start".
3546         (open_verify): Pass namespace id to lose.
3547         * elf/dl-open.c: Include <stap-probe.h>.
3548         (dl_open_worker) Added static probes "map_complete", "reloc_start"
3549         and "reloc_complete".
3550         * elf/dl-close.c: Include <stap-probe.h>.
3551         (_dl_close_worker): Added static probes "unmap_start" and
3552         "unmap_complete".
3553         * elf/rtld-debugger-interface.txt: New file documenting the above.
3555 2012-07-26  Roland McGrath  <roland@hack.frob.com>
3557         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3558         rather than a string variable.
3559         * sunrpc/rpc_main.c (h_output): Likewise.
3560         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3562 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
3564         * inet/check_native.c: New file.
3566 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
3568         [BZ #13629]
3569         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3570         if larger part has absolute value 1.0.
3571         * math/s_clog10.c (__clog10): Likewise.
3572         * math/s_clog10f.c (__clog10f): Likewise.
3573         * math/s_clog10l.c (__clog10l): Likewise.
3574         * math/s_clogf.c (__clogf): Likewise.
3575         * math/s_clogl.c (__clogl): Likewise.
3576         * math/libm-test.inc (clog_test): Add more tests.
3577         (clog10_test): Likewise.
3578         * sysdeps/i386/fpu/libm-test-ulps: Update.
3579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3581         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3582         (pltexit): Likewise.
3583         (La_regs): Likewise.
3584         (La_retval): Likewise.
3585         (int_retval): Likewise.
3586         Update #error for removed macros to refer only to definitions in
3587         tst-audit.h.
3588         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3589         macro.
3590         (pltexit): Likewise.
3591         (La_regs): Likewise.
3592         (La_retval): Likewise.
3593         (int_retval): Likewise.
3594         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3595         macro.
3596         (pltexit): Likewise.
3597         (La_regs): Likewise.
3598         (La_retval): Likewise.
3599         (int_retval): Likewise.
3600         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3601         macro.
3602         (pltexit): Likewise.
3603         (La_regs): Likewise.
3604         (La_retval): Likewise.
3605         (int_retval): Likewise.
3606         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3607         macro.
3608         (pltexit): Likewise.
3609         (La_regs): Likewise.
3610         (La_retval): Likewise.
3611         (int_retval): Likewise.
3612         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3613         macro.
3614         (pltexit): Likewise.
3615         (La_regs): Likewise.
3616         (La_retval): Likewise.
3617         (int_retval): Likewise.
3618         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3619         macro.
3620         (pltexit): Likewise.
3621         (La_regs): Likewise.
3622         (La_retval): Likewise.
3623         (int_retval): Likewise.
3624         * sysdeps/generic/tst-audit.h: Update comment to refer only to
3625         macro definitions in tst-audit.h.
3626         * sysdeps/i386/tst-audit.h: New file.
3627         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3628         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3629         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3630         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3631         * sysdeps/sh/tst-audit.h: Likewise.
3632         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3633         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3634         * sysdeps/x86_64/tst-audit.h: Likewise.
3636 2012-07-26  Andreas Jaeger  <aj@suse.de>
3638         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3639         ptrace.
3641         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3642         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3643         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3644         PTRACE_O_MASK.
3645         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3646         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3647         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3649         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3650         value.
3652         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3653         _sigsys.
3654         (si_call_addr, si_syscall, si_arch): Define new macro.
3655         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3656         _sigsys.
3657         (si_call_addr, si_syscall, si_arch): Define new marcro.
3658         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3659         _sigsys.
3660         (si_call_addr, si_syscall, si_arch): Define new macro.
3661         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3662         _sigsys.
3663         (si_call_addr, si_syscall, si_arch): Define new macro.
3665 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3667         [BZ #13717]
3668         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3669         Change to 2.4.21 where previously 2.4.1.
3670         * sysdeps/unix/sysv/linux/configure: Regenerated.
3671         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3672         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3673         Linux kernel version.
3674         (__ASSUME_STD_AUXV): Remove.
3675         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3676         kernel version.
3677         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3678         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3679         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3680         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3681         (__ASSUME_NETLINK_SUPPORT): Likewise.
3682         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3683         (__no_netlink_support): Remove conditional definition.
3684         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3685         Remove.
3686         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3687         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3688         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3689         (if_nameindex_ioctl): Remove.
3690         (if_nameindex_netlink): Do not handle __no_netlink_support.
3691         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3692         code.
3693         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3694         Remove conditional code.
3695         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3696         code.
3697         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3698         unconditional.
3699         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3700         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3701         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3702         Remove.
3703         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3704         [!__ASSUME_STD_AUXV]: Remove conditional code.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3706         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3707         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3709         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3710         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3711         code.
3712         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3714         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3715         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3716         conditional code.
3717         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3719         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3720         code.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3722         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3723         conditional code.
3724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3725         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3726         code unconditional.
3727         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3728         conditional code.
3729         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3730         unconditional.
3731         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3732         conditional code.
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3734         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3735         unconditional.
3736         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3737         conditional code.
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3739         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3740         code unconditional.
3741         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3742         conditional code.
3743         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3744         unconditional.
3745         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3746         conditional code.
3747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3748         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3749         code unconditional.
3750         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3751         conditional code.
3752         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3753         unconditional.
3754         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3755         conditional code.
3757 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3759         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3760         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3761         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3762         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3763         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3764         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3765         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3766         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3767         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3768         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3769         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3770         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3771         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3772         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3773         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3774         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3775         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3776         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3777         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3779         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3780         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3781         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3783 2012-07-25  Florian Weimer  <fweimer@redhat.com>
3785         * Versions.def: Add GLIBC_2.17.
3786         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3787         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3788         Introduce __libc_secure_getenv.
3789         * stdlib/Versions (2.17): Add secure_getenv
3790         (GLIBC_PRIVATE): Add __libc_secure_getenv.
3791         * stdlib/secure-getenv.c: Rename __secure_getenv to
3792         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
3793         symbol __secure_getenv for GLIBC_2.0.
3794         * stdlib/tst-secure-getenv.c: New.
3795         * stdlib/Makefile (tests): Add testcase.
3796         * manual/startup.texi (Environment Access): Document
3797         secure_getenv.
3798         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3799         __libc_secure_getenv.
3800         * inet/ruserpass.c (ruserpass): Likewise.
3801         * malloc/mtrace.c (mtrace): Likewise.
3802         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3803         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3804         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3805         * sysdeps/posix/tempname.c: Likewise.  Evaluate
3806         HAVE_SECURE_GETENV.
3807         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3808         __secure_getenv to __libc_secure_getenv.
3809         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3811         Likewise.
3812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3813         Likewise.
3814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3816         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3822 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3824         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3825         (struct La_i86_retval): Likewise.
3826         (struct La_x86_64_regs): Likewise.
3827         (struct La_x86_64_retval): Likewise.
3828         (struct La_x32_regs): Likewise.
3829         (struct La_x32_retval): Likewise.
3830         (struct La_ppc32_regs): Likewise.
3831         (struct La_ppc32_retval): Likewise.
3832         (struct La_ppc64_regs): Likewise.
3833         (struct La_ppc64_retval): Likewise.
3834         (struct La_sh_regs): Likewise.
3835         (struct La_sh_retval): Likewise.
3836         (struct La_s390_32_regs): Likewise.
3837         (struct La_s390_32_retval): Likewise.
3838         (struct La_s390_64_regs): Likewise.
3839         (struct La_s390_64_retval): Likewise.
3840         (struct La_sparc32_regs): Likewise.
3841         (struct La_sparc32_retval): Likewise.
3842         (struct La_sparc64_regs): Likewise.
3843         (struct La_sparc64_retval): Likewise.
3844         (struct audit_ifaces): Remove architecture-specific pltenter and
3845         pltexit members.
3846         * sysdeps/i386/ldsodefs.h: New file.
3847         * sysdeps/powerpc/ldsodefs.h: Likewise.
3848         * sysdeps/s390/ldsodefs.h: Likewise.
3849         * sysdeps/sh/ldsodefs.h: Likewise.
3850         * sysdeps/sparc/ldsodefs.h: Likewise.
3851         * sysdeps/x86_64/ldsodefs.h: Likewise.
3853 2012-07-25  Marek Polacek  <polacek@redhat.com>
3855         [BZ #6808]
3856         * math/libm-test.inc (yn_test): Add another test.
3857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3858         to ERANGE when the result is +-Inf.
3859         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3860         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3861         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3862         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3864 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
3866         * conform/data/time.h-data (NULL): Use macro-constant.  Require
3867         equal to 0.
3868         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
3869         clock_t.
3870         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
3872 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
3874         * configure.in <sysdeps resolving>: Correct printing
3875         Implies_before.
3876         * configure: Regenerate.
3878 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
3880         * math/w_ilogb.c: Include <limits.h>.
3881         * math/w_ilogbl.c: Likewise.
3883 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3885         * manual/lang.texi (__va_copy): Document primarily as ISO C99
3886         va_copy.  Document allowing for unavailable va_copy only as
3887         pre-C99 compatibility.
3888         * manual/string.texi (Copying and Concatenation): Use va_copy
3889         instead of __va_copy in concat example.
3891 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
3893         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3894         (__sendto): Use create_address_port.  Initialize APORT and deallocate
3895         it if not null.
3897         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3898         with O_NOLINK passed to __file_name_lookup.
3900         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3901         with O_NOLINK passed to __file_name_lookup.
3903         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3904         negative N or less than NGIDS.
3906         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3907         type to string_t.  Set ERANGE as errno and return it if NAME is not big
3908         enough.  Use memcpy instead of strncpy.
3910 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3912         * elf/Makefile (check-data): Remove.
3913         (localplt.data): New vpath directive.
3914         ($(objpfx)check-localplt.out): Use localplt.data from vpath
3915         instead of $(check-data).
3916         * scripts/data/localplt-generic.data: Move to ...
3917         * sysdeps/generic/localplt.data: ... here.
3918         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3919         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3920         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3922         ... here.
3923         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3925         ... here.
3926         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3928         ... here.
3929         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3931         ... here.
3932         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3934         ... here.
3935         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3937         ... here.
3939 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3941         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3942         PPC32 and PPC64 files.
3943         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3944         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3946 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3948         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3949         __makecontext_ret to ...
3950         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3951         ... here and call exit if uc_link is NULL.  New file.
3952         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3953         __makecontext_ret.S.
3954         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3955         __makecontext_ret to ...
3956         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3957         ... here and call exit if uc_link is NULL.  New file.
3958         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3959         __makecontext_ret.S.
3961 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3963         * elf/elf.h (R_390_IRELATIVE): New definition.
3964         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3965         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
3966         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3968         (elf_machine_lazy_rel): Likewise.
3969         * sysdeps/s390/dl-irel.h: New file.
3970         * sysdeps/s390/s390-64/memcpy.S: New asm code.
3971         * sysdeps/s390/s390-64/memset.S: New asm code.
3972         * sysdeps/s390/s390-64/memcmp.S: New asm code.
3973         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3974         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3975         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3976         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3977         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3978         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3979         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3980         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3981         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3982         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3983         * sysdeps/s390/s390-32/memcpy.S: New asm code.
3984         * sysdeps/s390/s390-32/memset.S: New asm code.
3985         * sysdeps/s390/s390-32/memcmp.S: New asm code.
3987 2012-07-17  Marek Polacek  <polacek@redhat.com>
3989         [BZ #14349]
3990         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3991         * sysdeps/s390/s390-64/configure.in: Likewise.
3992         * sysdeps/sparc/configure.in: Likewise.
3993         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3994         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3995         * sysdeps/i386/configure.in: Likewise.
3996         * sysdeps/x86_64/configure.in: Likewise.
3997         * sysdeps/sh/configure.in: Likewise.
3998         * sysdeps/s390/s390-32/configure: Regenerated.
3999         * sysdeps/s390/s390-64/configure: Likewise.
4000         * sysdeps/x86_64/configure: Likewise.
4001         * sysdeps/sh/configure: Likewise.
4002         * sysdeps/powerpc/powerpc64/configure: Likewise.
4003         * sysdeps/powerpc/powerpc32/configure: Likewise.
4004         * sysdeps/sparc/configure: Likwise.
4005         * sysdeps/i386/configure: Likewise.
4007         * elf/dl-open.c: Comment fixes.
4009 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
4011         * Makefile [CXX] (check-data): Remove.
4012         [CXX] (c++-types.data): New vpath directive.
4013         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4014         vpath.  Do not allow for C++ type data being missing.
4015         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4016         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4017         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4018         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4019         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4020         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4021         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4023         ... here.
4024         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4026         ... here.
4027         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4029         ... here.
4030         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4032         ... here.
4033         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4035         ... here.
4036         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4038         ... here.
4039         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4041         ... here.
4042         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4045         * elf/tls-macros.h (TLS_LE): Move architecture-specific
4046         definitions to architecture-specific files.
4047         (TLS_IE): Likewise.
4048         (TLS_LD): Likewise.
4049         (TLS_GD): Likewise.
4050         * sysdeps/i386/tls-macros.h: New file.
4051         * sysdeps/powerpc/tls-macros.h: Likewise.
4052         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4053         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4054         * sysdeps/sh/tls-macros.h: Likewise.
4055         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4056         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4057         * sysdeps/x86_64/tls-macros.h: Likewise.
4059 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
4061         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4062         zero value for regular exit case.
4064         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4065         (__start_context): Preserve zero value for regular exit case.
4067 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
4068             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4070         * manual/setjmp.texi (setcontext): Clarify normal process
4071         termination when uc_link is the null pointer.
4072         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4073         exit call.
4075 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
4077         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4078         preprocessor.  Test for each exception mask separately.
4080 2012-07-16  Andreas Jaeger  <aj@suse.de>
4082         * po/ru.po: Update from translation team.
4084 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
4086         * conform/data/string.h-data (NULL): Use macro-constant.  Require
4087         equal to 0.
4088         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4089         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4090         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4091         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4092         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4094 2012-07-13  Andreas Jaeger  <aj@suse.de>
4096         * po/fr.po: Update from translation team.
4098 2012-07-12  Marek Polacek  <polacek@redhat.com>
4100         [BZ #14173]
4101         * math/libm-test.inc (yn_test): Add test for BZ #14173.
4102         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4103         loop condition.
4105 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
4107         [BZ #13717]
4108         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4109         Change to 2.4.1 where previously 2.4.0.
4110         * sysdeps/unix/sysv/linux/configure: Regenerated.
4111         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4112         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4113         version.
4114         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4115         (__ASSUME_AT_CLKTCK): Remove.
4116         (__ASSUME_AT_PAGESIZE): Likewise.
4117         (__ASSUME_AT_XID): Likewise.
4118         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4119         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4120         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4121         unconditionally.
4122         (HAVE_AUX_PAGESIZE): Likewise.
4123         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4124         [__ASSUME_AT_CLKTCK]: Make code unconditional.
4125         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4127 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
4129         [BZ #14307]
4130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4131         the temporary buffer used to invoke __gethostbyname2_r,
4132         __gethostbyaddr_r and gethostbyname4_r to make room for struct
4133         host_data / struct gaih_addrtuple.
4134         * resolv/nss_dns/dns-host.c (global scope): Move definition of
4135         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4136         header file nss/nsswitch.h.
4137         * nss/nsswitch.h (global scope): Add definition of implementation
4138         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4139         resolv/nss_dns/dns-host.c).
4141 2012-07-11  Andreas Jaeger  <aj@suse.de>
4143         * po/fr.po: Update from translation team.
4145         * po/sv.po: Update from translation team
4146         * po/fr.po: Another update from translation team.
4148 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4150         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4151         for subnormals or multiply small sinh result by itself.
4152         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4155 2012-07-11  David S. Miller  <davem@davemloft.net>
4157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4159 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
4161         [BZ #14347]
4162         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4163         (INTERNAL_MARK): Shift it here.
4165 2012-07-10  Marek Polacek  <polacek@redhat.com>
4167         [BZ #14151]
4168         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
4169         libc_cv_asm_global_directive with .globl.
4170         * configure: Regenerated.
4171         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4172         with .globl.
4173         * sysdeps/i386/configure: Regenerated.
4174         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4175         with .globl.
4176         * sysdeps/x86_64/configure: Regenerated.
4177         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4178         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4179         * elf/tst-unique2mod2.c: Likewise.
4180         * elf/tst-unique2mod1.c: Likewise.
4181         * elf/tst-unique1mod2.c: Likewise.
4182         * elf/tst-unique1mod1.c: Likewise.
4183         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4184         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4185         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4186         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4187         * sysdeps/mach/sysdep.h: Likewise.
4188         * sysdeps/i386/sysdep.h: Likewise.
4189         * sysdeps/i386/i386-mcount.S: Likewise.
4190         * sysdeps/x86_64/_mcount.S: Likewise.
4191         * sysdeps/x86_64/sysdep.h: Likewise.
4192         * sysdeps/sh/_mcount.S: Likewise.
4193         * sysdeps/sh/sysdep.h: Likewise.
4194         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4195         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4196         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4197         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4198         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4199         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4200         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4201         * locale/localeinfo.h: Likewise.
4202         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4203         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4205 2012-07-09  Roland McGrath  <roland@hack.frob.com>
4207         [BZ #14336]
4208         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4209         system".
4210         * manual/message.texi (The Uniforum approach): Likewise.
4211         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4212         (glibc iconv Implementation): Likewise.
4214 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
4216         [BZ #14337]
4217         * math/s_clog.c (__clog): Avoid scaling a value down where that
4218         could result in underflow.
4219         * math/s_clog10.c (__clog10): Likewise.
4220         * math/s_clog10f.c (__clog10f): Likewise.
4221         * math/s_clog10l.c (__clog10l): Likewise.
4222         * math/s_clogf.c (__clogf): Likewise.
4223         * math/s_clogl.c (__clogl): Likewise.
4224         * math/libm-test.inc (clog_test): Add more tests.
4225         (clog10_test): Likewise.
4226         * sysdeps/i386/fpu/libm-test-ulps: Update.
4227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
4231         [BZ #14283]
4232         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4233         by 7 not 8 to examine high bit of fractional part.
4235         [BZ #14042]
4236         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4237         for call to __mcount_internal.
4238         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4239         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4240         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4242 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
4244         [BZ #14154]
4245         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4246         approximation for values within 0x1p-13f of an odd multiple of
4247         pi/4.
4248         * math/libm-test.inc (tan_test): Do not allow spurious underflow
4249         exception.  Add more tests.
4250         * sysdeps/i386/fpu/libm-test-ulps: Update.
4252         [BZ #6778]
4253         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4254         inputs and return -1 for them.  Do not check for +Inf in case not
4255         reachable for +Inf.
4256         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4257         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4258         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4259         and return -1 for them.  Do not check for +Inf in case not
4260         reachable for +Inf.
4261         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4262         define.
4263         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4264         and return -1 for them.  Do not check for +Inf in case not
4265         reachable for +Inf.
4266         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
4267         spurious underflow.
4268         * sysdeps/i386/fpu/libm-test-ulps: Update.
4269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4271 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
4273         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4275 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #14157]
4278         [BZ #14331]
4279         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4280         could result in spurious underflow.  Scale down values above
4281         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4282         * math/s_csqrtf.c (__csqrtf): Likewise.
4283         * math/s_csqrtl.c (__csqrtl): Likewise.
4284         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
4285         spurious underflow.
4286         * sysdeps/i386/fpu/libm-test-ulps: Update.
4287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4289 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4291         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4292         xopen-msg.sed.
4293         * catgets/xopen-msg.awk: New file.
4294         * catgets/xopen-msg.sed: Removed.
4296         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4297         po2text.sed.
4298         * intl/po2test.awk: New file.
4299         * intl/po2test.sed: Removed.
4301 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
4303         [BZ #14328]
4304         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4305         or multiply small sinh result by itself.
4306         * math/s_ctanf.c (__ctanf): Likewise.
4307         * math/s_ctanh.c (__ctanh): Likewise.
4308         * math/s_ctanhf.c (__ctanhf): Likewise.
4309         * math/s_ctanhl.c (__ctanhl): Likewise.
4310         * math/s_ctanl.c (__ctanl): Likewise.
4311         * math/libm-test.inc (ctan_test_tonearest): New function.
4312         (ctan_test_towardzero): Likewise.
4313         (ctan_test_downward): Likewise.
4314         (ctan_test_upward): Likewise.
4315         (ctanh_test_tonearest): Likewise.
4316         (ctanh_test_towardzero): Likewise.
4317         (ctanh_test_downward): Likewise.
4318         (ctanh_test_upward): Likewise.
4319         (main): Call these new functions.
4320         * sysdeps/i386/fpu/libm-test-ulps: Update.
4321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4323 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
4325         * .gitignore: Delete /ports entry.
4327 2012-07-03  Andreas Jaeger  <aj@suse.de>
4329         * po/bg.po: Update from translation team.
4330         * po/cs.po: Likewise.
4331         * po/de.po: Likewise.
4332         * po/hr.po: Likewise.
4333         * po/nl.pl: Likewise.
4334         * po/pl.po: Likewise.
4335         * po/vi.po: Likewise.
4337 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
4339         * Makeconfig [!+link] (+link-before-libc): New variable.
4340         [!+link] (+link-after-libc): Likewise.
4341         [!+link] (+link-tests): Likewise.
4342         [!+link] (+link): Define in terms of $(+link-before-libc) and
4343         $(+link-after-libc).
4344         [!+link-static] (+link-static-before-libc): New variable.
4345         [!+link-static] (+link-static-after-libc): Likewise.
4346         [!+link-static] (+link-static-tests): Likewise.
4347         [!+link-static] (+link-static): Define in terms of
4348         $(+link-static-before-libc) and $(+link-static-after-libc).
4349         [build-shared] (link-libc-before-gnulib): New variable.
4350         [build-shared] (link-libc-tests): Likewise.
4351         [build-shared] (link-libc): Define in terms of
4352         $(link-libc-before-gnulib).
4353         [!build-shared] (link-libc-tests): New variable.
4354         (link-libc-static-tests): New variable.
4355         [!gnulib] (gnulib-arch): New variable.
4356         [!gnulib] (gnulib-tests): Likewise.
4357         [!gnulib] (static-gnulib-arch): Likewise.
4358         [!gnulib] (static-gnulib-tests): Likewise.
4359         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
4360         Define with "=" instead of ":=".
4361         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
4362         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
4363         * Rules (binaries-all-notests): New variable.
4364         (binaries-all-tests): Likewise.
4365         (binaries-static-notests): Likewise.
4366         (binaries-static-tests): Likewise.
4367         (binaries-all): Define using $(binaries-all-notests) and
4368         $(binaries-all-tests).
4369         (binaries-static): Define using $(binaries-static-notests) and
4370         $(binaries-static-tests).
4371         (binaries-shared-tests): New variable.
4372         (binaries-shared-notests): Likewise.
4373         (binaries-shared): Remove variable.
4374         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4375         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4376         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4377         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4378         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4379         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4380         * elf/Makefile (sln-modules): New variable.
4381         (extra-objs): Add $(sln-modules:=.o).
4382         (ldconfig-modules): Add static-stubs.
4383         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4384         * elf/static-stubs.c: New file.
4386         [BZ #14283]
4387         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4388         by 7 not 8 to examine high bit of fractional part.  Use volatile
4389         variables when splitting into final array of floats if
4390         __FLT_EVAL_METHOD__ != 0.
4391         * math/libm-test.inc (cos_test): Add another test.
4392         (sin_test): Likewise.
4393         * sysdeps/i386/fpu/libm-test-ulps: Update.
4395         [BZ #14273]
4396         * math/libm-test.inc (cosh_test): Add more tests.
4398         * version.h (RELEASE): Set to "development".
4399         (VERSION): Set to "2.16.90".
4401 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
4403         * NEWS: Update copyright. Remove last-updated date.
4404         Mention math library bug fixes and timezone data changes.
4405         * README: Mention GNU/Hurd, x32, and HPPA support status.
4407 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
4409         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4411 2012-06-27  Andreas Jaeger  <aj@suse.de>
4413         * manual/contrib.texi (Contributors): Add Samuel Thibault.
4415 2012-06-25  Andreas Jaeger  <aj@suse.de>
4417         * sysdeps/s390/fpu/libm-test-ulps: Update.
4419 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
4420             Thomas Schwinge  <thomas@codesourcery.com>
4422         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4423         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4425         fanotify_mark.
4427 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
4429         * sysdeps/mach/start.c: Remove file.
4430         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4431         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4432         * sysdeps/sh/init-first.c: Likewise.
4434         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4435         registers for frame unwinding purposes, add CFI directives.
4436         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4437         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4438         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4439         Likewise.
4441         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4442         __fortify_fail returning.
4443         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4445         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4446         sysdeps/sh/____longjmp_chk.S.
4447         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4448         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4449         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4450         (gen-as-const-headers): Append sigaltstack-offsets.sym.
4452         * sysdeps/sh/abort-instr.h: New file.
4453         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4454         process in case exit returns.
4456         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4457         initialize the GOT register before use.
4459         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4460         calculation of ARGC > 4.
4462         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4463         meaningful names to some local labels.
4465 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4466             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4468         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4469         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4470         (__arch_compare_and_exchange_val_16_acq): Likewise.
4471         (__arch_compare_and_exchange_val_32_acq): Likewise.
4472         (atomic_exchange_and_add): Fix gUSA sequence.
4473         (atomic_add): Likewise.
4474         (atomic_add_negative): Likewise.
4475         (atomic_add_zero): Likewise.
4476         (atomic_bit_test_set): Likewise.
4478 2012-06-22  Andreas Schwab  <schwab@redhat.com>
4480         [BZ #13579]
4481         * include/link.h (struct link_map): Add l_free_initfini.
4482         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4483         l_initfini.
4484         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4485         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4486         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4487         set.
4489 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
4491         * configure.in: Use AC_LANG_SOURCE.
4492         * configure: Regenerate.
4494 2012-06-22  Roland McGrath  <roland@hack.frob.com>
4496         * configure.in (libc_cv_localstatedir): New substituted variable.
4497         * configure: Regenerated.
4498         * config.make.in (localstatedir): New variable, substituted from
4499         libc_cv_localstatedir.
4500         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4501         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4502         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4503         * sysdeps/gnu/configure: Regenerated.
4505 2012-06-21  Jeff Law  <law@redhat.com>
4507         [BZ #14277]
4508         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4509         free.  Simplify list management for _LIBC case.
4511 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
4513         [BZ #14273]
4514         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4515         Clear sign bit of 64-bit integer value before comparing against
4516         overflow value.
4518         * sysdeps/mach/configure: Regenerated.
4520 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
4522         [BZ #14278]
4523         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4525 2012-06-21  Jeff Law  <law@redhat.com>
4527         [BZ #13882]
4528         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
4529         uint16_t for elements in the "seen" array to avoid char overflows.
4530         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4531         * elf/dl-open.c (dl_open_worker): Likewise.
4533 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
4535         * scripts/list-sources.sh: Scan PORTS for translations.
4536         * po/libc.pot: Regenerated.
4538 2012-06-21  Andreas Jaeger  <aj@suse.de>
4540         [BZ #12194]
4541         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4542         warning.
4543         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4544         * bits/byteswap-16.h (__bswap_16): Likewise.
4545         * bits/byteswap.h (__bswap_constant_16): Likewise.
4547 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
4549         [BZ #14117]
4550         * sysdeps/i386/fpu_control.h: Removed.
4551         * sysdeps/x86_64/fpu_control.h: Moved to ...
4552         * sysdeps/x86/fpu_control.h: Here.
4554         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4555         (_FPU_SETCW): Likewise.
4557 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
4559         [BZ #14117]
4560         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4561         * sysdeps/x86/fpu/bits/mathinline.h: This.
4562         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4564         [BZ #14050]
4565         [BZ #14117]
4566         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4567         functions if __x86_64__ is defined.
4569 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
4571         * string/endian.h: Add !__ASSEMBLER__ condition for including
4572         conversion interfaces.
4574 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
4576         [BZ #14241]
4577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4578         of ABS(x) in calculating zero to negative powers other than odd
4579         integers.
4580         * math/libm-test.inc (pow_test): Add more tests.
4582 2012-06-15  Andreas Jaeger  <aj@suse.de>
4584         * manual/contrib.texi (Contributors): Update entry of Liubov
4585         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4586         Machado Filho.
4588 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
4590         * string/string.h: Add __wur to GNU version of strerror_r.
4592 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
4594         [BZ #14229]
4595         * string/Makefile (tests): Add tst-strtok_r.
4596         * string/tst-strtok_r.c: New file.
4597         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4598         RAX_LP/RDX_LP on SAVE_PTR.
4600 2012-06-14  Roland McGrath  <roland@hack.frob.com>
4602         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4604 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
4606         * libm_test.inc (csqrt_test): Allow more spurious underflow
4607         exceptions.
4608         (j0_test): Likewise.
4609         (j1_test): Likewise.
4610         (y0_test): Likewise.
4611         (y1_test): Likewise.
4613 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
4615         * po/Makefile (libc.pot): Use UTF-8 charset.
4617 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
4619         [BZ #14210]
4620         Suppress sign-conversion warning from FD_SET.
4621         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4622         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4623         not unsigned long int.
4624         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4626 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
4628         [BZ #14050]
4629         [BZ #14117]
4630         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4631         __extern_always_inline instead of __extern_inline.
4632         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4633         (__signbit): Likewise.
4634         (__signbitl): Support C++ namespace.
4635         (lrintf): New inline function.
4636         (lrint): Likewise.
4637         (llrintf): Likewise.
4638         (llrint): Likewise.
4639         (fmaxf): Likewise.
4640         (fmax): Likewise.
4641         (fminf): Likewise.
4642         (fmin): Likewise.
4643         (rint): Likewise.
4644         (rintf): Likewise.
4645         (ceil): Likewise.
4646         (ceilf): Likewise.
4647         (floor): Likewise.
4648         (floorf): Likewise.
4649         (nearbyint): Likewise.
4650         (nearbyintf): Likewise.
4652 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
4654         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4655         non-default versions.
4657 2012-06-11  Roland McGrath  <roland@hack.frob.com>
4659         [BZ #14218]
4660         * manual/argp.texi (Argp): Reword argp_parse description slightly.
4662 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
4664         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4665         (FE_UPWARD, FE_DOWNWARD): Don't define.
4666         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4667         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4669         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4670         reading it.
4671         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4672         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4674 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4676         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4677         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4678         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4679         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4681 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4683         [BZ #14117]
4684         * sysdeps/i386/fpu/bits/fenv.h: Removed.
4685         * sysdeps/i386/fpu/Implies: New file.
4686         * sysdeps/x86_64/fpu/Implies: Likewise.
4687         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4688         * sysdeps/x86/fpu/bits/fenv.h: This.
4690         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4691         __SSE_MATH__.
4693 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4695         [BZ #14134]
4696         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4697         character 0xffff that matches the last element of the
4698         conversion table.
4700 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4702         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4703         fmodl commit.
4705 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4707         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4708         values higher than 25.6283.
4710 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4712         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4713         subnormal exponent extraction and add some __builtin_expect.
4714         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4715         Fix for subnormal mantissa calculation.
4717 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
4719         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4720         cpu2 is -1 and errno is not ENOSYS.
4722 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
4724         [BZ #14117]
4725         * sysdeps/i386/i486/bits/string.h: Renamed to ...
4726         * sysdeps/x86/bits/string.h: This.
4727         * sysdeps/x86_64/bits/string.h: Removed.
4729         * sysdeps/i386/i486/bits/string.h: Define inline functions only
4730         if not compiling for x86-64, but compiling for >= i486.
4732         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4733         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4735         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4736         New macro from Linux kernel 3.4.0.
4737         (FP_XSTATE_MAGIC2): Likewise.
4738         (FP_XSTATE_MAGIC2_SIZE): Likewise.
4739         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4740         (struct _fpx_sw_bytes): New struct.
4741         (struct _xsave_hdr): Likewise.
4742         (struct _ymmh_state): Likewise.
4743         (struct _xstate): Likewise.
4745         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4746         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4747         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4748         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4749         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4750         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4752         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4753         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4754         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4755         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4756         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4757         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4759 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4761         [BZ #13743]
4762         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4763         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4764         (sysdep_headers): Include sys/platform/ppc.h.
4765         * sysdeps/powerpc/test-gettimebase.c: Test for
4766         __ppc_get_timebase() to catch future ISA opcode/insn changes.
4767         * manual/Makefile (appendices): Include platform.texi.
4768         * manual/contrib.texi (Contributors): Update @node pointers.
4769         * manual/maint.texi (Maintenance): Likewise.
4770         (Platform): New node.
4771         * manual/platform.texi: New file.  Document the new features.
4773 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4774             Jakub Jelinek  <jakub@redhat.com>
4776         [BZ #14188]
4777         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4778         where __builtin_expect is unavailable.
4780 2012-06-03  David S. Miller  <davem@davemloft.net>
4782         * stdlib/longlong.h: Updated from GCC.
4784 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
4786         [BZ #14042]
4787         * sysdeps/powerpc/powerpc32/mcount.c: New file.
4788         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4789         __mcount_internal.
4790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4791         (GLIBC_2.16): Likewise.
4793 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4795         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4797 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4800         (default-abi): New variable.
4801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4802         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4803         variable.
4804         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4805         Likewise.
4806         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4807         Likewise.
4808         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4809         Likewise.
4811         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4812         definition.  Document in comment.
4814 2012-06-01  David S. Miller  <davem@davemloft.net>
4816         * stdlib/longlong.h: Updated from GCC.
4818 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4820         [BZ #14117]
4821         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4822         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4823         sys/debugreg.h sys/io.h here.
4824         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4825         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4826         sys/io.h.
4827         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4828         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4829         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4830         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4831         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4832         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4834         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4835         Define only if __x86_64__ is defined.
4837 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4839         [BZ #14048]
4840         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4841         Use int64_t for variable i.
4842         * math/libm-test.inc (fmod_test): Add more tests.
4844         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4845         z computation is not scheduled after fetestexcept.
4846         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4847         Use math_force_eval instead of asm to ensure calculation scheduled
4848         before exception test.
4849         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4850         Ensure a1 + u.d computation is not scheduled after fetestexcept.
4852 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
4854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4855         computation is not scheduled after fetestexcept.
4857 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4859         [BZ #14117]
4860         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4861         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4863 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4865         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4866         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4868 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4870         [BZ #14117]
4871         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4872         <bits/wordsize.h>.
4873         (__WCHAR_MIN): Support __WORDSIZE == 64.
4874         (__WCHAR_MAX): Likewise.
4876         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4877         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4879         [BZ #14183]
4880         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4881         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4883         [BZ #14117]
4884         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4885         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4887         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4888         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4890         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4891         Defined to 1 if __x86_64__ isn't defined.
4892         (_STAT_VER_LINUX_OLD): New.
4893         (st_atime): Remove duplicate.
4894         (st_mtime): Likewise.
4895         (st_ctime): Likewise.
4897 2012-05-31  David S. Miller  <davem@davemloft.net>
4899         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4900         entries.
4902 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
4904         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4905         gen-libm-test.pl.
4907         [BZ #14132]
4908         * elf/dl-reloc.c: Include <_itoa.h>.
4909         (_dl_reloc_bad_type): Remove use of INTUSE.
4910         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4911         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4912         * stdio-common/psiginfo.c (psiginfo): Likewise.
4913         * stdio-common/psignal.c (psignal): Likewise.
4914         * string/strsignal.c (strsignal): Likewise.
4915         * include/signal.h (_sys_siglist): Declare hidden proto.
4916         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
4917         INTVARDEF with libc_hidden_data_def.
4918         * stdio-common/itoa-udigits.c: Likewise.
4919         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4920         (_itoa_lower_digits_internal): Remove declaration.
4921         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4922         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4923         (_sys_sigabbrev_internal): Remove aliases.
4924         (_sys_siglist): Define hidden alias.
4926 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
4928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4929         bits/sysctl.h.
4931 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4933         [BZ #14117]
4934         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4935         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4937         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4938         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4939         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4940         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4941         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4942         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4944         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4945         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4946         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4948         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4949         with __addr.
4950         (insw): Likewise.
4951         (insl): Likewise.
4952         (outsb): Likewise.
4953         (outsw): Likewise.
4954         (outsl): Likewise.
4956         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4957         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4958         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4960         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4961         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4962         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4963         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4964         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4965         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4967         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4968         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4970         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4971         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4973         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4974         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4975         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4977         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4978         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4979         to ...
4980         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4982         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4983         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4984         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4986         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4987         for x86-64.
4988         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4990 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
4992         * math/math.h (M_El): Use two more decimal places.
4993         (M_LOG2El): Likewise.
4994         (M_LOG10El): Likewise.
4995         (M_LN2l): Likewise.
4996         (M_LN10l): Likewise.
4997         (M_PIl): Likewise.
4998         (M_PI_2l): Likewise.
4999         (M_PI_4l): Likewise.
5000         (M_1_PIl): Likewise.
5001         (M_2_PIl): Likewise.
5002         (M_2_SQRTPIl): Likewise.
5003         (M_SQRT2l): Likewise.
5004         (M_SQRT1_2l): Likewise.
5006 2012-05-31  David S. Miller  <davem@davemloft.net>
5008         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5009         values between float registers.
5010         * sysdeps/sparc/sparc64/memset.S: Likewise.
5011         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5013 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
5015         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5016         -D_FORTIFY_SOURCE=1.
5017         (CPPFLAGS-tst-longjmp_chk.c): Define.
5018         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5019         (CPPFLAGS-tst-longjmp_chk2.c): Define.
5020         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5021         CFLAGS-tst-wchar-h.c.
5023 2012-05-31  Marek Polacek  <polacek@redhat.com>
5025         [BZ #14132]
5026         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5027         __endmntent_internal): Remove declaration.
5028         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5029         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5030         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5032 2012-05-30  David S. Miller  <davem@davemloft.net>
5034         * sysdeps/sparc/sparc32/soft-fp/q_util.c
5035         (___Q_simulate_exceptions): Use real FP ops rather than writing
5036         into the %fsr.
5037         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5038         Likewise.
5040 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
5042         [BZ #14117]
5043         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5044         * sysdeps/x86/bits/xtitypes.h: This.
5046         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5047         * sysdeps/x86/bits/wordsize.h: This.
5049         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5050         * sysdeps/x86/bits/huge_vall.h: This.
5052         * sysdeps/i386/bits/select.h: Removed.
5053         * sysdeps/x86_64/bits/select.h: Renamed to ...
5054         * sysdeps/x86/bits/select.h: This.
5056         * sysdeps/i386/bits/setjmp.h: Removed.
5057         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5058         * sysdeps/x86/bits/setjmp.h: This.
5060         * sysdeps/i386/bits/mathdef.h: Removed.
5061         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5062         * sysdeps/x86/bits/mathdef.h: This.
5064 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
5066         [BZ #14132]
5067         * include/sys/socket.h (__connect_internal)
5068         (__libc_sa_len_internal): Remove declaration.
5069         (__connect, __libc_sa_len): Declare hidden_proto.
5070         (SA_LEN): Remove use of INTUSE.
5071         * socket/connect.c: Add libc_hidden_def.
5072         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5073         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5074         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5075         alias.
5076         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5077         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5078         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5079         of adding _internal alias.
5081 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
5083         [BZ #14117]
5084         * sysdeps/i386/bits/link.h: Removed.
5085         * sysdeps/i386/bits/linkmap.h: Likewise.
5086         * sysdeps/x86_64/bits/link.h: Renamed to ...
5087         * sysdeps/x86/bits/link.h: This.
5088         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5089         * sysdeps/x86/bits/linkmap.h: This.
5091         * sysdeps/i386/bits/endian.h: Removed.
5092         * sysdeps/x86_64/bits/endian.h: Renamed to ...
5093         * sysdeps/x86/bits/endian.h: This.
5095         * sysdeps/i386/bits/byteswap.h: Removed.
5096         * sysdeps/i386/bits/byteswap-16.h: Likewise.
5097         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5098         * sysdeps/x86/bits/byteswap.h: This.
5099         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5100         * sysdeps/x86/bits/byteswap-16.h: This.
5101         * sysdeps/i386/Implies: Add x86.
5102         * sysdeps/x86_64/Implies: Likewise.
5104 2012-05-30  David S. Miller  <davem@davemloft.net>
5106         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5107         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5108         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5109         (FP_TRAPPING_EXCEPTIONS): Define.
5110         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5111         (FP_TRAPPING_EXCEPTIONS): Define.
5112         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5113         subnormals only when inexact has been signalled or underflow
5114         exceptions are enabled.
5115         (_FP_PACK_CANONICAL): Likewise.
5117 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
5119         [BZ #14183]
5120         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5121         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5123 2012-05-30  Richard Henderson  <rth@twiddle.net>
5125         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5126         with #ifndef NOT_IN_libc.
5128         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
5129         marked to avoid plt entry.
5131 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
5133         [BZ #14112]
5134         * Makeconfig (default-abi): New macro.
5135         (abi-includes): Likewise.
5136         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
5137         $(abi-$(default-abi)-lib-soname) for soname if defined.
5138         ($(common-objpfx)gnu/lib-names.stmp): Generate from
5139         abi-variants.
5140         * Makefile (installed-stubs): Likewise.
5141         * include/stubs-biarch.h: Removed.
5142         * scripts/lib-names.awk: Only handle one library at a time.
5143         * scripts/soversions.awk: Remove WORDSIZE support.
5144         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5145         entries.
5146         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5147         Removed.
5148         (syscall-list-default-condition): Likewise.
5149         (syscall-list-default-condition): Likewise.
5150         (syscall-list-includes): Likewise.
5151         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5152         syscall-list-* with abi-*.  Handle undefined abi-variants.
5153         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5154         * sysdeps/unix/sysv/linux/i386/Implies: New file.
5155         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5156         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5157         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5158         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5159         Removed.
5160         (syscall-list-32-options): Likewise.
5161         (syscall-list-32-condition): Likewise.
5162         (syscall-list-64-options): Likewise.
5163         (syscall-list-64-condition): Likewise.
5164         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5165         macro.
5166         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5167         Renamed to ...
5168         (abi-*): This.
5169         (abi-64-ld-soname): New macro.
5170         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5171         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5172         Renamed to ...
5173         (abi-*): This.
5174         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5175         * sysdeps/x86_64/x32/shlib-versions: Likewise.
5177 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
5179         * sysdeps/unix/sysv/linux/kernel-features.h
5180         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5181         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5182         include <kernel-features.h>.
5183         [!__NR_ftruncate64]: Remove conditional code.
5184         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5185         [__NR_ftruncate64]: Make code unconditional.
5186         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5187         * sysdeps/unix/sysv/linux/truncate64.c: Do not
5188         include <kernel-features.h>.
5189         [!__NR_ftruncate64]: Remove conditional code.
5190         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5191         [__NR_ftruncate64]: Make code unconditional.
5192         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5194         include <kernel-features.h>.
5195         [!__NR_ftruncate64]: Remove conditional code.
5196         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5197         [__NR_ftruncate64]: Make code unconditional.
5198         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5200         include <kernel-features.h>.
5201         [!__NR_ftruncate64]: Remove conditional code.
5202         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5203         [__NR_ftruncate64]: Make code unconditional.
5204         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5206         * configure.in (libc_cv_fpie): Weaken to a compile test using
5207         LIBC_TRY_CC_OPTION.
5208         * configure: Regenerated.
5210 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5216         Refreshed.
5217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5223         Refreshed.
5225 2012-05-27  David S. Miller  <davem@davemloft.net>
5227         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5228         (___Q_zero): New.
5229         (__Q_simulate_exceptions): Return void.  Change to simulate
5230         exceptions by writing into the %fsr.
5231         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5232         (__Qp_handle_exceptions): Likewise.
5233         (numbers): Delete.
5234         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5235         __Qp_handle_exceptions.
5236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5237         __Qp_handle_exceptions.
5238         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5239         as unused and give dummy FP_RND_NEAREST initializer.
5240         (FP_INHIBIT_RESULTS): Define.
5241         (___Q_simulate_exceptions): Update declaration.
5242         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5243         formatting.
5244         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5245         as unused and give dummy FP_RND_NEAREST initializer.
5246         (__Qp_handle_exceptions): Update declaration.
5247         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5248         formatting.
5250 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
5252         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5253         the temporary FPU control word.
5254         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5255         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5256         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5257         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5258         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5259         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5260         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5261         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5262         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5263         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5264         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5266 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5268         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5269         fields.
5271 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
5273         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5274         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5275         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5276         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5277         Likewise.
5278         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5279         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5280         Likewise.
5282 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
5284         * po/h.po: Update from translation team.
5286 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
5288         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5290         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5291         handling of denormals.
5292         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5293         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5294         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5295         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5296         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5299         Likewise.
5301 2012-05-26  Marek Polacek  <polacek@redhat.com>
5303         [BZ #14152]
5304         * math/libm-test.inc (fma_test): Don't always expect underflow
5305         exception.
5307 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5309         [BZ #12416]
5310         * elf/tst-execstack.c: Include stackinfo.h.
5311         (do_test): Adjust test case to ensure that pthread_getattr_np
5312         behaviour remains the same after marking stack executable.
5314 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
5316         * sysdeps/unix/sysv/linux/kernel-features.h
5317         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5318         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5319         kernel-features.h.
5320         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5321         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5322         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5323         kernel-features.h.
5324         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5325         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5327 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
5329         * configure.in: Define the default includes to being none.
5330         * configure: Regenerated.
5332 2012-05-25  Roland McGrath  <roland@hack.frob.com>
5334         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5335         * sysdeps/x86_64/setjmp.S: Likewise.
5336         * sysdeps/i386/bsd-setjmp.S: Likewise.
5337         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5338         * sysdeps/i386/setjmp.S: Likewise.
5339         * sysdeps/i386/__longjmp.S: Likewise.
5340         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5341         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5343         * include/stap-probe.h: New file.
5344         * configure.in: Handle --enable-systemtap.
5345         * configure: Regenerated.
5346         * config.h.in (USE_STAP_PROBE): New #undef.
5347         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5348         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5349         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5351 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
5353         [BZ #13717]
5354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5355         to 2.4.0 where earlier.
5356         * sysdeps/unix/sysv/linux/configure: Regenerated.
5357         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5358         <kernel-features.h>.
5359         [__ASSUME_32BITUIDS]: Make code unconditional.
5360         [!__ASSUME_32BITUIDS]: Remove conditional code.
5361         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5362         <kernel-features.h>.
5363         [__ASSUME_32BITUIDS]: Make code unconditional.
5364         [!__ASSUME_32BITUIDS]: Remove conditional code.
5365         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5366         [__ASSUME_32BITUIDS]: Make code unconditional.
5367         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5368         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5369         <kernel-features.h>.
5370         [__ASSUME_32BITUIDS]: Make code unconditional.
5371         [!__ASSUME_32BITUIDS]: Remove conditional code.
5372         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5373         <kernel-features.h>.
5374         [__ASSUME_32BITUIDS]: Make code unconditional.
5375         [!__ASSUME_32BITUIDS]: Remove conditional code.
5376         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5377         <kernel-features.h>.
5378         [__ASSUME_32BITUIDS]: Make code unconditional.
5379         [!__ASSUME_32BITUIDS]: Remove conditional code.
5380         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5381         <kernel-features.h>.
5382         [__ASSUME_32BITUIDS]: Make code unconditional.
5383         [!__ASSUME_32BITUIDS]: Remove conditional code.
5384         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5385         <kernel-features.h>.
5386         [__ASSUME_32BITUIDS]: Make code unconditional.
5387         [!__ASSUME_32BITUIDS]: Remove conditional code.
5388         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5389         <kernel-features.h>.
5390         [__ASSUME_32BITUIDS]: Make code unconditional.
5391         [!__ASSUME_32BITUIDS]: Remove conditional code.
5392         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5393         <kernel-features.h>.
5394         [__ASSUME_32BITUIDS]: Make code unconditional.
5395         [!__ASSUME_32BITUIDS]: Remove conditional code.
5396         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5397         <kernel-features.h>.
5398         [__ASSUME_32BITUIDS]: Make code unconditional.
5399         [!__ASSUME_32BITUIDS]: Remove conditional code.
5400         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5401         <kernel-features.h>.
5402         [__ASSUME_32BITUIDS]: Make code unconditional.
5403         [!__ASSUME_32BITUIDS]: Remove conditional code.
5404         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5405         <kernel-features.h>.
5406         [__ASSUME_32BITUIDS]: Make code unconditional.
5407         [!__ASSUME_32BITUIDS]: Remove conditional code.
5408         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5409         <kernel-features.h>.
5410         [__NR_setresgid] (__setresgid): Do not declare.
5411         [__ASSUME_32BITUIDS]: Make code unconditional.
5412         [!__ASSUME_32BITUIDS]: Remove conditional code.
5413         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5414         <kernel-features.h>.
5415         [__NR_setresuid] (__setresuid): Do not declare.
5416         [__ASSUME_32BITUIDS]: Make code unconditional.
5417         [!__ASSUME_32BITUIDS]: Remove conditional code.
5418         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5419         <kernel-features.h>.
5420         [__ASSUME_32BITUIDS]: Make code unconditional.
5421         [!__ASSUME_32BITUIDS]: Remove conditional code.
5422         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5423         <kernel-features.h>.
5424         [__ASSUME_32BITUIDS]: Make code unconditional.
5425         [!__ASSUME_32BITUIDS]: Remove conditional code.
5426         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5427         <kernel-features.h>.
5428         [__ASSUME_32BITUIDS]: Make code unconditional.
5429         [!__ASSUME_32BITUIDS]: Remove conditional code.
5430         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5431         <kernel-features.h>.
5432         [__ASSUME_32BITUIDS]: Make code unconditional.
5433         [!__ASSUME_32BITUIDS]: Remove conditional code.
5434         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5435         <kernel-features.h>.
5436         [__ASSUME_32BITUIDS]: Make code unconditional.
5437         [!__ASSUME_32BITUIDS]: Remove conditional code.
5438         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5439         <kernel-features.h>.
5440         [__ASSUME_32BITUIDS]: Make code unconditional.
5441         [!__ASSUME_32BITUIDS]: Remove conditional code.
5442         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5443         <kernel-features.h>.
5444         [__ASSUME_32BITUIDS]: Make code unconditional.
5445         [!__ASSUME_32BITUIDS]: Remove conditional code.
5446         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5447         <kernel-features.h>.
5448         [__ASSUME_32BITUIDS]: Make code unconditional.
5449         [!__ASSUME_32BITUIDS]: Remove conditional code.
5450         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5451         <kernel-features.h>.
5452         [__ASSUME_32BITUIDS]: Make code unconditional.
5453         [!__ASSUME_32BITUIDS]: Remove conditional code.
5454         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5455         <kernel-features.h>.
5456         [__ASSUME_32BITUIDS]: Make code unconditional.
5457         [!__ASSUME_32BITUIDS]: Remove conditional code.
5458         * sysdeps/unix/sysv/linux/kernel-features.h
5459         (__ASSUME_SETRESUID_SYSCALL): Remove.
5460         (__ASSUME_SETRESGID_SYSCALL): Likewise.
5461         (__ASSUME_32BITUIDS): Likewise.
5462         (__ASSUME_LDT_WORKS): Likewise.
5463         (__ASSUME_O_DIRECTORY): Likewise.
5464         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5465         architecture but not kernel version.
5466         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5467         (__ASSUME_MMAP2_SYSCALL): Likewise.
5468         (__ASSUME_STAT64_SYSCALL): Likewise.
5469         (__ASSUME_IPC64): Likewise.
5470         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5471         <kernel-features.h>.
5472         [__ASSUME_32BITUIDS]: Make code unconditional.
5473         [!__ASSUME_32BITUIDS]: Remove conditional code.
5474         * sysdeps/unix/sysv/linux/opendir.c: Do not include
5475         <kernel-features.h>.
5476         [__ASSUME_O_DIRECTORY]: Make code unconditional.
5477         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5478         132096]: Remove conditional code.
5479         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5480         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5481         <kernel-features.h>.
5482         [__ASSUME_32BITUIDS]: Make code unconditional.
5483         [!__ASSUME_32BITUIDS]: Remove conditional code.
5484         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5485         <kernel-features.h>.
5486         [__ASSUME_32BITUIDS]: Make code unconditional.
5487         [!__ASSUME_32BITUIDS]: Remove conditional code.
5488         * sysdeps/unix/sysv/linux/setegid.c: Do not include
5489         <kernel-features.h>.
5490         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5491         unconditional.
5492         (__setresgid): Do not declare.
5493         [__ASSUME_32BITUIDS]: Make code unconditional.
5494         [!__ASSUME_32BITUIDS]: Remove conditional code.
5495         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5496         <kernel-features.h>.
5497         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5498         unconditional.
5499         (__setresuid): Do not declare.
5500         [__ASSUME_32BITUIDS]: Make code unconditional.
5501         [!__ASSUME_32BITUIDS]: Remove conditional code.
5502         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5503         <kernel-features.h>.
5504         [__ASSUME_32BITUIDS]: Make code unconditional.
5505         [!__ASSUME_32BITUIDS]: Remove conditional code.
5506         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5507         <kernel-features.h>.
5508         [__ASSUME_32BITUIDS]: Make code unconditional.
5509         [!__ASSUME_32BITUIDS]: Remove conditional code.
5511 2012-05-25  Richard Henderson  <rth@twiddle.net>
5513         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5514         dl_hwcap to ifunc resolver.
5515         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5516         elf_ifunc_invoke.
5517         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5518         dl_hwcap to ifunc resolver.
5519         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5521 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5523         [BZ #14153]
5524         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5525         for |x| <= 2**-26, not 2**-57.
5526         * math/libm-test.inc (acos_test): Do not allow spurious underflow
5527         exception.
5529 2012-05-24  Jeff Law  <law@redhat.com>
5531         * stdio-common/Makefile (tests): Add bug25.
5532         * stdio-common/bug25.c: New test.
5534 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5536         [BZ #13576]
5537         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5538         multiple of MALLOC_ALIGNMENT in size.
5539         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5541 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5543         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5544         Require >= 256.
5545         (FILENAME_MAX): Use macro-int-constant.
5546         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
5547         (_IOFBF): Use macro-int-constant.
5548         (_IOLBF): Likewise.
5549         (_IONBF): Likewise.
5550         (SEEK_CUR): Likewise.
5551         (SEEK_END): Likewise.
5552         (SEEK_SET): Likewise.
5553         (TMP_MAX): Likewise.
5554         (EOF): Use macro-int-constant.  Require < 0.
5555         (NULL): Use macro-constant.  Require == 0.
5556         (stdin): Require type to be FILE *.
5557         (stdout): Likewise.
5558         (stderr): Likewise.
5559         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5560         macro-int-constant.
5561         (EXIT_SUCCESS): Likewise.
5562         (NULL): Use macro-constant.  Require == 0.
5563         (RAND_MAX): Use macro-int-constant.
5564         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5565         [C99-based standards] (strtof): Require function.
5566         [C99-based standards] (strtold): Likewise.
5567         [C99-based standards] (strtoll): Likewise.
5568         [C99-based standards] (strtoull): Likewise.
5569         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5570         [ISO || ISO99 || ISO11] (limits.h): Likewise.
5571         [ISO || ISO99 || ISO11] (math.h): Likewise.
5572         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5573         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5574         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5576 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
5578         [BZ #14132]
5579         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5580         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5581         * intl/dgettext.c (DCGETTEXT): Likewise.
5582         * intl/gettext.c (DCGETTEXT): Likewise.
5583         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5584         * posix/regex_internal.h (gettext): Likewise.
5585         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5586         Remove declaration.
5587         * include/argz.h (__argz_count_internal)
5588         (__argz_stringify_internal): Remove declaration.
5589         (__argz_count, __argz_stringify): Declare hidden proto.
5590         * intl/dcgettext.c: Remove use of INTDEF.
5591         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5592         * string/argz-stringify.c: Likewise.
5593         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5594         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5595         Declare hidden proto.
5596         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5597         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5598         Declare hidden proto.
5599         * include/stdio.h (__asprintf_internal): Don't declare.
5600         (__asprintf): Don't define as macro.  Declare hidden proto.
5601         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5602         (__fsetlocking): Declare hidden proto.
5603         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5604         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5605         hidden proto.
5606         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5607         (_IO_setlinebuf): Remove use of INTUSE.
5608         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5609         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5610         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5611         Remove declaration.
5612         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5613         (_IO_do_flush): Remove use of INTUSE.
5614         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5615         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5616         (_IO_adjust_column, _IO_least_wmarker)
5617         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5618         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5619         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5620         (_IO_default_doallocate, _IO_wdefault_doallocate)
5621         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5622         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5623         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5624         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5625         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5626         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5627         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5628         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5629         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5630         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5631         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5632         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5633         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5634         proto.
5635         (_IO_flush_all_internal, _IO_adjust_column_internal)
5636         (_IO_default_uflow_internal, _IO_default_finish_internal)
5637         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5638         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5639         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5640         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5641         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5642         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5643         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5644         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5645         (_IO_file_close_internal, _IO_file_close_it_internal)
5646         (_IO_file_underflow_internal, _IO_file_overflow_internal)
5647         (_IO_file_init_internal, _IO_file_attach_internal)
5648         (_IO_file_fopen_internal, _IO_file_read_internal)
5649         (_IO_file_sync_internal, _IO_file_seek_internal)
5650         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5651         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5652         (_IO_str_underflow_internal, _IO_str_overflow_internal)
5653         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5654         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5655         (_IO_list_all_internal, _IO_link_in_internal)
5656         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5657         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5658         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5659         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5660         (_IO_do_write_internal, _IO_padn_internal)
5661         (_IO_getline_info_internal, _IO_getline_internal)
5662         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5663         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5664         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5665         (_IO_vfscanf_internal, _IO_vfprintf_internal)
5666         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5667         (_IO_init_internal, _IO_un_link_internal): Don't declare.
5668         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5669         with libc_hidden_ver, remove use of INTUSE.
5670         * libio/genops.c: Likewise.
5671         * libio/freopen.c: Likewise.
5672         * libio/freopen64.c: Likewise.
5673         * libio/iofclose.c: Likewise.
5674         * libio/iofdopen.c: Likewise.
5675         * libio/iofflush.c: Likewise.
5676         * libio/iofflush_u.c: Likewise.
5677         * libio/iofgets.c: Likewise.
5678         * libio/iofgets_u.c: Likewise.
5679         * libio/iofopen.c: Likewise.
5680         * libio/iofopncook.c: Likewise.
5681         * libio/iofread.c: Likewise.
5682         * libio/iofread_u.c: Likewise.
5683         * libio/ioftell.c: Likewise.
5684         * libio/iofwrite.c: Likewise.
5685         * libio/iogetline.c: Likewise.
5686         * libio/iogets.c: Likewise.
5687         * libio/iogetwline.c: Likewise.
5688         * libio/iopadn.c: Likewise.
5689         * libio/iopopen.c: Likewise.
5690         * libio/ioseekoff.c: Likewise.
5691         * libio/ioseekpos.c: Likewise.
5692         * libio/iosetbuffer.c: Likewise.
5693         * libio/iosetvbuf.c: Likewise.
5694         * libio/ioungetc.c: Likewise.
5695         * libio/ioungetwc.c: Likewise.
5696         * libio/iovdprintf.c: Likewise.
5697         * libio/iovsprintf.c: Likewise.
5698         * libio/iovsscanf.c: Likewise.
5699         * libio/memstream.c: Likewise.
5700         * libio/obprintf.c: Likewise.
5701         * libio/oldfileops.c: Likewise.
5702         * libio/oldiofclose.c: Likewise.
5703         * libio/oldiofdopen.c: Likewise.
5704         * libio/oldiofopen.c: Likewise.
5705         * libio/oldiopopen.c: Likewise.
5706         * libio/oldstdfiles.c: Likewise.
5707         * libio/putc.c: Likewise.
5708         * libio/setbuf.c: Likewise.
5709         * libio/setlinebuf.c: Likewise.
5710         * libio/stdfiles.c: Likewise.
5711         * libio/strops.c: Likewise.
5712         * libio/vasprintf.c: Likewise.
5713         * libio/vscanf.c: Likewise.
5714         * libio/vsnprintf.c: Likewise.
5715         * libio/vswprintf.c: Likewise.
5716         * libio/wfiledoalloc.c: Likewise.
5717         * libio/wfileops.c: Likewise.
5718         * libio/wgenops.c: Likewise.
5719         * libio/wmemstream.c: Likewise.
5720         * libio/wstrops.c: Likewise.
5721         * libio/__fpurge.c: Likewise.
5722         * libio/__fsetlocking.c: Likewise.
5723         * assert/assert.c: Likewise.
5724         * debug/fgets_chk.c: Likewise.
5725         * debug/fgets_u_chk.c: Likewise.
5726         * debug/fread_chk.c: Likewise.
5727         * debug/fread_u_chk.c: Likewise.
5728         * debug/gets_chk.c: Likewise.
5729         * debug/obprintf_chk.c: Likewise.
5730         * debug/vasprintf_chk.c: Likewise.
5731         * debug/vdprintf_chk.c: Likewise.
5732         * debug/vsnprintf_chk.c: Likewise.
5733         * debug/vsprintf_chk.c: Likewise.
5734         * malloc/mtrace.c: Likewise.
5735         * misc/error.c: Likewise.
5736         * misc/syslog.c: Likewise.
5737         * stdio-common/asprintf.c: Likewise.
5738         * stdio-common/fxprintf.c: Likewise.
5739         * stdio-common/getw.c: Likewise.
5740         * stdio-common/isoc99_fscanf.c: Likewise.
5741         * stdio-common/isoc99_scanf.c: Likewise.
5742         * stdio-common/isoc99_vfscanf.c: Likewise.
5743         * stdio-common/isoc99_vscanf.c: Likewise.
5744         * stdio-common/isoc99_vsscanf.c: Likewise.
5745         * stdio-common/printf-prs.c: Likewise.
5746         * stdio-common/printf_fp.c: Likewise.
5747         * stdio-common/printf_fphex.c: Likewise.
5748         * stdio-common/printf_size.c: Likewise.
5749         * stdio-common/putw.c: Likewise.
5750         * stdio-common/scanf.c: Likewise.
5751         * stdio-common/sprintf.c: Likewise.
5752         * stdio-common/tmpfile.c: Likewise.
5753         * stdio-common/vfprintf.c: Likewise.
5754         * stdio-common/vfscanf.c: Likewise.
5755         * stdlib/strfmon_l.c: Likewise.
5756         * sunrpc/openchild.c: Likewise.
5757         * sunrpc/xdr_stdio.c: Likewise.
5758         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5759         * sysdeps/mach/hurd/tmpfile.c: Likewise.
5761 2012-05-24  Roland McGrath  <roland@hack.frob.com>
5763         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5765         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5766         in the third column, to generate for the shared library an IFUNC
5767         that uses _dl_vdso_vsym.
5768         * Makerules (COMPILE.c, compile-stdin.c): New variables.
5769         * Makeconfig (object-suffixes-noshared): New variable.
5771         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5772         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5773         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5774         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5776         [BZ #14132]
5777         * include/sys/time.h (__gettimeofday): Remove macro.
5778         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5779         * time/gettimeofday.c (__gettimeofday): Remove #undef.
5780         Remove INTDEF.
5781         (__gettimeofday): Add libc_hidden_def.
5782         (gettimeofday): Add libc_hidden_weak.
5783         * sysdeps/mach/gettimeofday.c: Likewise.
5784         * sysdeps/posix/gettimeofday.c: Likewise.
5785         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5786         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5787         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5788         (__gettimeofday_internal): Remove strong_alias.
5789         (__gettimeofday): Add libc_hidden_def.
5790         (gettimeofday): Add libc_hidden_weak.
5791         * sysdeps/unix/syscalls.list (gettimeofday):
5792         Remove __gettimeofday_internal alias.
5794 2012-05-24  Daniel Jacobowitz  <drow@false.org>
5795             H.J. Lu  <hongjiu.lu@intel.com>
5797         [BZ #12495]
5798         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5799         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5800         (largebin_index_32_big): New.
5801         (largebin_index): Use it for 16-byte alignment.
5802         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
5803         correction with front_misalign.
5805 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5809         Likewise.
5810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5811         Likewise.
5812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5813         Likewise.
5814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5815         Likewise.
5816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5817         Likewise.
5818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5819         Likewise.
5820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5821         Likewise.
5822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5823         Likewise.
5824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5825         Likewise.
5826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5827         Likewise.
5828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5829         Likewise.
5830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5831         Likewise.
5833         * scripts/data/c++-types-x32-linux-gnu.data: New file.
5834         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5836 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5838         [BZ #10846]
5839         [BZ #14036]
5840         * math/libm-test.inc (exp_test): Add test from bug 14036.
5841         (pow_test): Add test from bug 10846.
5843         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5844         and other flags.
5845         (special_function): Do not include flags in test name.
5846         (parse_args): Likewise.
5847         * sysdeps/i386/fpu/libm-test-ulps: Update.
5848         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5849         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5850         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5853         * math/gen-libm-test.pl (%beautify): Add entries for underflow
5854         exceptions.
5855         * math/libm-test.inc ("Philosophy"): Update comment about
5856         exception testing.
5857         (UNDERFLOW_EXCEPTION): New macro.
5858         (UNDERFLOW_EXCEPTION_OK): Likewise.
5859         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5860         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5861         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5862         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5863         (INVALID_EXCEPTION_OK): Update value.
5864         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5865         (OVERFLOW_EXCEPTION_OK): Likewise.
5866         (IGNORE_ZERO_INF_SIGN): Likewise.
5867         (test_exceptions): Handle underflow exceptions.
5868         (acos_test): Update for underflow exception expectations.
5869         (cexp_test): Likewise.
5870         (clog_test): Likewise.
5871         (clog10_test): Likewise.
5872         (csqrt_test): Likewise.
5873         (ctan_test): Likewise.
5874         (ctanh_test): Likewise.
5875         (exp_test): Likewise.
5876         (exp10_test): Likewise.
5877         (exp2_test): Likewise.
5878         (expm1_test): Likewise.
5879         (fma_test): Likewise.
5880         (j0_test): Likewise.
5881         (jn_test): Likewise.
5882         (nexttoward_test): Likewise.
5883         (pow_test): Likewise.
5884         (scalbn_test): Likewise.
5885         (scalbln_test): Likewise.
5886         (tan_test): Likewise.
5887         (y1_test): Likewise.
5888         * sysdeps/i386/fpu/libm-test-ulps: Update.
5889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5891 2012-05-23  David S. Miller  <davem@davemloft.net>
5893         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5894         (__libc_sigaction): Remove unused local variables.
5896 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5898         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5900 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
5902         mktime: avoid signed integer overflow
5903         * time/mktime.c (__mktime_internal): Do not mishandle the case
5904         where diff == INT_MIN.
5906         mktime: simplify computation of average
5907         * time/mktime.c (ranged_convert): Use new time_t_avg function
5908         instead of rolling our own (probably-slower) code.
5910         mktime: do not assume signed right shift propagates sign bit
5911         * time/mktime.c (isdst_differ): New static function.
5912         (__mktime_internal): No need to normalize tm_isdst now.
5913         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5914         tm_isdst values.
5916         mktime: merge another wrapv change from gnulib
5917         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5918         from some compilers.
5920         mktime: remove incorrect attempt at unusual arithmetics
5921         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5922         The code didn't really work on such machines anyway.
5923         (TYPE_MINIMUM): Assume two's complement.
5924         (twos_complement_arithmetic): Verify that long_int and time_t
5925         are two's complement (or unsigned, in the latter case).
5927         mktime: check signed shifts on long_int and time_t, too
5928         * time/mktime.c (SHR): Check that shifts work as desired
5929         on the types long_int and time_t too, as SHR is used on
5930         such types.
5932         mktime: do not assume 'long' is wide enough
5933         * time/mktime.c (verify): Move decl up.
5934         (long_int): New type.
5935         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5936         to remove assumption in the code that 'long' is wide enough to
5937         store year values.  This assumption is not true on x32 and on
5938         some non-glibc platforms.
5940         mktime: merge wrapv change from gnulib
5941         * time/mktime.c (WRAPV): New macro.
5942         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5943         (guess_time_tm, __mktime_internal): Do not assume that signed
5944         integer overflow wraps around; modern compilers generate code
5945         where this assumption is no longer valid.
5947 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5949         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5950         Replace "jmp L(pseudo_end)" with "ret".
5951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5952         Likewise.
5954 2012-05-23  Andreas Jaeger  <aj@suse.de>
5956         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5957         * sysdeps/unix/sysv/linux/poll.c: Remove file.
5959 2012-05-23  Andreas Jaeger  <aj@suse.de>
5960             Maximilian Attems  <max@stro.at>
5962         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5963         New macros.
5965 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5967         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5968         code so that pseudo_end is just ret and the stack pointer is
5969         correct also for static library in error case.
5971 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
5973         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5974         move to syscalls.list.
5975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5980         * manual/install.texi (Running make install): Do not mention Linux
5981         kernel version for which pt_chown is not needed.
5982         (Linux): Do not mention problems with nscd with 2.0 kernels.
5983         * INSTALL: Regenerated.
5985 2012-05-23  Andreas Jaeger  <aj@suse.de>
5987         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5988         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5989         macro.
5990         * sysdeps/unix/sysv/linux/s390/bits/mman.h
5991         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5992         * sysdeps/unix/sysv/linux/sh/bits/mman.h
5993         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5994         * sysdeps/unix/sysv/linux/i386/bits/mman.h
5995         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5997         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5998         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5999         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6000         * sysdeps/unix/sysv/linux/bits/in.h
6001         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6003 2012-05-22  Roland McGrath  <roland@hack.frob.com>
6005         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6006         (PREPARE_VERSION): Just use assert instead, it will be elided
6007         under [NDEBUG] anyway.
6009 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
6011         * sysdeps/unix/sysv/linux/Makefile: Include
6012         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6013         (sysdep_routines): Remove sysctl.
6014         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6015         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6016         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6017         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6018         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6020 2012-05-22  Andreas Jaeger  <aj@suse.de>
6022         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6023         that pseudo_end is just ret and the stack pointer is correct also
6024         for static library in error case.
6026 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6028         [BZ #14122]
6029         * nss/nsswitch.c (defconfig_entries): New variable.
6030         (__nss_database_lookup): Don't leak defconfig entries.
6031         (nss_parse_service_list): Don't leak on error paths.
6032         (free_database_entries): New function.
6033         (free_defconfig): New function.
6034         (free_mem): Move common code to free_database_entries.
6036 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
6038         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6039         Add arch_prctl.
6040         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6042         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6043         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6045         New macro.
6046         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6047         (INTERNAL_SYSCALL_TYPES): Likewise.
6048         (LOAD_ARGS_TYPES_[1-6]): Likewise.
6049         (LOAD_REGS_TYPES_[1-6]): Likewise.
6050         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6051         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6053 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6055         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6056         copysignl for GLIBC_2_0.
6057         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6058         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6059         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6060         logbl for GLIBC_2_0.
6061         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6062         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6064 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
6066         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6067         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6069         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6070         Use "neg %eax".
6072         * time/mktime.c: Update copyright years.
6074 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
6076         mktime: merge comment-quoting-style change from gnulib
6077         * time/mktime.c: Quote 'like this' in comments.
6078         The GNU coding standards suggest that we no longer quote `like this',
6079         as "`" and "'" are typically rendered asymmetrically nowadays.
6080         The typical gnulib style is to quote 'like this' when quoting
6081         code, and "like this" when quoting English.
6083         * time/mktime.c (compile-command): Add "-I.".
6085         mktime: merge mktime-internal.h change from gnulib
6086         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6088         mktime: merge time_r change from gnulib
6089         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6091         mktime: merge DEBUG change from gnulib
6092         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6093         case system <time.h> has a #define.
6095         mktime: merge <sys/types.h> change from gnulib
6096         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6097         since <time.t> is now guaranteed to define time_t.
6099         mktime: merge HAVE_CONFIG_H change from gnulib
6100         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6102 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
6104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6105         Use "neg %eax".
6107         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6108         __rlim_t cast.
6109         (struct rusage): Use anonymous union to pad each field to
6110         __syscall_slong_t.
6112 2012-05-21  David S. Miller  <davem@davemloft.net>
6114         * Makefules (o-iterator): Remove .s cases.
6115         (compile-command.s): Delete.
6116         (COMPILE.s): Delete.
6117         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6119 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
6121         * configure.in (libc_cv_predef_stack_protector): Only consider
6122         "foobar" and "__stack_chk_fail" lines in libc_undefs.
6123         * configure: Regenerated.
6125 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
6127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6128         New macro.  Use R*LP on int and pointer.
6129         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6130         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6131         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6132         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6134         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6135         [__WORDSIZE_TIME64_COMPAT32] instead of
6136         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6137         (struct utmp): Likewise.
6138         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6139         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6140         Renamed to ...
6141         (__WORDSIZE_TIME64_COMPAT32): This.
6142         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6143         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6144         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6145         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6146         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6147         (__WORDSIZE_TIME64_COMPAT32): New macro.
6149 2012-05-21  Andreas Jaeger  <aj@suse.de>
6151         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6152         only if [SHARED]. Add prototype for __wcschr_ia32.
6154 2012-05-21  Roland McGrath  <roland@hack.frob.com>
6156         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6157         of %rbp unmolested in the jmp_buf while mangling the low bits.
6158         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6159         unmolested high bits of %rbp while demangling the low bits.
6160         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6162 2012-05-21  Andreas Jaeger  <aj@suse.de>
6164         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6165         * sunrpc/svc_simple.c: Use it for registerrpc.
6166         * sunrpc/xcrypt.c: Use it for passwd2des.
6168         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6170 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
6172         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6173         Don't define if [__SYSCALL_WORDSIZE != 32].
6174         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6175         New macro.
6177 2012-05-21  Bruno Haible  <bruno@clisp.org>
6178             Andreas Jaeger  <aj@suse.de>
6180         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6181         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6182         inptr and inend for must_buffer_ch.
6183         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6184         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6185         * stdio-common/Makefile (tests): Remove bug15.
6186         (bug15-ENV): Remove macro.
6187         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6188         anymore.
6190 2012-05-19  Andreas Jaeger  <aj@suse.de>
6191             Roland McGrath  <roland@hack.frob.com>
6193         * manual/contrib.texi: Completely rewritten. It contains now an
6194         alphabetical list of contributors and their contributions.
6196 2012-05-21  Richard Henderson  <rth@twiddle.net>
6198         * misc/getauxval.c (__getauxval): Use unsigned long int.
6199         * misc/sys/auxv.h: Include <sys/cdefs.h>.
6200         (getauxval): Use unsigned long int.
6202 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
6204         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6206 2012-05-21  Roland McGrath  <roland@hack.frob.com>
6208         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6209         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6210         __alignof__ (long double).
6212 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6216 2012-05-20  Richard Henderson  <rth@twiddle.net>
6218         * misc/getauxval.c: New file.
6219         * misc/sys/auxv.h: New file.
6220         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6221         (routines): Add getauxval.
6222         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6223         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6224         * elf/dl-sysdep.c (_dl_auxv): Remove.
6225         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6226         * elf/dl-support.c (_dl_auxv): New variable.
6227         (_dl_aux_init): Initialize it.
6228         * manual/startup.texi (Auxiliary Vector): New node.
6229         * sysdeps/generic/bits/hwcap.h: New file.
6230         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6231         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
6232         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6233         * sysdeps/sparc/sysdep.h: ... here.  Include it.
6234         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6235         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6237         Update.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6241         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6247 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6251 2012-05-19  David S. Miller  <davem@davemloft.net>
6253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6255 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
6257         [BZ #14123]
6258         * math/s_ccosh.c: Include <float.h>
6259         (__ccosh): Avoid internal overflow calculating sinh and cosh
6260         values before multiplying by sin and cos values.
6261         * math/s_ccoshf.c: Likewise.
6262         * math/s_ccoshl.c: Likewise.
6263         * math/s_csin.c: Likewise.
6264         * math/s_csinf.c: Likewise.
6265         * math/s_csinl.c: Likewise.
6266         * math/s_csinh.c: Likewise.
6267         * math/s_csinhf.c: Likewise.
6268         * math/s_csinhl.c: Likewise.
6269         * math/libm-test.inc (ccos_test): Add more tests.
6270         (ccosh_test): Likewise.
6271         (csin_test): Likewise.
6272         (csinh_test): Likewise.
6273         * sysdeps/i386/fpu/libm-test-ulps: Update.
6274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6276 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6278         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6279         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6281         * sysdeps/x86_64/x32/_itoa.h: Add comment.
6283 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
6285         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6286         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6287         * sysdeps/powerpc/soft-fp/Versions: Likewise.
6288         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6289         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6290         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6291         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6292         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6293         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6294         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6295         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6296         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6297         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6298         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6299         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6300         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6301         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6302         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6303         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6304         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6305         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6306         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6307         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6308         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6309         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6310         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6311         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6312         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6313         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6314         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6315         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6317 2012-05-18  Andreas Jaeger  <aj@suse.de>
6319         * csu/.gitignore: Delete.
6321 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6323         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6324         (timex): Use __syscall_slong_t.
6326 2012-05-18  Andreas Jaeger  <aj@suse.de>
6327             Carlos O'Donell  <carlos_odonell@mentor.com>
6329         * manual/install.texi (Configuring and compiling): Update
6330         description about files modified in the source directory.
6331         * INSTALL: Regenerated.
6333 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6335         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6336         value.  Use "or" to set return value to -1.
6337         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6338         negate return value.
6340 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6342         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6343         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6344         failure if the compiler has Graphite support disabled.
6345         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6346         Likewise.
6347         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6348         CFLAGS-memmove.c): Likewise.
6349         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6350         Likewise.
6352 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6354         * sysdeps/x86_64/x32/_itoa.h: New file.
6356         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6357         getdents system call only if kernel and user dirents have the
6358         same d_ino and d_off.
6360         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6361         LLONG_MAX != LONG_MAX.
6362         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6363         (_fitoa_word): Likewise.
6365         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6366         years.
6367         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6368         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6369         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6371         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6372         include <bits/wordsize.h>.  Check __x86_64__ instead of
6373         __WORDSIZE.
6374         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6375         if __x86_64__ is defined.  Use anonymous union on fpstate.
6377         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6378         anonymous union.
6380 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
6382         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6383         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6384         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6385         Refer to _rtld_local_ro instead of _rtld_global_ro.
6386         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6387         Likewise.
6388         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6389         Likewise.
6390         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6391         Likewise.
6392         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6393         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6394         of _rtld_global, and rtld_progname instead of _dl_argv[0].
6396         * sysdeps/powerpc/powerpc32/dl-machine.c
6397         (__elf_machine_runtime_setup) [PROF]: Don't reference
6398         _dl_prof_resolve.
6400 2012-05-18  Andreas Jaeger  <aj@suse.de>
6402         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6403         function only available for GCCs before 3.4 since GCC 3.4
6404         introduced a builtin.
6405         (lrint): Likewise.
6406         (llrintf): Likewise.
6407         (llrint): Likewise.
6408         (fmaxf): Likewise.
6409         (fmax): Likewise.
6410         (fminf): Likewise.
6411         (fmin): Likewise.
6412         (rint): Likewise.
6413         (rintf): Likewise.
6414         (nearbyint): Likewise.
6415         (nearbyintf): Likewise.
6416         (ceil): Likewise.
6417         (ceilf): Likewise.
6418         (floor): Likewise.
6419         (floorf): Likewise.
6421 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6423         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6424         on both fields and cast pointer to __syscall_ulong_t.
6426         * bits/types.h (__fsword_t): New type.
6427         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6428         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6430         (__FSWORD_T_TYPE): Likewise.
6431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6432         (__FSWORD_T_TYPE): Likewise.
6433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6434         (__FSWORD_T_TYPE): Likewise.
6435         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6436         (__FSWORD_T_TYPE): Likewise.
6437         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6438         __SWORD_TYPE with __fsword_t.
6439         (statfs64): Likewise.
6441 2012-05-17  David S. Miller  <davem@davemloft.net>
6443         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6445 2012-05-17  Andreas Jaeger  <aj@suse.de>
6447         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6448         warning.
6450 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6452         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6454 2012-05-17  Andreas Jaeger  <aj@suse.de>
6456         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6457         when it is used.
6459 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
6461         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6463 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6465         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6466         * sysdeps/x86_64/tst-mallocalign1.c: New file.
6468 2012-05-17  Andreas Jaeger  <aj@suse.de>
6469             Carlos O'Donell  <carlos_odonell@mentor.com>
6471         [BZ #14059]
6472         * sysdeps/x86_64/multiarch/init-arch.h
6473         (bit_YMM_Usable): Rename to...
6474         (bit_AVX_Usable): ... this.
6475         (bit_FMA4_Usable): New macro.
6476         (bit_XMM_state): New macro.
6477         (bit_YMM_state): New macro.
6478         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6479         [__ASSEMBLER__] (index_AVX_Usable): ... this.
6480         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6481         (CPUID_OSXSAVE): New macro.
6482         (CPUID_AVX): New macro.
6483         (CPUID_FMA4): New macro.
6484         (index_YMM_Usable): Rename to...
6485         (index_AVX_Usable): ... this.
6486         (HAS_AVX): Use HAS_ARCH_FEATURE.
6487         (HAS_FMA4): Likewise.
6488         (HAS_YMM_USABLE): Remove.
6489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6490         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6491         are present.
6492         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6493         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6494         * sysdeps/x86_64/multiarch/Makefile: Likewise.
6495         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6496         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6498 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
6500         * math/libm-test.c: Support platforms without multiple rounding modes.
6501         * math/bug-nextafter.c: Support platforms without FP exceptions.
6502         * math/bug-nexttoward.c: Likewise.
6503         * math/test-fenv.c: Likewise.
6504         * math/test-misc.c: Likewise.
6505         * stdlib/bug-getcontext.c: Likewise.
6507 2012-05-17  Andreas Jaeger  <aj@suse.de>
6509         * manual/examples/search.c (critter_cmp): Change signature to
6510         avoid warnings.
6511         * manual/string.texi (Collation Functions): Likewise.
6513 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6515         * bits/types.h: Fold copyright years.
6516         * bits/typesizes.h: Likewise.
6517         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6518         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6519         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6520         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6521         * time/time.h: Likewise.
6523 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
6525         [BZ #208]
6526         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6527         in instead of returning them.  Return void.
6528         (__libc_mallinfo): Accumulate over all arenas.
6529         (__malloc_stats): Adjust for change in int_mallinfo interface.
6531 2012-05-16  Roland McGrath  <roland@hack.frob.com>
6533         [BZ #10375]
6534         * configure.in (NM): Add AC_CHECK_TOOL for it.
6535         (libc_extra_cflags): New substituted variable.
6536         Check for -fstack-protector being used implicitly.
6537         * configure: Regenerated.
6538         * config.make.in (config-extra-cflags): New variable,
6539         gets @libc_extra_cflags@.
6540         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6542         [BZ #10375]
6543         * configure.in: Check for _FORTIFY_SOURCE being predefined.
6544         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6545         * configure: Regenerated.
6546         * config.make.in (CPPUNDEFS): New substituted variable.
6547         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6548         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6549         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6551 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6553         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6554         (mq_attr): Use __syscall_slong_t.
6556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6558         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6559         Check __x86_64__ instead of __WORDSIZE.
6560         (_STAT_VER_LINUX): Likewise.
6561         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
6562         __syscall_ulong_t and __syscall_slong_t.
6563         (stat64): Likewise.
6565 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6571         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6573 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6575         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6576         __syscall_ulong_t.
6578         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6579         include <bits/wordsize.h>.  Check __x86_64__ instead of
6580         __WORDSIZE.
6581         (greg_t): Use "__extension__ long long int" if __x86_64__ is
6582         defined.
6583         (mcontext_t): Replace "unsigned long" with "unsigned long long".
6585         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6586         include <bits/wordsize.h>.  Check __x86_64__ instead of
6587         __WORDSIZE.
6588         (user_regs_struct): Use "__extension__ unsigned long long"
6589         instead of "unsigned long" if __x86_64__ is defined.
6590         (user): Likewise.  Pad after pointer field if __ILP32__ is
6591         defined.
6593 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
6595         * configure.in (makeinfo): Require version 4.5 or later.  Allow
6596         versions 5 to 9.
6597         * configure: Regenerated.
6598         * manual/install.texi (texinfo): Increase version requirement to
6599         4.5 or later.
6600         * INSTALL: Regenerated.
6602         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6606         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6608         * sysdeps/x86_64/x32/ffs.c: New file.
6610         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6611         __syscall_ulong_t.
6612         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6613         defined.  Use __syscall_ulong_t.
6614         (shminfo): Use __syscall_ulong_t.
6615         (shm_info): Likewise.
6617         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6618         __syscall_ulong_t.
6620         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6621         <bits/wordsize.h>.
6622         (msgqnum_t): Use __syscall_ulong_t.
6623         (msglen_t): Likewise.
6624         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
6625         __syscall_ulong_t.
6627         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6628         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6630         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6632         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6633         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6635         * sysvipc/sys/msg.h (msgbuf): Replace long int with
6636         __syscall_slong_t.
6638         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6639         include <bits/wordsize.h>.  Check __x86_64__ instead of
6640         __WORDSIZE.
6642         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6643         "unsigned long long int" if __x86_64__ is defined.
6644         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6646         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6647         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6648         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6650         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6651         <stdint.h>.
6652         (GET_PC): Cast to uintptr_t first.
6653         (GET_FRAME): Likewise.
6654         (GET_STACK): Likewise.
6656         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6657         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6658         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6659         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6660         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6661         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6662         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6663         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6664         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6666         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6667         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6668         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6669         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6670         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6671         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6672         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6673         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6674         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6675         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6676         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6677         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6678         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6679         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6680         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6682         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6683         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6684         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6686 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
6688         * Makerules (+depfiles): Also collect depfiles from .oS in
6689         $(extra-objs).
6690         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6691         .oS, $(libnldbl-routines)).
6693         * Makerules (native-compile-mkdep-flags): Define.
6694         * sunrpc/Makefile (extra-objs): Add $(addprefix
6695         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6696         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6697         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
6698         calling $(make-target-directory).
6700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6702         * bits/types.h (__snseconds_t): Removed.
6703         * time/time.h (struct timespec): Replace __snseconds_t with
6704         __syscall_slong_t.
6705         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6706         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6707         Likewise.
6708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6709         (__SNSECONDS_T_TYPE): Likewise.
6710         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6711         (__SNSECONDS_T_TYPE): Likewise.
6712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6713         (__SNSECONDS_T_TYPE): Likewise.
6715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6717         * sysdeps/mach/hurd/bits/typesizes.h
6718         (__SYSCALL_SLONG_TYPE): New macro.
6719         (__SYSCALL_ULONG_TYPE): Likewise.
6721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6723         * bits/types.h (__syscall_slong_t): New type.
6724         (__syscall_ulong_t): Likewise.
6726         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6727         (__SYSCALL_ULONG_TYPE): Likewise.
6728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6729         (__SYSCALL_SLONG_TYPE): Likewise.
6730         (__SYSCALL_ULONG_TYPE): Likewise.
6731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6732         (__SYSCALL_SLONG_TYPE): Likewise.
6733         (__SYSCALL_ULONG_TYPE): Likewise.
6734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6735         (__SYSCALL_SLONG_TYPE): Likewise.
6736         (__SYSCALL_ULONG_TYPE): Likewise.
6738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6740         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6741         Add sigaltstack-offsets.sym.
6742         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6743         <sigaltstack-offsets.h>.
6744         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
6745         longjmp_msg pointer.
6746         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
6747         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6748         signal stack.
6749         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6751 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6753         * elf/stackguard-macros.h: Remove file.
6754         * sysdeps/generic/stackguard-macros.h: New file.
6755         * sysdeps/i386/stackguard-macros.h: Likewise.
6756         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6757         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6758         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6759         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6760         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6761         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6762         * sysdeps/x86_64/stackguard-macros.h: Likewise.
6763         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6764         <elf/stackguard-macros.h>.
6766         [BZ #14109]
6767         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6768         __aligned__ in attribute.
6769         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6770         (gregset_t): Likewise.
6772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6774         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6775         * sysdeps/x86_64/64/Implies-after: Here.  New file.
6776         * sysdeps/x86_64/x32/Implies-after: New file.
6778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6780         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6781         and access return value for _dl_profile_fixup.  Use R10_LP to
6782         load frame size.
6784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6786         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6790         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6791         * sysdeps/x86_64/x32/sysdep.h: New file.
6793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6795         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6796         * sysdeps/x86_64/setjmp.S: Likewise.
6798 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6801         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6802         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6803         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6804         remove unused global constant.
6806 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
6808         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6809         include of <not-cancel.h>.
6811 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6813         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6815 2012-05-15  Jeff Law  <law@redhat.com>
6816             Andreas Jaeger  <aj@suse.de>
6818         [BZ #13594]
6819         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6820         out from...
6821         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6822         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6823         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6824         code changing __hst_map_handle.map.
6826 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6828         * configure.in (sysnames): Look for Implies-before and Implies-after
6829         files.
6830         * configure: Regenerated.
6832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6834         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6835         8-byte data alignment with LP_SIZE alignment.
6837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6839         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6840         into R10_LP.
6842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6844         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6848         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6849         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6850         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6851         Likewise.
6852         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6856         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6857         (stackinfo_sub_sp): Likewise.
6859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6861         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6862         RAX_LP.
6864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6866         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6867         into R*_LP.
6869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6871         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6872         sizes into R*_LP.
6874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6876         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6880         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6881         into R11_LP and load __x86_64_shared_cache_size_half into
6882         R8_LP.
6884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6886         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6887         R8_LP.
6889 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6892         logb for POWER7.
6893         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6894         logbf for POWER7.
6895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6896         logbl for POWER7.
6897         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6898         powerpc32/power7/fpu/s_logb.c via #include.
6899         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6900         powerpc32/power7/fpu/s_logbf.c via #include.
6901         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6902         powerpc32/power7/fpu/s_logbl.c via #include.
6904 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6906         * README.libm: Remove file.
6908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6910         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6911         count for x32.  Use R*_LP and omit operand-size suffix.
6913 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6915         * shlib-versions: Move x86_64-.*-linux.* entries to ...
6916         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
6917         * sysdeps/x86_64/x32/shlib-versions: New file.
6919 2012-05-14  Roland McGrath  <roland@hack.frob.com>
6921         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6922         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6923         Use _dl_fatal_printf instead.
6925 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
6927         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6928         set if not set by the user.  Do not allow for being unset.
6929         * sysdeps/unix/sysv/linux/configure: Regenerated.
6931 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6933         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6934         the `q' suffix from lea and replace .quad with ASM_ADDR.
6936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6939         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
6940         instead of $17.
6941         (PTR_DEMANGLE): Likewise.
6943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6945         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6946         (LP_OP): Likewise.
6947         (ASM_ADDR): Likewise.
6948         (RAX_LP): Likewise.
6949         (RBP_LP): Likewise.
6950         (RBX_LP): Likewise.
6951         (RCX_LP): Likewise.
6952         (RDI_LP): Likewise.
6953         (RSI_LP): Likewise.
6954         (RSP_LP): Likewise.
6955         (R8_LP): Likewise.
6956         (R9_LP): Likewise.
6957         (R10_LP): Likewise.
6958         (R10_LP): Likewise.
6959         (R11_LP): Likewise.
6960         (R12_LP): Likewise.
6961         (R13_LP): Likewise.
6962         (R14_LP): Likewise.
6963         (R15_LP): Likewise.
6965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6967         * sysdeps/x86_64/x32/dl-machine.h: New file.
6969 2012-05-14  Andreas Jaeger  <aj@suse.de>
6971         * manual/Makefile (subdir): Remove export of subdir.
6972         (all): Remove target.
6973         (.PHONY): Remove all from list.
6974         (mkinstalldirs): Remove.
6975         (.PHONY): Remove installdirs from list.
6976         ($(inst_infodir)/libc.info): Use make-target-directory.
6977         (installdirs): Remove.
6978         (subdir_%): Remove.
6979         (glibc-targets): Remove.
6980         (lib): Remove.
6981         (stubs): Remove.
6982         ($(objpfx)stubs ../po/manual.pot): Remove.
6983         ($(objpfx)stamp%): Remove.
6984         (make-target-directory): Remove.
6985         (subdir_install): Remove.
6986         (routines): Remove.
6987         (aux): Remove.
6988         (sources): Remove.
6989         (objects): Remove.
6990         (headers): Remove.
6992         [BZ #13750]
6993         * manual/.gitignore: Remove, it's not needed anymore.
6994         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6995         all files in it.
6996         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6997         directory.
6998         (texis): Renamed to $(objpfx)texis.
6999         (texis-path): New, contains path to generated files.
7000         (chapters.%): Use texis-path for complete path, add extra argument
7001         libc-texinfo.sh.
7002         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7003         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7004         (summary,texi, stamp-summary): Use complete path of
7005         files. Generate files in build dir.
7006         (dir-add.texi): Build in build dir.
7007         (libm-err.texi,stamp-libm-err): Likewise.
7008         (version.texi, stamp-version): Likewise.
7009         (.%c.texi): Likewise.
7010         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7011         (mostlyclean): Remove target.
7012         (realclean): Remove target.
7013         (generated): Add new variable with contents from mostlyclean and
7014         realclean, remove entries duplicated in common-mostlyclean, add
7015         stamp-libm-err and stamp-version.
7016         (generated-dirs): Add libc directory.
7017         ($(inst_infodir)/libc.info): Install files from build dir.
7019         * manual/install.texi (Configuring and compiling): Adjust since
7020         the info files are not part of the tar ball anymore.
7022 2012-05-14  Andreas Jaeger  <aj@suse.de>
7024         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7025         variable.
7027 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
7029         [BZ #13717]
7030         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7031         to 2.2.0 where earlier.
7032         * sysdeps/unix/sysv/linux/configure: Regenerated.
7033         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7034         Remove conditional code.
7035         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7036         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7037         Remove conditional code.
7038         [!__NR_lchown]: Likewise.
7039         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7040         [__NR_lchown]: Likewise.
7041         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7042         comment referencing __ASSUME_LCHOWN_SYSCALL.
7043         * sysdeps/unix/sysv/linux/i386/sigaction.c
7044         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7045         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7046         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7047         Remove conditional code.
7048         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7049         (__protocol_available): Remove #if 0 code.
7050         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7051         conditional code.
7052         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7053         * sysdeps/unix/sysv/linux/kernel-features.h
7054         (__ASSUME_GETCWD_SYSCALL): Don't define.
7055         (__ASSUME_REALTIME_SIGNALS): Likewise.
7056         (__ASSUME_PREAD_SYSCALL): Likewise.
7057         (__ASSUME_PWRITE_SYSCALL): Likewise.
7058         (__ASSUME_POLL_SYSCALL): Likewise.
7059         (__ASSUME_LCHOWN_SYSCALL): Likewise.
7060         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7061         non-SPARC.
7062         (__ASSUME_SIOCGIFNAME): Don't define.
7063         (__ASSUME_MSG_NOSIGNAL): Likewise.
7064         (__ASSUME_SENDFILE): Define unconditionally.
7065         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7066         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7067         conditional code.
7068         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7069         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7070         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7071         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7072         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7073         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7074         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7076         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7079         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7080         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7085         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7086         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7088         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7091         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7097         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7098         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7099         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7100         Remove conditional code.
7101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7102         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7103         Remove conditional code.
7104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7105         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7106         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7107         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7108         Remove conditional code.
7109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7110         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7111         Remove conditional code.
7112         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7113         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7114         Remove conditional code.
7115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7116         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7117         Remove conditional code.
7118         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7119         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7120         Remove conditional code.
7121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7122         * sysdeps/unix/sysv/linux/sh/pwrite64.c
7123         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7125         * sysdeps/unix/sysv/linux/sigaction.c
7126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7128         * sysdeps/unix/sysv/linux/sigpending.c
7129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7131         * sysdeps/unix/sysv/linux/sigprocmask.c
7132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7134         * sysdeps/unix/sysv/linux/sigsuspend.c
7135         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7136         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7137         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7138         (__libc_missing_rt_sigs): Remove.
7139         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7140         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7141         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7142         Remove conditional code.
7143         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7144         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7145         return 1.
7146         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7147         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7148         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7149         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7151 2012-05-14  Andreas Jaeger  <aj@suse.de>
7153         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7154         it's not used in glibc.
7155         (__coshm1): Likewise.
7156         (__acosh1p): Likewise.
7157         (__sgn): Likewise.
7159         * manual/string.texi (Copying and Concatenation): Add missing
7160         variable in concat example.
7161         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7165         [BZ #14103]
7166         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7167         __builtin_clzl with __builtin_clzll.
7169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7171         [BZ #14104]
7172         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7173         libc_freeres_ptr.
7175 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7177         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7178         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7179         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7180         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7182 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
7184         * NEWS: Update ia64 info.
7186 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
7188         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7189         used as bcopy.
7191 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
7193         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7194         * sysdeps/unix/syscalls.list (dup3): Likewise.
7195         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7196         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7198 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7200         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7201         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7203 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7205         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7206         thread pointer.
7207         (TLS_IE): Use mov/add instead of movq/addq to load thread
7208         pointer.
7209         (TLS_GD_PREFIX): New.
7210         (TLS_GD): Use it.
7212 2012-05-11  David S. Miller  <davem@davemloft.net>
7214         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7215         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7216         (_FPU_SETCW): Likewise.
7218 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7220         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7221         is 32-byte aligned.
7223 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
7225         [BZ #11837]
7226         * iconvdata/gb18030.c: Update tables.
7227         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
7228         characters specially.
7229         (BODY for TO_LOOP): Add encoding of missing ranges.
7231 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
7233         [BZ #13673]
7234         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7235         * sysdeps/mach/hurd/dup3.c: Likewise.
7236         * sysdeps/mach/hurd/readlinkat.c: Likewise.
7237         * sysdeps/powerpc/memmove.c:: Likewise.
7239 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7241         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7242         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7244 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7246         * elf/elf.h (R_X86_64_RELATIVE64): New.
7247         (R_X86_64_NUM): Updated.
7248         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7249         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
7250         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7251         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7252         tst-quad1pie tst-quad2pie
7253         (modules-names): Add tst-quadmod1 tst-quadmod2.
7254         ($(objpfx)tst-quad1): New dependency.
7255         ($(objpfx)tst-quad2): Likewise.
7256         ($(objpfx)tst-quad1pie): Likewise.
7257         ($(objpfx)tst-quad2pie): Likewise.
7258         * sysdeps/x86_64/tst-quad1.c: New file.
7259         * sysdeps/x86_64/tst-quad1pie.c: New file.
7260         * sysdeps/x86_64/tst-quad2.c: Likewise.
7261         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7262         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7263         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7264         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7265         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7269         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7270         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7271         * streams/stropts.h (t_scalar_t): Define type.
7273         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7274         (_PATH_PRESERVE): Set to "/var/lib".
7275         (_PATH_RWHODIR): Set to "/var/spool/rwho".
7277         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7278         instead of int.
7280         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7281         if __dir_mkfile succeeded.
7283         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7284         checking for _hurd_dtablesize.  Unlock it right after having
7285         finished _hurd_dtable allocation.
7287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7289         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7290         * sysdeps/mach/hurd/configure: Regenerated.
7291         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7292         special-casing to...
7293         * sysdeps/gnu/configure.in: ... this new file.
7294         * sysdeps/unix/sysv/linux/configure: Regenerated.
7295         * sysdeps/gnu/configure: New generated file.
7297         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7298         for Linux: use nsec instead of usec, as well as:
7299         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7300         members of type struct timespec.
7301         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7302         New macros.
7303         (struct stat64): Likewise.
7304         (_STATBUF_ST_NSEC): New macro.
7305         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7307         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7308         __strtoul_internal rather than strtoul.
7310 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7312         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7313         and reject them.
7315 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7317         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7318         which preserves existing values.
7319         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7321 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7323         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7324         TIMEOUT values.  Return EINVAL for NFDS values either negative or
7325         greater than FD_SETSIZE.
7327 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7329         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7330         allocated, call __vm_protect to finish enabling the existing space, and
7331         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7332         allocate the remainder.
7334 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7336         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7337         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
7339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7341         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7342         sysdeps/mach/hurd/readlink.c.
7344         * posix/tst-sysconf.c (posix_options): Only use
7345         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7346         _POSIX_SYNCHRONIZED_IO when they are defined
7347         * sysdeps/mach/hurd/bits/posix_opt.h:
7348         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7349         (_XOPEN_REALTIME): Undefine macro.
7350         (_XOPEN_REALTIME_THREADS): Undefine macro.
7351         (_XOPEN_SHM): Undefine macro.
7352         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7353         macro to -1.
7354         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7355         macro to -1.
7356         (_POSIX_ASYNC_IO): Undefine macro.
7357         (_POSIX_PRIORITIZED_IO): Undefine macro.
7358         (_POSIX_SPIN_LOCKS): Define macro to -1.
7360         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7361         SA_NODEFER, SA_RESETHAND.
7362         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7363         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7364         F_DUPFD_CLOEXEC.
7366 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7368         * elf/Makefile (pldd-modules): Define unconditionally.
7370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7372         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7376         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7377         Return ENOENT when name is empty.
7378         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7380 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7382         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7384         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7386 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7388         Fix mlock in all cases except non-readable pages.
7389         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7390         instead of VM_PROT_ALL as parameter to __vm_wire function.
7392         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7393         (__mkdir): When path is `/', just fail with EEXIST.
7394         * sysdeps/mach/hurd/mkdirat.c: Likewise.
7396 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7398         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7399         <sys/uio.h> (for writev).
7400         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7401         and <sys/param.h> (for MIN).
7403 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7405         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7406         REQUESTED_TIME.  Properly set the remaining time and return EINTR
7407         if interrupted.
7409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7411         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7412         Depend on against $(link-rpcuserlibs).
7414 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7416         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7417         (__libc_stack_end): Do not use attribute_relro.
7418         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7419         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7420         to libthread-provided value.
7421         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7422         attribute_relro.
7424 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7426         [BZ #3748]
7427         * bits/libc-lock.h (__libc_once_get): New macro.
7428         * sysdeps/mach/bits/libc-lock.h: Likewise.
7429         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7430         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7431         instead of using implementation details.
7433         * libio/fileops.c: Unconditionally include <kernel-features.h>.
7434         * libio/freopen.c: Likewise.
7435         * libio/freopen64.c: Likewise.
7436         * misc/syslog.c: Likewise.
7437         * nscd/connections.c: Likewise.
7438         * nscd/netgroupcache.c: Likewise.
7439         * sysdeps/posix/getcwd.c: Likewise.
7441 2012-05-10  Roland McGrath  <roland@hack.frob.com>
7443         * math/w_ilogbf.c: Add #include <limits.h>.
7445 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7447         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7448         path instead of returning without unlocking.
7450         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7451         immediate-write ioctls.
7452         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7454 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7456         * sysdeps/mach/hurd/i386/init-first.c (init): Use
7457         __builtin_frame_address instead of making assumptions about the
7458         location of the return address relative to DATA.  Force early load of
7459         the return address.
7460         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7461         __builtin_frame_address.
7463         dup3 for GNU Hurd.
7464         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7465         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
7466         implement dup3 and do some further code clean-ups.
7467         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7468         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7472         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7474         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7475         HURD_CRITICAL_END around holding _hurd_dtable_lock.
7476         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7477         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7478         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7479         d->port.lock.
7481         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7482         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
7483         when handler == SIG_ERR, not when handler != SIG_ERR.
7485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7487         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7488         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7489         definitions.
7491         accept4 for GNU Hurd.
7492         * include/sys/socket.h (__libc_accept4): New prototype.
7493         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
7494         to implement __libc_accept4.
7495         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7496         __libc_accept4.
7497         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7499         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7500         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7501         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7502         signal-defines.sym.
7504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7506         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7510         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7511         assertion on O_CLOEXEC flag.
7512         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7513         * hurd/intern-fd.c: Likewise.
7514         * hurd/port2fd.c: Likewise.
7516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7518         [BZ #3906]
7519         * bits/in.h (IPV6_PKTINFO): Define new macro.
7520         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7522 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7524         [BZ #13954]
7525         [BZ #13955]
7526         [BZ #13956]
7527         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7528         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7529         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7530         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7531         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7532         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7533         * math/libm-test.inc (logb_test) : Additional logb tests.
7535 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
7536             Andreas Jaeger  <aj@suse.de>
7538         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7539         * configure: Regenerated.
7540         * config.h.in (LINK_OBSOLETE_RPC): New macro.
7541         * config.make.in (link-obsolete-rpc): New substituted variable.
7542         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7543         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7544         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7545         (shared-only-routines): Don't set it under [link-obsolete-rpc],
7546         so that libc.a contains the symbols.
7547         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7548         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7549         * sunrpc/auth_none.c: Likewise.
7550         * sunrpc/auth_unix.c: Likewise.
7551         * sunrpc/authdes_prot.c: Likewise.
7552         * sunrpc/authuxprot.c: Likewise.
7553         * sunrpc/clnt_gen.c: Likewise.
7554         * sunrpc/clnt_perr.c: Likewise.
7555         * sunrpc/clnt_raw.c: Likewise.
7556         * sunrpc/clnt_simp.c: Likewise.
7557         * sunrpc/clnt_tcp.c: Likewise.
7558         * sunrpc/clnt_udp.c: Likewise.
7559         * sunrpc/clnt_unix.c: Likewise.
7560         * sunrpc/des_crypt.c: Likewise.
7561         * sunrpc/des_soft.c: Likewise.
7562         * sunrpc/get_myaddr.c: Likewise.
7563         * sunrpc/key_call.c: Likewise.
7564         * sunrpc/key_prot.c: Likewise.
7565         * sunrpc/netname.c: Likewise.
7566         * sunrpc/pm_getmaps.c: Likewise.
7567         * sunrpc/pm_getport.c: Likewise.
7568         * sunrpc/pmap_clnt.c: Likewise.
7569         * sunrpc/pmap_prot.c: Likewise.
7570         * sunrpc/pmap_prot2.c: Likewise.
7571         * sunrpc/pmap_rmt.c: Likewise.
7572         * sunrpc/publickey.c: Likewise.
7573         * sunrpc/rpc_cmsg.c: Likewise.
7574         * sunrpc/rpc_common.c: Likewise.
7575         * sunrpc/rpc_dtable.c: Likewise.
7576         * sunrpc/rpc_prot.c: Likewise.
7577         * sunrpc/rpc_thread.c: Likewise.
7578         * sunrpc/rtime.c: Likewise.
7579         * sunrpc/svc.c: Likewise.
7580         * sunrpc/svc_auth.c: Likewise.
7581         * sunrpc/svc_raw.c: Likewise.
7582         * sunrpc/svc_run.c: Likewise.
7583         * sunrpc/svc_tcp.c: Likewise.
7584         * sunrpc/svc_udp.c: Likewise.
7585         * sunrpc/svc_unix.c: Likewise.
7586         * sunrpc/svcauth_des.c: Likewise.
7587         * sunrpc/xcrypt.c: Likewise.
7588         * sunrpc/xdr.c: Likewise.
7589         * sunrpc/xdr_array.c: Likewise.
7590         * sunrpc/xdr_float.c: Likewise.
7591         * sunrpc/xdr_intXX_t.c: Likewise.
7592         * sunrpc/xdr_mem.c: Likewise.
7593         * sunrpc/xdr_rec.c: Likewise.
7594         * sunrpc/xdr_ref.c: Likewise.
7595         * sunrpc/xdr_sizeof.c: Likewise.
7596         * sunrpc/xdr_stdio.c: Likewise.
7598 2012-05-10  Roland McGrath  <roland@hack.frob.com>
7600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7601         change.  Update copyright years.
7603 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7605         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7607 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
7608             Joseph Myers  <joseph@codesourcery.com>
7609             Paul Pluzhnikov  <ppluzhnikov@google.com>
7611         [BZ #14012]
7612         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7613         requiring rpcgen.
7614         [cross-compiling] (extra-libs): Likewise.
7615         [cross-compiling] (extra-libs-others): Likewise.
7616         [cross-compiling] (librpcsvc-routines): Likewise.
7617         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7618         [cross-compiling] (omit-deps): Likewise.
7619         (sunrpc-CPPFLAGS): New variable.
7620         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7621         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7622         (cross-rpcgen-objs): New variable.
7623         (extra-objs): Append $(cross-rpcgen-objs).
7624         ($(cross-rpcgen-objs)): New rule.
7625         ($(objpfx)cross-rpcgen): Likewise.
7626         (rpcgen-cmd): Define to use $(built-program-file).  Expand
7627         comment.
7628         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7629         ($(objpfx)x%.stmp): Likewise.
7630         * sunrpc/proto.h [IS_IN_build] (_): Define.
7631         [IS_IN_build] (_libc_intl_domainname): Likewise.
7633 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7635         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7636         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7637         and R_X86_64_TPOFF64.
7639 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7641         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7642         sysdeps/unix/sysv/syscalls.list.
7643         (stime): Likewise.
7644         (utime): Likewise.
7645         * sysdeps/unix/sysv/syscalls.list: Remove file.
7647 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
7649         [BZ #3440]
7650         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7651         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7652         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7653         (__LC_IDENTIFICATION): Make these macros useful in #if
7654         expressions, as required by C99.
7656 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
7658         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7659         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
7660         after this.
7662 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7664         * stdlib/longlong.h: Updated from GCC.
7666 2012-05-09  Andreas Jaeger  <aj@suse.de>
7668         * nscd/nscd.c (run_modes): Make named enum, reorder so that
7669         default is first entry.
7670         (run_mode): Set type.
7671         (main): Remove informal message about syslog.
7672         (options): Fix typo.
7674         [BZ #14053]
7675         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7676         to asm.
7677         (lrint): Likewise.
7678         (llrintf): Likewise.
7679         (llrint): Likewise.
7680         (rint): Likewise.
7681         (rintf): Likewise.
7682         (nearbyint): Likewise.
7683         (nearbyintf): Likewise.
7685 2012-05-09  Andreas Jaeger  <aj@suse.de>
7686             Pedro Alves  <palves@redhat.com>
7688         * nscd/nscd.c (run_mode): Use enum.
7689         (main): Cleanup coding style issue.
7691 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
7692             Andreas Jaeger  <aj@suse.de>
7694         * nscd/nscd.c (go_background): Replaced with...
7695         (run_mode): ... this.
7696         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7697         (options): Add -F --foreground.
7698         (main): Implement it.
7699         (parse_opt): Parse it.
7701 2012-05-09  Andreas Jaeger  <aj@suse.de>
7703         [BZ #14083]
7704         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7705         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7706         -Wconversion warning.
7707         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7708         Likewise.
7710 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
7712         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
7713         == 0.
7714         (LC_ALL): Use macro-int-constant.
7715         (LC_COLLATE): Likewise.
7716         (LC_CTYPE): Likewise.
7717         (LC_MESSAGES): Likewise.
7718         (LC_MONETARY): Likewise.
7719         (LC_NUMERIC): Likewise.
7720         (LC_TIME): Likewise.
7721         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7722         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7724         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7725         Specify type.
7726         [C99-based standards] (float_t): Expect type.
7727         [C99-based standards] (double_t): Expect type.
7728         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
7729         type.
7730         [C99-based standards] (HUGE_VALL): Likewise.
7731         [C99-based standards] (INFINITY): Likewise.
7732         [C99-based standards] (NAN): Likewise.
7733         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7734         [C99-based standards] (FP_NAN): Likewise.
7735         [C99-based standards] (FP_NORMAL): Likewise.
7736         [C99-based standards] (FP_SUBNORMAL): Likewise.
7737         [C99-based standards] (FP_ZERO): Likewise.
7738         [C99-based standards] (FP_FAST_FMA): Use
7739         optional-macro-int-constant.  Specify type.  Require == 1.
7740         [C99-based standards] (FP_FAST_FMAF): Likewise.
7741         [C99-based standards] (FP_FAST_FMAL): Likewise.
7742         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7743         [C99-based standards] (FP_ILOGBNAN): Likewise.
7744         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7745         Specify type.
7746         [C99-based standards] (MATH_ERREXCEPT): Likewise.
7747         [C99-based standards] (math_errhandling): Specify type.
7748         [ISO99 || ISO11] (signgam): Do not allow.
7749         [non-C99-based standards] (copysignf): Do not allow.
7750         [non-C99-based standards] (exp2f): Likewise.
7751         [non-C99-based standards] (log2f): Likewise.
7752         [non-C99-based standards] (modff): Allow.
7753         [non-C99-based standards] (erff): Do not allow.
7754         [non-C99-based standards] (erfcf): Likewise.
7755         [non-C99-based standards] (gammaf): Likewise.
7756         [non-C99-based standards] (hypotf): Likewise.
7757         [non-C99-based standards] (j0f): Likewise.
7758         [non-C99-based standards] (j1f): Likewise.
7759         [non-C99-based standards] (jnf): Likewise.
7760         [non-C99-based standards] (lgammaf): Likewise.
7761         [non-C99-based standards] (tgammaf): Likewise.
7762         [non-C99-based standards] (y0f): Likewise.
7763         [non-C99-based standards] (y1f): Likewise.
7764         [non-C99-based standards] (ynf): Likewise.
7765         [non-C99-based standards] (isnanf): Likewise.
7766         [non-C99-based standards] (acoshf): Likewise.
7767         [non-C99-based standards] (asinhf): Likewise.
7768         [non-C99-based standards] (atanhf): Likewise.
7769         [non-C99-based standards] (cbrtf): Likewise.
7770         [non-C99-based standards] (expm1f): Likewise.
7771         [non-C99-based standards] (ilogbf): Likewise.
7772         [non-C99-based standards] (log1pf): Likewise.
7773         [non-C99-based standards] (logbf): Likewise.
7774         [non-C99-based standards] (nextafterf): Likewise.
7775         [non-C99-based standards] (remainderf): Likewise.
7776         [non-C99-based standards] (rintf): Likewise.
7777         [non-C99-based standards] (scalbf): Likewise.
7778         [non-C99-based standards] (copysignl): Likewise.
7779         [non-C99-based standards] (exp2l): Likewise.
7780         [non-C99-based standards] (log2l): Likewise.
7781         [non-C99-based standards] (modfl): Allow.
7782         [non-C99-based standards] (erfl): Do not allow.
7783         [non-C99-based standards] (erfcl): Likewise.
7784         [non-C99-based standards] (gammal): Likewise.
7785         [non-C99-based standards] (hypotl): Likewise.
7786         [non-C99-based standards] (j0l): Likewise.
7787         [non-C99-based standards] (j1l): Likewise.
7788         [non-C99-based standards] (jnl): Likewise.
7789         [non-C99-based standards] (lgammal): Likewise.
7790         [non-C99-based standards] (tgammal): Likewise.
7791         [non-C99-based standards] (y0l): Likewise.
7792         [non-C99-based standards] (y1l): Likewise.
7793         [non-C99-based standards] (ynl): Likewise.
7794         [non-C99-based standards] (isnanl): Likewise.
7795         [non-C99-based standards] (acoshl): Likewise.
7796         [non-C99-based standards] (asinhl): Likewise.
7797         [non-C99-based standards] (atanhl): Likewise.
7798         [non-C99-based standards] (cbrtl): Likewise.
7799         [non-C99-based standards] (expm1l): Likewise.
7800         [non-C99-based standards] (ilogbl): Likewise.
7801         [non-C99-based standards] (log1pl): Likewise.
7802         [non-C99-based standards] (logbl): Likewise.
7803         [non-C99-based standards] (nextafterl): Likewise.
7804         [non-C99-based standards] (remainderl): Likewise.
7805         [non-C99-based standards] (rintl): Likewise.
7806         [non-C99-based standards] (scalbl): Likewise.
7807         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7808         [non-C99-based standards] (FP_*): Do not allow.
7809         [C99-based standards] (FP_*): Change to
7810         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7811         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7812         allow.
7813         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7814         (SIG_ERR): Likewise.
7815         [X/Open-based standards] (SIG_HOLD): Likewise.
7816         (SIG_IGN): Likewise.
7817         (SIGABRT): Use macro-int-constant.  Specify type.  Require
7818         positive value.
7819         (SIGFPE): Likewise.
7820         (SIGILL): Likewise.
7821         (SIGINT): Likewise.
7822         (SIGSEGV): Likewise.
7823         (SIGTER): Likewise.
7824         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7825         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7826         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7827         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7828         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7829         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7830         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7831         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7832         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7833         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7834         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7835         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7836         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7837         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7838         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7839         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7840         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7841         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7842         [X/Open-based standards] (SIGTRAP): Likewise.
7843         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7844         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7845         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7846         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7847         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7848         allow.
7850 2012-05-08  Ian Wienand  <ianw@vmware.com>
7852         [BZ #14080]
7853         * time/tzset.c (__tzset_parse_tz): Update default rules for
7854         daylight time changes in the Energy Policy Act of 2005.
7856 2012-05-09  Andreas Jaeger  <aj@suse.de>
7858         [BZ #13983]
7859         * elf/ldconfig.c (parse_conf): Change string to make clear that
7860         ldconfig only issued a warning if ld.so.conf does not exist.
7862 2012-05-08  David S. Miller  <davem@davemloft.net>
7864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7865         movxtod instead of popping the value on the stack.
7867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7869 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
7871         * config.h.in: Add HAVE_ARM_PCS_VFP.
7873 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
7875         [BZ #13979]
7876         * include/features.h: Warn if user requests __FORTIFY_SOURCE
7877         checking but the checks are disabled for any reason.
7879 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7881         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7882         and ELF64_R_TYPE with ELFW(R_TYPE).
7884 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
7886         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7887         (ulimit): Likewise.
7889         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7890         (settimeofday): Likewise.
7892 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
7894         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
7895         a struct th_u2 inside the union, and move tu_block/tu_code into
7896         a new th_u3 union of tu_block/tu_code inside of that.  Move
7897         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
7898         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
7899         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7900         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7901         (th_stuff): Change to th_u1.tu_stuff.
7902         (th_data): Define.
7903         (th_msg): Change to th_u1.th_u2.tu_data.
7905 2012-05-07  David S. Miller  <davem@davemloft.net>
7907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7909         [BZ #14074]
7910         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7911         (SETUP_PIC_REG): Use it.
7912         (SETUP_PIC_REG_LEAF): Use it.
7914 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
7916         [BZ #13885]
7917         [BZ #13923]
7918         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7919         USE_AS_EXPM1L.
7920         (EXPL_FINITE): Likewise.
7921         (FLDLOG): Likewise.
7922         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7923         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7924         e_expl.S.
7925         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7926         USE_AS_EXPM1L.
7927         (EXPL_FINITE): Likewise.
7928         (FLDLOG): Likewise.
7929         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7930         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7931         e_expl.S.
7932         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
7933         test of -max_value argument for long double.
7934         * sysdeps/i386/fpu/libm-test-ulps: Update.
7935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7937 2012-05-06  David S. Miller  <davem@davemloft.net>
7939         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7940         quad soft-float symbols whose references which are compiler
7941         generated.
7942         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7944 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
7946         [BZ #13884]
7947         [BZ #13914]
7948         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7949         USE_AS_EXP10L.
7950         (EXPL_FINITE): Likewise.
7951         (FLDLOG): Likewise.
7952         (c0): Likewise.
7953         (c1): Likewise.
7954         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7955         Adjust comments for base varying.
7956         (__expl_finite): Change alias to EXPL_FINITE.
7957         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7958         e_expl.S.
7959         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7960         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7961         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7962         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7963         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7964         USE_AS_EXP10L.
7965         (EXPL_FINITE): Likewise.
7966         (FLDLOG): Likewise.
7967         (c0): Likewise.
7968         (c1): Likewise.
7969         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7970         Adjust comments for base varying.
7971         (__expl_finite): Change alias to EXPL_FINITE.
7972         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
7973         tests for bugs.
7974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7976         [BZ #14064]
7977         * math/libm-test.inc (check_float_internal): Correct ulp
7978         calculation for subnormal expected results.
7980 2012-05-06  Andreas Jaeger  <aj@suse.de>
7982         * Makeconfig (+math-flags): New, set to -frounding-math.
7983         (+cflags): Add +math-flags so that all of glibc gets compiled with
7984         it.
7986         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7988 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
7990         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7991         Disable one test.
7993         [BZ #13787]
7994         [BZ #13922]
7995         [BZ #14036]
7996         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7997         (__ieee754_expl): Allow for and saturate large arguments.
7998         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7999         (u_threshold): Likewise.
8000         (__exp): Call __ieee754_exp before checking for overflow and
8001         underflow.
8002         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8003         (u_threshold): Likewise.
8004         (__expf): Call __ieee754_expf before checking for overflow and
8005         underflow.
8006         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8007         (u_threshold): Likewise.
8008         (__expl): Call __ieee754_expl before checking for overflow and
8009         underflow.
8010         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8011         (__ieee754_expl): Allow for and saturate large arguments.
8012         * math/libm-test.inc (exp_test): Add another test.  Do not allow
8013         missing overflow exception on overflow.
8014         (expm1_test): Do not allow missing overflow exception on overflow.
8016         * sysdeps/i386/fpu/e_expl.c: Move to ...
8017         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
8018         rather than using inline asm.
8019         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8020         * sysdeps/x86_64/fpu/e_expl.S: Copy from
8021         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8023         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8024         (nice): Likewise.
8025         (poll): Likewise.
8026         (signal): Likewise.
8027         (time): Likewise.
8028         (times): Likewise.
8030 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
8032         * sysdeps/unix/syscalls.list (adjtime): Add entry from
8033         sysdeps/unix/common/syscalls.list.
8034         (fchmod): Likewise.
8035         (fchown): Likewise.
8036         (ftruncate): Likewise.
8037         (getrusage): Likewise.
8038         (gettimeofday): Likewise.
8039         (setpgid): Likewise.
8040         (setregid): Likewise.
8041         (setreuid): Likewise.
8042         (sigaction): Likewise.
8043         (truncate): Likewise.
8044         (vhangup): Likewise.
8045         * sysdeps/unix/common/syscalls.list: Remove file.
8046         * sysdeps/unix/bsd/Implies: Don't include unix/common.
8047         * sysdeps/unix/sysv/linux/Implies: Likewise.
8049 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
8051         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8053         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8054         Moved to ...
8055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8056         Here.
8057         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8058         to ...
8059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8060         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8061         to ...
8062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8063         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8064         to ...
8065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8066         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8067         to ...
8068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8069         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8070         to ...
8071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8072         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8073         to ...
8074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8075         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8076         to ...
8077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8078         Here.
8079         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8080         to ...
8081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8082         Here.
8083         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8084         to ...
8085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8086         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8087         Moved to ...
8088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8089         Here.
8090         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8091         to ...
8092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8094 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
8096         * sysdeps/unix/common/bits/dirent.h: Remove file.
8097         * sysdeps/unix/common/bits/fcntl.h: Likewise.
8099         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8100         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8101         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8102         * sysdeps/unix/bsd/isatty.c: Likewise.
8103         * sysdeps/unix/bsd/tcdrain.c: Likewise.
8104         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8105         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8107 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8109         [BZ #13563]
8110         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8111         long double comparison inaccuracies.
8112         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8115 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
8117         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8118         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8120 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
8122         [BZ #14049]
8123         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8124         nonzero digits before rounding a hex value.
8125         * stdlib/tst-strtod.c (tests): Add another test.
8127 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8129         * sysdeps/s390/fpu/libm-test-ulps: Update.
8131 2012-05-03  Andreas Jaeger  <aj@suse.de>
8133         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8134         does not get optimized out.
8135         (malloc_opt_barrier): New.
8137 2012-05-03  Andreas Jaeger  <aj@suse.de>
8138             Roland McGrath  <roland@hack.frob.com>
8140         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8141         intermediate file deletion.
8142         (generated): Add .symlist files.
8144 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
8146         [BZ #13775]
8147         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8148         Redirect under this condition.
8149         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8150         [__USE_GNU] (__dprintf_chk): Not under this condition.
8151         [__USE_GNU] (__vdprintf_chk): Likewise.
8152         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8153         under this condition.
8154         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8155         [__USE_XOPEN2K8] (dprintf): Define under this condition.
8156         [__USE_XOPEN2K8] (vdprintf): Likewise.
8157         [__USE_GNU] (__dprintf_chk): Not under this condition.
8158         [__USE_GNU] (__vdprintf_chk): Likewise.
8159         [__USE_GNU] (dprintf): Likewise.
8160         [__USE_GNU] (vdprintf): Likewise.
8162 2012-05-03  Roland McGrath  <roland@hack.frob.com>
8164         * elf/Makefile (common-generated): Set this instead of generated for
8165         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
8166         $(all-built-dso)-derived lists.
8168 2012-05-03  Andreas Jaeger  <aj@suse.de>
8170         * sysdeps/i386/fpu/libm-test-ulps: Update.
8172         * FAQ: Removed.
8173         * FAQ.in: Likewise.
8174         * scripts/gen-FAQ.pl: Likewise.
8175         * manual/install.texi (Installation): Point to online location of
8176         FAQ.
8177         * Makefile (files-for-dist): Remove FAQ.
8178         (FAQ): Remove.
8180 2012-05-02  Allan McRae  <allan@archlinux.org>
8182         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8183         (LDFLAGS-reldepmod5.so): Likewise.
8184         (LDFLAGS-reldep6mod1.so): Likewise.
8185         (LDFLAGS-reldep6mod4.so): Likewise.
8186         (LDFLAGS-reldep8mod3.so): Likewise.
8187         (LDFLAGS-unload4mod1.so): Likewise.
8188         (LDFLAGS-unload4mod2.so): Likewise.
8189         (LDFLAGS-tst-initorder): Likewise.
8190         (LDFLAGS-tst-initordera2.so): Likewise.
8191         (LDFLAGS-tst-initordera3.so): Likewise.
8192         (LDFLAGS-tst-initordera4.so): Likewise.
8193         (LDFLAGS-tst-initorderb2.so): Likewise.
8194         (LDFLAGS-noload): Likewise.
8195         (LDFLAGS-next): Likewise.
8196         (LDFLAGS-order2mod1.so): Likewise.
8197         (LDFLAGS-order2mod2.so): Likewise.
8198         (LDFLAGS-tst-initorder2): Likewise.
8199         (LDFLAGS-tst-initorder2a.so): Likewise.
8200         (LDFLAGS-tst-initorder2b.so): Likewise.
8201         (LDFLAGS-tst-initorder2c.so): Likewise.
8202         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8204 2012-05-02  David S. Miller  <davem@davemloft.net>
8206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8208 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
8210         [BZ #14055]
8211         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8213 2012-05-02  Andreas Jaeger  <aj@suse.de>
8215         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8216         since we manipulate rounding mode.
8217         (CPPFLAGS-test-idouble.c): Likewise.
8218         (CPPFLAGS-test-ifloat.c): Likewise.
8219         (CFLAGS-test-ldouble.c): Likewise.
8220         (CFLAGS-test-double.c): Likewise.
8221         (CFLAGS-test-float.c): Likewise.
8222         (CFLAGS-test-misc.c): Likewise.
8223         (CFLAGS-test-test-fenv.c): Likewise.
8225 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8227         [BZ #2550]
8228         [BZ #2570]
8229         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8230         comparisons to determine direction to adjust input.
8232 2012-05-01  Roland McGrath  <roland@hack.frob.com>
8234         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8235         output to the target.
8237         * scripts/localplt.awk: New file.
8238         * elf/Makefile ($(objpfx)check-localplt): Target removed.
8239         (check-localplt-CFLAGS): Variable removed.
8240         ($(all-built-dso:=.jmprel)): New static pattern rule.
8241         (generated): Add those targets.
8242         (localplt-built-dso): New variable.
8243         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8245         * elf/check-localplt.c: File removed.
8247         * scripts/check-execstack.awk: New file.
8248         * elf/Makefile ($(objpfx)check-execstack): Target removed.
8249         (check-execstack-CFLAGS): Variable removed.
8250         ($(objpfx)check-execstack.h): Target removed.
8251         ($(objpfx)execstack-default): New target.
8252         (generated): Add that instead of check-execstack.h.
8253         ($(all-built-dso:=.phdr)): New static pattern rule.
8254         (generated): Add those targets.
8255         * elf/check-execstack.c: File removed.
8257         * scripts/check-textrel.awk: New file.
8258         * elf/Makefile ($(objpfx)check-textrel): Target removed.
8259         (check-textrel-CFLAGS): Variable removed.
8260         (all-built-dso): Use := to define.o
8261         ($(all-built-dso:=.dyn)): New static pattern rule.
8262         (generated): Add those targets.
8263         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8264         * config.make.in (READELF): New substituted variable.
8265         * elf/check-textrel.c: File removed.
8267 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
8269         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8270         allow.
8271         * conform/data/ctype.h-data [C99-based standards] (isblank):
8272         Expect function.
8273         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8274         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8275         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8276         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8277         Specify type.  Require positive value.
8278         (EILSEQ): Likewise.
8279         (ERANGE): Likewise.
8280         [ISO || POSIX] (EILSEQ): Do not expect.
8281         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8282         Specify type.  Require positive value.
8283         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8284         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8285         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8286         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8287         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8288         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8289         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8290         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8291         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8292         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8293         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8294         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8295         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8296         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8297         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8298         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8299         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8300         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8301         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8302         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8303         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8304         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8305         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8306         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8307         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8308         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8309         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8310         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8311         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8312         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8313         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8314         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8315         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8316         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8317         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8318         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8319         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8320         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8321         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8322         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8323         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8324         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8325         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8326         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8327         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8328         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8329         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8330         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8331         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8332         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8333         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8334         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8335         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8336         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8337         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8338         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8339         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8340         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8341         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8342         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8343         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8344         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8345         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8346         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8347         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8348         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8349         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8350         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8351         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8352         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8353         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8354         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8355         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8356         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8357         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8358         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8359         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8360         Require >= 2.
8361         (FLT_ROUNDS): Expect as macro, not constant.
8362         (FLT_MANT_DIG): Use macro-int-constant.
8363         (DBL_MANT_DIG): Likewise.
8364         (LDBL_MANT_DIG): Likewise.
8365         (FLT_DIG): Likewise.
8366         (DBL_DIG): Likewise.
8367         (LDBL_DIG): Likewise.
8368         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
8369         (DBL_MIN_EXP): Likewise.
8370         (LDBL_MIN_EXP): Likewise.
8371         (FLT_MAX_EXP): Use macro-int-constant.
8372         (DBL_MAX_EXP): Likewise.
8373         (LDBL_MAX_EXP): Likewise.
8374         (FLT_MAX_10_EXP): Likewise.
8375         (DBL_MAX_10_EXP): Likewise.
8376         (LDBL_MAX_10_EXP): Likewise.
8377         (FLT_MAX): Use macro-constant.
8378         (DBL_MAX): Likewise.
8379         (LDBL_MAX): Likewise.
8380         (FLT_EPSILON): Use macro-constant.  Give upper bound.
8381         (DBL_EPSILON): Likewise.
8382         (LDBL_EPSILON): Likewise.
8383         (FLT_MIN): Likewise.
8384         (DBL_MIN): Likewise.
8385         (LDBL_MIN): Likewise.
8386         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8387         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8388         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8389         [ISO11] (FLT_HAS_SUBNORM): Likewise.
8390         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8391         [ISO11] (DBL_DECIMAL_DIG): Likewise.
8392         [ISO11] (FLT_DECIMAL_DIG): Likewise.
8393         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8394         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8395         [ISO11] (FLT_TRUE_MIN): Likewise.
8396         [ISO11] (LDBL_TRUE_MIN): Likewise.
8397         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8398         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8399         (SCHAR_MIN): Use macro-int-constant.  Specify type.
8400         (SCHAR_MAX): Likewise.
8401         (UCHAR_MAX): Likewise.
8402         (CHAR_MIN): Likewise.
8403         (CHAR_MAX): Likewise.
8404         (MB_LEN_MAX): Use macro-int-constant.
8405         (SHRT_MIN): Use macro-int-constant.  Specify type.
8406         (SHRT_MAX): Likewise.
8407         (USHRT_MAX): Likewise.
8408         (INT_MAX): Likewise.
8409         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
8410         bound negative.
8411         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8412         bound with "U".
8413         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8414         bound with "L".
8415         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
8416         bound negative.  Suffix upper bound with "L".
8417         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8418         bound with "UL".
8419         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8420         Specify type.
8421         [C99-based standards] (LLONG_MAX): Likewise.
8422         [C99-based standards] (ULLONG_MAX): Likewise.
8423         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
8424         == 0.
8425         [ISO11] (max_align_t): Require type.
8426         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8428         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8429         from $CFLAGS, without defining away __attribute__ calls.
8430         (checknamespace): Use $CFLAGS_namespace.
8432         * conform/conformtest.pl (@keywords): Only include C99 keywords
8433         for standards based on C99 or C11.
8435         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8436         Disable tests.
8437         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8438         UNIX98]: Likewise.
8440         * conform/conformtest.pl: Handle "macro-int-constant" and test for
8441         usability of symbols in #if.
8443         * conform/conformtest.pl: If macro or constant types start
8444         "promoted:", expect the symbol to be of the following type
8445         promoted by the integer promotions.
8447         * conform/conformtest.pl: Parse all "constant" and "macro" lines
8448         in one place.  Also handle "macro-constant".
8450         * conform/conformtest.pl: Only accept expected macro values with
8451         "==".  Parse all "macro" lines in one place.
8452         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8454         * conform/conformtest.pl: Handle braced types on "constant" lines
8455         instead of handling "typed-constant".
8456         * conform/data/signal.h-data: Use "constant" instead of
8457         "typed-constant".
8459         * conform/conformtest.pl: Handle "optional-" at start of lines in
8460         one place rather than duplicating several cases.  Handle each
8461         format of "macro" line with initial "optional-".
8463         * conform/conformtest.pl: Only accept expected constant or
8464         optional-constant values with "==".  Parse all "constant" lines in
8465         one place.  Parse all "optional-constant" lines in one place.
8466         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8467         * conform/data/fmtmsg.h-data: Likewise.
8468         * conform/data/netinet/in.h-data: Likewise.
8469         * conform/data/tar.h-data: Likewise.
8470         * conform/data/limits.h-data: Use "==" form on "constant" and
8471         "optional-constant" lines.
8473         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8474         Use -std=c99 for XOPEN2K.
8475         (@knownproblems): Remove.
8476         (newtoken): Don't check %isknown.
8478         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8479         Do not expect macro.
8480         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8481         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8482         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8483         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8484         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8485         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8486         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8487         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8488         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8489         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8490         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8491         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8492         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8493         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8494         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8495         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8496         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8497         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8498         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8499         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8500         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8501         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8502         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8503         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8504         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8505         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8506         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8507         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8508         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8509         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8510         [XPG3] (acosh): Likewise.
8511         [XPG3] (asinh): Likewise.
8512         [XPG3] (atanh): Likewise.
8513         [XPG3] (cbrt): Likewise.
8514         [XPG3] (expm1): Likewise.
8515         [XPG3] (ilogb): Likewise.
8516         [XPG3] (log1p): Likewise.
8517         [XPG3] (logb): Likewise.
8518         [XPG3] (nextafter): Likewise.
8519         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8520         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8521         [XPG3] (remainder): Likewise.
8522         [XPG3] (rint): Likewise.
8523         [XPG3 || XPG4 || UNIX98] (round): Likewise.
8524         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8525         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8526         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8527         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8528         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8529         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8530         [UNIX98 || XOPEN2K] (scalb): Expect.
8531         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8532         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8533         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8534         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8535         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8536         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8537         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8538         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8539         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8540         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8541         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8542         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8543         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8544         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8545         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8546         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8547         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8548         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8549         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8550         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8551         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8552         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8553         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8554         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8555         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8556         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8557         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8558         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8559         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8560         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8561         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8562         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8563         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8564         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8565         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8566         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8567         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8568         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8569         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8570         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8571         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8572         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8573         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8574         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8575         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8576         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8577         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8578         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8579         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8580         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8581         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8582         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8583         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8584         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8585         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8586         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8587         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8588         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8589         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8590         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8591         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8592         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8593         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8594         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8595         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8596         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8597         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8598         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8599         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8600         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8601         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8602         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8603         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8604         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8605         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8606         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8607         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8608         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8609         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8610         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8611         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8612         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8613         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8614         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8615         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8616         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8617         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8618         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8619         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8620         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8621         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8622         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8623         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8624         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8625         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8626         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8627         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8628         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8629         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8630         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8631         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8632         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8633         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8634         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8635         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8636         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8637         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8638         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8639         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8640         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8641         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8642         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8643         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8644         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8645         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8646         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8647         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8648         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8649         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8650         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8651         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8652         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8653         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8654         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8655         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8656         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8657         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8658         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8659         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8660         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8661         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8662         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8663         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8664         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8665         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8666         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8667         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8669         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8670         _XOPEN_SOURCE_EXTENDED for XPG4.
8672         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8674         * Makeconfig (localtime): Remove variable.
8675         (inst_localtime-file): Likewise.
8677 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8680         Update.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8682         Update.
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8684         Update.
8685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8686         Update.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8688         Update.
8689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8690         Update.
8691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8692         Update.
8693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8694         Update.
8695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8696         Update.
8698 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
8700         [BZ #2550]
8701         [BZ #2570]
8702         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8703         comparisons to determine direction to adjust input.
8704         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8705         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8706         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8707         Likewise.
8708         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8709         Likewise.
8710         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8711         Likewise.
8712         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8713         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8714         Likewise.
8715         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8716         Likewise.
8717         * math/libm-test.inc (nexttoward_test): Add more tests.
8719 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8721         [BZ #14040]
8722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8723         in version GLIBC_2.1, not GLIBC_2.0.
8724         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8725         Likewise.
8727 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
8729         [BZ #13942]
8730         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8731         (1 - x) * (1 + x).
8732         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8733         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8734         * math/libm-test.inc (acos_test): Add more tests.
8735         (asin_test): Likewise.
8736         * sysdeps/i386/fpu/libm-test-ulps: Update.
8737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8739         [BZ #14034]
8740         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8741         of square root.
8742         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8743         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8744         * math/libm-test.inc (acos_test_tonearest): New function.
8745         (acos_test_towardzero): Likewise.
8746         (acos_test_downward): Likewise.
8747         (acos_test_upward): Likewise.
8748         (asin_test_tonearest): Likewise.
8749         (asin_test_towardzero): Likewise.
8750         (asin_test_downward): Likewise.
8751         (asin_test_upward): Likewise.
8752         (main): Call the new functions.
8753         * sysdeps/i386/fpu/libm-test-ulps: Update.
8754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8756         [BZ #13884]
8757         [BZ #13924]
8758         * math/e_exp10.c: Include <float.h>.
8759         (__ieee754_exp10): Handle underflow here rather than multiplying
8760         large negative argument by M_LN10.
8761         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8762         of __ieee754_expf.
8763         * math/e_exp10l.c: Include <float.h>.
8764         (__ieee754_exp10l): Handle underflow here rather than multiplying
8765         large negative argument by M_LN10l.
8766         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
8767         spurious overflow exception on underflow.
8769 2012-04-29  Marek Polacek  <polacek@redhat.com>
8771         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8772         (__fortify_function): New macro.
8773         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8774         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8775         __extern_always_inline.
8776         * libio/bits/stdio2.h: Likewise.
8777         * libio/bits/stdio.h: Likewise.
8778         * string/string.h: Likewise.
8779         * string/bits/string3.h: Likewise.
8780         * include/stdio.h: Likewise.
8781         * stdlib/bits/stdlib.h: Likewise.
8782         * stdlib/stdlib.h: Likewise.
8783         * rt/bits/mqueue2.h: Likewise.
8784         * rt/mqueue.h: Likewise.
8785         * posix/bits/unistd.h: Likewise.
8786         * posix/unistd.h: Likewise.
8787         * io/bits/poll2.h: Likewise.
8788         * io/bits/fcntl2.h: Likewise.
8789         * io/fcntl.h: Likewise.
8790         * io/sys/poll.h: Likewise.
8791         * misc/bits/syslog.h: Likewise.
8792         * misc/bits/syslog-ldbl.h: Likewise.
8793         * misc/sys/syslog.h: Likewise.
8794         * socket/bits/socket2.h: Likewise.
8795         * socket/sys/socket.h: Likewise.
8796         * debug/tst-chk1.c: Likewise.
8797         * wcsmbs/bits/wchar2.h: Likewise.
8798         * wcsmbs/bits/wchar-ldbl.h: Likewise.
8799         * wcsmbs/wchar.h: Likewise.
8801 2012-04-29  Andreas Jaeger  <aj@suse.de>
8803         * Makerules (tests): Remove enable-check-abi protection.
8804         (check-abi-warn): Remove.
8805         (check-abi-%): Remove check-abi-warn usage.
8807         * configure.in: Remove check-abi configure option.
8808         * configure: Regenerated.
8809         * config.make.in (enable-check-abi): Remove.
8811 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
8813         [BZ #14033]
8814         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8815         double functions to double *_finite functions.
8817         [BZ #13941]
8818         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8819         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8820         LDBL_MIN_EXP.
8821         * stdio-common/Makefile (tests): Add tst-sprintf3.
8822         * stdio-common/tst-sprintf3.c: New file.
8824         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8825         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8827 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
8829         * conform/conformtest.pl: Remove duplicate typed-constant
8830         handling.
8832 2012-04-28  David S. Miller  <davem@davemloft.net>
8834         * Makerules (%.abilist): Add vpath on sysdep_dirs.
8835         (check-abi-%): Remove AWK script prerequisite and explicit
8836         abilist directory.
8837         (check-abi): Rewrite to just diff the symlist with the abilist.
8838         (config-tls, config-abi-config): Delete, no longer used.
8839         (update-abi-%): Remove AWK script and explicit abilist directory.
8840         (update-abi): Rewrite to simply compare and conditionally copy the
8841         symlist and the sysdep abilist file.  Remove update-abi-config
8842         checks.
8843         * abilist/ld.abilist: Remove.
8844         * abilist/libBrokenLocale.abilist: Remove.
8845         * abilist/libanl.abilist: Remove.
8846         * abilist/libcrypt.abilist: Remove.
8847         * abilist/libdl.abilist: Remove.
8848         * abilist/librt.abilist: Remove.
8849         * abilist/libthread_db.abilist: Remove.
8850         * abilist/libutil.abilist: Remove.
8851         * scripts/extract-abilist.awk: Remove.
8852         * scripts/merge-abilist.awk: Remove.
8853         * sysdeps/generic/libcidn.abilist: New file.
8854         * sysdeps/generic/libnss_compat.abilist: New file.
8855         * sysdeps/generic/libnss_db.abilist: New file.
8856         * sysdeps/generic/libnss_dns.abilist: New file.
8857         * sysdeps/generic/libnss_files.abilist: New file.
8858         * sysdeps/generic/libnss_hesiod.abilist: New file.
8859         * sysdeps/generic/libnss_nis.abilist: New file.
8860         * sysdeps/generic/libnss_nisplus.abilist: New file.
8861         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8862         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8863         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8864         file.
8865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8866         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8867         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8868         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8869         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8870         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8871         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8872         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8873         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8874         file.
8875         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8876         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8877         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8878         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8879         file.
8880         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8881         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8882         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8883         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8884         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8885         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8886         file.
8887         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8888         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8889         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8890         file.
8891         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8893         New file.
8894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8895         New file.
8896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8897         New file.
8898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8899         New file.
8900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8901         New file.
8902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8903         New file.
8904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8905         New file.
8906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8907         New file.
8908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8909         New file.
8910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8911         New file.
8912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8913         New file.
8914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8915         New file.
8916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8917         New file.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8919         file.
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8921         New file.
8922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8923         New file.
8924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8925         file.
8926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8927         New file.
8928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8929         New file.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8931         file.
8932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8933         New file.
8934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8935         New file.
8936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8937         New file.
8938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8939         New file.
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8941         New file.
8942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8943         New file.
8944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8946         file.
8947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8948         New file.
8949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8950         file.
8951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8952         file.
8953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8954         file.
8955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8956         file.
8957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8958         file.
8959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8960         New file.
8961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8962         file.
8963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8964         file.
8965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8966         New file.
8967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8968         file.
8969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8971         file.
8972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8973         New file.
8974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8975         file.
8976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8977         file.
8978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8979         file.
8980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8981         file.
8982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8983         file.
8984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8985         New file.
8986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8987         file.
8988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8989         file.
8990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8991         New file.
8992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8993         file.
8994         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8995         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8996         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8997         file.
8998         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8999         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9000         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9001         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9002         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9003         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9004         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9005         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9006         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9007         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9010         file.
9011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9012         New file.
9013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9014         file.
9015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9016         file.
9017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9018         file.
9019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9020         file.
9021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9022         file.
9023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9024         New file.
9025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9026         New file.
9027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9028         file.
9029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9030         New file.
9031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9032         file.
9033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9035         file.
9036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9037         New file.
9038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9039         file.
9040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9041         file.
9042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9043         file.
9044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9045         file.
9046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9047         file.
9048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9049         New file.
9050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9051         New file.
9052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9053         file.
9054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9055         New file.
9056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9057         file.
9059 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
9061         * conform/conformtest.pl: Fix typo in handling typed-constant from
9062         allow-header.
9064 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
9066         * README: Cut down references to pre-2.6 Linux kernels and
9067         Linuxthreads.  Update lists of configurations in libc and ports
9068         and sort alphabetically.  Say "or newer" with Linux kernel version
9069         requirements.
9071         * config.h.in [IS_IN_build]: Allow compiling without optimization.
9073 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9075         [BZ #887]
9076         * math/libm-test.inc (logb_test_downward): New test to expose
9077         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9078         rounding mode.
9080 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
9082         [BZ #14027]
9083         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9084         to be done.
9085         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9086         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9088 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
9090         * sysdeps/unix/i386/brk.S: Remove file.
9091         * sysdeps/unix/i386/dl-brk.S: Likewise.
9092         * sysdeps/unix/i386/pipe.S: Likewise.
9093         * sysdeps/unix/i386/sigreturn.S: Likewise.
9094         * sysdeps/unix/i386/syscall.S: Likewise.
9095         * sysdeps/unix/i386/vfork.S: Likewise.
9096         * sysdeps/unix/i386/wait.S: Likewise.
9098         * sysdeps/unix/common/tcsendbrk.c: Move to ...
9099         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9101         * configure.in (arm*-none*): Do not allow without
9102         --enable-hacker-mode.
9103         (netbsd*): Remove case setting base_os.
9104         (386bsd*): Likewise.
9105         (freebsd*): Likewise.
9106         (bsdi*): Likewise.
9107         (osf*): Likewise.
9108         (sunos*): Likewise.
9109         (ultrix*): Likewise.
9110         (newsos*): Likewise.
9111         (dynix*): Likewise.
9112         (*bsd*): Likewise.
9113         (sysv*): Likewise.
9114         (isc*): Likewise.
9115         (esix*): Likewise.
9116         (sco*): Likewise.
9117         (minix*): Likewise.
9118         (irix4*): Likewise.
9119         (irix6*): Likewise.
9120         (solaris[2-9]*): Likewise.
9121         (none): Likewise.
9122         * configure: Regenerated.
9124 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9126         [BZ #11521]
9127         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9128         overflow or cancellation in calculating denominator.
9129         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9131         down expression to avoid unexpected rounding in newer GCCs.
9132         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9134 2012-04-26  David S. Miller  <davem@davemloft.net>
9136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9137         long-double compat symbols.
9138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9152 2012-04-25  David S. Miller  <davem@davemloft.net>
9154         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9155         HWCAP_* values only after the memory barriers have been defined.
9156         (atomic_full_barrier): Define.
9157         (atomic_read_barrier): Define.
9158         (atomic_write_barrier): Define.
9160 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9162         * shlib-versions: Add libgcc_s version information.
9163         * sysdeps/generic/libgcc_s.h: Remove.
9164         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9165         libgcc_s.h.
9166         * sysdeps/gnu/unwind-resume.c: Likewise.
9167         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9169 2012-04-25  David S. Miller  <davem@davemloft.net>
9171         * sysdeps/unix/sparc/brk.S: Delete.
9172         * sysdeps/unix/sparc/dl-brk.S: Delete.
9173         * sysdeps/unix/sparc/pipe.S: Delete.
9174         * sysdeps/unix/sparc/sysdep.S: Delete.
9175         * sysdeps/unix/sparc/sysdep.h: Delete.
9176         * sysdeps/unix/sparc/vfork.S: Delete.
9177         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9178         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9179         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9180         ret_ERRVAL, r0, r1, MOVE): Define.
9181         (JUMPTARGET): Remove.
9182         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9183         sysdeps/unix/sparc/sysdep.h
9184         (ENTRY, END): Remove.
9185         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9187 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
9189         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9190         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9191         -DIS_IN_build.
9193         * timezone/README: Update upstream location and email address for
9194         tzcode and tzdata.
9195         * timezone/zdump.c: Update from tzcode 2012b.
9196         * timezone/zic.c: Likewise.
9198         * configure.in (libc_cv_as_needed): Remove test.
9199         * configure: Regenerated.
9200         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9201         conditional definition.
9202         [$(have-as-needed) != yes] (no-as-needed): Likewise.
9203         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9204         * config.make.in (have-as-needed): Remove variable.
9206 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9207             Paul Pluzhnikov  <ppluzhnikov@google.com>
9209         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9210         strings correctly.
9212 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9214         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9215         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9216         * sysdeps/sh/strlen.S: Likewise.
9218 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
9220         * sysdeps/unix/fork.S: Remove file.
9221         * sysdeps/unix/i386/fork.S: Likewise.
9222         * sysdeps/unix/sparc/fork.S: Likewise.
9224         * sysdeps/unix/system.c: Remove file.
9225         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9227         * sysdeps/unix/getegid.S: Remove file.
9228         * sysdeps/unix/geteuid.S: Likewise.
9230 2012-04-24  Roland McGrath  <roland@hack.frob.com>
9232         * scripts/check-localplt.awk: New file.
9233         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9234         of diff.
9235         * scripts/data/localplt-generic.data: Add a comment.
9237         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9238         NODE when __dir_mkfile failed.
9239         * sysdeps/mach/hurd/symlinkat.c: Likewise.
9240         Reported by Ludovic Courtès <ludo@gnu.org>.
9242 2012-04-24  Andreas Jaeger  <aj@suse.de>
9244         * Makerules (common-clean): Also remove gen-as-const-headers
9245         files.
9247 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
9249         * Makerules (native-compile): Do not change working directory for
9250         build.  Use $(OUTPUT_OPTION) in command.
9251         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9253 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9255         [BZ #13886]
9256         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9257         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9258         * math/libm-test.inc (floor_test): Add more tests.
9259         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9261 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
9263         * sysdeps/unix/getdents.c: Remove file.
9264         * sysdeps/unix/sysv/getdents.c: Likewise.
9265         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9267         * sysdeps/unix/syscalls.list (madvise): Add syscall from
9268         sysdeps/unix/mman/syscalls.list.
9269         (mmap): Likewise.
9270         (mprotect): Likewise.
9271         (msync): Likewise.
9272         (munmap): Likewise.
9273         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9274         * sysdeps/unix/mman/syscalls.list: Remove.
9275         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9277         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9278         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9279         * configure: Regenerated.
9280         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9281         $(libgcc_s_suffix).
9282         * config.make.in (libgcc_s_suffix): Remove variable.
9284 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
9286         * sysdeps/unix/sysv/gethostname.c: Move to ...
9287         * sysdeps/posix/gethostname.c: ... here.
9289         * sysdeps/unix/execve.S: Remove file.
9291         * sysdeps/unix/_exit.S: Remove file.
9293 2012-04-23  Andreas Jaeger  <aj@suse.de>
9295         [BZ #13739]
9296         * manual/Makefile: Remove make dist support, there's no
9297         need for a stand-alone documentation tar ball.
9298         (TEXI2DVI): Define always, it's not in Makeconfig.
9299         (dist): Removed.
9300         (tar-it): Removed.
9301         (edition): Removed.
9302         (glibc-doc-$(edition).tar): Removed
9303         (%.Z): Removed.
9304         (%.gz): Removed.
9305         (%.uu): Removed.
9306         (ETAGS): Remove, it's in Makeconfig.
9307         (move-if-change): Remove, it's in Makeconfig.
9309 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
9311         [BZ #13970]
9312         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9313         (strtod, strtof, strtold, strtol, strtoul, strtoq)
9314         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9315         (strtod_l, strtof_l, strtold_l): Remove __wur.
9316         It is not necessarily an error to ignore strtol's return value.
9317         One can reliably look at the stored endptr to decide whether
9318         the number had valid syntax.
9320 2012-04-21  Andreas Jaeger  <aj@suse.de>
9322         [BZ #13739]
9323         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9325 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
9327         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9328         * sysdeps/unix/sysv/Versions: Remove file.
9330 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
9332         [BZ #13927]
9333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9335 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
9337         [BZ #7064]
9338         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9339         version from __vm86.
9341 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
9343         * sysdeps/unix/common/lxstat.c: Remove file.
9344         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9346         * sysdeps/unix/sysv/Makefile: Remove file.
9348         * sysdeps/unix/sysv/direct.h: Remove file.
9350         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9351         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9352         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9353         * sysdeps/unix/sysv/bits/signum.h: Likewise.
9354         * sysdeps/unix/sysv/bits/stat.h: Likewise.
9355         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9356         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9358         * sysdeps/unix/sysv/setrlimit.c: Remove file.
9360         * sysdeps/unix/xmknod.c: Remove file.
9361         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9363         * sysdeps/unix/sysv/settimeofday.c: Remove file.
9365         * sysdeps/unix/sysv/i386/time.S: Remove file.
9367         * sysdeps/unix/fxstat.c: Remove file.
9368         * sysdeps/unix/xstat.c: Likewise.
9369         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9371         * sysdeps/unix/sysv/sigaction.c: Remove file.
9373         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9374         (sysdep_headers): Remove variable.
9375         [termio.h not in sysdep_headers] (generated): Likewise.
9376         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9377         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9378         * sysdeps/unix/sysv/tcdrain.c: Likewise.
9379         * sysdeps/unix/sysv/tcflow.c: Likewise.
9380         * sysdeps/unix/sysv/tcflush.c: Likewise.
9381         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9382         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9383         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9384         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9385         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9387         * sysdeps/unix/siglist.c: Remove file.
9389         * sysdeps/unix/getppid.S: Remove file.
9391         * sysdeps/unix/mkdir.c: Remove file.
9392         * sysdeps/unix/rmdir.c: Likewise.
9394 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
9396         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9397         ERR_MAX value.
9398         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9399         errlist-compat value.
9401 2012-04-18  David S. Miller  <davem@davemloft.net>
9403         * sysdeps/generic/memcopy.h (reg_char): Delete.
9404         * debug/strcat_chk.c: Use char, not reg_char.
9405         * debug/strcpy_chk.c: Likewise.
9406         * debug/strncat_chk.c: Likewise.
9407         * debug/strncpy_chk.c: Likewise.
9408         * string/memchr.c: Likewise.
9409         * string/memrchr.c: Likewise.
9410         * string/rawmemchr.c: Likewise.
9411         * string/strcat.c: Likewise.
9412         * string/strchr.c: Likewise.
9413         * string/strchrnul.c: Likewise.
9414         * string/strcmp.c: Likewise.
9415         * string/strcpy.c: Likewise.
9416         * string/strncat.c: Likewise.
9417         * string/strncmp.c: Likewise.
9418         * string/strncpy.c: Likewise.
9420 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9422         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9423         __builtin_memcopy is called when src and dest ranges are known to not
9424         overlap.
9426 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9428         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9429         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9430         fwd_align_merge macro call.
9431         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9432         bwd_align_merge macro call.
9433         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9435 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9437         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9438         bwd_align_merge macros.
9439         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9440         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9441         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9443 2012-04-18  David S. Miller  <davem@davemloft.net>
9445         * sysdeps/sparc/sparc64/memcopy.h: Delete.
9447 2012-04-18  Andreas Jaeger  <aj@suse.de>
9449         [BZ# 6794]
9450         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9451         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9452         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9454         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9455         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9456         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9458         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9459         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9460         Adjust for changed ldbl-128 files.
9462         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9463         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9464         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9466 2012-04-17  David S. Miller  <davem@davemloft.net>
9468         * sysdeps/sparc/sparc32/memcopy.h: Delete.
9470 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
9472         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9473         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9474         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9475         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9476         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9477         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9479 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9481         [BZ #6794]
9482         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9483         * math/libm-test.inc: Add ilogb errno and exception tests.
9484         * math/w_ilogb.c: New file: ilogb wrapper.
9485         * math/w_ilogbf.c: New file: ilogbf wrapper.
9486         * math/w_ilogbl.c: New file: ilogbl wrapper.
9487         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9488         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9489         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9490         exception being thrown with 0.0 as argument.
9491         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9492         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9493         exception being thrown with 0.0 as argument.
9494         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9495         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9496         exception being thrown with 0.0 as argument.
9497         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9498         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9499         exception being thrown with 0.0 as argument.
9500         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9501         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9502         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9503         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9504         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9505         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9506         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9507         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9508         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9510 2012-04-17  Petr Baudis  <pasky@ucw.cz>
9512         * include/sys/uio.h: Change __vector to __iovec to avoid clash
9513         with altivec.
9515 2012-04-16  Marek Polacek  <polacek@redhat.com>
9517         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9519 2012-04-16  Marek Polacek  <polacek@redhat.com>
9521         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9522         operands of fdivp instruction.
9524 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
9526         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9527         * elf/tst-auditmod3b.c: Likewise.
9528         * elf/tst-auditmod4b.c: Likewise.
9529         * elf/tst-auditmod5b.c: Likewise.
9530         * elf/tst-auditmod6b.c: Likewise.
9531         * elf/tst-auditmod6c.c: Likewise.
9532         * elf/tst-auditmod7b.c: Likewise.
9533         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9534         * sysdeps/x86_64/preconfigure.in: Likewise.
9535         * sysdeps/x86_64/preconfigure: Regenerated.
9537 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
9539         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9540         __ILP32__.
9542 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
9544         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9545         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9547 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
9549         [BZ #13973]
9550         * locale/iso-639.def: Fix gl language name. Spotted by
9551         Yaron Shahrabani.
9553 2012-04-12  Roland McGrath  <roland@hack.frob.com>
9555         [BZ #2074]
9556         * libio/libio.h (__io_write_fn): Update comment.
9558 2012-04-12  Petr Baudis  <pasky@ucw.cz>
9560         [BZ #2074]
9561         * stdio.texi (Hook Functions): The user provided writer function
9562         is not allowed to return -1.
9564 2012-04-11  David S. Miller  <davem@davemloft.net>
9566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9568 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
9570         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9571         Add a leading slash to rtkaio.
9573 2012-04-11  Jim Meyering  <meyering@redhat.com>
9575         [BZ #11959]
9576         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9577         It is not necessarily an error to ignore fwrite's return
9578         value.  One can reliably use ferror to test for errors after
9579         the fact.
9581 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
9583         * bits/types.h (__snseconds_t): New type.
9584         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9586         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9588         (__SNSECONDS_T_TYPE): Likewise.
9589         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9590         (__SNSECONDS_T_TYPE): Likewise.
9591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9592         (__SNSECONDS_T_TYPE): Likewise.
9594 2012-04-10  Andreas Jaeger  <aj@suse.de>
9596         [BZ #2636]
9597         * manual/time.texi (Processor Time): Return type of times is
9598         elapsed real time since an arbitrary point in the past.
9599         (CPU Time): Move CLK_TCK from here...
9600         (Processor Time): ...to here.  Correct description.
9601         * manual/conf.texi (Constants for Sysconf): Correct description of
9602         _SC_CLK_TCK.
9604 2012-04-10  David S. Miller  <davem@davemloft.net>
9606         [BZ #13967]
9607         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9608         where the is a gap between DT_REL(A) and DT_JMPREL.
9610 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
9612         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9613         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9614         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9616 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9618         * elf/dl-support.c (_dl_inhibit_cache): New variable.
9619         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9620         (dl_main): Handle --inhibit-cache.
9621         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9622         _dl_inhibit_cache.
9623         * elf/dl-load.c (_dl_map_object): Use it.
9624         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9626 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9628         [BZ #13872]
9629         * sysdeps/i386/fpu/e_powl.S (p78): New object.
9630         (__ieee754_powl): Saturate large exponents rather than testing for
9631         overflow of y*log2(x).
9632         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9633         * math/libm-test.inc (pow_test): Do not permit spurious overflow
9634         exceptions.
9636         [BZ #11521]
9637         * math/s_ctan.c: Include <float.h>.
9638         (__ctan): Avoid internal overflow or cancellation in calculating
9639         denominator.
9640         * math/s_ctanf.c: Likewise.
9641         * math/s_ctanl.c: Likewise.
9642         * math/s_ctanh.c: Likewise.
9643         * math/s_ctanhf.c: Likewise.
9644         * math/s_ctanhl.c: Likewise.
9645         * math/libm-test.inc (ctan_test): Add more tests.
9646         (ctanh_test): Likewise.
9647         * sysdeps/i386/fpu/libm-test-ulps: Update.
9648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9650 2012-04-09  Andreas Jaeger  <aj@suse.de>
9652         [BZ #6894]
9653         * manual/filesys.texi (Directory Entries): Mention that d_namlen
9654         is an optional BSD extension.
9656         [BZ #10254]
9657         * manual/stdio.texi (Opening Streams): Document additional fopen
9658         parameters.
9660 2012-04-09  Roland McGrath  <roland@hack.frob.com>
9662         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9663         %eax without telling the compiler.
9665 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
9667         [BZ # 13963]
9668         * manual/install.texi: Use sourceware.org.
9670 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9672         [BZ #13873]
9673         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9674         (__ieee754_pow): Generate overflow and underflow using huge*huge
9675         and tiny*tiny rather than just returning constant infinity or zero
9676         for large exponents.
9677         * math/libm-test.inc (pow_test): Require overflow exceptions for
9678         applicable cases of large exponents.
9680         [BZ #706]
9681         * sysdeps/i386/fpu/e_pow.S (p10): New object.
9682         (__ieee754_pow): Use iterative multiplication algorithm only for
9683         integer exponents with absolute value below 1024.  Check for odd
9684         integer exponents when using algorithm for real exponents.
9685         * math/libm-test.inc (pow_test): Add more tests.
9686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9688 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
9690         [BZ #13705]
9691         * math/libm-test.inc (exp_test): Do not allow overflow exception
9692         on underflow test.
9694 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
9696         [BZ #13705]
9697         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9698         instead of __kernel_standard_f.
9700 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
9702         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9703         * sysdeps/x86_64/memset_chk.S: Likewise.
9705 2012-04-08  Andreas Jaeger  <aj@suse.de>
9707         [BZ #10153]
9708         * manual/startup.texi (Environment Access): Describe return value
9709         for putenv and setenv.
9711         [BZ #6895]
9712         * manual/filesys.texi (Directory Entries): Add description for
9713         DT_LNK.
9715         [BZ #6890]
9716         * manual/filesys.texi (Directory Entries): Clarify that it's file
9717         system not operating system in the description of DT_UNKNOWN.
9719         [BZ #6578]
9720         * manual/syslog.texi (closelog): Fix reference, it's openlog.
9722 2012-04-08  Stephen Compall  <s11@member.fsf.org>
9724         [BZ #6649]
9725         * manual/llio.texi (Opening and Closing Files): Add cross
9726         reference to explain mode argument.
9728 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
9730         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9731         * sysdeps/x86_64/memset_chk.S: Likewise.
9733 2012-04-07  David S. Miller  <davem@davemloft.net>
9735         * elf/elf.h (R_SPARC_WDISP10): Define.
9736         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9737         R_SPARC_SIZE32.
9738         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9739         R_SPARC_SIZE64 and R_SPARC_H34.
9741 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
9743         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9744         conditions and remove no longer applicable assertion.
9746 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9748         * bits/byteswap.h: Include <features.h>.
9749         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9750         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9752 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9754         * bits/byteswap.h (__bswap_16): Removed.
9755         Include <bits/byteswap-16.h> to get __bswap_16.
9756         * sysdeps/i386/bits/byteswap.h: Likewise.
9757         * sysdeps/s390/bits/byteswap.h: Likewise.
9758         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9759         * bits/byteswap-16.h: New file.
9760         * sysdeps/i386/bits/byteswap-16.h: Likewise.
9761         * sysdeps/s390/bits/byteswap-16.h: Likewise.
9762         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9763         * string/Makefile (headers): Add bits/byteswap-16.h.
9765 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9767         [BZ #13895]
9768         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9769         extra indirection.
9770         * nss/Makefile (tests-static, tests): Add tst-nss-static.
9771         * nss/tst-nss-static.c: New.
9773 2012-04-06  Robert Millan  <rmh@gnu.org>
9775         [BZ #6486]
9776         * manual/llio.texi (File Position Primitive): lseek
9777         refers to WHENCE when it really means OFFSET.
9779 2012-04-06  Andreas Jaeger  <aj@suse.de>
9781         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9782         strncmp declarations.
9784         * abilist/libc.abilist: Add __poll and __ppoll.
9786 2012-04-05  David S. Miller  <davem@davemloft.net>
9788         * scripts/check-local-headers.sh: Accept a host triplet in the
9789         path matched by the exclude regexp.
9791         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9792         definition.
9793         * sysdeps/powerpc/powerpc32/dl-machine.h
9794         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9795         * sysdeps/s390/s390-32/dl-machine.h
9796         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9797         * sysdeps/sparc/sparc32/dl-machine.h
9798         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9799         * sysdeps/sparc/sparc64/dl-machine.h
9800         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9802         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9803         lazy binding.
9804         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9805         undefined symbol errors.
9807         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9808         DT_NEEDED entries.
9810 2012-04-05  Michael Matz  <matz@suse.de>
9812         [BZ #13592]
9813         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9815 2012-04-05  Andreas Jaeger  <aj@suse.de>
9817         [BZ #13908]
9818         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9819         comment.
9821 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9823         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9824         which ROUND is no valid rounding mode.
9826 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9828         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9829         read again.
9830         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9832 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9834         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9835         an exception using FPU order intentionally.
9837 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9839         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9840         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9841         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9842         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9844 2012-04-05  Simon Josefsson  <simon@josefsson.org>
9846         [BZ #12340]
9847         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9848         EINVAL when BUFLEN is too smal.
9850 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9852         [BZ #13553]
9853         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9854         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9856 2012-04-03  Andreas Jaeger  <aj@suse.de>
9858         [BZ #13938]
9859         * manual/setjmp.texi (System V contexts): Fix sentence.
9861         [BZ #13926]
9862         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9863         New macro for this case.
9864         [!__GNUC__] (__bswap_64): New inline function for this case.
9865         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9866         * bits/byteswap.h: Likewise.
9867         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9868         ull, guard with __GLIBC_HAVE_LONG_LONG.
9870         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9871         __GLIBC_HAVE_LONG_LONG.
9873         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9874         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9876 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9878         [BZ #13691]
9879         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9880         inptr and inend, rather than using last_ch.
9882 2012-04-02  David S. Miller  <davem@davemloft.net>
9884         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9885         * stdio-common/printf-parse.h (read_int): Change return type to
9886         'int', return -1 on INT_MAX overflow.
9887         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9888         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
9889         overflows INT_MAX.  Check for overflow of in-format-string precision
9890         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
9891         SIZE_MAX not INT_MAX for integer overflow test.
9892         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9893         skip the construct in the format string but do not record anything.
9894         * stdio-common/bug22.c: Adjust to test both width/prevision
9895         INT_MAX overflow as well as total length INT_MAX overflow.  Check
9896         explicitly for proper errno values.
9898 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9900         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9901         CHAR_MAX.
9902         * string/test-strcmp.c [! WIDE]: Likewise.
9903         * time/tst-mktime2.c: Likewise for INT_MAX.
9904         * string/test-string.h: #include <sys/param.h> for MIN.
9906         * csu/init-first.c (__libc_init_first): Call __ctype_init.
9907         * sysdeps/i386/init-first.c (init): Likewise.
9908         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9909         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9910         * sysdeps/sh/init-first.c (init): Likewise.
9912 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
9914         * po/ru.po: Update from translation team.
9915         * po/vi.po: Likewise.
9917 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9919         * resolv/nss_dns/dns-host.c: Merge copyright years.
9921 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9923         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9924         Optimize memcpy with prefetch if
9925         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
9926         src, dst pointers have unequal 16 byte alignments.
9928 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9930         [BZ #13928]
9931         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9932         from a CNAME entry and return the minimum ttl for the query.
9933         (gaih_getanswer_slice): Likewise.
9935 2012-03-30  Jeff Law  <law@redhat.com>
9937         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9938         due to long keys.
9939         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9940         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9942         * resolv/nss_dns/dns-host.c: Update copyright year.
9944 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
9946         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9947         requests to save a system call.  Fix check that all bytes are sent.
9949         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9950         comments for sendmmsg.
9952 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9954         [BZ #13691]
9955         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9956         with only 1 character between 0x0041 and 0x01b0.
9957         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9958         * wcsmbs/tst-mbsnrtowcs.c: New file.
9960 2012-03-29  David S. Miller  <davem@davemloft.net>
9962         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9963         small copies by hand.
9965 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9967         [BZ #13761]
9968         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9969         _nss_compat_initgroups_dyn): Fall back to malloc/free
9970         for large group memberships.
9972 2012-03-28  David S. Miller  <davem@davemloft.net>
9974         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9975         that branches into memcpy.
9976         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9978         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9979         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9980         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9981         bits.
9982         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9983         implementation too.
9984         * sysdeps/sparc/mempcpy.S: New file.
9986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9987         the IFUNC routine in the libc case.
9988         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9990         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9991         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9992         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9993         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9994         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9995         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9996         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9997         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9999         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10000         loop to 256 bytes instead of 64 bytes and fix test signedness.
10002         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10003         * sysdeps/sparc/sparc32/Makefile: rather than here...
10004         * sysdeps/sparc/sparc64/Makefile: and here.
10006 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
10008         * malloc/mallocbug.c: Avoid warnings about unused variables.
10010 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10012         [BZ #13760]
10013         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10014         in the right place. Discard and retry query if response is
10015         larger than input buffer size.
10017 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
10019         [BZ #369]
10020         [BZ #2678]
10021         [BZ #3866]
10022         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10023         x for large integer exponent.
10024         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10025         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
10026         sign of result as needed afterwards.
10027         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10028         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10029         result for underflowing pow the same as for overflow.
10030         (__kernel_standard_l): Handle powl overflow and underflow here
10031         rather than calling __kernel_standard.
10032         * math/libm-test.inc (pow_test): Add more tests.
10034         [BZ #3868]
10035         [BZ #13879]
10036         [BZ #13910]
10037         [BZ #13911]
10038         [BZ #13912]
10039         [BZ #13913]
10040         [BZ #13915]
10041         [BZ #13916]
10042         [BZ #13917]
10043         [BZ #13918]
10044         [BZ #13919]
10045         [BZ #13920]
10046         [BZ #13921]
10047         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10048         * sysdeps/ieee754/k_standard.c: Include <float.h>.
10049         (__kernel_standard_l): New function.
10050         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10051         __kernel_standard.
10052         * math/w_acosl.c (__acosl): Likewise.
10053         * math/w_asinl.c (__asinl): Likewise.
10054         * math/w_atan2l.c (__atan2l): Likewise.
10055         * math/w_atanhl.c (__atanhl): Likewise.
10056         * math/w_coshl.c (__coshl): Likewise.
10057         * math/w_exp10l.c (__exp10l): Likewise.
10058         * math/w_exp2l.c (__exp2l): Likewise.
10059         * math/w_fmodl.c (__fmodl): Likewise.
10060         * math/w_hypotl.c (__hypotl): Likewise.
10061         * math/w_j0l.c (__j0l, __y0l): Likewise.
10062         * math/w_j1l.c (__j1l, __y1l): Likewise.
10063         * math/w_jnl.c (__jnl, __ynl): Likewise.
10064         * math/w_lgammal.c (__lgammal): Likewise.
10065         * math/w_log10l.c (__log10l): Likewise.
10066         * math/w_log2l.c (__log2l): Likewise.
10067         * math/w_logl.c (__logl): Likewise.
10068         * math/w_powl.c (__powl): Likewise.
10069         * math/w_remainderl.c (__remainderl): Likewise.
10070         * math/w_scalbl.c (sysv_scalbl): Likewise.
10071         * math/w_sinhl.c (__sinhl): Likewise.
10072         * math/w_sqrtl.c (__sqrtl): Likewise.
10073         * math/w_tgammal.c (__tgammal): Likewise.
10074         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10075         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10076         * math/libm-test.inc (acos_test): Add more tests.
10077         (acosh_test): Likewise.
10078         (asin_test): Likewise.
10079         (atanh_test): Likewise.
10080         (exp_test): Likewise.
10081         (exp10_test): Likewise.
10082         (exp2_test): Likewise.
10083         (expm1_test): Likewise.
10084         (lgamma_test): Likewise.
10085         (log_test): Likewise.
10086         (log10_test): Likewise.
10087         (log1p_test): Likewise.
10088         (log2_test): Likewise.
10089         (pow_test): Do not allow some spurious overflow exceptions.
10090         (sqrt_test): Add more tests.
10091         (tgamma_test): Likewise.
10092         (y0_test): Likewise.
10093         (y1_test): Likewise.
10094         (yn_test): Likewise.
10096 2012-03-27  Anton Blanchard  <anton@samba.org>
10098         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10099         MAP_HUGETLB.
10100         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10101         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10102         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10104 2012-03-27  David S. Miller  <davem@davemloft.net>
10106         * conform/Makefile: Run run-conformtest.sh using $(BASH).
10108         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10109         have-as-vis3 check.
10111 2012-03-27  Andreas Jaeger  <aj@suse.de>
10113         * sysdeps/x86_64/elf/configure.in: Moved to ...
10114         * sysdeps/x86_64/configure.in: ... here.
10115         * sysdeps/x86_64/elf/start.S: Moved to ...
10116         * sysdeps/x86_64/start.S: ... here.
10117         * sysdeps/x86_64/elf/configure: Delete.
10119         * sysdeps/x86_64/configure.in: Merge contents from
10120         sysdeps/i386/configure.in (without i686 check).
10122         * sysdeps/i386/elf/Versions: Merge into ...
10123         * sysdeps/i386/Versions: ... this.
10124         * sysdeps/i386/elf/Versions: Delete file.
10125         * sysdeps/i386/elf/start.S: Moved to ...
10126         * sysdeps/i386/start.S: ...here.
10127         * sysdeps/i386/elf/configure.in: Merge into...
10128         * sysdeps/i386/configure.in: ...here.
10129         * sysdeps/i386/elf/configure.in: Delete file.
10130         * sysdeps/i386/elf/configure: Delete file.
10132         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10133         * debug/backtracesyms.c: ... here.
10134         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10135         * debug/backtracesymsfd.c: ... here.
10136         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10137         * sysdeps/generic/ifunc-sel.h: ... here.
10139         * sysdeps/unix/i386/start.c: Delete file.
10140         * sysdeps/unix/sparc/start.c: Delete file.
10141         * sysdeps/unix/start.c: Delete file.
10143         * sysdeps/sh/elf/configure.in: Moved to ...
10144         * sysdeps/sh/configure.in: ... here.
10145         * sysdeps/sh/elf/start.S: Moved to ...
10146         * sysdeps/sh/start.S: ... here.
10147         * sysdeps/sh/elf/configure: Delete file.
10149         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10150         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10151         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10152         * sysdeps/powerpc/powerpc64/entry.h: ... here.
10153         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10154         * sysdeps/powerpc/powerpc64/start.S: here.
10155         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10156         * sysdeps/powerpc/powerpc64/Makefile: ... this.
10157         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10158         * sysdeps/powerpc/powerpc64/configure.in: ... this.
10159         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10161         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10162         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10163         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10164         * sysdeps/powerpc/powerpc32/start.S: ... here.
10165         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10166         * sysdeps/powerpc/powerpc32/configure.in: ... this.
10167         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10169         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10170         * sysdeps/powerpc/ifunc-sel.h: ... here.
10171         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10172         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10174         * sysdeps/sparc/elf/configure.in: Moved to ...
10175         * sysdeps/sparc/configure.in: ... here.
10176         * sysdeps/sparc/elf/configure: Delete file.
10177         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10178         * sysdeps/sparc/sparc32/start.S: ... here.
10179         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10180         * sysdeps/sparc/sparc64/start.S: ... here.
10181         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10182         * sysdeps/sparc/sparc32/Makefile: ... this.
10183         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10184         * sysdeps/sparc/sparc64/Makefile: ... this.
10186         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10187         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10188         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10189         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10190         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10191         * sysdeps/s390/s390-32/setjmp.S: ... here.
10192         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10193         * sysdeps/s390/s390-32/configure.in: ... here.
10194         * sysdeps/s390/s390-32/elf/configure: Delete file.
10195         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10196         * sysdeps/s390/s390-32/start.S: ... here.
10198         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10199         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10200         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10201         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10202         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10203         * sysdeps/s390/s390-64/setjmp.S: ... here.
10204         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10205         * sysdeps/s390/s390-64/configure.in: ... here
10206         * sysdeps/s390/s390-64/elf/configure: Delete file.
10207         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10208         * sysdeps/s390/s390-64/start.S: ... here.
10209         * sysdeps/s390/s390-64/elf/configure: Delete.
10211         * configure.in: Remove support for elf directories in sysdeps.
10213         * configure: Regenerated.
10214         * sysdeps/i386/configure: Regenerated.
10215         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10216         * sysdeps/powerpc/powerpc64/configure: Regenerated.
10217         * sysdeps/s390/s390-32/configure: Regenerated.
10218         * sysdeps/s390/s390-64/configure: Regenerated.
10219         * sysdeps/sh/configure: Regenerated.
10220         * sysdeps/sparc/configure: Regenerated.
10221         * sysdeps/x86_64/configure: Regenerated.
10223 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
10225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10228         denormal result into account.
10230 2012-03-25  Roland McGrath  <roland@hack.frob.com>
10232         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10233         Reported by Allan McRae <allan@archlinux.org>.
10235 2012-03-23  Jeff Law  <law@redhat.com>
10237         * nss/getnssent.c (__nss_getent): Fix typo.
10239 2012-03-23  David S. Miller  <davem@davemloft.net>
10241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10243 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
10245         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10246         to pad to uint64_t for each field.
10247         (dl_tls_index): Replace unsigned long with uint64_t.
10249 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
10250         Paul Pluzhnikov  <ppluzhnikov@google.com>
10252         [BZ #6528]
10253         * grp/Makefile (otherlibs): Don't set it.
10254         * inet/Makefile (otherlibs): Likewise.
10255         * login/Makefile (otherlibs): Likewise.
10256         * nscd/Makefile (otherlibs): Likewise.
10257         * posix/Makefile (otherlibs): Likewise.
10258         * pwd/Makefile (otherlibs): Likewise.
10259         * rt/Makefile (otherlibs): Likewise.
10260         * sunrpc/Makefile (otherlibs): Likewise.
10261         * nss/Makefile (otherlibs): Likewise.
10262         Add libnss_files to routines and static-only-routines.
10263         ($(objpfx)getent): Remove rule.
10264         * resolv/Makefile: Add libnss_dns and libresolv to routines and
10265         static-only-routines.
10267 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
10269         [BZ #13892]
10270         * math/s_cexp.c: Include <float.h>.
10271         (__cexp): Handle exp result overflowing not necessarily
10272         overflowing both real and imaginary parts of result.
10273         * math/s_cexpf.c: Likewise.
10274         * math/s_cexpl.c: Likewise.
10275         * math/libm-test.inc (cexp_test): Add more tests.
10276         * sysdeps/i386/fpu/libm-test-ulps: Update.
10277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10281         * include/link.h (ELFW): New macro.
10282         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10283         Replace ELF64_R_TYPE with ELFW(R_TYPE).
10285 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10287         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10288         with uint64_t.
10290 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10292         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10293         declaration.
10294         (struct La_x32_retval): Likewise.
10296 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10298         * sysdeps/x86_64/preconfigure.in: New file.
10299         * sysdeps/x86_64/preconfigure: New generated file.
10301 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
10303         [BZ #13824]
10304         * math/e_exp2l.c: Include <float.h>.
10305         (__ieee754_exp2l): Handle overflow and underflow cases
10306         separately.  Only pass fractional part of argument to
10307         __ieee754_expl.
10308         * math/libm-test.inc (exp2_test): Add more tests.
10310         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10311         negating x to take absolute value.
10312         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10313         Likewise.
10314         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10315         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10316         Likewise.
10317         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10318         computing low part if x was negated.
10319         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10321 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10323         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10324         la_x32_gnu_pltexit.
10325         (pltexit): Cast int_retval to ptrdiff_t.
10326         * elf/tst-auditmod3b.c: Likewise.
10327         * elf/tst-auditmod4b.c: Likewise.
10328         * elf/tst-auditmod5b.c: Likewise.
10329         * elf/tst-auditmod6b.c: Likewise.
10330         * elf/tst-auditmod6c.c: Likewise.
10331         * elf/tst-auditmod7b.c: Likewise.
10333         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10334         and x32_gnu_pltexit.
10336         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10337         __ELF_NATIVE_CLASS.
10338         (La_x32_regs): New macro.
10339         (La_x32_retval): Likewise.
10340         (la_x32_gnu_pltenter): New function prototype.
10341         (la_x32_gnu_pltexit): Likewise.
10343 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
10345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10346         exponent.
10348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10350         * configure.in (libc_cv_cc_nofma): Check for option to disable
10351         generation of FMA instructions.
10352         * configure: Regenerate.
10353         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10354         * sysdeps/ieee754/dbl-64/Makefile: New file.
10355         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10356         Remove brandred-fma4.
10357         (CFLAGS-brandred-fma4.c): Remove.
10358         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10359         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10360         define.
10361         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10362         define.
10364 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10366         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10367         LLONG_MAX != LONG_MAX.
10368         (_itoa_word): Use _ITOA_WORD_TYPE on value.
10369         (_fitoa_word): Likewise.
10370         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10371         LLONG_MAX != LONG_MAX.
10372         * stdio-common/_itowa.h: Include <_itoa.h>.
10373         (_itowa_word): Use _ITOA_WORD_TYPE on value.
10374         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
10375         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
10376         only if not defined.
10377         (_ITOA_WORD_TYPE): Likewise.
10378         (_itoa_word): Use _ITOA_WORD_TYPE on value.
10379         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10381 2012-03-21  David S. Miller  <davem@davemloft.net>
10383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10385 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10387         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10388         of x86_64 when setting libc_cv_slibdir, libdir and
10389         libc_cv_localedir.
10390         * sysdeps/unix/sysv/linux/configure: Regenerated.
10392 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10394         * manual/lang.texi (Old Varargs): Remove section.
10395         (How Variadic): Update menu.
10396         (va_start): Do not mention varargs.h.
10398 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10399             Joseph Myers  <joseph@codesourcery.com>
10401         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10402         link test.
10403         * configure: Regenerated.
10405 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10407         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10408         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10409         conformtest.pl
10411 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10413         * NOTES: Remove.
10414         * Makefile (files-for-dist): Remove NOTES.
10415         (NOTES): Remove rule.
10416         * README: Don't refer to NOTES.
10417         * manual/creature.texi: Don't include macros.texi.
10418         * manual/intro.texi (creature.texi): Remove comment referring to
10419         NOTES.
10421         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10422         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10423         * configure: Regenerated.
10424         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10425         LIBC_TRY_CC_OPTION.
10426         (libc_cv_as_i686): Likewise.
10427         (libc_cv_cc_avx): Likewise.
10428         (libc_cv_cc_sse2avx): Likewise.
10429         (libc_cv_cc_fma4): Likewise.
10430         (libc_cv_cc_novzeroupper): Likewise.
10431         * sysdeps/i386/configure: Regenerated.
10433         [BZ #13883]
10434         * sysdeps/i386/fpu/s_cexp.S: Remove.
10435         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10436         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10437         * math/libm-test.inc (cexp_test): Add more tests.
10438         * sysdeps/i386/fpu/libm-test-ulps: Update.
10439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441 2012-03-21  Allan McRae  <allan@archlinux.org>
10443         * timezone/Makefile: Do not install iso3166.tab and zone.tab
10445 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10447         [BZ #13871]
10448         * math/w_exp2.c: Do not include <float.h>.
10449         (o_threshold, u_threshold): Remove.
10450         (__exp2): Calculate result before checking finiteness and calling
10451         __kernel_standard.
10452         * math/w_exp2f.c: Likewise.
10453         * math/w_exp2l.c: Likewise.
10454         * math/libm-test.inc (exp2_test): Require overflow exception for
10455         1e6 input.
10457         [BZ #3866]
10458         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10459         range of signed 64-bit integers before using fistpll.  Remove
10460         checks for whether integers fit in mantissa bits.
10461         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10462         the range of signed 32-bit integers before using fistpl.  Remove
10463         checks for whether integers fit in mantissa bits.
10464         * sysdeps/i386/fpu/e_powl.S (p64): New object.
10465         (__ieee754_powl): Test for y outside the range of signed 64-bit
10466         integers before using fistpll.  Reduce 64-bit values to 63-bit
10467         ones as needed.
10468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10469         divide-by-zero is raised for zero to large negative powers.
10470         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10471         (__ieee754_powl): Test for y outside the range of signed 64-bit
10472         integers before using fistpll.  Reduce 64-bit values to 63-bit
10473         ones as needed.
10474         * math/libm-test.inc (pow_test): Add more tests.
10476 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10478         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10479         <stdio-common/_itoa.h>.
10480         * debug/segfault.c: Likewise.
10481         * elf/dl-cache.c: Likewise.
10482         * elf/dl-minimal.c: Likewise.
10483         * elf/dl-misc.c: Likewise.
10484         * elf/dl-sysdep.c: Likewise.
10485         * elf/dl-version.c: Likewise.
10486         * elf/rtld.c: Likewise.
10487         * hurd/hurdsock.c: Likewise.
10488         * hurd/lookup-retry.c: Likewise.
10489         * malloc/malloc.c: Likewise.
10490         * malloc/mtrace.c: Likewise.
10491         * nscd/nscd_getgr_r.c: Likewise.
10492         * nscd/nscd_getpw_r.c: Likewise.
10493         * nscd/nscd_getserv_r.c: Likewise.
10494         * posix/getopt_init.c: Likewise.
10495         * posix/wordexp.c: Likewise.
10496         * stdio-common/_itoa.c: Likewise.
10497         * stdio-common/printf_fphex.c: Likewise.
10498         * stdio-common/vfprintf.c: Likewise.
10499         * string/_strerror.c: Likewise.
10500         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10501         * sysdeps/i386/i686/hp-timing.h: Likewise.
10502         * sysdeps/mach/_strerror.c: Likewise.
10503         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10504         * sysdeps/mach/hurd/sethostid.c: Likewise.
10505         * sysdeps/mach/hurd/xmknodat.c: Likewise.
10506         * sysdeps/mach/xpg-strerror.c: Likewise.
10507         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10508         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10509         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10510         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10511         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10512         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10513         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10514         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10515         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10516         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10517         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10518         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10519         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10520         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10521         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10522         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10523         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10524         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10525         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10526         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10527         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10529         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10531         * stdio-common/_itoa.h: Moved to ...
10532         * sysdeps/generic/_itoa.h: Here.
10534         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10536         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10537         instead of "_itoa.h" and "_itowa.h".
10538         * stdio-common/vfprintf.: Likewise.
10540 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10542         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10543         <bits/wordsize.h>.
10544         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10545         (__signbit): Likwise.
10546         (llrintf): Likwise.
10547         (llrint): Likwise.
10549 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10551         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10552         __WORDSIZE != 64.
10554 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
10556         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10557         OVERFLOW_EXCEPTION_OK.
10558         * math/libm-test.inc ("Philosophy"): Update comment about
10559         exception testing.
10560         (OVERFLOW_EXCEPTION): Define.
10561         (OVERFLOW_EXCEPTION_OK): Likewise.
10562         (INVALID_EXCEPTION_OK): Renumber.
10563         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10564         (IGNORE_ZERO_INF_SIGN): Likewise.
10565         (test_exceptions): Handle FE_OVERFLOW.
10566         (exp10_test): Expect overflow exceptions.
10567         (exp2_test): Likewise.
10568         (expm1_test): Likewise.
10569         (nextafter_test): Likewise.
10570         (pow_test): Likewise.
10571         (scalbn_test): Likewise.
10572         (scalbln_test): Likewise.
10574 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10576         * sysdeps/x86_64/bits/atomic.h
10577         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10578         64bit integer.
10579         (atomic_exchange_acq): Likewise.
10580         (__arch_exchange_and_add_body): Likewise.
10581         (__arch_add_body): Likewise.
10582         (atomic_add_negative): Likewise.
10583         (atomic_add_zero): Likewise.
10585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10587         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10588         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10590 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10592         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10593         Check __x86_64__ instead of __WORDSIZE.
10595 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10597         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10599 2012-03-19  David S. Miller  <davem@davemloft.net>
10601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10603         * sysdeps/sparc/fpu/fenv_private.h: New file.
10604         * sysdeps/sparc/fpu/math_private.h: Use it.
10605         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10606         Remove.
10607         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10608         (libc_feholdexcept_setroundl): Remove.
10609         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10610         Remove.
10611         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10612         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10616         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10617         int64_t instead of long int.
10618         (INSERT_WORDS64): Likwise.
10620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10622         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10623         _Unwind_GetCFA return to _Unwind_Ptr first.
10625 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
10627         [BZ #13629]
10628         * math/s_clog.c: Include <float.h>.
10629         (__clog): Scale large or subnormal inputs.
10630         * math/s_clogf.c: Likewise.
10631         * math/s_clogl.c: Likewise.
10632         * math/s_clog10.c: Include <float.h>.
10633         (M_LOG10_2): Define.
10634         (__clog10): Scale large or subnormal inputs.
10635         * math/s_clog10f.c: Likewise.
10636         * math/s_clog10l.c: Likewise.
10637         * math/libm-test.inc (clog_test): Add more tests.
10638         (clog10_test): Likewise.
10639         * sysdeps/i386/fpu/libm-test-ulps: Update.
10640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10642         [BZ #11451]
10643         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10644         x and y.
10645         * math/libm-test.inc (atan2_test): Add another test.
10647         * Makerules (common-objdir-compile): Remove.
10648         * sysdeps/unix/Makefile (config-generated): Do not add
10649         $(unix-generated) to variable.
10650         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10651         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10652         Remove rule.
10653         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10654         Likewise.
10655         [generic bits/local_lim.h] (before-compile): Do not append to
10656         variable.
10657         [generic bits/local_lim.h] (common-generated): Likewise.
10658         [generic sys/param.h] (before-compile): Do not append to variable.
10659         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10660         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10661         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10662         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10663         include.
10664         [generic sys/param.h] (sys/param.h-includes): Remove variable.
10665         [generic sys/param.h] (sys/param.h-includes): Remove rule.
10666         [generic sys/param.h] ($(addprefix
10667         $(common-objpfx),$(sys/param.h-includes))): Likewise.
10668         [generic sys/param.h] (common-generated): Do not append to
10669         variable.
10670         [generic sys/param.h] (sysdep_headers): Likewise.
10671         [generic bits/errno.h] (before-compile): Do not append to
10672         variable.
10673         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10674         rule.
10675         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10676         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10677         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10678         [generic bits/errno.h] (common-generated): Do not append to
10679         variable.
10680         [generic bits/ioctls.h] (before-compile): Do not append to
10681         variable.
10682         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10683         rule.
10684         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10685         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10686         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10687         rule.
10688         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10689         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10690         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10691         [generic bits/ioctls.h] (common-generated): Do not append to
10692         variable.
10693         [generic sys/syscall.h] (syscall.h): Remove variable.
10694         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10695         rule.
10696         [generic sys/syscall.h] (before-compile): Do not append to
10697         variable.
10698         [generic sys/syscall.h] (common-generated): Likewise.
10699         * sysdeps/unix/errnos-tmpl.c: Remove file.
10700         * sysdeps/unix/errnos.awk: Likewise.
10701         * sysdeps/unix/ioctls-tmpl.c: Likewise.
10702         * sysdeps/unix/ioctls.awk: Likewise.
10703         * sysdeps/unix/mk-local_lim.c: Likewise.
10704         * sysdeps/unix/snarf-ioctls: Likewise.
10706 2012-03-19  Richard Henderson  <rth@twiddle.net>
10708         * sysdeps/i386/fpu/fenv_private.h: New file.
10709         * sysdeps/i386/fpu/math_private.h: Use it.
10710         (math_opt_barrier, math_force_eval): Remove.
10711         (libc_feholdexcept_setround_53bit): Remove.
10712         (libc_feupdateenv_53bit): Remove.
10713         * sysdeps/x86_64/fpu/math_private.h: Likewise.
10714         (math_opt_barrier, math_force_eval): Remove.
10715         (libc_feholdexcept): Remove.
10716         (libc_feholdexcept_setround): Remove.
10717         (libc_fetestexcept, libc_fesetenv): Remove.
10718         (libc_feupdateenv_test): Remove.
10719         (libc_feupdateenv, libc_feholdsetround): Remove.
10720         (libc_feresetround): Remove.
10722         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10723         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10725         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10726         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10727         (libc_feupdateenv_testl): New.
10728         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10729         (libc_feupdateenv_testf): New.
10730         (libc_feupdateenv): Use libc_feupdateenv_test.
10731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10732         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10734         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10735         (libc_feholdsetroundf, libc_feholdsetroundl): New.
10736         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10737         (libc_feresetround_noex): New.
10738         (libc_feresetround_noexf): New.
10739         (libc_feresetround_noexl): New.
10740         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10741         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10742         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10743         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10744         SET_RESTORE_ROUND.
10745         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10746         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10747         (__cos): Likewise.
10748         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10749         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10750         SET_RESTORE_ROUND_NOEX.
10751         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10752         SET_RESTORE_ROUND_NOEXF.
10753         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10754         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10755         (libc_feholdsetroundf): New.
10756         (libc_feresetround, libc_feresetroundf): New.
10758         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10759         (libc_feholdexcept_setround_53bit): Convert from macro to function.
10760         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
10762         * sysdeps/generic/math_private.h: Include <fenv.h>.
10763         (default_libc_feholdexcept): New.
10764         (default_libc_feholdexcept_setround): New.
10765         (default_libc_fesetenv, default_libc_feupdateenv): New.
10766         (libc_feholdexcept): Only define if undefined.
10767         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10768         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10769         (libc_feholdexcept_setroundl): Likewise.
10770         (libc_feholdexcept_setround_53bit): Likewise.
10771         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10772         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10773         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10774         (libc_feupdateenv_53bit): Likewise.
10775         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10776         (libc_feholdexcept): Convert from macro to inline function.
10777         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10778         (libc_fesetenv, libc_feupdateenv): Likewise.
10780         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10781         not previously defined.
10782         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10783         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10784         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10785         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10786         * sysdeps/ieee754/flt-32/math_private.h: New file.
10787         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10788         math_private.h below SET_FLOAT_WORD.
10789         (__isnan, __isinf_ns, __finite): Remove.
10790         (__isnanf, __isinf_nsf, __finitef): Remove.
10792 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
10794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10796 2012-03-17  David S. Miller  <davem@davemloft.net>
10798         [BZ #6471]
10799         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10800         for 2.16.
10802 2012-03-16  David S. Miller  <davem@davemloft.net>
10804         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10805         warnings.
10807         [BZ #6471]
10808         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10809         properly.
10810         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10811         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10812         sysdep_routines when subdir is sysvipc.
10813         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10814         __getshmlba helper.
10816         * sysdeps/sparc/fpu/libm-test/ulps: Update.
10818 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10820         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10821         [__LP64__].
10823 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10825         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10826         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10827         (__lround): Renamed to ...
10828         (__llround): This.  Replace long int with long long int.
10829         Define lround functions as aliases of llround functions.
10830         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10832 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10834         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10835         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
10836         adresses to uintptr_t.  Replace "long int" and "unsigned long
10837         int" with "greg_t" on va_arg.
10839 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10841         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10842         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10844         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10845         Move e_machine check before EI_CLASS check.  Handle x32
10846         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10847         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10848         SKIP_EM_IA_64 and include
10849         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10851         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10852         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10853         (add_system_dir): New macro.
10855         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10856         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10858 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10860         [BZ #2551]
10861         [BZ #2552]
10862         [BZ #2553]
10863         [BZ #2554]
10864         [BZ #2562]
10865         [BZ #2563]
10866         [BZ #2565]
10867         [BZ #2566]
10868         [BZ #2576]
10869         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10870         (y0): Likewise.
10871         * math/w_j0f.c (j0f): Likewise.
10872         (y0f): Likewise.
10873         * math/w_j0l.c (__j0l): Likewise.
10874         (__y0l): Likewise.
10875         * math/w_j1.c (j1): Likewise.
10876         (y1): Likewise.
10877         * math/w_j1f.c (j1f): Likewise.
10878         (y1f): Likewise.
10879         * math/w_j1l.c (__j1l): Likewise.
10880         (__y1l): Likewise.
10881         * math/w_jn.c (jn): Likewise.
10882         (yn): Likewise.
10883         * math/w_jnf.c (jnf): Likewise.
10884         (ynf): Likewise.
10885         * math/w_jnl.c (__jnl): Likewise.
10886         (__ynl): Likewise.
10887         * math/libm-test.inc (j0_test): Add more tests.
10888         (j1_test): Likewise.
10889         (jn_test): Likewise.  Add trailing semicolon to existing test.
10890         (y0_test): Likewise.
10891         (y1_test): Likewise.
10892         * sysdeps/i386/fpu/libm-test-ulps: Update.
10893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10895         [BZ #13851]
10896         [BZ #13854]
10897         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10898         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10899         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10900         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10901         (__tanl): Set errno for infinite argument.
10902         * sysdeps/i386/fpu/mptan.c: Remove.
10903         * sysdeps/i386/fpu/s_tan.S: Likewise.
10904         * sysdeps/i386/fpu/s_tanl.S: Likewise.
10905         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10906         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10907         * math/libm-test.inc (tan_test): Add more tests and enable more
10908         tests for double and long double.
10909         * sysdeps/i386/fpu/libm-test-ulps: Update.
10910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10912 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10914         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10915         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10917 2012-03-16  Roland McGrath  <roland@hack.frob.com>
10919         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10920         * configure.in: Use it for both main tree and add-ons.
10921         * configure: Regenerated.
10923 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10925         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10927 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10929         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10930         in comment.
10932         [BZ #13851]
10933         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10934         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10935         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10936         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10937         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10938         infinite argument.
10939         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10940         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10941         != 0 for prec == 2.
10942         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10943         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10944         * sysdeps/i386/fpu/s_cosl.S: Likewise.
10945         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10946         * sysdeps/i386/fpu/s_sinl.S: Likewise.
10947         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10948         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10949         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10950         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10951         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10952         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10953         * math/libm-test.inc (cos_test): Add more tests and enable more
10954         tests for long double.
10955         (sin_test): Likewise.
10956         (sincos_test): Likewise.
10957         * sysdeps/i386/fpu/libm-test-ulps: Update.
10958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10960 2012-03-16  David S. Miller  <davem@davemloft.net>
10962         * sysdeps/sparc/fpu/math_private.h: New file.
10964 2012-03-15  David S. Miller  <davem@davemloft.net>
10966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10967         file.
10968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10970         file.
10971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10976         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10977         sysdep routines.
10978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10980         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10981         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10983         * sysdeps/sparc/sparc-ifunc.h: New file.
10984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10985         sparc-ifunc.h
10986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10988         Likewise.
10989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10990         Likewise.
10991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10995         Likewise.
10996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11001         Likewise.
11002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11003         Likewise.
11004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11010         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11011         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11012         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11021         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11022         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11023         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11025         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11026         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11027         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11029 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
11031         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11032         scaling.
11033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11035 2012-03-15  Andreas Jaeger  <aj@suse.de>
11037         [BZ #13852]
11038         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11039         ieee754/flt-32 implementation for sin, cos and sincos.
11040         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11041         * sysdeps/i386/fpu/s_cosf.S: Likewise.
11042         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11043         * sysdeps/i386/fpu/s_sinf.S: Likewise.
11044         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11045         ieee754/flt-32 implementation for tan.
11047         * math/libm-test.inc (cos_test): Enable some large input tests for
11048         float as well
11049         (sin_test): Likewise.
11050         (sincos_test): Likewise.
11051         (tan_test): Add tests for large input.
11053         * sysdeps/i386/fpu/libm-test-ulps: Update.
11055 2012-03-15  Andreas Jaeger  <aj@suse.de>
11057         [BZ #13658]
11058         * math/libm-test.inc (cos_test): Add more test cases.
11059         (sin_test): Likewise.
11060         (sincos_test): Likewise.
11062 2012-03-15  Andreas Jaeger  <aj@suse.de>
11064         [BZ #13837]
11065         * math/libm-test.inc (cos_test): Add a test case for large input
11066         value.
11067         (sin_test): Likewise.
11068         (sincos_test): Likewise.
11070 2012-03-15  Andreas Jaeger  <aj@suse.de>,
11071         Joseph Myers  <joseph@codesourcery.com>
11073         [BZ #13658]
11074         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11075         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11076         * sysdeps/i386/fpu/branred.c: Likewise.
11077         * sysdeps/i386/fpu/dosincos.c: Likewise.
11078         * sysdeps/i386/fpu/mpa.c: Likewise.
11079         * sysdeps/i386/fpu/s_cos.S: Likewise.
11080         * sysdeps/i386/fpu/s_sin.S: Likewise.
11081         * sysdeps/i386/fpu/s_sincos.S: Likewise.
11082         * sysdeps/i386/fpu/sincos32.c: Likewise.
11084         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11085         Define.
11086         (libc_feupdateenv_53bit): Define.
11087         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11088         Define.
11089         (libc_feupdateenv_53bit): Define.
11091         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11092         53 bit (without extend i386 double precision).
11094         * math/libm-test.inc (sincos_test): Add tests for large input.
11095         (sin): Likewise.
11096         (cos): Likewise.
11098         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11100 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
11102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11104 2012-03-15  David S. Miller  <davem@davemloft.net>
11106         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11107         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11108         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11109         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11122         file.
11123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11125         file.
11126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11128         file.
11129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11131         file.
11132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11133         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11134         fmin/fmax sysdep routines.
11135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11137 2012-03-14  David S. Miller  <davem@davemloft.net>
11139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11146         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11162         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11166         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11167         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11168         routines.
11169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11170         file.
11171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11173         file.
11174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11176         file.
11177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11179         file.
11180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11182         file.
11183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11185         file.
11186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11187         file.
11188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11189         file.
11190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11191         file.
11192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11193         New file.
11194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11195         file.
11196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11197         file.
11198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11200         file.
11201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11203         file.
11204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11206         file.
11207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11209         VIS3 routines.
11211         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11212         New file.
11214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11216         * sysdeps/sparc/configure.in: New file.
11217         * sysdeps/sparc/configure: Generate.
11218         * configure.in (libc_cv_sparc_as_vis3): Substitute.
11219         * configure: Regenerate.
11220         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11221         * config.make.in (have-as-vis3): New.
11222         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11223         available use -Av9d instead of -Av9a.
11224         * sysdeps/sparc/sparc64/Makefile: Likewise.
11225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11227         New file.
11228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11229         file.
11230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11231         New file.
11232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11233         file.
11234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11237         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11238         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11240         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11241         fzeros/fnegs to load 0x80000000 into a float register instead of
11242         using the stack.
11243         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11245 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
11247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11248         bits/syscall.h.
11249         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11250         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11251         ($(inst_includedir)/bits/syscall.h): Remove rule.
11252         ($(objpfx)bits/syscall.d): Include instead of
11253         $(objpfx)syscall-list.d.
11254         (generated): Change syscall-list.h and syscall-list.d to
11255         bits/syscall.h and bits/syscall.d.
11257 2012-03-14  Roland McGrath  <roland@hack.frob.com>
11259         [BZ #13846]
11260         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11262 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
11264         [BZ #13841]
11265         * math/s_csqrt.c: Include <float.h>.
11266         (__csqrt): Scale large or subnormal inputs.
11267         * math/s_csqrtf.c: Likewise.
11268         * math/s_csqrtl.c: Likewise.
11269         * math/libm-test.inc (csqrt_test): Add more tests.
11270         * sysdeps/i386/fpu/libm-test-ulps: Update.
11271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11273         [BZ #13840]
11274         * math/libm-test.inc (hypot_test): Add more tests.
11276 2012-03-13  David S. Miller  <davem@davemloft.net>
11278         [BZ #13840]
11279         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11280         double-precision for the calculation instead of scaling.
11282 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
11284         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11285         manipulate bits before adding and subtracting TWO52[sx].
11286         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11287         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11288         Likewise.
11289         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11291 2012-03-13  David S. Miller  <davem@davemloft.net>
11293         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11294         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11296         rtld-global-offsets.h
11297         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11299         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11300         large parameters.
11302         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11304         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11305         'err' in the ifdef scope in which it is actually used.
11307         * nss/nss_db/db-init.c: Include string.h
11309 2012-03-12  David S. Miller  <davem@davemloft.net>
11311         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11312         masking out of the most significant byte of random value used.
11313         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11314         Fix coding style in previous change.
11316         * sysdeps/unix/sysv/linux/kernel-features.h
11317         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11318         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11319         expression.
11320         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11321         later.
11323 2012-03-11  David S. Miller  <davem@davemloft.net>
11325         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11326         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11327         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11328         for 'resultvar' otherwise things get truncated on 64-bit.
11330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11331         Fix masking out of the most significant byte of random value used.
11333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11335 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
11337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11339 2012-03-09  David S. Miller  <davem@davemloft.net>
11341         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11342         variables with appropriate CPP guards.
11343         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11344         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
11345         on resulting framesize and the management of the outregs buffer for pltexit.
11346         Preserve floating point return values across _dl_call_pltexit call.
11347         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11348         framesize and the management of the outregs buffer for pltexit.
11349         Preserve floating point return values across _dl_call_pltexit
11350         call.
11351         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11352         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11353         (print_exit): Fix format string for return register value.
11355 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
11357         * sunrpc/Makefile (others): Add rpcgen.
11358         ($(objpfx)rpcgen): Remove special build rule and dependency on
11359         libc.
11360         * sunrpc/rpcgen.c: New file.
11362 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
11364         [BZ #13673]
11365         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11366         * stdio-common/bug-vfprintf-nargs.c: Likewise.
11367         * sysdeps/i386/crti.S: Likewise.
11368         * sysdeps/i386/crtn.S: Likewise.
11369         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11370         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11371         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11372         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11373         * sysdeps/sh/crti.S: Likewise.
11374         * sysdeps/sh/crtn.S: Likewise.
11375         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11377         [BZ #13673]
11378         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11379         with URL.
11380         * locale/programs/locfile-kw.gperf: Likewise.
11381         * locale/programs/charmap-kw.h: Regenerated.
11382         * locale/programs/locfile-kw.h: Likewise.
11384         [BZ #13673]
11385         * intl/plural.y: Replace FSF snail mail address with URL.
11386         * intl/plural.c: Regenerated.
11388 2012-03-09  Richard Henderson  <rth@twiddle.net>
11390         * include/math_private.h: Remove file.
11391         * math/math_private.h: Move file ...
11392         * sysdeps/generic/math_private.h: ... here.
11394         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11395         * sysdeps/powerpc/fpu/math_private.h: Likewise.
11396         * sysdeps/x86_64/fpu/math_private.h: Likewise.
11398         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11399         and <math_private.h>.
11400         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11401         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11402         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11403         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11404         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11405         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11406         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11407         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11408         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11409         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11410         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11411         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11412         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11413         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11414         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11415         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11416         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11417         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11418         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11419         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11420         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11421         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11422         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11424         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11425         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11426         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11427         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11428         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11429         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11430         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11431         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11432         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11433         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11434         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11435         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11436         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11437         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11438         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11439         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11440         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11441         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11442         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11443         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11444         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11445         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11446         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11447         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11448         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11449         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11450         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11451         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11452         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11453         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11454         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11455         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11456         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11457         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11458         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11459         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11460         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11461         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11462         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11463         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11464         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11465         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11466         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11467         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11468         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11469         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11470         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11471         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11472         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11473         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11474         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11478         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11479         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11480         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11481         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11482         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11483         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11487         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11488         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11489         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11490         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11491         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11492         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11493         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11494         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11495         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11496         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11497         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11498         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11499         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11500         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11501         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11502         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11503         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11504         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11505         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11506         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11507         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11508         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11509         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11510         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11511         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11512         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11513         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11514         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11515         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11516         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11517         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11518         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11519         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11520         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11521         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11522         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11523         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11524         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11525         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11526         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11527         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11528         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11529         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11530         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11531         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11532         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11533         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11534         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11535         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11536         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11537         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11538         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11539         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11540         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11541         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11542         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11543         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11544         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11545         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11546         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11547         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11548         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11549         * sysdeps/ieee754/k_standard.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11551         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11555         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11556         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11559         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11560         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11561         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11571         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11576         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11577         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11578         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11579         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11580         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11581         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11582         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11583         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11584         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11585         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11586         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11587         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11588         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11589         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11590         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11591         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11592         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11593         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11594         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11595         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11596         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11598         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11599         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11600         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11601         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11602         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11603         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11604         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11605         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11606         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11607         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11608         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11609         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11610         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11611         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11612         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11613         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11614         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11615         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11616         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11617         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11618         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11619         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11620         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11621         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11622         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11623         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11624         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11625         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11626         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11627         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11628         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11629         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11630         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11631         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11633         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11634         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11635         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11636         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11637         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11638         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11639         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11640         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11641         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11642         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11643         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11644         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11645         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11646         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11647         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11648         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11649         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11650         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11651         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11652         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11653         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11654         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11655         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11656         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11657         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11658         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11659         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11660         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11661         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11662         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11663         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11664         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11665         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11666         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11667         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11668         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11669         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11670         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11671         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11672         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11673         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11675         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11676         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11677         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11678         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11679         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11680         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11681         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11682         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11683         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11684         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11685         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11686         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11687         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11688         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11689         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11690         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11691         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11692         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11693         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11694         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11695         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11696         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11697         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11698         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11699         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11700         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11701         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11702         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11703         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11704         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11705         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11706         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11707         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11708         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11709         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11710         * sysdeps/ieee754/s_lib_version.c: Likewise.
11711         * sysdeps/ieee754/s_matherr.c: Likewise.
11712         * sysdeps/ieee754/s_signgam.c: Likewise.
11713         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11714         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11715         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11716         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11717         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11718         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11719         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11720         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11721         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11722         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11723         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11724         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11725         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11726         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11727         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11728         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11729         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11730         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11731         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11735 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11737         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11738         * sunrpc/rpc_main.c: Likewise.
11739         * sunrpc/rpc_svcout.c: Likewise.
11741 2012-03-09  David S. Miller  <davem@davemloft.net>
11743         * include/math_private.h: New file.
11745 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11747         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11748         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11749         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11750         from <bits/socket_type.h>.
11751         (enum __socket_type): Don't define here.
11752         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11754         bits/socket_type.h.
11756         [BZ #13566]
11757         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11758         checking __USE_GNU.
11760         * Makerules ($(inst_includedir)/%.h): New rule.
11761         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11762         (install-others): Remove variable setting.
11763         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11765 2012-03-08  Richard Henderson  <rth@twiddle.net>
11767         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11768         from macro to inline function; merge with the
11769         !__LIBC_INTERNAL_MATH_INLINES version.
11770         (__ieee754_sqrtf): Likewise.
11772         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11773         to inline function.
11774         (__rintf, __floor, __floorf): Likewise.
11776         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11777         macro to inline function.
11778         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11780         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11781         not <math/math_private.h>.
11783 2012-03-08  David S. Miller  <davem@davemloft.net>
11785         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11786         copyright year.
11787         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11789 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
11791         * resolv/gai_misc.c (handle_requests): Fix struct timespec
11792         normalization.
11793         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11794         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11796 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
11798         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
11799         be defined individually, they must be defined as a block.  Define
11800         S for printing a string instead of hidint the different by using a
11801         macro for adding the 'l'.
11802         * stdio-common/tst-fphex-wide.c: Adjust.
11804 2012-03-07  Marek Polacek  <polacek@redhat.com>
11806         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11808 2012-03-08  Marek Polacek  <polacek@redhat.com>
11810         [BZ #13806]
11811         * stdio-common/Makefile (tests): Add tst-fphex-wide.
11812         * stdio-common/tst-fphex.c: Define a few macros to make the
11813         test reusable.  Use them.
11814         * stdio-common/tst-fphex-wide.c: New file.
11816 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
11818         [BZ #6911]
11819         * manual/macros.texi (gnusystems): New macro.
11820         (nongnusystems): Likewise.
11821         (gnulinuxhurdsystems): Likewise.
11822         (gnuhurdsystems): Likewise..
11823         (gnulinuxsystems): Likewise.
11824         * manual/charset.texi: Use new macros or @theglibc{} to refer to
11825         variants of the GNU system, not "GNU system".
11826         * manual/conf.texi: Likewise.
11827         * manual/errno.texi: Likewise.  Update example of errno macro
11828         expansion.
11829         * manual/filesys.texi: Likewise.
11830         (getumask): Document as specific to GNU/Hurd.
11831         * manual/install.texi: Likewise.  Reword some references to
11832         GNU/Linux.
11833         * manual/intro.texi: Likewise.
11834         * manual/io.texi: Likewise.
11835         (File Name Portability): Detail which constraints are inapplicable
11836         to all GNU systems and which are only inapplicable to GNU/Hurd.
11837         * manual/job.texi: Likewise.
11838         * manual/llio.texi: Likewise.
11839         (O_NOCTTY): Document as present on GNU/Linux.
11840         * manual/maint.texi: Likewise.
11841         * manual/memory.texi: Likewise.
11842         * manual/pattern.texi: Likewise.
11843         * manual/pipe.texi: Likewise.
11844         * manual/process.texi: Likewise.
11845         * manual/resource.texi: Likewise.
11846         (RUSAGE_CHILDREN): Remove statement about specifying a particular
11847         child on GNU/Hurd.
11848         * manual/setjmp.texi: Likewise.
11849         * manual/signal.texi: Likewise.
11850         * manual/startup.texi: Likewise.
11851         * manual/stdio.texi: Likewise.
11852         * manual/terminal.texi: Likewise.
11853         (ONLCR): Document as POSIX.
11854         (OXTABS): Document availability on GNU/Linux as XTABS.
11855         (ONOEOT): Document availability separately from other bits.
11856         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11857         * manual/time.texi: Likewise.
11858         * manual/users.texi: Likewise.
11859         * INSTALL: Regenerated.
11860         * sysdeps/gnu/errlist.c: Regenerated.
11862         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11863         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11864         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
11865         puts.
11866         * configure: Regenerated.
11868 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
11870         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11871         default includes instead of AC_HEADER_CHECK.
11872         * sysdeps/i386/configure: Regenerated.
11874         [BZ #10716]
11875         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11876         * math/s_cacoshf.c (__cacoshf): Likewise.
11877         * math/s_cacoshl.c (__cacoshl): Likewise.
11878         * math/s_casinh.c (__casinh): Set signs of result from argument.
11879         * math/s_casinhf.c (__casinhf): Likewise.
11880         * math/s_casinhl.c (__casinhl): Likewise.
11881         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11882         (casinh_test): Add more tests.
11883         * sysdeps/i386/fpu/libm-test-ulps: Update.
11884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11886 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
11888         * po/zh_TW.po: Update from translation team.
11890         * login/Makefile (distribute): Remove variable.
11891         * catgets/Makefile: Likewise.
11892         * mach/Makefile: Likewise.
11893         * malloc/Makefile: Likewise.
11894         * misc/Makefile: Likewise.
11895         * iconv/Makefile: Likewise.
11896         * nscd/Makefile: Likewise.
11897         * hurd/Makefile: Likewise.
11898         * manual/Makefile: Likewise.
11899         * locale/Makefile: Likewise.
11900         * intl/Makefile: Likewise.
11901         * conform/Makefile: Likewise.
11902         * nss/Makefile: Likewise.
11903         * time/Makefile: Likewise.
11904         * soft-fp/Makefile: Likewise.
11905         * dirent/Makefile: Likewise.
11906         * gmon/Makefile: Likewise.
11907         * po/Makefile: Likewise.
11908         * rt/Makefile: Likewise.
11909         * socket/Makefile: Likewise.
11910         * math/Makefile: Likewise.
11911         * signal/Makefile: Likewise.
11912         * debug/Makefile: Likewise.
11913         * elf/Makefile: Likewise.
11914         * timezone/Makefile: Likewise.
11915         * stdlib/Makefile: Likewise.
11916         * iconvdata/Makefile: Likewise.
11917         * sunrpc/Makefile: Likewise.
11918         * io/Makefile: Likewise.
11919         * argp/Makefile: Likewise.
11920         * inet/Makefile: Likewise.
11921         * hesiod/Makefile: Likewise.
11922         * grp/Makefile: Likewise.
11923         * csu/Makefile: Likewise.
11924         * wctype/Makefile: Likewise.
11925         * crypt/Makefile: Likewise.
11926         * libio/Makefile: Likewise.
11927         * string/Makefile: Likewise.
11928         * nis/Makefile: Likewise.
11929         * resolv/Makefile: Likewise.
11930         * stdio-common/Makefile: Likewise.
11931         * wcsmbs/Makefile: Likewise.
11932         * dlfcn/Makefile: Likewise.
11933         * posix/Makefile: Likewise.
11935         [BZ #6959]
11936         * timezone/Makefile: Don't install timezone files, just the programs
11937         and scripts.
11939 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
11941         * nss/databases.def: Add missing gshadow entry.
11943         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
11945 2012-03-06  Marek Polacek  <polacek@redhat.com>
11947         [BZ #13726]
11948         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11949         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11950         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11951         * stdio-common/tst-long-dbl-fphex.c: New file.
11953 2012-03-06  David S. Miller  <davem@davemloft.net>
11955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11956         (set_obp_int): New function.
11957         (get_obp_int): New function.
11958         (__get_clockfreq_via_dev_openprom): Likewise.
11959         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11960         Avoid unused variable warnings on 'val' and use builtin_expect.
11961         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11962         __builtin_expect.
11963         (INLINE_CLONE_SYSCALL): Likewise.
11965 2012-03-05  David S. Miller  <davem@davemloft.net>
11967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11969 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
11971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11973         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11974         only for |x| >= 40.
11975         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11977 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11979         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11980         Replace gettimeofday with __vdso_gettimeofday.
11982         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11983         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11984         __vdso_clock_gettime and __vdso_getcpu.
11986         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11987         time with __vdso_time.
11989 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
11991         * manual/lang.texi (size_t): Note types to which size_t may be
11992         equivalent with the GNU C Library, but do not describe when
11993         differences between them are significant.
11995 2012-03-05  Andreas Jaeger  <aj@suse.de>
11997         * sysdeps/i386/fpu/libm-test-ulps: Update.
11999 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
12001         [BZ #3976]
12002         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12003         (__ieee754_pow): Save and restore rounding mode and use
12004         round-to-nearest for main computations.
12005         * math/libm-test.inc (pow_test_tonearest): New function.
12006         (pow_test_towardzero): Likewise.
12007         (pow_test_downward): Likewise.
12008         (pow_test_upward): Likewise.
12009         (main): Call the new functions.
12010         * sysdeps/i386/fpu/libm-test-ulps: Update.
12011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12013         [BZ #3976]
12014         * math/libm-test.inc (cosh_test_tonearest): New function.
12015         (cosh_test_towardzero): Likewise.
12016         (cosh_test_downward): Likewise.
12017         (cosh_test_upward): Likewise.
12018         (sinh_test_tonearest): Likewise.
12019         (sinh_test_towardzero): Likewise.
12020         (sinh_test_downward): Likewise.
12021         (sinh_test_upward): Likewise.
12022         (main): Call the new functions.
12023         * sysdeps/i386/fpu/libm-test-ulps: Update.
12024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12026 2012-03-05  Tom de Vries  <tom@codesourcery.com>
12028         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12029         default stack guard is set in last bytes.
12030         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12032 2012-03-05  Kees Cook  <keescook@chromium.org>
12034         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12036         [BZ #13656]
12037         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12038         possibly allocate from heap instead of stack.
12039         * stdio-common/bug-vfprintf-nargs.c: New file.
12040         * stdio-common/Makefile (tests): Add nargs overflow test.
12042 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
12044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12046 2012-03-03  Marek Polacek  <polacek@redhat.com>
12048         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12049         * math/math_private.h: Likewise.
12050         * stdlib/tst-strtod.c: Likewise.
12051         * sysdeps/i386/i486/bits/atomic.h: Likewise.
12052         * sysdeps/x86_64/bits/atomic.h: Likewise.
12054 2012-03-02  David S. Miller  <davem@davemloft.net>
12056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12060         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12061         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12062         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12063         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12065 2012-03-02  Roland McGrath  <roland@hack.frob.com>
12067         [BZ #13792]
12068         * manual/examples/README: New file, says the example source files
12069         can be used under GPL>=2.
12070         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12071         line containing just "*/".
12072         * manual/examples/add.c: Add copyright header (GPL>=2).
12073         * manual/examples/argp-ex1.c: Likewise.
12074         * manual/examples/argp-ex2.c: Likewise.
12075         * manual/examples/argp-ex3.c: Likewise.
12076         * manual/examples/argp-ex4.c: Likewise.
12077         * manual/examples/atexit.c: Likewise.
12078         * manual/examples/db.c: Likewise.
12079         * manual/examples/dir.c: Likewise.
12080         * manual/examples/dir2.c: Likewise.
12081         * manual/examples/execinfo.c: Likewise.
12082         * manual/examples/filecli.c: Likewise.
12083         * manual/examples/filesrv.c: Likewise.
12084         * manual/examples/fmtmsgexpl.c: Likewise.
12085         * manual/examples/genpass.c: Likewise.
12086         * manual/examples/inetcli.c: Likewise.
12087         * manual/examples/inetsrv.c: Likewise.
12088         * manual/examples/isockad.c: Likewise.
12089         * manual/examples/longopt.c: Likewise.
12090         * manual/examples/memopen.c: Likewise.
12091         * manual/examples/memstrm.c: Likewise.
12092         * manual/examples/mkfsock.c: Likewise.
12093         * manual/examples/mkisock.c: Likewise.
12094         * manual/examples/mygetpass.c: Likewise.
12095         * manual/examples/pipe.c: Likewise.
12096         * manual/examples/popen.c: Likewise.
12097         * manual/examples/rprintf.c: Likewise.
12098         * manual/examples/search.c: Likewise.
12099         * manual/examples/select.c: Likewise.
12100         * manual/examples/setjmp.c: Likewise.
12101         * manual/examples/sigh1.c: Likewise.
12102         * manual/examples/sigusr.c: Likewise.
12103         * manual/examples/stpcpy.c: Likewise.
12104         * manual/examples/strdupa.c: Likewise.
12105         * manual/examples/strftim.c: Likewise.
12106         * manual/examples/strncat.c: Likewise.
12107         * manual/examples/subopt.c: Likewise.
12108         * manual/examples/swapcontext.c: Likewise.
12109         * manual/examples/termios.c: Likewise.
12110         * manual/examples/testopt.c: Likewise.
12111         * manual/examples/testpass.c: Likewise.
12112         * manual/examples/timeval_subtract.c: Likewise.
12114         [BZ #13792]
12115         * manual/time.texi (Elapsed Time): Move timeval_subtract example
12116         function to ...
12117         * manual/timeval_subtract.c.texi: ... here, new file.
12119 2012-03-02  David S. Miller  <davem@davemloft.net>
12121         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12123 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
12125         [BZ #3976]
12126         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12127         (__sin): Save and restore rounding mode and use round-to-nearest
12128         for all computations.
12129         (__cos): Save and restore rounding mode and use round-to-nearest
12130         for all computations.
12131         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12132         <fenv.h>.
12133         (tan): Save and restore rounding mode and use round-to-nearest for
12134         all computations.
12135         * math/libm-test.inc (cos_test_tonearest): New function.
12136         (cos_test_towardzero): Likewise.
12137         (cos_test_downward): Likewise.
12138         (cos_test_upward): Likewise.
12139         (sin_test_tonearest): Likewise.
12140         (sin_test_towardzero): Likewise.
12141         (sin_test_downward): Likewise.
12142         (sin_test_upward): Likewise.
12143         (tan_test_tonearest): Likewise.
12144         (tan_test_towardzero): Likewise.
12145         (tan_test_downward): Likewise.
12146         (tan_test_upward): Likewise.
12147         (main): Call the new functions.
12148         * sysdeps/i386/fpu/libm-test-ulps: Update.
12149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12151         [BZ #10135]
12152         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12153         small n, then large n, before computing and testing k+n.
12154         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12155         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12156         Likewise.
12157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12158         Likewise.
12159         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12160         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12161         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12162         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12163         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12164         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12165         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12166         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12167         * math/libm-test.inc (scalbn_test): Add more tests.
12168         (scalbln_test): Likewise.
12170         * manual/filesys.texi (mode_t): Describe constraints on size and
12171         signedness, not exact equivalence to a particular type.
12172         (ino_t): Likewise.
12173         (ino64_t): Likewise.
12174         (dev_t): Likewise.
12175         (nlink_t): Likewise.
12176         (blkcnt_t): Likewise.
12177         (blkcnt64_t): Likewise.
12178         * manual/llio.texi (off_t): Likewise.
12180         [BZ #3976]
12181         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12182         (__ieee754_exp): Save and restore rounding mode and use
12183         round-to-nearest for all computations.
12184         * math/libm-test.inc (exp_test_tonearest): New function.
12185         (exp_test_towardzero): Likewise.
12186         (exp_test_downward): Likewise.
12187         (exp_test_upward): Likewise.
12188         (main): Call the new functions.
12189         * sysdeps/i386/fpu/libm-test-ulps: Update.
12190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192 2012-03-01  Chris Demetriou  <cgd@google.com>
12194         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12195         have predictable order.
12197 2012-03-01  David S. Miller  <davem@davemloft.net>
12199         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12201         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12202         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12203         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12204         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12206         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12207         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12208         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12210         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12211         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12212         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12213         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12214         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12218         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12219         * sysdeps/sparc/fpu/libm-test-ulps: to here.
12220         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12222         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12223         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12224         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12225         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12226         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12228         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12229         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12230         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12231         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12232         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12233         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12234         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12235         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12236         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12238         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12239         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12240         * sysdeps/sparc/elf/configure: Regenerated.
12242 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
12244         * configure.in (AS, LD): Require binutils 2.20 or later.
12245         * configure: Regenerated.
12246         * manual/install.texi (Tools for Compilation): Give binutils 2.20
12247         as required minimum version.
12248         * INSTALL: Regenerated.
12250         [BZ #2541]
12251         [BZ #4108]
12252         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12253         before squaring exponent.
12254         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12255         bottom long double and 27 bits of top long double before squaring
12256         exponent.
12257         * math/libm-test.inc (erfc_test): Add more tests.
12258         * sysdeps/i386/fpu/libm-test-ulps: Update.
12259         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12262 2012-03-01  Kai Tietz  <ktietz@redhat.com>
12264         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12265         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12266         containing bit-fields.
12267         * soft-fp/extended.h (_FP_UNION_E): Likewise.
12268         * soft-fp/single.h (_FP_UNION_S): Likewise.
12269         * soft-fp/double.h (_FP_UNION_D): Likewise.
12271 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
12273         [BZ #13786]
12274         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12275         not include ../strcmp.S.
12276         [USE_AS_STRNCASECMP_L]: Likewise.
12277         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12278         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12279         * sysdeps/i386/i686/multiarch/strncase_l-c.c
12280         (__strncasecmp_l_ia32): Define as alias to
12281         __strncasecmp_l_nonascii.
12283         [BZ #5794]
12284         * math/libm-test.inc (expm1_test): Add test for bug 5794.
12285         * sysdeps/i386/fpu/libm-test-ulps: Update.
12286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12288         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12291 2012-02-29  Jeff Law  <law@redhat.com>
12293         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12294         out of bounds read.
12296 2012-02-29  Marek Polacek  <polacek@redhat.com>
12298         [BZ #13706]
12299         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12300         * elf/Makefile: Add rules to run tst-unused-dep.out.
12302 2012-02-28  David S. Miller  <davem@davemloft.net>
12304         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12305         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12306         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12307         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12308         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12309         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12311 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
12313         * math/libm-test.inc (llround_test): Move one test from
12314         lround_test.  Use TEST_f_L in moved test.
12315         (lround_test): Move misplaced test to llround_test.  Add testcase
12316         from bug 2561.
12318 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
12320         * sysdeps/x86_64/fpu/e_expf.S: New file.
12321         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12323 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
12325         [BZ #13637]
12326         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12327         of remain_len that may cause incomplete multi-byte character and
12328         false match.
12329         * posix/bug-regex33.c: New file.
12330         * posix/Makefile (tests): Add bug-regex33.
12332 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
12334         * manual/macros.texi: New file.
12335         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12336         * manual/libc.texinfo: Include macros.texi.
12337         * manual/creatute.texi: Likewise.
12338         * manual/install.texi: Likewise.
12339         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12340         @glibcadj{} in references to the GNU C Library.
12341         * manual/charset.texi: Likewise.
12342         * manual/conf.texi: Likewise.
12343         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
12344         when not using those macros.
12345         * manual/creature.texi: Likewise.
12346         * manual/crypt.texi: Likewise.
12347         * manual/errno.texi: Likewise.
12348         * manual/filesys.texi: Likewise.
12349         * manual/header.texi: Likewise.
12350         * manual/install.texi: Likewise.
12351         * manual/intro.texi: Likewise.
12352         * manual/io.texi: Likewise.
12353         * manual/job.texi: Likewise.
12354         * manual/lang.texi: Likewise.
12355         * manual/libc.texiinfo: Likewise.
12356         * manual/llio.texi: Likewise.
12357         * manual/locale.texi: Likewise.
12358         * manual/maint.texi: Likewise.
12359         * manual/math.texi: Likewise.
12360         * manual/memory.texi: Likewise.
12361         * manual/message.texi: Likewise.
12362         * manual/nss.texi: Likewise.
12363         * manual/pattern.texi: Likewise.
12364         * manual/process.texi: Likewise.
12365         * manual/resource.texi: Likewise.
12366         * manual/search.texi: Likewise.
12367         * manual/setjmp.texi: Likewise.
12368         * manual/signal.texi: Likewise.
12369         * manual/socket.texi: Likewise.
12370         * manual/startup.texi: Likewise.
12371         * manual/stdio.texi: Likewise.
12372         * manual/string.texi: Likewise.
12373         * manual/sysinfo.texi: Likewise.
12374         * manual/syslog.texi: Likewise.
12375         * manual/terminal.texi: Likewise.
12376         * manual/time.texi: Likewise.
12377         * manual/users.texi: Likewise.
12378         * INSTALL: Regenerated.
12379         * NOTES: Regenerated.
12380         * sysdeps/gnu/errlist.c: Regenerated.
12382 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
12384         * include/dirent.h: Include <dirstream.h> before
12385         <dirent/dirent.h>.
12387 2012-02-28  David S. Miller  <davem@davemloft.net>
12389         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12390         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12391         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12392         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12394 2012-02-27  David S. Miller  <davem@davemloft.net>
12396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12398         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12399         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12402         frame pointer instead of stack pointer relative arg slot.
12403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12404         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12405         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12407 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
12409         [BZ #3992]
12410         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12412 2012-02-27  David S. Miller  <davem@davemloft.net>
12414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12418         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12419         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12420         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12421         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12423 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
12425         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12426         later.  Allow versions 5-9.
12427         * configure: Regenerated.
12428         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12429         required minimum version and 4.6 as recommended version.  Do not
12430         mention bugs in GCC 2.7 and 2.8.
12431         * INSTALL: Regenerated.
12433 2012-02-27  David S. Miller  <davem@davemloft.net>
12435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12439         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12440         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12441         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12442         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12444         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12445         manipulate bits before adding and subtracting TWO112[sx].
12446         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12448 2012-02-27  Roland McGrath  <roland@hack.frob.com>
12450         [BZ #13775]
12451         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12452         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12453         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12454         being in POSIX, because they are in 1003.1-2008.
12456         * rt/tst-aio.c: Include <fcntl.h>.
12457         * rt/tst-aio7.c: Likewise.
12458         * rt/tst-aio64.c: Likewise.
12460         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12462 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
12464         * manual/install.texi (--with-headers): Describe headers as
12465         interface headers, not private headers.
12466         (Specific advice for GNU/Linux systems): Describe use of headers
12467         from "make headers_install", not private headers from older
12468         kernels.
12469         * INSTALL: Regenerated.
12470         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12471         Change to 2.6.19.
12472         * sysdeps/unix/sysv/linux/configure: Regenerated.
12474         * manual/llio.texi (fclean): Remove documentation.
12476         * manual/Makefile (libc-texi-generated): New variable.  Include
12477         version.texi.
12478         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12479         $(libc-texi-generated), not duplicated list of files.
12480         (version.texi, stamp-version): New rules.
12481         (realclean): Remove $(libc-texi-generated), not individual files
12482         from that list.  Do not remove dir-add.texinfo.
12483         * manual/libc.texinfo: Comment out uses of edition numbers and
12484         references to printed manual.  Remove last-updated dates.
12485         (EDITION): Comment out.
12486         (ISBN): Likewise.
12487         (VERSION, UPDATED): Remove.
12488         (version.texi): Include.
12490 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
12492         * sysdeps/posix/spawni.c: Include <signal.h>.
12493         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12494         * sysdeps/pthread/aio_fsync.c: Likewise.
12496 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
12498         * conform/Makefile (tests): Run only when not cross-compiling and
12499         when fast-check is not defined.
12501         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12502         * conform/data/limits.h-data: Fixes for POSIX2008.
12503         * conform/run-conformtest.sh: Run all tests.
12504         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12505         headers.
12506         * include/bits/dlfcn.h: Likewise.
12507         * include/langinfo.h: Likewise.
12508         * include/monetary.h: Likewise.
12509         * include/sys/poll.h: Likewise.
12511         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12512         for __USE_GNU.
12513         * posix/spawn.h: Define __need_sigset_t.
12514         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12515         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12516         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
12517         to get sigevent_t only.
12518         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12519         only for __USE_GNU.
12520         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12521         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12522         process_vm_writev only for __USE_GNU.
12523         * termios/termios.h: Declare tcgetsid also for POSIX2008.
12525         * conform/Makefile: For now ignore errors from run-conformtest.
12526         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
12527         POSIX to avoid namespace pollution.  Don't prepend headers.
12528         * conform/data/aio.h-data: Fixes for POSIX testing.
12529         * conform/data/fcntl.h-data: Likewise.
12530         * conform/data/glob.h-data: Likewise.
12531         * conform/data/grp.h-data: Likewise.
12532         * conform/data/pthread.h-data: Likewise.
12533         * conform/data/pwd.h-data: Likewise.
12534         * conform/data/signal.h-data: Likewise.
12535         * conform/data/spawn.h-data: Likewise.
12536         * conform/data/stdio.h-data: Likewise.
12537         * conform/data/stdlib.h-data: Likewise.
12538         * conform/data/stropts.h-data: Likewise.
12539         * conform/data/sys/mman.h-data: Likewise.
12540         * conform/data/sys/stat.h-data: Likewise.
12541         * conform/data/sys/types.h-data: Likewise.
12542         * conform/data/sys/wait.h-data: Likewise.
12543         * conform/data/time.h-data: Likewise.
12544         * conform/data/unistd.h-data: Likewise.
12545         * conform/data/utime.h-data: Likewise.
12547         * io/sys/stat.h: fchmod was always in POSIX.
12548         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12549         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12550         * rt/aio.h: Define __need_timespec before including <time.h>.
12551         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12552         struct.  Add forward declaration of pthread_attr_t and use it in
12553         sigevent.
12554         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12555         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12556         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12557         always remove CLK_TCK definition.
12559 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
12561         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12563 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
12565         * conform/run-conformtest.sh: New file.
12566         * conform/Makefile: Run run-conformtest for tests.
12567         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
12568         support.
12570         * conform/data/uchar.h-data: New file.
12571         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12572         * conform/data/arpa/inet.h-data: Likewise.
12573         * conform/data/assert.h-data: Likewise.
12574         * conform/data/complex.h-data: Likewise.
12575         * conform/data/cpio.h-data: Likewise.
12576         * conform/data/ctype.h-data: Likewise.
12577         * conform/data/dirent.h-data: Likewise.
12578         * conform/data/dlfcn.h-data: Likewise.
12579         * conform/data/errno.h-data: Likewise.
12580         * conform/data/fcntl.h-data: Likewise.
12581         * conform/data/float.h-data: Likewise.
12582         * conform/data/fmtmsg.h-data: Likewise.
12583         * conform/data/fnmatch.h-data: Likewise.
12584         * conform/data/ftw.h-data: Likewise.
12585         * conform/data/glob.h-data: Likewise.
12586         * conform/data/grp.h-data: Likewise.
12587         * conform/data/iconv.h-data: Likewise.
12588         * conform/data/inttypes.h-data: Likewise.
12589         * conform/data/langinfo.h-data: Likewise.
12590         * conform/data/libgen.h-data: Likewise.
12591         * conform/data/limits.h-data: Likewise.
12592         * conform/data/locale.h-data: Likewise.
12593         * conform/data/math.h-data: Likewise.
12594         * conform/data/monetary.h-data: Likewise.
12595         * conform/data/mqueue.h-data: Likewise.
12596         * conform/data/ndbm.h-data: Likewise.
12597         * conform/data/net/if.h-data: Likewise.
12598         * conform/data/netdb.h-data: Likewise.
12599         * conform/data/netinet/in.h-data: Likewise.
12600         * conform/data/nl_types.h-data: Likewise.
12601         * conform/data/poll.h-data: Likewise.
12602         * conform/data/pthread.h-data: Likewise.
12603         * conform/data/pwd.h-data: Likewise.
12604         * conform/data/regex.h-data: Likewise.
12605         * conform/data/sched.h-data: Likewise.
12606         * conform/data/search.h-data: Likewise.
12607         * conform/data/semaphore.h-data: Likewise.
12608         * conform/data/setjmp.h-data: Likewise.
12609         * conform/data/signal.h-data: Likewise.
12610         * conform/data/spawn.h-data: Likewise.
12611         * conform/data/stdarg.h-data: Likewise.
12612         * conform/data/stdio.h-data: Likewise.
12613         * conform/data/stdlib.h-data: Likewise.
12614         * conform/data/string.h-data: Likewise.
12615         * conform/data/strings.h-data: Likewise.
12616         * conform/data/stropts.h-data: Likewise.
12617         * conform/data/sys/ipc.h-data: Likewise.
12618         * conform/data/sys/mman.h-data: Likewise.
12619         * conform/data/sys/msg.h-data: Likewise.
12620         * conform/data/sys/resource.h-data: Likewise.
12621         * conform/data/sys/select.h-data: Likewise.
12622         * conform/data/sys/sem.h-data: Likewise.
12623         * conform/data/sys/shm.h-data: Likewise.
12624         * conform/data/sys/socket.h-data: Likewise.
12625         * conform/data/sys/stat.h-data: Likewise.
12626         * conform/data/sys/statvfs.h-data: Likewise.
12627         * conform/data/sys/time.h-data: Likewise.
12628         * conform/data/sys/timeb.h-data: Likewise.
12629         * conform/data/sys/times.h-data: Likewise.
12630         * conform/data/sys/types.h-data: Likewise.
12631         * conform/data/sys/uio.h-data: Likewise.
12632         * conform/data/sys/un.h-data: Likewise.
12633         * conform/data/sys/utsname.h-data: Likewise.
12634         * conform/data/sys/wait.h-data: Likewise.
12635         * conform/data/syslog.h-data: Likewise.
12636         * conform/data/tar.h-data: Likewise.
12637         * conform/data/termios.h-data: Likewise.
12638         * conform/data/utime.h-data: Likewise.
12639         * conform/data/utmpx.h-data: Likewise.
12640         * conform/data/varargs.h-data: Likewise.
12641         * conform/data/wchar.h-data: Likewise.
12642         * conform/data/wctype.h-data: Likewise.
12643         * conform/data/wordexp.h-data: Likewise.
12645         * include/stropts.h: New file.
12646         * include/uchar.h: New file.
12647         * include/aio.h: Changes to allow conformtest.pl to use the headers.
12648         * include/assert.h: Likewise.
12649         * include/ctype.h: Likewise.
12650         * include/dirent.h: Likewise.
12651         * include/dlfcn.h: Likewise.
12652         * include/fcntl.h: Likewise.
12653         * include/fnmatch.h: Likewise.
12654         * include/glob.h: Likewise.
12655         * include/grp.h: Likewise.
12656         * include/libio.h: Likewise.
12657         * include/locale.h: Likewise.
12658         * include/math.h: Likewise.
12659         * include/net/if.h: Likewise.
12660         * include/netdb.h: Likewise.
12661         * include/netinet/in.h: Likewise.
12662         * include/pthread.h: Likewise.
12663         * include/pwd.h: Likewise.
12664         * include/regex.h: Likewise.
12665         * include/sched.h: Likewise.
12666         * include/search.h: Likewise.
12667         * include/setjmp.h: Likewise.
12668         * include/signal.h: Likewise.
12669         * include/stdio.h: Likewise.
12670         * include/stdlib.h: Likewise.
12671         * include/string.h: Likewise.
12672         * include/sys/cdefs.h: Likewise.
12673         * include/sys/mman.h: Likewise.
12674         * include/sys/msg.h: Likewise.
12675         * include/sys/resource.h: Likewise.
12676         * include/sys/select.h: Likewise.
12677         * include/sys/socket.h: Likewise.
12678         * include/sys/stat.h: Likewise.
12679         * include/sys/statvfs.h: Likewise.
12680         * include/sys/time.h: Likewise.
12681         * include/sys/times.h: Likewise.
12682         * include/sys/uio.h: Likewise.
12683         * include/sys/utsname.h: Likewise.
12684         * include/sys/wait.h: Likewise.
12685         * include/termios.h: Likewise.
12686         * include/time.h: Likewise.
12687         * include/ulimit.h: Likewise.
12688         * include/unistd.h: Likewise.
12689         * include/utime.h: Likewise.
12690         * include/wchar.h: Likewise.
12691         * include/wctype.h: Likewise.
12692         * include/wordexp.h: Likewise.
12694         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12696         * time/time.h: TIME_UTC must be a macro.
12697         Make timespec_get available for ISO C11 only as well.
12699 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
12701         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12702         Reported by Peng Haitao <penght@cn.fujitsu.com>.
12704 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12706         * configure.in: Use -o not -a in test for unsupported multi-arch.
12708 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12710         * manual/texinfo.tex: Update to version 2012-01-19.16.
12712 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12714         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12716 2012-02-24  Roland McGrath  <roland@hack.frob.com>
12718         [BZ #13738]
12719         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12720         * manual/fdl-1.3.texi: New file.
12721         * manual/fdl-1.1.texi: File removed.
12723         [BZ #13738]
12724         * manual/libc.texinfo (FDL_VERSION): New @set.
12725         Use it for mention of FDL in cover text.
12726         (Documentation License): Use it in @include file name.
12728 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12729             Roland McGrath  <roland@hack.frob.com>
12731         [BZ #5461]
12732         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12733         not LONG_LONG_MAX and LONG_LONG_MIN.
12734         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12735         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
12736         name.
12737         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12739 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12741         [BZ #2547]
12742         [BZ #11365]
12743         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12744         manipulate bits before adding and subtracting TWO23[sx].
12745         * math/libm-test.inc (nearbyint_test): Add more tests.
12747 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12749         [BZ #2548]
12750         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12751         bits before adding and subtracting TWO23[sx].
12752         * math/libm-test.inc (rint_test): Add more tests.
12753         (rint_test_tonearest): Likewise.
12754         (rint_test_towardzero): Likewise.
12755         (rint_test_downward): Likewise.
12756         (rint_test_upward: Likewise.
12758 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12760         [BZ #10110]
12761         * include/stdc-predef.h: New file.  Extracted from features.h.
12762         * include/features.h: Include stdc-predef.h.
12763         * Makefile (headers): Add stdc-predef.h.
12764         * CONFORMANCE (Compiler limitations): Update.
12766 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12768         * manual/libc.texinfo (VERSION, UPDATED): Revert.
12770 2012-02-21  David S. Miller  <davem@davemloft.net>
12772         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12773         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12775 2012-02-20  David S. Miller  <davem@davemloft.net>
12777         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12778         using a normal save/restore sequence, rather than allocating a
12779         dummy stack frame just to store a frame pointer and restore.
12780         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12782 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12784         * manual/install.texi: Fix stray word in line-wrapped comment.
12786 2012-02-20  David S. Miller  <davem@davemloft.net>
12788         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12789         both binutils and gcc support GOTDATA.
12791         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12792         "rd %pc" in the PIC register setup sequences.
12794         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12795         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12796         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12797         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12798         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12799         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12800         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12801         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12803         (SYSCALL_ERROR_HANDLER): Likewise.
12804         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12805         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12806         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12807         (SYSCALL_ERROR_HANDLER): Likewise.
12809         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12810         (HAVE_GCC_GOTDATA): New.
12811         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12812         relocation support in both binutils and gcc.
12813         * sysdeps/sparc/elf/configure: Regenerate.
12815         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12816         * sysdeps/sparc/sparc32/elf/configure: Delete.
12817         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12818         * sysdeps/sparc/sparc64/elf/configure: Delete.
12819         * sysdeps/sparc/elf/configure.in: New file.
12820         * sysdeps/sparc/elf/configure: Generate.
12822         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12823         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12824         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12825         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12826         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12828 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12830         * manual/install.texi: Do not mention specific glibc version
12831         numbers.
12832         * manual/libc.texinfo (VERSION, UPDATED): Update.
12833         (@copying): Use @copyright{} and range of years.
12835 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12837         [BZ #13695]
12838         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12839         [crti.S not in sysdirs] (generated): Do not append.
12840         [crti.S not in sysdirs] (omit-deps): Likewise.
12841         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12842         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12843         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12844         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12845         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12846         Likewise.
12847         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12848         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12849         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12850         * csu/defs.awk: Remove file.
12851         * sysdeps/generic/initfini.c: Likewise.
12852         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12853         variable.
12854         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12855         Likewise.
12857 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12859         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12860         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12861         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12862         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12863         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12864         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12865         <bits/epoll.h>.
12866         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12867         (__EPOLL_PACKED): Define to empty if not defined by
12868         <bits/epoll.h>.
12869         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12871         bits/epoll.h.
12873 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12875         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12876         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12877         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12878         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12879         <bits/timerfd.h>.
12880         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12882         bits/timerfd.h.
12884 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12886         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12887         in C locale.
12888         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12889         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12890         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12893 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
12895         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12896         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12898 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
12900         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12901         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12902         defined.
12903         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12904         Likewise.
12905         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12906         entry for 2.16.
12908 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
12910         * math/w_acos.c: Use non-signaling floating-point comparisons.
12911         * math/w_acosf.c: Likewise.
12912         * math/w_acosh.c: Likewise.
12913         * math/w_acoshf.c: Likewise.
12914         * math/w_acoshl.c: Likewise.
12915         * math/w_acosl.c: Likewise.
12916         * math/w_asin.c: Likewise.
12917         * math/w_asinf.c: Likewise.
12918         * math/w_asinl.c: Likewise.
12919         * math/w_atanh.c: Likewise.
12920         * math/w_atanhf.c: Likewise.
12921         * math/w_atanhl.c: Likewise.
12922         * math/w_exp2.c: Likewise.
12923         * math/w_exp2f.c: Likewise.
12924         * math/w_exp2l.c: Likewise.
12925         * math/w_j0.c: Likewise.
12926         * math/w_j0f.c: Likewise.
12927         * math/w_j0l.c: Likewise.
12928         * math/w_j1.c: Likewise.
12929         * math/w_j1f.c: Likewise.
12930         * math/w_j1l.c: Likewise.
12931         * math/w_jn.c: Likewise.
12932         * math/w_jnf.c: Likewise.
12933         * math/w_log.c: Likewise.
12934         * math/w_log10.c: Likewise.
12935         * math/w_log10f.c: Likewise.
12936         * math/w_log10l.c: Likewise.
12937         * math/w_log2.c: Likewise.
12938         * math/w_log2f.c: Likewise.
12939         * math/w_log2l.c: Likewise.
12940         * math/w_logf.c: Likewise.
12941         * math/w_logl.c: Likewise.
12942         * math/w_sqrt.c: Likewise.
12943         * math/w_sqrtf.c: Likewise.
12944         * math/w_sqrtl.c: Likewise.
12945         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12946         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12947         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12948         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12949         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12951 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12953         [BZ #9739]
12954         * manual/string.texi (strnlen): Use correct parameter name in
12955         equivalent expression.
12957 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12959         [BZ #11174]
12960         * manual/users.texi (seteuid): Consistently use neweuid for
12961         argument name.
12963 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12965         [BZ #13704]
12966         * manual/nss.texi (Services in the NSS configuration): Correct
12967         list of services in example configuration file.
12969 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
12971         [BZ #11322]
12972         * manual/arith.texi: Remove statements about negative zero
12973         behaving identically to zero.
12975 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12977         [BZ #5993]
12978         * manual/install.texi: Do not document upgrading from libc5.
12980 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12982         [BZ #4596]
12983         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12985 2012-02-18  David S. Miller  <davem@davemloft.net>
12987         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12988         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12989         %o7 across the call.
12990         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12991         instead.
12992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12993         SETUP_PIC_REG_LEAF.
12994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12995         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12996         * sysdeps/sparc/crtn.S: Likewise.
12998 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
13000         * aout/Makefile: Remove.
13002 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
13004         [BZ #13058]
13005         * manual/examples/argp-ex1.c (main): Format definition in GNU
13006         style.
13007         * manual/examples/argp-ex2.c (main): Likewise.
13008         * manual/examples/argp-ex3.c (main): Likewise.
13009         * manual/examples/argp-ex4.c (main): Likewise.
13010         * manual/examples/longopt.c (main): Use new-style prototype
13011         definition.
13012         * manual/examples/strncat.c (main): Specify return type and use
13013         (void) for arguments.
13014         * manual/examples/subopt.c (main): Use char **argv argument.
13016 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13018         [BZ #5077]
13019         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13020         rounding modes.
13022 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
13024         [BZ #6907]
13025         * manual/string.texi (strchr): Change when strchrnul is
13026         recommended.
13028 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
13030         [BZ #174]
13031         * manual/locale.texi (setlocale): Document LOCPATH.
13033 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13035         [BZ #10210]
13036         * manual/process.texi (execle): Move @dots{} before last argument.
13038 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
13040         [BZ #12047]
13041         * manual/charset.texi (Generic Charset Conversion): Fix typo
13042         (LC_TYPE -> LC_CTYPE).
13044 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
13046         [BZ #5805]
13047         * manual/arith.texi (scalbn): Use @var{} on parameter names.
13048         (scalbnf): Likewise.
13049         (scalbnl): Likewise.
13050         (scalbln): Likewise.
13051         (scalblnf): Likewise.
13052         (scalblnl): Likewise.
13053         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13054         (vwarnx): Likewise.
13055         (verr): Likewise.
13056         (verrx): Likewise.
13057         * manual/filesys.texi (telldir): Use braces around return type.
13058         * manual/llio.texi (mmap): Add space after comma.
13059         (mmap64): Likewise.
13060         * manual/math.texi (jn): Use @var{} on parameter names.
13061         (jnf): Likewise.
13062         (jnl): Likewise.
13063         (yn): Likewise.
13064         (ynf): Likewise.
13065         (ynl): Likewise.
13066         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13067         line.
13068         * manual/resource.texi (ulimit): Use @dots{} instead of literal
13069         "...".
13070         (sched_get_priority_min): Remove semicolon on @deftypefun line.
13071         (sched_get_priority_max): Likewise.
13072         * manual/signal.texi (sigvec): Add space after comma.
13073         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13074         names.
13075         (if_indextoname): Likewise.
13076         (if_freenameindex): Likewise.
13077         (sendto): Use ',' instead of '.' in prototype.
13078         * manual/startup.texi (syscall): Use @dots{} instead of literal
13079         "...".
13080         * manual/stdio.texi (__fpending): Separate initial words of
13081         paragraph from @deftypefun line.
13082         * manual/syslog.texi (syslog): Use @dots{} instead of literal
13083         "...".
13084         (vsyslog): Use @var{} on parameter names.
13085         * manual/terminal.texi (stty): Use @var{} on parameter names.
13086         * manual/users.texi (getutmp): Use @var{} on parameter names.
13087         (getutmpx): Likewise.
13089 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13091         [BZ #6884]
13092         * manual/stdio.texi (fopen): Fix typos in description of
13093         ",ccs=STRING".
13095 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
13097         [BZ #4026]
13098         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13099         get clock_id definition.
13101 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
13103         [BZ #4822]
13104         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13105         (madvise): Cast every argument to void on its own.
13107 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13109         [BZ #9902]
13110         * manual/startup.texi (Exit Status): Fix typo.
13112 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13114         [BZ #10140]
13115         * manual/examples/argp-ex1.c: Include <stdlib.h>.
13116         * manual/examples/argp-ex2.c: Likewise.
13117         * manual/examples/argp-ex3.c: Likewise.
13119 2012-02-16  Richard Henderson  <rth@redhat.com>
13121         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13122         * sysdeps/s390/s390-32/initfini.c: Remove.
13123         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13124         * sysdeps/s390/s390-64/initfini.c: Remove.
13126 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13128         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13129         compiler output for sysdeps/generic/initfini.c.
13130         * sysdeps/sh/elf/initfini.c: Remove file.
13132 2012-02-16  David S. Miller  <davem@davemloft.net>
13134         [BZ #11494]
13135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13137         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13138         * sysdeps/sparc/crti.S: New file.
13139         * sysdeps/sparc/crtn.S: New file.
13140         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13141         * sysdeps/sparc/sparc64/Makefile: Likewise.
13143 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
13145         [BZ #3335]
13146         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13148 2012-02-15  Roland McGrath  <roland@hack.frob.com>
13150         [BZ #4822]
13151         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13153         * mach/devstream.c (cookie_io_functions_t): Macro removed.
13154         (write, read, close): Likewise.
13155         Patch by Aurelien Jarno <aurelien@aurel32.net>.
13157 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
13159         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13160         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13161         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13162         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13163         <bits/signalfd.h>.
13164         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13166         bits/signalfd.h.
13168 2012-02-14  Marek Polacek  <polacek@redhat.com>
13170         * sysdeps/x86_64/crti.S: New file.
13171         * sysdeps/x86_64/crtn.S: New file.
13172         * sysdeps/x86_64/elf/initfini.c: Remove file.
13174 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
13176         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13177         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13178         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13179         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13180         <bits/inotify.h>.
13181         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13183         bits/inotify.h.
13185 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
13187         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13188         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13189         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13190         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13191         <bits/eventfd.h>.
13192         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13193         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13194         bits/eventfd.h.
13196 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
13198         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13199         __feraiseexcept instead of feraiseexcept.
13201         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13202         nanosleep invocations.
13203         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13204         strings, and add error checking for a nanosleep invocations.
13206 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
13208         Replace FSF snail mail address with URLs, as per GNU coding standards.
13209         Most of the snail mail addresses were wrong anyway, and omitting
13210         them makes the source code easier to maintain.  Almost all of the
13211         changes are to license notices and to locale LC_IDENTIFICATION
13212         addresses, except for this one:
13213         * manual/libc.texinfo: In "Published by", give the FSF's URL,
13214         not its snail mail address.
13216 2012-02-09  Richard Henderson  <rth@twiddle.net>
13218         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13219         of kernel-features.h.
13221         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13223 2012-02-08  Marek Polacek  <polacek@redhat.com>
13225         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13226         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13227         * sysdeps/gnu/_G_config.h: Likewise.
13228         * sysdeps/generic/_G_config.h: Likewise.
13230 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
13232         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13233         tests.
13234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13236         * sysdeps/powerpc/powerpc32/crti.S: New file.
13237         * sysdeps/powerpc/powerpc32/crtn.S: New file.
13238         * sysdeps/powerpc/powerpc64/crti.S: New file.
13239         * sysdeps/powerpc/powerpc64/crtn.S: New file.
13241         * Makeconfig (have-initfini): Don't set.
13242         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13243         * configure.in (nopic_initfini): Don't substitute.
13244         * config.h.in (HAVE_INITFINI): Don't #undef.
13245         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13246         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13248 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
13250         Support crti.S and crtn.S provided directly by architectures.
13251         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13252         [crti.S in sysdirs] (omit-deps): Likewise.
13253         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13254         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13255         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13256         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13257         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13258         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13259         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13260         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13261         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13262         compiler output for sysdeps/generic/initfini.c.
13263         * sysdeps/i386/elf/Makefile: Remove file.
13264         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13266 2012-02-07  Marek Polacek  <polacek@redhat.com>
13268         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13269         * sysdeps/gnu/_G_config.h: Likewise.
13270         * sysdeps/mach/hurd/_G_config.h: Likewise.
13272 2012-02-07  Marek Polacek  <polacek@redhat.com>
13274         * math/Makefile (tests): Add tst-CMPLX2.
13275         * math/tst-CMPLX2.c: New file.
13277 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
13279         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13281         * math/libm-test.inc (jn_test): Add missing L suffix.
13283 2012-02-06  Marek Polacek  <polacek@redhat.com>
13285         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13286         * sysdeps/i386/fpu/e_powf.S: Likewise.
13287         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13288         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13289         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13290         * sysdeps/i386/fpu/e_pow.S: Likewise.
13291         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13292         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13293         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13294         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13295         * sysdeps/i386/fpu/e_log2.S: Likewise.
13296         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13297         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13298         * sysdeps/i386/fpu/e_powl.S: Likewise.
13299         * sysdeps/i386/fpu/s_log1p.S: Likewise.
13300         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13301         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13302         * sysdeps/i386/fpu/e_logl.S: Likewise.
13303         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13304         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13305         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13306         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13307         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13308         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13309         * sysdeps/i386/fpu/e_log.S: Likewise.
13310         * sysdeps/i386/fpu/s_cexp.S: Likewise.
13311         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13312         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13313         * sysdeps/i386/fpu/e_logf.S: Likewise.
13314         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13315         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13316         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13317         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13318         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13319         * sysdeps/i386/fpu/e_log10.S: Likewise.
13320         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13321         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13322         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13323         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13324         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13325         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13326         * sysdeps/i386/asm-syntax.h: Likewise.
13327         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13328         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13329         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13330         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13331         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13332         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13333         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13334         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13335         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13336         * sysdeps/powerpc/sysdep.h: Likewise.
13337         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13338         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13340 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
13342         [BZ #411]
13343         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13345 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
13347         * sysdeps/i386/sysdep.h: Include <features.h>.
13348         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13349         version.
13351 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
13353         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13354         Define.
13355         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13356         LOAD_PIC_REG_STR.
13358 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13360         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13361         (SETUP_PIC_REG): Use GET_PC_THUNK.
13362         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13363         macro.
13365 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13367         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13368         for non-PIC compilation.
13369         (SETUP_PIC_REG): Add .p2align directive.
13370         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13371         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13372         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13373         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13374         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13375         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13376         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13377         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13378         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13379         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13380         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13381         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13382         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13383         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13384         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13385         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13386         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13387         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13388         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13389         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13390         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13391         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13392         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13393         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13394         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13395         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13396         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13397         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13398         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13399         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13400         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13401         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13402         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13403         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13404         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13405         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13406         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13407         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13408         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13409         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13410         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13412 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13414         * math/tst-CMPLX.c: Include <stdio.h>.
13416 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
13418         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13419         float.
13420         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13421         * sysdeps/sparc/bits/mathdef.h: Likewise.
13423 2012-01-31  Marek Polacek  <polacek@redhat.com>
13425         * libio/libio.h: Don't define _PARAMS.
13426         * locale/programs/config.h: Don't define PARAMS.
13427         * stdlib/strtol_l.c: Likewise.
13428         (__strtol_l): Remove PARAMS from the prototype.
13430 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
13432         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
13433         names.  Just use the correct names.  Remove unnecessary wrapper
13434         functions.
13435         * malloc/arena.c: Likewise.
13436         * malloc/hooks.c: Likewise.
13438         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13439         ARENA_TEST says not to.  Simplify test for creation of a new arena.
13440         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13442 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
13444         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13445         into tail calls.
13446         (update_get_addr): New function.
13447         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13448         GET_ADDR_MODULE parameter.
13450 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
13452         * crypt/cert.c: Remove __STDC__ conditionals.
13453         * crypt/crypt-entry.c: Likewise.
13454         * crypt/crypt_util.c: Likewise.
13455         * libio/filedoalloc.c: Likewise.
13456         * libio/fileops.c: Likewise.
13457         * libio/genops.c: Likewise.
13458         * libio/iofclose.c: Likewise.
13459         * libio/iofdopen.c: Likewise.
13460         * libio/iofopen.c: Likewise.
13461         * libio/iofopen64.c: Likewise.
13462         * libio/iogetdelim.c: Likewise.
13463         * libio/iopopen.c: Likewise.
13464         * libio/obprintf.c: Likewise.
13465         * libio/oldfileops.c: Likewise.
13466         * libio/oldiofclose.c: Likewise.
13467         * libio/oldiofdopen.c: Likewise.
13468         * libio/oldiofopen.c: Likewise.
13469         * libio/oldiopopen.c: Likewise.
13470         * libio/wfiledoalloc.c: Likewise.
13471         * libio/wgenops.c: Likewise.
13472         * locale/programs/xmalloc.c: Likewise.
13473         * misc/syslog.c: Likewise.
13474         * stdio-common/xbug.c: Likewise.
13475         * string/memchr.c: Likewise.
13476         * string/memcmp.c: Likewise.
13477         * string/memrchr.c: Likewise.
13478         * string/rawmemchr.c: Likewise.
13479         * sysdeps/posix/getcwd.c: Likewise.
13480         * time/strftime_l.c: Likewise.
13482 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
13484         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13485         * config.make.in (config-cflags-sse2avx): Define.
13486         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13487         Fix typo.
13489 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
13491         * scripts/config.guess: Update from upstream config git repository.
13492         * scripts/config.sub: Likewise.
13494 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
13496         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13497         (EM_NUM): Update.
13498         (R_TILEPRO_*, R_TILEGX_*): New macros.
13500         * scripts/firstversions.awk: Fix bug in version range handling.
13502         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13504         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13506         * include/sys/epoll.h: New file.
13507         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13508         libc_hidden_def.
13510 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
13512         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13513         Avoid unnecessary __WORDSIZE == 64 test.
13514         (fmaxf): Use VEX format if possible.
13515         (fmax): Likewise.
13516         (fminf): Likewise.
13517         (fmin): Likewise.
13519         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13520         * math/math_private.h: Remove libc_fegetround* and
13521         libc_fesetround*.
13522         * sysdeps/i386/configure.in: Check for -msse2avx.
13523         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13524         also if SSE2AVX is defined.
13525         Remove libc_fegetround* and libc_fesetround*.
13526         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13527         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
13528         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13529         of HAS_YMM_USABLE.
13530         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13531         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13532         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13533         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13534         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13536         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13538 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13540         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13541         size is not set.
13542         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13544 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
13546         [BZ #13618]
13547         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13548         relocation.
13549         * Makeconfig (libm): Define.
13550         * elf/Makefile: Add rules to build and run tst-relsort1.
13551         * elf/tst-relsort1.c: New file.
13552         * elf/tst-relsort1mod1.c: New file.
13553         * elf/tst-relsort1mod2.c: New file.
13555 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
13557         * math/s_ldexp.c: Remove __STDC__ conditionals.
13558         * math/s_ldexpf.c: Likewise.
13559         * math/s_ldexpl.c: Likewise.
13560         * math/s_nextafter.c: Likewise.
13561         * math/s_nexttowardf.c: Likewise.
13562         * math/s_significand.c: Likewise.
13563         * math/s_significandf.c: Likewise.
13564         * math/s_significandl.c: Likewise.
13565         * math/w_jnl.c: Likewise.
13566         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13567         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13568         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13569         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13570         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13571         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13572         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13573         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13574         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13575         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13576         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13577         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13578         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13579         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13580         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13581         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13582         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13583         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13584         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13585         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13586         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13587         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13588         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13590         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13591         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13592         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13593         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13594         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13595         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13596         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13597         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13598         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13599         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13600         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13601         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13602         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13603         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13604         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13605         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13606         * sysdeps/ieee754/k_standard.c: Likewise.
13607         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13608         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13609         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13610         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13611         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13612         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13613         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13614         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13615         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13616         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13617         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13618         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13619         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13620         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13621         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13622         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13623         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13625         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13626         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13627         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13628         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13629         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13630         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13631         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13632         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13634         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13636         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13637         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13638         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13639         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13640         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13641         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13642         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13643         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13644         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13645         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13646         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13647         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13649         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13650         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13651         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13652         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13653         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13654         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13656         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13657         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13658         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13659         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13660         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13661         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13662         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13663         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13664         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13665         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13666         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13667         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13668         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13669         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13670         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13671         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13672         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13673         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13674         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13675         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13676         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13677         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13678         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13679         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13680         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13681         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13682         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13683         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13684         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13685         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13686         * sysdeps/ieee754/s_matherr.c: Likewise.
13687         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13688         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13692 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13694         * crypt/md5.h: Remove __STDC__ conditionals.
13695         * libio/libioP.h: Likewise.
13696         * locale/programs/config.h: Likewise.
13697         * sysdeps/generic/sysdep.h: Likewise.
13698         * sysdeps/i386/asm-syntax.h: Likewise.
13699         * sysdeps/s390/asm-syntax.h: Likewise.
13700         * sysdeps/unix/sysdep.h: Likewise.
13701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13704 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13706         * libio/libio.h: Remove __STDC__ conditionals.
13707         * malloc/obstack.h: Likewise.
13708         * math/complex.h: Likewise.
13709         * math/math.h: Likewise.
13710         * sysdeps/generic/_G_config.h: Likewise.
13711         * sysdeps/gnu/_G_config.h: Likewise.
13712         * sysdeps/mach/hurd/_G_config.h: Likewise.
13713         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13714         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13715         * sysdeps/sparc/bits/mathdef.h: Likewise.
13717 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
13719         [BZ #13583]
13720         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13721         Clean up HAS_* macros.
13722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13723         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13724         possible.
13725         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13726         HAS_AVX.
13727         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13728         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13729         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13730         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13731         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13733 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
13735         * elf/tst-unique3.cc (gets): Remove declaration.
13736         * elf/tst-unique3lib.cc (gets): Likewise.
13737         * elf/tst-unique3lib2.cc (gets): Likewise.
13738         * elf/tst-unique4.cc (gets): Likewise.
13740 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
13742         * include/stdio.h: Add C++ protection.  Add gets declarations and
13743         definitions.
13744         * debug/tst-chk1.c: Don't declare gets here.
13745         * stdio-common/tst-gets.c: Likewise.
13747 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13749         * posix/glob: Remove directory.
13751 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13753         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13755 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
13757         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13758         of the non-standard EPFNOSUPPORT.
13760 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13762         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13763         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13764         ANYWHERE set to 1 only on KERN_NO_SPACE error.
13766 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
13768         * wcsmbs/uchar.h: Test __STDC_VERSION__.
13770 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
13772         * nscd/aicache.c (addhstaiX): Do not cache negative results of
13773         transient errors.
13774         * nscd/grpcache.c (cache_addgr): Likewise.
13775         * nscd/hstcache.c (cache_addhst): Likewise.
13776         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13777         * nscd/pwdcache.c (cache_addpw): Likewise.
13778         * nscd/servicescache.c (cache_addserv): Likewise.
13780 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
13782         * malloc/malloc.c: Various cleanups.
13783         * malloc/hooks.c: Likewise.
13785         * stdlib/Makefile (tests): Add bug-fmtmsg1.
13786         * stdlib/bug-fmtmsg1.c: New file.
13788         * stdlib/fmtmsg.c (init): Add missing unlock.
13789         Patch by Peng Haitao <penght@cn.fujitsu.com>.
13791 2012-01-12  Marek Polacek  <polacek@redhat.com>
13793         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13794         and _GNU_SOURCE.
13796 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13798         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13799         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13800         macro to ensure uniqueness of label name.
13801         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13802         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13804 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
13806         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13808         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13809         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13810         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13811         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13813 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
13815         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13817         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13818         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13819         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13821         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13823         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13824         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13825         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13828         * math/bits/math-finite.h: Add ldexp support.
13830 2012-01-10  Marek Polacek  <polacek@redhat.com>
13832         * locale/programs/localedef.h (show_archive_content): Add noreturn
13833         attribute.
13835 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
13837         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13839 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13841         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13843         * io/Makefile (headers): Add bits/poll2.h.
13845 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
13847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13848         typo #include statement.
13850 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13852         * include/sys/cdefs.h: Define __attribute_alloc_size.
13853         * catgets/gencat.c: Add alloc_size attribute and apply consistently
13854         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13855         * elf/pldd.c: Likewise.
13856         * iconv/iconv_charmap.c: Likewise.
13857         * iconv/iconvconfig.c: Likewise.
13858         * iconv/strtab.c: Likewise.
13859         * locale/programs/locale.c: Likewise.
13860         * locale/programs/localedef.h: Likewise.
13861         * locale/programs/simple-hash.c: Likewise.
13862         * nscd/nscd.h: Likewise.
13863         * nss/makedb.c: Likewise.
13864         * sysdeps/generic/ldconfig.h: Likewise.
13865         * locale/programs/localedef.c: Remove xmalloc prototype.
13866         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13868 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13870         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13871         appropriate.
13873 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13875         * math/Makefile (tests): Add tst-CMPLX.
13876         * math/tst-CMPLX.c: New file.
13878         * math/complex.h (CMPLXL): Fix typo.
13880         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13881         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13882         GLIBC_2.16.
13883         * debug/tst-chk1.c: Add poll and ppoll tests.
13884         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13885         * include/sys/poll.h: Add hidden proto for ppoll.
13886         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13887         * sysdeps/mach/hurd/ppoll.c: Likewise.
13888         * io/ppoll.c: Likewise.
13889         * debug/poll_chk.c: New file.
13890         * debug/ppoll_chk.c: New file.
13891         * include/bits/poll2.h: New file.
13892         * io/bits/poll2.h: New file.
13894         [BZ #1350]
13895         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13897         * configure.in: static is always set to yes.  Remove.
13898         * config.make.in: Don't set build-static.
13899         * Makeconfig: Remove use of build-static.
13900         * dlfcn/Makefile: Likewise.
13901         * elf/Makefile: Likewise.
13902         * math/Makefile: Likewise.
13903         * misc/Makefile: Likewise.
13904         * nptl/Makefile: Likewise.
13905         * sysdeps/mach/hurd/Makefile: Likewise.
13907         * configure.in: PWD_P is not used anymore.
13908         * config.make.in: Remove PWD_P entry.
13910         * configure.in: Remove last remnants of RANLIB.
13911         No need to check for signed size_t anymore.
13912         Don't set libc_commonpagesize and libc_relro_required here for Alpha
13913         and IA-64.
13914         Remove __builtin_expect test because we require at least gcc 3.4.
13915         * aclocal.m4: Likewise.
13917         * wcsmbs/mbrtoc16.c: Implement using towc function.
13918         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13919         * wcsmbs/wcsmbsload.c: Likewise.
13920         * iconv/gconv_simple.c: Likewise.
13921         * iconv/gconv_int.h: Likewise.
13922         * iconv/gconv_builtin.h: Likewise.
13923         * iconv/iconv_prog.c: Remove CHAR16 handling.
13925         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13927         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13929         * configure.in: Remove --with-elf and --enable-bounded options.
13930         Dont set base_machine for ia64.  More non-ELF conditions removed.
13931         Remove testing and setting of leading underscore information.
13932         * config.make.in (build-bounded): Set to no.
13933         * config.h.in: Remove NO_UNDERSCORES entry.
13934         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
13935         them.
13936         * csu/start.c: Remove !NO_UNDERSCORE code.
13937         * locale/localeinfo.h: Likewise.
13938         * sysdeps/generic/machine-gmon.h: Likewise.
13939         * sysdeps/generic/sysdep.h: Likewise.
13940         * sysdeps/i386/sysdep.h: Likewise.
13941         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13942         * sysdeps/mach/sysdep.h: Likewise.
13943         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13945         * sysdeps/sh/sysdep.h: Likewise.
13946         * sysdeps/sparc/sparc32/alloca.S: Likewise.
13947         * sysdeps/unix/i386/sysdep.S: Likewise.
13948         * sysdeps/unix/sparc/start.c: Likewise.
13949         * sysdeps/unix/sparc/sysdep.S: Likewise.
13950         * sysdeps/unix/sparc/sysdep.h: Likewise.
13951         * sysdeps/unix/start.c: Likewise.
13952         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13953         * sysdeps/x86_64/sysdep.h: Likewise.
13955 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
13957         [BZ #13553]
13958         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13959         for non-gcc.
13960         * argp/argp-fmtstream.h: Use const instead __const.
13961         * argp/argp.h: Likewise.
13962         * assert/assert.h: Likewise.
13963         * bits/fenv.h: Likewise.
13964         * bits/sched.h: Likewise.
13965         * bits/sigset.h: Likewise.
13966         * bits/sigthread.h: Likewise.
13967         * catgets/nl_types.h: Likewise.
13968         * conform/data/pthread.h-data: Likewise.
13969         * crypt/crypt-private.h: Likewise.
13970         * crypt/crypt.h: Likewise.
13971         * crypt/crypt_util.c: Likewise.
13972         * ctype/ctype.h: Likewise.
13973         * debug/execinfo.h: Likewise.
13974         * debug/mbsnrtowcs_chk.c: Likewise.
13975         * debug/mbsrtowcs_chk.c: Likewise.
13976         * debug/wcsnrtombs_chk.c: Likewise.
13977         * debug/wcsrtombs_chk.c: Likewise.
13978         * debug/wcstombs_chk.c: Likewise.
13979         * dirent/dirent.h: Likewise.
13980         * dlfcn/dlfcn.h: Likewise.
13981         * elf/neededtest4.c: Likewise.
13982         * grp/grp.h: Likewise.
13983         * gshadow/gshadow.h: Likewise.
13984         * iconv/gconv.h: Likewise.
13985         * iconv/gconv_int.h: Likewise.
13986         * iconv/gconv_simple.c: Likewise.
13987         * iconv/iconv.h: Likewise.
13988         * iconv/loop.c: Likewise.
13989         * iconv/skeleton.c: Likewise.
13990         * include/aio.h: Likewise.
13991         * include/aliases.h: Likewise.
13992         * include/argz.h: Likewise.
13993         * include/arpa/inet.h: Likewise.
13994         * include/assert.h: Likewise.
13995         * include/dirent.h: Likewise.
13996         * include/dlfcn.h: Likewise.
13997         * include/execinfo.h: Likewise.
13998         * include/fcntl.h: Likewise.
13999         * include/fenv.h: Likewise.
14000         * include/glob.h: Likewise.
14001         * include/grp.h: Likewise.
14002         * include/libintl.h: Likewise.
14003         * include/mntent.h: Likewise.
14004         * include/netdb.h: Likewise.
14005         * include/pwd.h: Likewise.
14006         * include/rpc/netdb.h: Likewise.
14007         * include/sched.h: Likewise.
14008         * include/search.h: Likewise.
14009         * include/shadow.h: Likewise.
14010         * include/signal.h: Likewise.
14011         * include/stdio.h: Likewise.
14012         * include/stdlib.h: Likewise.
14013         * include/string.h: Likewise.
14014         * include/sys/socket.h: Likewise.
14015         * include/sys/stat.h: Likewise.
14016         * include/sys/statfs.h: Likewise.
14017         * include/sys/statvfs.h: Likewise.
14018         * include/sys/syslog.h: Likewise.
14019         * include/sys/time.h: Likewise.
14020         * include/sys/uio.h: Likewise.
14021         * include/time.h: Likewise.
14022         * include/unistd.h: Likewise.
14023         * include/utmp.h: Likewise.
14024         * include/wchar.h: Likewise.
14025         * include/wctype.h: Likewise.
14026         * inet/aliases.h: Likewise.
14027         * inet/arpa/inet.h: Likewise.
14028         * inet/netinet/ether.h: Likewise.
14029         * inet/netinet/in.h: Likewise.
14030         * intl/libintl.h: Likewise.
14031         * io/bits/fcntl2.h: Likewise.
14032         * io/fcntl.h: Likewise.
14033         * io/ftw.h: Likewise.
14034         * io/sys/poll.h: Likewise.
14035         * io/sys/stat.h: Likewise.
14036         * io/sys/statfs.h: Likewise.
14037         * io/sys/statvfs.h: Likewise.
14038         * io/utime.h: Likewise.
14039         * libio/bits/stdio.h: Likewise.
14040         * libio/bits/stdio2.h: Likewise.
14041         * libio/libio.h: Likewise.
14042         * libio/libioP.h: Likewise.
14043         * libio/stdio.h: Likewise.
14044         * locale/lc-ctype.c: Likewise.
14045         * locale/locale.h: Likewise.
14046         * login/utmp.h: Likewise.
14047         * malloc/arena.c: Likewise.
14048         * malloc/malloc.c: Likewise.
14049         * malloc/malloc.h: Likewise.
14050         * malloc/mcheck.c: Likewise.
14051         * malloc/mtrace.c: Likewise.
14052         * math/bits/mathcalls.h: Likewise.
14053         * math/fenv.h: Likewise.
14054         * math/math_private.h: Likewise.
14055         * misc/bits/error.h: Likewise.
14056         * misc/bits/syslog.h: Likewise.
14057         * misc/err.h: Likewise.
14058         * misc/error.h: Likewise.
14059         * misc/fstab.h: Likewise.
14060         * misc/mntent.h: Likewise.
14061         * misc/regexp.h: Likewise.
14062         * misc/search.h: Likewise.
14063         * misc/sgtty.h: Likewise.
14064         * misc/sys/mman.h: Likewise.
14065         * misc/sys/syslog.h: Likewise.
14066         * misc/sys/uio.h: Likewise.
14067         * misc/sys/xattr.h: Likewise.
14068         * misc/ttyent.h: Likewise.
14069         * nis/rpcsvc/ypclnt.h: Likewise.
14070         * nss/nss.h: Likewise.
14071         * posix/bits/unistd.h: Likewise.
14072         * posix/fnmatch.h: Likewise.
14073         * posix/glob.h: Likewise.
14074         * posix/sched.h: Likewise.
14075         * posix/spawn.h: Likewise.
14076         * posix/sys/wait.h: Likewise.
14077         * posix/unistd.h: Likewise.
14078         * posix/wordexp.h: Likewise.
14079         * pwd/pwd.h: Likewise.
14080         * resolv/netdb.h: Likewise.
14081         * resource/sys/resource.h: Likewise.
14082         * rt/aio.h: Likewise.
14083         * rt/bits/mqueue2.h: Likewise.
14084         * rt/mqueue.h: Likewise.
14085         * shadow/shadow.h: Likewise.
14086         * signal/signal.h: Likewise.
14087         * socket/send.c: Likewise.
14088         * socket/sendto.c: Likewise.
14089         * socket/sys/socket.h: Likewise.
14090         * stdio-common/printf.h: Likewise.
14091         * stdlib/bits/stdlib.h: Likewise.
14092         * stdlib/fmtmsg.h: Likewise.
14093         * stdlib/monetary.h: Likewise.
14094         * stdlib/stdlib.h: Likewise.
14095         * stdlib/ucontext.h: Likewise.
14096         * streams/stropts.h: Likewise.
14097         * string/argz.h: Likewise.
14098         * string/bits/string2.h: Likewise.
14099         * string/string.h: Likewise.
14100         * string/strings.h: Likewise.
14101         * sunrpc/rpc/auth.h: Likewise.
14102         * sunrpc/rpc/auth_des.h: Likewise.
14103         * sunrpc/rpc/clnt.h: Likewise.
14104         * sunrpc/rpc/netdb.h: Likewise.
14105         * sunrpc/rpc/pmap_clnt.h: Likewise.
14106         * sunrpc/rpc/xdr.h: Likewise.
14107         * sysdeps/generic/inttypes.h: Likewise.
14108         * sysdeps/generic/net/if.h: Likewise.
14109         * sysdeps/generic/sys/swap.h: Likewise.
14110         * sysdeps/gnu/net/if.h: Likewise.
14111         * sysdeps/gnu/utmpx.h: Likewise.
14112         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14113         * sysdeps/i386/i486/bits/string.h: Likewise.
14114         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14115         * sysdeps/s390/bits/string.h: Likewise.
14116         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14117         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14118         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14119         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14120         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14121         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14122         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14123         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14124         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14125         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14126         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14127         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14128         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14129         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14130         * sysdeps/unix/sysv/linux/readv.c: Likewise.
14131         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14132         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14133         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14134         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14135         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14136         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14137         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14138         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14139         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14140         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14141         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14142         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14143         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14144         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14145         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14146         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14147         * sysvipc/sys/ipc.h: Likewise.
14148         * sysvipc/sys/msg.h: Likewise.
14149         * sysvipc/sys/sem.h: Likewise.
14150         * sysvipc/sys/shm.h: Likewise.
14151         * termios/termios.h: Likewise.
14152         * time/sys/time.h: Likewise.
14153         * time/time.h: Likewise.
14154         * wcsmbs/bits/wchar2.h: Likewise.
14155         * wcsmbs/uchar.h: Likewise.
14156         * wcsmbs/wchar.h: Likewise.
14157         * wctype/wctype.h: Likewise.
14159         [BZ #13551]
14160         * Makeconfig: Remove all but ELF support including AIX support.
14161         * Makerules: Likewise.
14162         * config.h.in: Likewise.
14163         * config.make.in: Likewise.
14164         * configure: Likewise.
14165         * configure.in: Likewise.
14166         * csu/Makefile: Likewise.
14167         * csu/version.c: Likewise.
14168         * debug/Makefile: Likewise.
14169         * dlfcn/Makefile: Likewise.
14170         * elf/Makefile: Likewise.
14171         * extra-lib.mk: Likewise.
14172         * iconv/Makefile: Likewise.
14173         * include/libc-symbols.h: Likewise.
14174         * include/shlib-compat.h: Likewise.
14175         * resolv/Makefile: Likewise.
14176         * resolv/res_libc.c: Likewise.
14177         * rt/Makefile: Likewise.
14178         * sysdeps/i386/asm-syntax.h: Likewise.
14179         * sysdeps/i386/sysdep.h: Likewise.
14180         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14181         * sysdeps/mach/sysdep.h: Likewise.
14182         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14183         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14184         * sysdeps/s390/asm-syntax.h: Likewise.
14185         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14186         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14187         * sysdeps/sh/sysdep.h: Likewise.
14188         * sysdeps/unix/sparc/sysdep.h: Likewise.
14189         * sysdeps/wordsize-32/divdi3.c: Likewise.
14190         * sysdeps/x86_64/sysdep.h: Likewise.
14192         * argp/Versions: Remove _argp_unlock_xxx.
14194         [BZ #13559]
14195         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
14196         * abilist/libBrokenLocale.abilist: Likewise.
14197         * abilist/libanl.abilist: Likewise.
14198         * abilist/libc.abilist: Likewise.
14199         * abilist/libcrypt.abilist: Likewise.
14200         * abilist/libdl.abilist: Likewise.
14201         * abilist/libm.abilist: Likewise.
14202         * abilist/libnsl.abilist: Likewise.
14203         * abilist/libpthread.abilist: Likewise.
14204         * abilist/libresolv.abilist: Likewise.
14205         * abilist/librt.abilist: Likewise.
14206         * abilist/libthread_db.abilist: Likewise.
14207         * abilist/libutil.abilist: Likewise.
14208         * abilist/libnss_db.abilist: New file.
14210         * scripts/abilist.awk: Add support for indirect functions.
14212         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14214         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14216         * shlib-versions: Remove entries for ports architectures.
14218         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
14219         files in ports.
14220         * elf/stackguard-macros.h: Remove support for IA-64.
14221         * elf/tst-auditmod1.c: Likewise.
14222         * sysdeps/generic/ldsodefs.h: Likewise.
14224         * sysdeps/unix/sysv/linux/configure.in: Ports should define
14225         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14226         configure files.
14228         [BZ #13552]
14229         * configure.in: Remove --enable-omitfp support.
14230         * FAQ.in: Adjust.
14231         * config.make.in: Likewise.
14232         * Makeconfig: Likewise.
14233         * manual/install.texi: Likewise.
14235         In case anyone cares, the IA-64 architecture could move to ports.
14236         * sysdeps/ia64/*: Removed.
14237         * sysdeps/unix/sysv/linux/ia64/*: Removed.
14238         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14240         [BZ #13555]
14241         * configure.in: Remove entries for unsupported architectures.
14243         [BZ #13533]
14244         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14245         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
14246         routines.
14247         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14248         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14249         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
14250         fall back to using wcrtomb.
14251         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14252         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
14253         renaming.
14254         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14255         * wcsmbs/tst-c16c32-1.c: New file.
14257         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14258         local variable.
14260         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14262         * elf/tst-unique3.cc: Add explicit declaration of gets.
14263         * elf/tst-unique3lib.cc: Likewise.
14264         * elf/tst-unique3lib2.cc: Likewise.
14265         * elf/tst-unique4.cc: Likewise.
14267         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14269 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
14271         [BZ #13566]
14272         * assert/assert.h (static_assert): Don't define for C++.
14273         * libio/stdio.h (gets): Do declare for C++ <= C++11.
14274         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14276 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
14278         * iconv/loop.c (single loop): Fix assertion in storing of
14279         remaining bytes.
14281         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14283 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
14285         * posix/getconf.c: Update copyright year.
14286         * nss/getent.c: Likewise.
14287         * nss/makedb.c: Likewise.
14288         * iconv/iconvconfig.c: Likewise.
14289         * iconv/iconv_prog.c: Likewise.
14290         * elf/ldconfig.c: Likewise.
14291         * elf/pldd.c: Likewise.
14292         * elf/sotruss.ksh: Likewise.
14293         * catgets/gencat.c: Likewise.
14294         * csu/version.c: Likewise.
14295         * elf/ldd.bash.in: Likewise.
14296         * elf/sprof.c (print_version): Likewise.
14297         * locale/programs/locale.c: Likewise.
14298         * locale/programs/localedef.c: Likewise.
14299         * login/programs/pt_chown.c: Likewise.
14300         * nscd/nscd.c (print_version): Likewise.
14301         * debug/xtrace.sh: Likewise.
14302         * malloc/memusage.sh: Likewise.
14303         * malloc/mtrace.pl: Likewise.
14304         * debug/catchsegv.sh: Likewise.
14306 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
14308         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14309         pure attribute.
14311 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
14313         [BZ #13533]
14314         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14315         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14316         transformations.
14317         * iconv/gconv_int.h: Likewise.
14318         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14319         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14320         from libc for GLIBC_2.16.
14321         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14322         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14323         * wcsmbs/uchar.h: Really define mbstate_t.
14324         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14325         * wcsmbs/c16rtomb.c: New file.
14326         * wcsmbs/mbrtoc16.c: New file.
14327         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14328         for C/POSIX locale.
14329         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14330         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14332         * wcsmbs/wchar.h: Add missing __restrict.
14334 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
14336         [BZ #13532]
14337         * time/Makefile (routines): Add timespec_get.
14338         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14339         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
14340         timespec for ISO C11.
14341         * time/timespec_get.c: New file.
14342         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14343         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14345         [BZ #13531]
14346         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14347         * stdlib/stdlib.h: Declare aligned_alloc.
14348         * Versions.def: Add GLIBC_2.16 for libc.
14349         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14351         [BZ 13527]
14352         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14353         ISO C11.
14355         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14356         code.
14358         [BZ #13528]
14359         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14361         [BZ #13529]
14362         * assert/assert.h (static_assert): Define.
14364         * version.h: Update for 2.16 development version.
14366         [BZ #13526]
14367         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14368         _ISOC11_SOURCE.
14370         * version.h (RELEASE): Bump for 2.15 release.
14371         * include/features.h (__GLIBC_MINOR__): Bump to 15.
14373         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14374         Patch by Marek Polacek <mpolacek@redhat.com>.
14376         * bits/byteswap.h: Protect long long constants with __extension__.
14377         * sysdeps/i386/bits/byteswap.h: Likewise.
14378         * sysdeps/ia64/bits/byteswap.h: Likewise.
14379         * sysdeps/s390/bits/byteswap.h: Likewise.
14380         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14382 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14384         [BZ #13540]
14385         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14386         destination buffer.
14387         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14389 2011-12-23  Marek Polacek  <polacek@redhat.com>
14391         * elf/dl-addr.c (determine_info): Add inline keyword.
14392         * elf/tst-auditmod4b.c (check_avx): Likewise.
14393         * elf/tst-auditmod6b.c (check_avx): Likewise.
14394         * elf/tst-auditmod6c.c (check_avx): Likewise.
14395         * elf/tst-auditmod7b.c (check_avx): Likewise.
14397 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
14399         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14400         !__SSE_MATH__.
14402 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14404         [BZ #13540]
14405         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14406         processing for last bytes.
14408 2011-08-06  Bruno Haible  <bruno@clisp.org>
14410         [BZ #13061]
14411         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14412         U+0385, not to U+1FEE.
14414         [BZ #13062]
14415         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14416         entry for U+00A5 U+0301.
14418 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
14420         [BZ #13166]
14421         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14422         buffer for the output is too small.
14424         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14425         optimization.
14427         [BZ #13185]
14428         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14429         SSE flags if possible.
14431 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14433         [BZ #13540]
14434         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14435         processing for last bytes.
14437 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
14439         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14440         (syscall-list-default-options, syscall-list-default-condition)
14441         (syscall-list-includes): Define.
14442         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14443         list of ABIs and options and #if conditions for each ABI.  Do not
14444         handle common syscalls between ABIs specially.
14445         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14446         Remove.
14447         (syscall-list-variants, syscall-list-32bit-options)
14448         (syscall-list-32bit-condition, syscall-list-64bit-options)
14449         (syscall-list-64bit-condition): Define.
14450         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14451         (syscall-list-variants, syscall-list-32bit-options)
14452         (syscall-list-32bit-condition, syscall-list-64bit-options)
14453         (syscall-list-64bit-condition): Define.
14454         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14455         Remove.
14456         (syscall-list-variants, syscall-list-32bit-options)
14457         (syscall-list-32bit-condition, syscall-list-64bit-options)
14458         (syscall-list-64bit-condition): Define.
14459         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14460         Remove.
14461         (syscall-list-variants, syscall-list-32bit-options)
14462         (syscall-list-32bit-condition, syscall-list-64bit-options)
14463         (syscall-list-64bit-condition): Define.
14465 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
14467         * locale/iso-639.def: Add brx entry.
14469         [BZ #13328]
14470         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14471         Proposed by Mariusz_Cukr <marcukr@op.pl>.
14473         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14474         __feraiseexcept_renamed.
14476 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
14478         [BZ #13538]
14479         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14480         EPOLLET with unsigned values.
14481         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14482         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14484         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14485         to large cancellation.
14486         * math/s_cacoshf.c: Likewise.
14487         * math/s_cacoshl.c: Likewise.
14489 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
14491         [BZ #13305]
14492         [BZ #12786]
14493         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14494         * math/s_cacoshf.c: Likewise.
14495         * math/s_cacoshl.c: Likewise.
14497 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
14499         [BZ #13439]
14500         * iconv/gconv.h: Define __GCONV_SWAP.
14501         * iconvdata/unicode.c: The swap bit must be stored in __flags.
14502         * iconvdata/utf-16.c: Likewise.
14503         * iconvdata/utf-32.c: Likewise.
14505 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14507         [BZ #13524]
14508         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14509         numerator after shifting it by one limb.
14511 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
14513         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14514         under [__USE_EXTERN_INLINES].
14516 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
14518         [BZ #13446]
14519         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14521 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14523         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14524         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14525         optimized code.
14526         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14527         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14528         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14529         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14530         for strncasecmp/strncasecmp_l compilation.
14531         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14532         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14534 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
14536         [BZ #13484]
14537         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14538         of __asm__.
14540 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
14542         [BZ #13506]
14543         * time/tzfile.c (__tzfile_read): Check values from file header.
14545 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14547         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14548         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14549         * powerpc/powerpc32/dl-start.S: Likewise.
14550         * powerpc/powerpc32/elf/start.S: Likewise.
14551         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14552         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14553         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14554         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14555         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14556         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14557         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14558         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14559         * powerpc/powerpc32/fpu/s_round.S: Likewise.
14560         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14561         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14562         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14563         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14564         * powerpc/powerpc32/memset.S: Likewise.
14565         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14566         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14567         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14568         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14569         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14570         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14571         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14572         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14573         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14574         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14575         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14576         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14577         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14579 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14581         * math/libm-test.inc: Added more nearbyint tests.
14582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14587 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
14589         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14590         FD_CLOEXEC.
14592 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14594         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14595         Add wcscpy-ssse3 wcscpy-c.
14596         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14597         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14598         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14599         * sysdeps/x86_64/wcschr.S: New file.
14600         * sysdeps/x86_64/wcsrchr.S: New file.
14601         * string/test-strcmp.c: Remove checking of wcscmp function for
14602         wrong alignments.
14603         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14604         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14605         wcsrchr-sse2 wcsrchr-c.
14606         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14607         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14608         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14609         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14610         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14611         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14612         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14613         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14614         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14615         * wcsmbc/wcschr.c (WCSCHR): New macro.
14617 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14619         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14620         * wcsmbs/test-wcsrchr.c: New file.
14621         * string/test-strrchr.c: Add wcsrchr support.
14622         (WIDE): New macro.
14623         * wcsmbs/test-wcscpy.c: New file.
14624         * string/test-strcpy.c: Add wcscpy support.
14625         (WIDE): New macro.
14627 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
14629         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14630         the inner loop.
14632 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
14634         [BZ #13472]
14635         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14637 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
14639         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14640         Minor optimizations.
14642         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14643         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14644         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14646 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
14648         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14649         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14650         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14651         for gcc to avoid warnings.
14652         * inet/Makefile (tests): Add tst-checks.
14653         * inet/tst-checks.c: New file.
14655         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14656         warning.
14658         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14659         __wmemcmp_sse2.
14661         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14662         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14664         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14666 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
14668         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14669         problem.
14671         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14673 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
14675         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14676         conditional on GCC version.
14677         (__arch_compare_and_exchange_val_8_acq)
14678         (__arch_compare_and_exchange_val_16_acq)
14679         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14680         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14681         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14683 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
14685         * sysdeps/sh/backtrace.c: New file.
14687 2011-12-02  Andreas Schwab  <schwab@redhat.com>
14689         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
14690         parenthesis.
14692 2011-12-01  Andreas Schwab  <schwab@redhat.com>
14694         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14695         falling back to utime.
14697 2011-11-30  Andreas Schwab  <schwab@redhat.com>
14699         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14700         expectations for float.
14702 2011-11-29  Andreas Schwab  <schwab@redhat.com>
14704         * locale/weight.h (findidx): Add parameter len.
14705         * locale/weightwc.h (findidx): Likewise.
14706         * posix/fnmatch_loop.c (FCT): Adjust caller.
14707         * posix/regcomp.c (build_equiv_class): Likewise.
14708         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14709         * posix/regexec.c (check_node_accept_bytes): Likewise.
14710         * string/strcoll_l.c (STRCOLL): Likewise.
14711         * string/strxfrm_l.c (STRXFRM): Likewise.
14713 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
14715         * Makefile.in: Remove CVSOPT handling.
14716         * configure.in: Remove use of AC_REVISION.
14717         * iconvdata/Makefile (distribute): No need to filter out CVS.
14718         * scripts/list-sources.sh: Remove CVS, subversion and monotone
14719         handling.
14721 2011-11-16  Andreas Schwab  <schwab@redhat.com>
14723         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14724         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14725         [USE_AS_STRNCASECMP_L]: Likewise.
14726         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14727         NO_TLS_DIRECT_SEG_REFS.
14728         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14729         Fix argument offsets for non-PIC.
14730         [USE_AS_STRNCASECMP_L]: Likewise.
14731         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14732         NO_TLS_DIRECT_SEG_REFS.
14734 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14736         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14737         O_CLOEXEC.
14738         * locale/loadlocale.c (_nl_load_locale): Likewise.
14740 2011-11-15  Andreas Schwab  <schwab@redhat.com>
14742         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14743         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14744         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14745         (SYSCALL_GETTIME): Set errno on error.
14747         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14748         count references to noai6ai_cached.
14750 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14752         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14754         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14755         FD_CLOEXEC for /proc/self/maps.
14757         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14758         FD_CLOEXEC for /proc/meminfo.
14760         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14761         gai.conf.
14763         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
14764         FD_CLOEXEC for given file.
14766         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14768         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14769         FD_CLOEXEC for /etc/hosts.
14770         (_gethtent): Likewise.
14772         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14774         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14775         cancellation and set FD_CLOEXEC for /etc/netgroup.
14777         * nss/nss_files/files-key.c (search): Don't allow cancellation when
14778         reading /etc/publickey.
14780         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14781         allow cancellation when reading /etc/group.
14783         * nss/nss_files/files-alias.c (internal_setent): Don't allow
14784         cancellation.
14785         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
14787         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14788         when using data file.
14790         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14792         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14793         (write_nis_obj): Use "c" and "e" in fopen.
14795         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14797         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14799         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14801         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14803         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14804         locale.alias.
14806         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14808         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14810         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14812         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14813         file parsing and set FD_CLOEXEC.
14815 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14817         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14819 2011-11-14  Andreas Schwab  <schwab@redhat.com>
14821         * malloc/arena.c (arena_get2): Don't call reused_arena when
14822         _int_new_arena failed.
14824 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14826         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14827         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14828         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14829         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14830         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14831         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14832         to compile strcasecmp and strncasecmp.
14833         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14834         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14838 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
14840         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14841         locale-defines.sym to gen-as-const-headers.
14842         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14843         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14845         to compile strcasecmp and strncasecmp.
14846         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14847         strcasecmp_l and strncasecmp_l.
14848         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14849         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14850         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14851         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14852         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14853         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14854         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14855         * sysdeps/i386/i686/multiarch/strncase.S: New file.
14856         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14857         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14858         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14860 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
14862         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14863         result of SYSDEP_GETTIME_CPU to retval.
14864         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14865         parameter list to macro.  Remove trailing semicolon.  Adjust users.
14867         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14868         variable.
14870         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14871         mantissa words.
14872         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14874         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14875         from unused variable.
14877         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14878         DWARF definitions.
14879         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14880         for assembling.
14882         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14883         over namespaces.
14885         * sunrpc/rpc_prot.c (rejected): Fix case value.
14887         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14888         unsigned long long int to avoid warnings in shift.
14890         * posix/regex_internal.c (re_string_reconstruct): Actually use result
14891         of use of trans.
14892         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14893         variable tmp.
14895         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14896         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14897         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14899         * nis/nis_table.c (nis_list): Use variable of correct type for
14900         result of __follow_path call.
14902 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14904         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14905         of math functions ceil, trunc, floor, round, and sqrt, when
14906         avaliable on the platform.
14907         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14908         name clash.
14909         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14910         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14911         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14913 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
14915         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14916         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14918 2011-11-11  Roland McGrath  <roland@hack.frob.com>
14920         * include/unistd.h: Fix __readlink return type.
14921         Reported by Chris Metcalf <cmetcalf@tilera.com>.
14923 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
14925         * stdlib/ucontext.h: Undo last change for makecontext.
14927 2011-11-11  Andreas Schwab  <schwab@redhat.com>
14929         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14931         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14932         * setjmp/setjmp.h: Mark functions as non-leaf.
14933         * setjmp/bits/setjmp2.h: Likewise.
14934         * stdlib/ucontext.h: Likewise.
14936 2011-11-10  Andreas Schwab  <schwab@redhat.com>
14938         * malloc/arena.c (_int_new_arena): Don't increment narenas.
14939         (reused_arena): Don't check arena limit.
14940         (arena_get2): Atomically check arena limit.
14942 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
14944         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14945         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14947         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14948         instructions.
14950 2011-11-07  Andreas Schwab  <schwab@redhat.com>
14952         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14953         handler when locking.
14955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14956         Fix size of allocated buffer.
14958 2011-11-04  Andreas Schwab  <schwab@redhat.com>
14960         [BZ #10103]
14961         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14962         declarations for long double functions.
14963         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14965         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14967 2011-11-03  Andreas Schwab  <schwab@redhat.com>
14969         * nscd/nscd.c (main): Don't start AVC thread until credentials are
14970         installed.
14972         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14973         is disabled.
14975 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14977         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14979 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14981         * include/alloca.h (stackinfo_alloca_round): Define.
14982         (extend_alloca): Use it.
14983         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14984         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14985         here.
14987         * scripts/check-local-headers.sh: Ignore libaudit.h.
14989         * nscd/Makefile (extra-objs): Make recursively expanded.
14991 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
14993         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14994         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14996         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14997         * posix/tst-rfc3484-2.c: Likewise.
14998         * posix/tst-rfc3484-3.c: Likewise.
15000         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15001         process_vm_writev.
15002         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15003         process_vm_writev.
15004         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15005         process_vm_writev from libc using GLIBC_2.15 version.
15007         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15009 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
15011         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15012         stack usage.
15014 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
15016         [BZ #13367]
15017         * nss/getent.c (initgroups_keys): Show error message in case no group
15018         names are given.
15020         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15021         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15022         __bump_nl_timestamp.
15023         * nscd/connections (nscd_init): When host database is served open
15024         netlink socket and request notification about configuration changes.
15025         (main_loop_poll): Track netlink file descriptor and bump timestamp
15026         in case data becomes available.
15027         (main_loop_epoll): Likewise.
15028         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15029         (database_pers_head): Add extra_data fileds.
15030         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15031         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15032         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15033         Adjust caller.
15034         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15035         in6ai data, call __free_in6ai.
15036         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15037         Add -DHAVE_NETLINK.
15038         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
15039         interface information.  Reuse previous data if netlink timestamp
15040         is not changed.
15041         (__bump_nl_timestamp): New function.
15042         (__free_in6ai): New function.
15044 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
15046         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15047         close_not_cancel_no_status here.
15048         (__check_pf): Reorganize code a bit to not call close twice if OOM.
15050 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
15052         [BZ #13276]
15053         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15054         return value.
15056         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15057         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15058         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15060 2011-07-03  Andreas Jaeger  <aj@suse.de>
15062         [BZ #10709]
15063         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15064         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15065         * math/libm-test.inc (sin_test): Add test case.
15067 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
15069         [BZ #13337]
15070         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15071         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15073         * elf/chroot_canon.c (chroot_canon): Cleanups.
15075         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15077         [BZ #13335]
15078         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15079         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15081         * string/test-strchr.c: Make usable for strchrnul testing.
15082         * string/test-strchrnul.c: New file.
15083         * string/Makefile (strop-tests): Add strchrnul.
15085         * po/it.po: Update from translation team.
15086         * po/es.po: Likewise.
15088 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
15090         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15091         the three constants needed as parameters.  Drop the others.
15092         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15093         __m128i_strloadu_tolower.
15094         Create and initialize variable zero and use it in all the places
15095         where _mm_setzero_si128 was used.
15097         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15098         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15099         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15100         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15101         anymore.
15102         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15103         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15104         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15105         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15106         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15107         __mpranred, __mptan.
15108         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15109         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15110         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15111         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15112         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15113         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15114         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15115         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15116         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15118 2011-10-28  Andreas Schwab  <schwab@redhat.com>
15120         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15121         redefine if SHARED.
15122         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15124         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15125         wide char related routines to wcsmbs subdir.
15127 2011-10-27  Andreas Schwab  <schwab@redhat.com>
15129         [BZ #13344]
15130         * misc/sys/cdefs.h (__THROWNL): Define.
15131         * posix/unistd.h: Use __THREADNL instead of __THREAD
15132         for memory synchronization functions.
15134 2011-10-26  Roland McGrath  <roland@hack.frob.com>
15136         [BZ #13349]
15137         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15138         doesn't exist.
15139         * manual/stdio.texi (Obstack Streams): Node removed.
15141 2011-10-26  Andreas Schwab  <schwab@redhat.com>
15143         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15144         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15145         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15147         * math/math_private.h (math_force_eval): Allow non-addressable
15148         arguments.
15149         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15151 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
15153         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15154         file is not needed.
15156         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15157         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15158         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15159         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15160         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15161         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15162         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15163         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15164         Add AVX variants.
15165         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15166         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15167         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15168         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15169         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15170         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15171         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15172         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15173         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15174         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15175         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15176         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15177         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15178         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15179         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15180         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15181         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15182         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15183         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15185         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15186         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
15188         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15189         place.  Use VEX encoding when compiling for AVX.
15191 2011-10-25  Andreas Schwab  <schwab@redhat.com>
15193         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15194         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15196         * string/test-strchr.c (do_test): Don't generate NUL bytes.
15198 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
15200         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15201         useless if() expression.
15202         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15203         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15204         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15206         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15207         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15208         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15209         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15210         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15211         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15212         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15213         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15214         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15215         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15216         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15217         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15218         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15219         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15220         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15222         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15224 2011-10-25  Andreas Schwab  <schwab@redhat.com>
15226         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15227         condition.
15228         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15230 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
15232         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15233         .text section.  Avoid duplicate constants.
15234         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15235         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15236         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15237         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15238         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15239         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15240         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15241         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15242         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15243         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15244         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15245         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15246         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15247         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15248         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15249         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15250         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15251         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15252         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15253         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15254         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15255         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15256         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15257         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15258         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15259         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15260         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15261         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15262         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15263         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15264         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15265         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15266         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15267         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15268         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15269         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15270         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15271         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15272         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15273         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15274         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15275         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15276         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15277         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15278         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15280 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
15282         * sysdeps/x86_64/dla.h: Move to ...
15283         * sysdeps/x86_64/fpu/dla.h: ...here.
15284         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15285         situations.  Use __builtin_fma only for gcc 4.6 and up.
15287         * config.make.in: Add have-mfma4 entry.
15288         * configure.in: Substitute libc_cv_cc_fma4.
15289         * math/Makefile (dbl-only-routines): Add sincostab.
15290         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15291         Use __sincostab not sincos.
15292         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15293         name is a macro.
15294         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15295         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15296         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
15298         using __copysign.
15299         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
15300         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
15301         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15302         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15303         and __inv.
15304         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15305         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15306         __copysign.
15307         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
15308         define aliases when function name is a macro.
15309         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15310         sysdeps/ieee754/dbl-64/sincos.tbl.
15311         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15312         fma4-enabled routines.
15313         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15314         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15315         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15316         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15317         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15318         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15319         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15320         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15321         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15322         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15323         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15324         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15325         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15326         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15327         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15328         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15329         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15330         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15331         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15332         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15333         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15334         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15335         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15336         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15337         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15338         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15339         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15340         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15341         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15342         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15344         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15345         rename.
15346         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15348         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15352         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15353         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15355 2011-10-24  Andreas Schwab  <schwab@redhat.com>
15357         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15359 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15361         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15363         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15364         prediction.
15365         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15367         * string/strnlen.c: Don't define STRNLEN, reverse logic.
15368         Remove unused variable magic_bits.
15369         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15371         * string/strnlen.c: Define and use STRNLEN macro.
15372         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15373         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15374         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15375         * wcsmbs/wcslen.c: Define and use WCSLEN.
15376         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15377         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15378         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15379         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15380         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15381         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15382         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15384 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15387         strnlen-sse2-no-bsf.
15388         Rename strlen-no-bsf to strlen-sse2-no-bsf.
15389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15390         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15391         Add strnlen support.
15392         (USE_AS_STRNLEN): New macro.
15393         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15394         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15395         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15396         * sysdeps/x86_64/wcslen.S: New file.
15398 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
15400         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15401         XMM-moves are used for copying on small sizes.
15403 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15405         * wcsmbs/Makefile (strop-tests): Add wcschr.
15406         * wcsmbs/test-wcschr.c: New file.
15407         * string/test-strchr.c: Update.
15408         Add wcschr support.
15409         (WIDE): New macro.
15411 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15413         * wcsmbs/Makefile (strop-tests): Add wcslen.
15414         * wcsmbs/test-wcslen.c: New file.
15415         * string/test-strlen.c: Update.
15416         Add wcslen support.
15417         (WIDE): New macro.
15419 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15421         * po/it.po: Update from translation team.
15423 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15425         * sysdeps/x86_64/wcscmp.S: Update.
15426         Fix wrong comparison semantics.
15427         wcscmp shall use signed comparison not unsigned.
15428         Don't use substraction to avoid overflow bug.
15429         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15430         * wcsmbc/wcscmp.c: Likewise.
15431         * string/test-strcmp.c: Likewise.
15432         Add new tests to check cases with negative values.
15434 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15436         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15437         * sysdeps/x86_64/dla.h: ...here.  New file.
15438         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15439         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15441         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15442         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15443         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15444         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15445         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15446         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15448 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
15450         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15451         __ynl_finite aliases.
15453 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
15455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15457         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15458         define DLA_FMA.
15459         [DLA_FMA] (EMULV): Use DLA_FMA.
15460         [DLA_FMA] (MUL12): Use EMULV.
15461         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15462         that are not needed.
15463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15464         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15467         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15468         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15469         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15471 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
15473         * math/s_nan.c: Undef __nan.
15474         * math/s_nanf.c: Undef __nanf.
15475         * math/s_nanl.c: Undef __nanl.
15476         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15477         "math_private.h".
15479 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
15481         * math/s_catan.c: Add branch predictions.
15482         * math/s_catanf.c: Likewise.
15483         * math/s_catanh.c: Likewise.
15484         * math/s_catanhf.c: Likewise.
15485         * math/s_catanhl.c: Likewise.
15486         * math/s_catanl.c: Likewise.
15487         * math/s_cexp.c: Likewise.
15488         * math/s_cexpf.c: Likewise.
15489         * math/s_cexpl.c: Likewise.
15490         * math/s_clog.c: Likewise.
15491         * math/s_clog10.c: Likewise.
15492         * math/s_clog10f.c: Likewise.
15493         * math/s_clog10l.c: Likewise.
15494         * math/s_clogf.c: Likewise.
15495         * math/s_clogl.c: Likewise.
15496         * math/s_csqrt.c: Likewise.
15497         * math/s_csqrtf.c: Likewise.
15498         * math/s_csqrtl.c: Likewise.
15499         * math/s_ctanf.c: Likewise.
15500         * math/s_ctanh.c: Likewise.
15501         * math/s_ctanhf.c: Likewise.
15502         * math/s_ctanhl.c: Likewise.
15503         * math/s_ctanl.c: Likewise.
15505         * math/math_private.h: Define __nan, __nanf, __nanl.
15506         * math/s_cacosh.c: Include <math_private.h>.
15507         * math/s_cacoshl.c: Likewise.
15508         * math/s_casinh.c: Likewise.
15509         * math/s_casinhf.c: Likewise.
15510         * math/s_casinhl.c: Likewise.
15511         * math/s_ccos.c: Rely entire on ccosh.
15512         * math/s_ccosf.c: Rely entire on ccoshf.
15513         * math/s_ccosl.c: Rely entirely on ccoshl.
15514         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
15515         Remove tests for FE_INVALID.
15516         * math/s_ccoshf.c: Likewise.
15517         * math/s_ccoshl.c: Likewise.
15518         * math/s_csin.c: Likewise.
15519         * math/s_csinf.c: Likewise.
15520         * math/s_csinh.c Likewise.
15521         * math/s_csinhf.c: Likewise.
15522         * math/s_csinhl.c: Likewise.
15523         * math/s_csinl.c: Likewise.
15524         * math/s_ctan.c: Likewise.
15525         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15526         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15527         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15529 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
15531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15532         compilation problems.
15534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15535         __builtin_expect.
15537 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
15539         * sysdeps/i386/configure.in: Test for -mfma4 option.
15540         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15541         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15542         COMMON_CPUID_INDEX_80000001.
15543         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15544         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15545         use it if FMA3 is not supported.
15546         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15548         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15549         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15551 2011-10-20  Andreas Schwab  <schwab@redhat.com>
15553         [BZ #12892]
15554         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15555         it would create a cycle with a link time dependency.
15557 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
15559         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15560         instruction.
15561         * string/Makefile (strop-tests): Add rawmemchr.
15562         * string/test-rawmemchr.c: New file.
15564         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15565         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
15566         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
15567         when compiling str{,n}casecmp and when AVX is available.  Hook up
15568         new optimized code in initializers.
15570 2011-10-19  Andreas Schwab  <schwab@redhat.com>
15572         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15573         __feraiseexcept instead of feraiseexcept.
15575 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
15577         * math/math_private.h: Define defaults for libc_fetestexcept and
15578         libc_feupdateenv.
15579         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15580         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15581         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15582         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15583         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15584         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15585         libc_fetestexcept and libc_feupdateenv.
15587         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15588         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15589         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15590         * sysdeps/x86_64/fpu/math_private.h: Define special version of
15591         libc_feholdexcept_setround.
15593         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15594         Add s_nearbyint-c and s_nearbyintf-c.
15595         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15596         nearbyintf inlines.
15597         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15598         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15599         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15600         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15602         * math/math_private.h: Define defaults for libc_fegetround,
15603         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15604         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15605         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15606         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15607         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15608         standard functions.
15609         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15610         Remove comments and hacks for old compiler versions.
15611         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15612         libc_fegetround, libc_fesetround, libc_feholdexcept, and
15613         libc_feholdexceptl.
15615 2011-10-18  Andreas Schwab  <schwab@redhat.com>
15617         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15618         (__feraiseexcept_renamed): Add __NTH.
15619         (feraiseexcept): Add __NTH.  Rename local variables to fix
15620         namespace violations.
15622 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
15624         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15626         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15628         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15629         recently added interfaces.
15630         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15632         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15633         about macro parameter expansion.
15635         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15636         __NO_MATH_INLINES is defined.  Cleanups.
15638         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15639         and __floorf is target has SSE4.1.
15640         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15641         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15642         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15643         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15645         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15646         name.
15647         (floorf): Likewise.
15649         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15651 2011-10-17  Andreas Schwab  <schwab@redhat.com>
15653         * misc/sys/cdefs.h: Fix last change.
15655         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15656         database lookup.
15658 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
15660         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15662         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15663         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15664         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15665         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15666         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15667         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15668         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15669         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15670         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15671         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15672         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15673         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15674         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15675         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15676         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15677         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15678         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15679         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15680         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15681         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15682         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15683         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15685         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15686         ceil, ceilf, floor, floorf.
15688         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15689         Perform IRELATIVE relocations last.
15691         * elf/do-rel.h: Add another parameter nrelative, replacing the
15692         local variable with the same name.  Change name of the function
15693         to end in Rel or Rela (uppercase).
15694         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15695         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
15696         elf_dynamic_do_##reloc function.
15698 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15700         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15701         is sufficient, at least on modern CPUs.
15703         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15705         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15706         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15708         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15709         __expl_finite.
15710         * math/bits/math-finite.h: Add entries for exp.
15711         * math/e_expl.c: Add __*_finite alias.
15712         * sysdeps/i386/fpu/e_exp.S: Likewise.
15713         * sysdeps/i386/fpu/e_expf.S: Likewise.
15714         * sysdeps/i386/fpu/e_expl.c: Likewise.
15715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15716         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15717         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15718         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15719         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15720         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15721         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15723         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15724         is sufficient, at least on modern CPUs.
15726         * ctype/ctype-info.c (__ctype_init): Define.
15727         * include/ctype.h (__ctype_init): Declare.
15728         (__ctype_b_loc): The variable is always initialized.
15729         (__ctype_toupper_loc): Likewise.
15730         (__ctype_tolower_loc): Likewise.
15731         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15732         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15734 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
15736         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15738         * configure.in: Also look in $cxxmachine/include for C++ system
15739         headers.
15741 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15743         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15744         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15745         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15746         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
15747         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15748         (USE_AS_WMEMCMP): New macro.
15749         Fixing indents.
15750         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15751         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15752         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15753         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15754         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15755         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15756         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15757         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15758         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15759         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15760         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15761         (USE_AS_WMEMCMP): New macro.
15762         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15763         * sysdeps/string/test-memcmp.c: Update.
15764         Fix simple_wmemcmp.
15765         Add new tests.
15766         * wcsmbs/wmemcmp.c: Update.
15767         (WMEMCMP): New macro.
15768         Fix overflow bug.
15770 2011-10-12  Andreas Jaeger  <aj@suse.de>
15772         [BZ #13268]
15773         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15775 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15777         * libio/iofwide.c (do_length): Avoid warning.
15779         * ctype/ctype.h (__isctype_f): Add missing __THROW.
15781 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
15783         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15785         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15786         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15787         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15788         * sysdeps/i386/i686/fpu/e_log.S: New file.
15789         * sysdeps/i386/i686/fpu/e_logf.S: New file.
15790         * sysdeps/i386/i686/fpu/e_logl.S: New file.
15792         * ctype/ctype.h: Add support for inlined isXXX functions when
15793         compiling C++ code.
15795 2011-10-14  Andreas Schwab  <schwab@redhat.com>
15797         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15799         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15801 2011-10-13  Roland McGrath  <roland@hack.frob.com>
15803         [BZ #13291]
15804         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15806 2011-10-13  Andreas Schwab  <schwab@redhat.com>
15808         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15809         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15810         feraiseexcept.
15812         * sysdeps/x86_64/memrchr.S: Check for zero size.
15814         * string/stratcliff.c: Add memrchr tests.
15816 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15818         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15819         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15820         rawmemchr-sse2 rawmemchr-sse2-bsf.
15821         * sysdeps/i386/i686/multiarch/memchr.S: New file.
15822         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15823         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15824         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15825         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15826         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15827         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15828         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15829         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15830         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15831         * string/memrchr.c (MEMRCHR): New macro.
15833 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
15835         Add integration with gcc's -ffinite-math-only and optimize wrapper
15836         functions in libm.
15837         * Versions.def: Define GLIBC_2.15 version for libm.
15838         * math/Makefile (headers): Add bits/math-finite.h.
15839         * math/bits/math-finite.h: New file.
15840         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15841         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15842         * math/e_acoshl.c: Add __*_finite alias.
15843         * math/e_acosl.c: Likewise.
15844         * math/e_asinl.c: Likewise.
15845         * math/e_atan2l.c: Likewise.
15846         * math/e_atanhl.c: Likewise.
15847         * math/e_coshl.c: Likewise.
15848         * math/e_exp10.c: Likewise.
15849         * math/e_exp10f.c: Likewise.
15850         * math/e_exp10l.c: Likewise.
15851         * math/e_exp2l.c: Likewise.
15852         * math/e_fmodl.c: Likewise.
15853         * math/e_gammal_r.c: Likewise.
15854         * math/e_hypotl.c: Likewise.
15855         * math/e_j0l.c: Likewise.
15856         * math/e_j1l.c: Likewise.
15857         * math/e_jnl.c: Likewise.
15858         * math/e_lgammal_r.c: Likewise.
15859         * math/e_log10l.c: Likewise.
15860         * math/e_log2l.c: Likewise.
15861         * math/e_logl.c: Likewise.
15862         * math/e_powl.c: Likewise.
15863         * math/e_sinhl.c: Likewise.
15864         * math/e_sqrtl.c: Likewise.
15865         * math/e_scalb.c: Completely rewritten and optimized.
15866         * math/e_scalbf.c: Likewise.
15867         * math/e_scalbl.c: Likewise.
15868         * math/w_acos.c: Likewise.
15869         * math/w_acosf.c: Likewise.
15870         * math/w_acosl.c: Likewise.
15871         * math/w_acosh.c: Likewise.
15872         * math/w_acoshf.c: Likewise.
15873         * math/w_acoshl.c: Likewise.
15874         * math/w_asin.c: Likewise.
15875         * math/w_asinf.c: Likewise.
15876         * math/w_asinl.c: Likewise.
15877         * math/w_atan2.c: Likewise.
15878         * math/w_atan2f.c: Likewise.
15879         * math/w_atan2l.c: Likewise.
15880         * math/w_atanh.c: Likewise.
15881         * math/w_atanhf.c: Likewise.
15882         * math/w_atanhl.c: Likewise.
15883         * math/w_exp10.c: Likewise.
15884         * math/w_exp10f.c: Likewise.
15885         * math/w_exp10l.c: Likewise.
15886         * math/w_fmod.c: Likewise.
15887         * math/w_fmodf.c: Likewise.
15888         * math/w_fmodl.c: Likewise.
15889         * math/w_j0.c: Likewise.
15890         * math/w_j0f.c: Likewise.
15891         * math/w_j0l.c: Likewise.
15892         * math/w_j1.c: Likewise.
15893         * math/w_j1f.c: Likewise.
15894         * math/w_j1l.c: Likewise.
15895         * math/w_jn.c: Likewise.
15896         * math/w_jnf.c: Likewise.
15897         * math/w_log.c: Likewise.
15898         * math/w_logf.c: Likewise.
15899         * math/w_logl.c: Likewise.
15900         * math/w_log10.c: Likewise.
15901         * math/w_log10f.c: Likewise.
15902         * math/w_log10l.c: Likewise.
15903         * math/w_log2.c: Likewise.
15904         * math/w_log2f.c: Likewise.
15905         * math/w_log2l.c: Likewise.
15906         * math/w_pow.c: Likewise.
15907         * math/w_powf.c: Likewise.
15908         * math/w_powl.c: Likewise.
15909         * math/w_remainder.c: Likewise.
15910         * math/w_remainderf.c: Likewise.
15911         * math/w_remainderl.c: Likewise.
15912         * math/w_scalb.c: Likewise.
15913         * math/w_scalbf.c: Likewise.
15914         * math/w_scalbl.c: Likewise.
15915         * math/w_sqrt.c: Likewise.
15916         * math/w_sqrtf.c: Likewise.
15917         * math/w_sqrtl.c: Likewise.
15918         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15919         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
15920         used.
15921         * math/math_private.h: Declare __kernel_standard_f.
15922         * math/w_cosh.c: Remove cruft and optimize a bit.
15923         * math/w_coshf.c: Likewise.
15924         * math/w_coshl.c: Likewise.
15925         * math/w_exp2.c: Likewise.
15926         * math/w_exp2f.c: Likewise.
15927         * math/w_exp2l.c: Likewise.
15928         * math/w_hypot.c: Likewise.
15929         * math/w_hypotf.c: Likewise.
15930         * math/w_hypotl.c: Likewise.
15931         * math/w_lgamma.c: Likewise.
15932         * math/w_lgamma_r.c: Likewise.
15933         * math/w_lgammaf.c: Likewise.
15934         * math/w_lgammaf_r.c: Likewise.
15935         * math/w_lgammal.c: Likewise.
15936         * math/w_lgammal_r.c: Likewise.
15937         * math/w_sinh.c: Likewise.
15938         * math/w_sinhf.c: Likewise.
15939         * math/w_sinhl.c: Likewise.
15940         * math/w_tgamma.c: Likewise.
15941         * math/w_tgammaf.c: Likewise.
15942         * math/w_tgammal.c: Likewise.
15943         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15944         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15945         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15946         Minor optimizations.  Pretty printing.  Remove cruft.
15947         * sysdeps/i386/fpu/e_acosf.S: Likewise.
15948         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15949         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15950         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15951         * sysdeps/i386/fpu/e_acosl.c: Likewise.
15952         * sysdeps/i386/fpu/e_asin.S: Likewise.
15953         * sysdeps/i386/fpu/e_asinf.S: Likewise.
15954         * sysdeps/i386/fpu/e_atan2.S: Likewise.
15955         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15956         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15957         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15958         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15959         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15960         * sysdeps/i386/fpu/e_exp10.S: Likewise.
15961         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15962         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15963         * sysdeps/i386/fpu/e_exp2.S: Likewise.
15964         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15965         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15966         * sysdeps/i386/fpu/e_fmod.S: Likewise.
15967         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15968         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15969         * sysdeps/i386/fpu/e_hypot.S: Likewise.
15970         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15971         * sysdeps/i386/fpu/e_log.S: Likewise.
15972         * sysdeps/i386/fpu/e_log10.S: Likewise.
15973         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15974         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15975         * sysdeps/i386/fpu/e_log2.S: Likewise.
15976         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15977         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15978         * sysdeps/i386/fpu/e_logf.S: Likewise.
15979         * sysdeps/i386/fpu/e_logl.S: Likewise.
15980         * sysdeps/i386/fpu/e_pow.S: Likewise.
15981         * sysdeps/i386/fpu/e_powf.S: Likewise.
15982         * sysdeps/i386/fpu/e_powl.S: Likewise.
15983         * sysdeps/i386/fpu/e_remainder.S: Likewise.
15984         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15985         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15986         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15987         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15988         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15989         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15990         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15991         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15992         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15993         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15995         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15996         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15997         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15998         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15999         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16000         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16001         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16002         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16003         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16005         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16006         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16007         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16008         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16009         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16010         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16012         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16013         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16014         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16015         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16016         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16017         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16018         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16019         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16020         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16021         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16022         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16023         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16024         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16025         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16026         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16027         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16028         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16029         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16030         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16031         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16032         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16033         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16037         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16043         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16044         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16045         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16046         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16047         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16048         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16049         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16050         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16051         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16052         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16053         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16054         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16055         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16056         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16057         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16058         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16059         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16060         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16061         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16062         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16063         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16064         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16065         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16066         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16067         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16068         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16069         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16070         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16071         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16072         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16073         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16074         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16075         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16076         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16077         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16078         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16079         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16080         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16081         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16082         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16083         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16084         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16085         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16086         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16087         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16088         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16089         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16090         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16091         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16092         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16093         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16094         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16095         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16096         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16097         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16098         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16099         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16100         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16101         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16102         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
16103         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16104         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16105         (__isnanf): Likewise.
16106         (__isinf_ns): Likewise.
16107         (__isinf_nsf): Likewise.
16108         (__finite): Likewise.
16109         (__finitef): Likewise.
16110         (__ieee754_sqrt): Define as macro.
16111         (__ieee754_sqrtf): Define as macro.
16112         (__ieee754_sqrtl): Define as macro.
16113         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16114         inlined copy.
16115         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16116         __FINITE_MATH_ONLY__ consistent.
16117         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16119 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
16121         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16122         of rawmemchr.
16124         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16126 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
16128         * po/ja.po: Update from translation team.
16130 2011-10-08  Roland McGrath  <roland@hack.frob.com>
16132         * locale/programs/locarchive.c (prepare_address_space): New function.
16133         (create_archive, enlarge_archive, open_archive): Use it.
16135         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16136         inside [SHARED], where it is used.
16138         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16140         * nss/getent.c (netgroup_keys): Remove unused variable.
16141         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16143 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
16145         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16146         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16148         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16149         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16150         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16151         * math/Makefile (libm-calls): Add s_isinf_ns.
16152         * math/divtc3.c: Use __isinf_nsl instead of isinf.
16153         * math/multc3.c: Likewise.
16154         * math/s_casin.c: Likewise.
16155         * math/s_casinf.c: Likewise.
16156         * math/s_casinl.c: Likewise.
16157         * math/s_ccos.c: Likewise.
16158         * math/s_ccosf.c: Likewise.
16159         * math/s_ccosl.c: Likewise.
16160         * math/s_ctan.c: Likewise.
16161         * math/s_ctanf.c: Likewise.
16162         * math/s_ctanh.c: Likewise.
16163         * math/s_ctanhf.c: Likewise.
16164         * math/s_ctanhl.c: Likewise.
16165         * math/s_ctanl.c: Likewise.
16166         * math/w_fmod.c: Likewise.
16167         * math/w_fmodf.c: Likewise.
16168         * math/w_fmodl.c: Likewise.
16169         * math/w_remainder.c: Likewise.
16170         * math/w_remainderf.c: Likewise.
16171         * math/w_remainderl.c: Likewise.
16172         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16173         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16174         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16175         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16176         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16177         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16178         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16179         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16181         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16182         of the number.
16183         * stdio-common/printf_fphex.c: Likewise.
16184         * stdio-common/printf_size.c: Likewise.
16186         * math/e_exp10.c: Include math_private.h using <...> not "...".
16187         * math/e_exp10f.c: Likewise.
16188         * math/e_exp10l.c: Likewise.
16189         * math/e_exp2l.c: Likewise.
16190         * math/e_j0l.c: Likewise.
16191         * math/e_j1l.c: Likewise.
16192         * math/e_jnl.c: Likewise.
16193         * math/e_lgammal_r.c: Likewise.
16194         * math/e_rem_pio2l.c: Likewise.
16195         * math/e_scalb.c: Likewise.
16196         * math/e_scalbf.c: Likewise.
16197         * math/e_scalbl.c: Likewise.
16198         * math/k_cosl.c: Likewise.
16199         * math/k_sinl.c: Likewise.
16200         * math/k_tanl.c: Likewise.
16201         * math/s_cacoshf.c: Likewise.
16202         * math/s_catan.c: Likewise.
16203         * math/s_catanf.c: Likewise.
16204         * math/s_catanh.c: Likewise.
16205         * math/s_catanhf.c: Likewise.
16206         * math/s_catanhl.c: Likewise.
16207         * math/s_catanl.c: Likewise.
16208         * math/s_ccosh.c: Likewise.
16209         * math/s_ccoshf.c: Likewise.
16210         * math/s_ccoshl.c: Likewise.
16211         * math/s_cexp.c: Likewise.
16212         * math/s_cexpf.c: Likewise.
16213         * math/s_cexpl.c: Likewise.
16214         * math/s_clog.c: Likewise.
16215         * math/s_clog10.c: Likewise.
16216         * math/s_clog10f.c: Likewise.
16217         * math/s_clog10l.c: Likewise.
16218         * math/s_clogf.c: Likewise.
16219         * math/s_clogl.c: Likewise.
16220         * math/s_csin.c: Likewise.
16221         * math/s_csinf.c: Likewise.
16222         * math/s_csinh.c: Likewise.
16223         * math/s_csinhf.c: Likewise.
16224         * math/s_csinhl.c: Likewise.
16225         * math/s_csinl.c: Likewise.
16226         * math/s_csqrt.c: Likewise.
16227         * math/s_csqrtf.c: Likewise.
16228         * math/s_csqrtl.c: Likewise.
16229         * math/s_ctan.c: Likewise.
16230         * math/s_ctanf.c: Likewise.
16231         * math/s_ctanh.c: Likewise.
16232         * math/s_ctanhf.c: Likewise.
16233         * math/s_ctanhl.c: Likewise.
16234         * math/s_ctanl.c: Likewise.
16235         * math/s_ldexp.c: Likewise.
16236         * math/s_ldexpf.c: Likewise.
16237         * math/s_ldexpl.c: Likewise.
16238         * math/s_significand.c: Likewise.
16239         * math/s_significandf.c: Likewise.
16240         * math/s_significandl.c: Likewise.
16241         * math/w_acos.c: Likewise.
16242         * math/w_acosf.c: Likewise.
16243         * math/w_acosh.c: Likewise.
16244         * math/w_acoshf.c: Likewise.
16245         * math/w_acoshl.c: Likewise.
16246         * math/w_acosl.c: Likewise.
16247         * math/w_asin.c: Likewise.
16248         * math/w_asinf.c: Likewise.
16249         * math/w_asinl.c: Likewise.
16250         * math/w_atan2.c: Likewise.
16251         * math/w_atan2f.c: Likewise.
16252         * math/w_atan2l.c: Likewise.
16253         * math/w_atanh.c: Likewise.
16254         * math/w_atanhf.c: Likewise.
16255         * math/w_atanhl.c: Likewise.
16256         * math/w_cosh.c: Likewise.
16257         * math/w_coshf.c: Likewise.
16258         * math/w_coshl.c: Likewise.
16259         * math/w_dremf.c: Likewise.
16260         * math/w_exp10.c: Likewise.
16261         * math/w_exp10f.c: Likewise.
16262         * math/w_exp10l.c: Likewise.
16263         * math/w_exp2.c: Likewise.
16264         * math/w_exp2f.c: Likewise.
16265         * math/w_fmod.c: Likewise.
16266         * math/w_fmodf.c: Likewise.
16267         * math/w_fmodl.c: Likewise.
16268         * math/w_hypot.c: Likewise.
16269         * math/w_hypotf.c: Likewise.
16270         * math/w_hypotl.c: Likewise.
16271         * math/w_j0.c: Likewise.
16272         * math/w_j0f.c: Likewise.
16273         * math/w_j0l.c: Likewise.
16274         * math/w_j1.c: Likewise.
16275         * math/w_j1f.c: Likewise.
16276         * math/w_j1l.c: Likewise.
16277         * math/w_jn.c: Likewise.
16278         * math/w_jnf.c: Likewise.
16279         * math/w_jnl.c: Likewise.
16280         * math/w_lgamma.c: Likewise.
16281         * math/w_lgamma_r.c: Likewise.
16282         * math/w_lgammaf.c: Likewise.
16283         * math/w_lgammaf_r.c: Likewise.
16284         * math/w_lgammal.c: Likewise.
16285         * math/w_lgammal_r.c: Likewise.
16286         * math/w_log.c: Likewise.
16287         * math/w_log10.c: Likewise.
16288         * math/w_log10f.c: Likewise.
16289         * math/w_log10l.c: Likewise.
16290         * math/w_log2.c: Likewise.
16291         * math/w_log2f.c: Likewise.
16292         * math/w_log2l.c: Likewise.
16293         * math/w_logf.c: Likewise.
16294         * math/w_logl.c: Likewise.
16295         * math/w_pow.c: Likewise.
16296         * math/w_powf.c: Likewise.
16297         * math/w_powl.c: Likewise.
16298         * math/w_remainder.c: Likewise.
16299         * math/w_remainderf.c: Likewise.
16300         * math/w_remainderl.c: Likewise.
16301         * math/w_scalb.c: Likewise.
16302         * math/w_scalbf.c: Likewise.
16303         * math/w_scalbl.c: Likewise.
16304         * math/w_sinh.c: Likewise.
16305         * math/w_sinhf.c: Likewise.
16306         * math/w_sinhl.c: Likewise.
16307         * math/w_sqrt.c: Likewise.
16308         * math/w_sqrtf.c: Likewise.
16309         * math/w_sqrtl.c: Likewise.
16310         * math/w_tgamma.c: Likewise.
16311         * math/w_tgammaf.c: Likewise.
16312         * math/w_tgammal.c: Likewise.
16314         * po/ja.po: Update from translation team.
16316 2011-09-29  Andreas Jaeger  <aj@suse.de>
16318         [BZ #13179]
16319         * sunrpc/netname.c (netname2host): Fix logic.
16321         [BZ #6779]
16322         [BZ #6783]
16323         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16324         correctly.
16325         * math/w_remainder.c (__remainder): Likewise.
16326         * math/w_remainderf.c (__remainderf): Likewise.
16327         * math/libm-test.inc (remainder_test): Add test cases.
16329 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16331         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
16332         sdiv_qrnnd.
16334 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
16336         * string/test-memcmp.c: Avoid unncessary #defines.
16337         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16339 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16341         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16342         Use new sse2 version for core i3 - i7 as it's faster
16343         than sse42 version.
16344         (bit_Prefer_PMINUB_for_stringop): New.
16345         * sysdeps/x86_64/rawmemchr.S: Update.
16346         Replace with faster SSE2 version.
16347         * sysdeps/x86_64/memrchr.S: New file.
16348         * sysdeps/x86_64/memchr.S: Update.
16349         Replace with faster SSE2 version.
16351 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
16353         * elf/dl-load.c (lose): Add cast to avoid warning.
16355 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
16357         * po/ca.po: Update from translation team.
16359         * inet/getnetgrent_r.c: Hook up nscd.
16360         * nscd/Makefile (routines): Add nscd_netgroup.
16361         (nscd-modules): Add netgroupcache.
16362         (CFLAGS-netgroupcache.c): Define.
16363         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16364         (cache_search): Add const to second parameter.
16365         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16366         INNETGR.
16367         (dbs): Add netgrdb entry.
16368         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16369         (verify_persistent_db): Handle netgrdb.
16370         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16371         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16372         GETFDNETGR.
16373         (netgroup_response_header): Define.
16374         (innetgroup_response_header): Define.
16375         (datahead): Add netgroup_response_header and innetgroup_response_header
16376         elements.
16377         * nscd/nscd.conf: Add entries for netgroup cache.
16378         * nscd/nscd.h (dbtype): Add netgrdb.
16379         (_PATH_NSCD_NETGROUP_DB): Define.
16380         (netgroup_iov_disabled): Declare.
16381         (xmalloc, xcalloc, xrealloc): Move declarations here.
16382         (cache_search): Adjust prototype.
16383         Add netgroup-related prototypes.
16384         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16385         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16386         (__nscd_innetgr): Declare.
16387         * nscd/selinux.c (perms): Use access_vector_t as element type and
16388         add netgroup-related initializers.
16389         * nscd/netgroupcache.c: New file.
16390         * nscd/nscd_netgroup.c: New file.
16391         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16392         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16393         For four parameters use innetgr.
16394         * nss/nss_files/files-init.c: Add definition and callback for netgr.
16395         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16396         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16397         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16399         * nscd/connections.c (register_traced_file): Don't register file
16400         for disabled databases.
16402 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
16404         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16406         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16407         from tree and freeing node.
16409 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
16411         * nss/nsswitch.c (__nss_database_lookup): Handle
16412         nss_parse_service_list out of memory case.
16414 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
16416         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16417         out of memory case.
16419 2011-10-04  Andreas Schwab  <schwab@redhat.com>
16421         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16422         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16423         pass it down.
16424         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16425         elf_machine_rela, elf_machine_lazy_rel.
16426         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16427         (ELF_DYNAMIC_DO_REL): Likewise.
16428         (ELF_DYNAMIC_DO_RELA): Likewise.
16429         (ELF_DYNAMIC_RELOCATE): Likewise.
16430         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16431         to ELF_DYNAMIC_DO_REL.
16432         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16433         (dl_main): In trace mode always set __RTLD_NOIFUNC.
16434         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16435         elf_machine_rela.
16436         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16437         skip_ifunc, don't call ifunc function if non-zero.
16438         (elf_machine_rela): Likewise.
16439         (elf_machine_lazy_rel): Likewise.
16440         (elf_machine_lazy_rela): Likewise.
16441         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16442         (elf_machine_lazy_rel): Likewise.
16443         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16444         Likewise.
16445         (elf_machine_lazy_rel): Likewise.
16446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16447         Likewise.
16448         (elf_machine_lazy_rel): Likewise.
16449         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16450         (elf_machine_lazy_rel): Likewise.
16451         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16452         (elf_machine_lazy_rel): Likewise.
16453         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16454         (elf_machine_lazy_rel): Likewise.
16455         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16456         (elf_machine_lazy_rel): Likewise.
16457         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16458         (elf_machine_lazy_rel): Likewise.
16459         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16460         (elf_machine_lazy_rel): Likewise.
16462 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
16464         * nss/nss_files/files-init.c (_nss_files_init): Use static
16465         initialization for all the *_traced_file variables.
16467 2011-09-28  Andreas Schwab  <schwab@redhat.com>
16469         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16471 2011-09-27  Roland McGrath  <roland@hack.frob.com>
16473         [BZ #13226]
16474         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16476 2011-09-27  Andreas Schwab  <schwab@redhat.com>
16478         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16479         Reread the line before reparsing it.
16481 2011-09-26  Andreas Schwab  <schwab@redhat.com>
16483         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16485 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
16486             Maxim Kuvyrkov  <maxim@codesourcery.com>
16487             Joseph Myers  <joseph@codesourcery.com>
16489         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16490         if needed for __stack_chk_guard.
16492 2011-09-19  Roland McGrath  <roland@hack.frob.com>
16494         * sysdeps/posix/spawni.c (script_execute): Always define it.
16495         It will be optimized away if unused.
16496         (maybe_script_execute): New function.
16497         (__spawni): Call it.
16499         * Makerules: Don't include tls.make.
16500         (config-tls): Always set to thread.
16501         * tls.make.c: File removed.
16503 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
16505         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16506         * config.make.in (CPPFLAGS-config): New substituted variable.
16508 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
16510         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16512         [BZ #13192]
16513         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16514         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16516 2011-09-15  Roland McGrath  <roland@hack.frob.com>
16518         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16519         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16521         (CALL_FAIL): Likewise.
16522         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16523         (CALL_FAIL): Macro removed.
16524         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16526 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
16528         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16529         for __FINITE_MATH_ONLY__ == 1.
16531 2011-09-15  Andreas Schwab  <schwab@redhat.com>
16533         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16534         __ieee754_sqrt instead of sqrt.
16535         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16536         __ieee754_sqrtf instead of sqrtf.
16537         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16538         __floorf instead of floorf.
16539         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16540         __floorf, __truncf instead of floorf, truncf.
16542 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
16544         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16546         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16547         __extern_always_inline.
16548         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16549         32-bit.
16551 2011-09-14  Andreas Schwab  <schwab@redhat.com>
16553         * elf/rtld.c (dl_main): Also relocate in dependency order when
16554         doing symbol dependency testing.
16556 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
16558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16559         Always define `refsym'.
16561 2011-09-13  Andreas Schwab  <schwab@redhat.com>
16563         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16564         (__FD_ELT): Renamed from __FDELT.
16565         * misc/bits/select2.h (__FD_ELT): Likewise.
16566         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16567         __FD_MASK instead of __FDELT, __FDMASK.
16568         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16569         Likewise.
16570         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16571         Likewise.
16573         * elf/Makefile (gen-ldd): Fix pattern.
16575         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16576         (init_tls): Likewise.
16578 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
16580         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16582 2011-09-12  Andreas Schwab  <schwab@redhat.com>
16584         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16585         `struct cmsghdr *' instead of `void *'.
16586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16587         Likewise.
16589 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
16591         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16592         if non-absolute.
16593         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16594         ldd_rewrite_script.
16596 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
16598         * configure.in: Remove --with-tls option.
16599         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16600         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16601         out in case it is missing.
16602         * sysdeps/ia64/elf/configure.in: Likewise.
16603         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16604         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16605         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16606         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16607         * sysdeps/sh/elf/configure.in: Likewise.
16608         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16609         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16610         * sysdeps/x86_64/elf/configure.in: Likewise.
16611         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16612         * sysdeps/mach/hurd/tls.h: Likewise.
16614         [BZ #13067]
16615         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16617         [BZ #13090]
16618         * configure.in: Fix use of AC_INIT.
16620         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16622 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
16624         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16625         __set_errno.
16626         * malloc/hooks.c: Likewise.
16628         [BZ #11929]
16629         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
16630         variables statically.
16631         (narenas): Initialize.
16632         (list_lock): Initialize.
16633         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
16634         initializtion of main_arena and list_lock.  Small cleanups.
16635         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16636         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
16637         Add initializers to main_arena and mp_.
16638         (malloc_state): Remove pagesize member.  Change all users to use
16639         GLRO(dl_pagesize).
16641         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16642         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
16643         is always initialized.
16645         * malloc/malloc.c: Removed unused configurations and dead code.
16646         * malloc/arena.c: Likewise.
16647         * malloc/hooks.c: Likewise.
16648         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16650         * include/tls.h: Removed.  USE___THREAD must always be defined.
16651         * bits/libc-tsd.h: Don't handle !USE___THREAD.
16652         * elf/dl-libc.c: Likewise.
16653         * elf/dl-tsd.c: Likewise.
16654         * include/errno.h: Likewise.
16655         * include/netdb.h: Likewise.
16656         * include/resolv.h: Likewise.
16657         * inet/herrno-loc.c: Likewise.
16658         * inet/herrno.c: Likewise.
16659         * malloc/arena.c: Likewise.
16660         * malloc/hooks.c: Likewise.
16661         * malloc/malloc.c: Likewise.
16662         * resolv/res-state.c: Likewise.
16663         * resolv/res_libc.c: Likewise.
16664         * sysdeps/i386/dl-machine.h: Likewise.
16665         * sysdeps/ia64/dl-machine.h: Likewise.
16666         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16667         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16668         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16669         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16670         * sysdeps/sh/dl-machine.h: Likewise.
16671         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16672         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16673         * sysdeps/unix/i386/sysdep.S: Likewise.
16674         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16675         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16676         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16680         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16684         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16685         * sysdeps/x86_64/dl-machine.h: Likewise.
16686         * tls.make.c: Likewise.
16688         * configure.in: Remove --with-__thread option.  Make tests for
16689         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16690         tls_model attribute fail if no support is available.  Remove
16691         USE_IN_LIBIO.
16692         * Makeconfig: Adjust for dropped configure option.  All features are
16693         now mandatory.
16694         * Makerules: Likewise.
16695         * Versions.def: Likewise.
16696         * argp/argp-fmtstream.c: Likewise.
16697         * argp/argp-fmtstream.h: Likewise.
16698         * argp/argp-help.c: Likewise.
16699         * assert/assert.c: Likewise.
16700         * config.h.in: Likewise.
16701         * config.make.in: Likewise.
16702         * configure: Likewise.
16703         * configure.in: Likewise.
16704         * csu/Versions: Likewise.
16705         * csu/init.c: Likewise.
16706         * elf/tst-audit2.c: Likewise.
16707         * elf/tst-tls10.c: Likewise.
16708         * elf/tst-tls10.h: Likewise.
16709         * elf/tst-tls11.c: Likewise.
16710         * elf/tst-tls12.c: Likewise.
16711         * elf/tst-tls14.c: Likewise.
16712         * elf/tst-tlsmod11.c: Likewise.
16713         * elf/tst-tlsmod12.c: Likewise.
16714         * elf/tst-tlsmod13.c: Likewise.
16715         * elf/tst-tlsmod13a.c: Likewise.
16716         * elf/tst-tlsmod14a.c: Likewise.
16717         * elf/tst-tlsmod15b.c: Likewise.
16718         * elf/tst-tlsmod16a.c: Likewise.
16719         * elf/tst-tlsmod16b.c: Likewise.
16720         * elf/tst-tlsmod7.c: Likewise.
16721         * elf/tst-tlsmod8.c: Likewise.
16722         * elf/tst-tlsmod9.c: Likewise.
16723         * gmon/gmon.c: Likewise.
16724         * grp/fgetgrent_r.c: Likewise.
16725         * grp/putgrent.c: Likewise.
16726         * hurd/fopenport.c: Likewise.
16727         * include/libc-symbols.h: Likewise.
16728         * include/tls.h: Likewise.
16729         * intl/gettextP.h: Likewise.
16730         * intl/loadinfo.h: Likewise.
16731         * locale/global-locale.c: Likewise.
16732         * locale/localeinfo.h: Likewise.
16733         * mach/devstream.c: Likewise.
16734         * malloc/arena.c: Likewise.
16735         * malloc/set-freeres.c: Likewise.
16736         * misc/err.c: Likewise.
16737         * misc/getttyent.c: Likewise.
16738         * misc/mntent_r.c: Likewise.
16739         * posix/getopt.c: Likewise.
16740         * posix/wordexp.c: Likewise.
16741         * pwd/fgetpwent_r.c: Likewise.
16742         * resolv/Versions: Likewise.
16743         * resolv/res_hconf.c: Likewise.
16744         * shadow/fgetspent_r.c: Likewise.
16745         * shadow/putspent.c: Likewise.
16746         * stdio-common/printf_fphex.c: Likewise.
16747         * stdio-common/tmpfile.c: Likewise.
16748         * stdlib/abort.c: Likewise.
16749         * stdlib/fmtmsg.c: Likewise.
16750         * sunrpc/auth_unix.c: Likewise.
16751         * sunrpc/clnt_perr.c: Likewise.
16752         * sunrpc/clnt_tcp.c: Likewise.
16753         * sunrpc/clnt_udp.c: Likewise.
16754         * sunrpc/clnt_unix.c: Likewise.
16755         * sunrpc/openchild.c: Likewise.
16756         * sunrpc/svc_simple.c: Likewise.
16757         * sunrpc/svc_tcp.c: Likewise.
16758         * sunrpc/svc_udp.c: Likewise.
16759         * sunrpc/svc_unix.c: Likewise.
16760         * sunrpc/xdr.c: Likewise.
16761         * sunrpc/xdr_array.c: Likewise.
16762         * sunrpc/xdr_rec.c: Likewise.
16763         * sunrpc/xdr_ref.c: Likewise.
16764         * sunrpc/xdr_stdio.c: Likewise.
16766 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16768         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16770 2011-07-03  Andreas Jaeger  <aj@suse.de>
16772         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16773         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16774         regenerate with gen-libm-tests.pl.
16776 2010-05-12  Petr Baudis  <pasky@suse.cz>
16778         [BZ #11589]
16779         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16780         around j0() zero points by switching to j1().
16781         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16782         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16783         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16784         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16786 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16788         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16789         instead of 0.
16790         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16791         instead of 0.                              .
16792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16793         Patch in part by Pavel Roskin <proski@gnu.org>.
16795         [BZ #13138]
16796         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16797         realloc.
16798         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
16799         Free memory block if necessary.
16801         [BZ #12847]
16802         * libio/genops.c (INTDEF): For string streams the _lock pointer can
16803         be NULL.  Don't lock in this case.
16805 2011-09-09  Roland McGrath  <roland@hack.frob.com>
16807         * elf/elf.h (ELFOSABI_GNU): New macro.
16808         (ELFOSABI_LINUX): Define to that.
16810 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
16812         * string/strncat.c (strncat): Undef the symbol in case it has been
16813         defined in bits/string.h.
16815 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16817         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16819         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16820         link map.
16822 2011-08-17  Andreas Jaeger  <aj@suse.de>
16824         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16826 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16827             Ian Lance Taylor  <iant@google.com>
16829         * math/libm-test.inc (lround_test): New testcase.
16830         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16832 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
16834         * Makefile: Remove support for automatic cvs check-ins.
16835         * Makerules: Likewise.
16836         * config.make.in: Likewise.
16837         * configure.in: Likewise.
16838         * intl/Makefile: Likewise.
16839         * locale/Makefile: Likewise.
16840         * po/Makefile: Likewise.
16841         * posix/Makefile: Likewise.
16842         * sysdeps/gnu/Makefile: Likewise.
16843         * sysdeps/mach/hurd/Makefile: Likewise.
16844         * sysdeps/sparc/sparc32/Makefile: Likewise.
16846         [BZ #13118]
16847         * posix/Makefile (bug-regex32-ENV): Define.
16848         Patch by John Stanley <jpsinthemix@verizon.net>.
16850         * misc/Makefile (headers): Add bits/select2.h.
16851         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16852         * misc/bits/select2.h: New file.
16853         * include/bits/select2.h: New file.
16854         * debug/Makefile (routines): Add fdelt_chk.
16855         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16856         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16857         FD_ISSET.
16858         * debug/fdelt_chk.c: New file.
16860         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
16861         * wcsmbs/test-wmemcmp.c: Likewise.
16862         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16863         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16865 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16867         * string/Makefile (strop-tests): Add memcmp.
16868         * string/test-wmemcmp.c: New file.
16869         * string/test-memcmp.c: Add wmemcmp support.
16871 2011-09-08  Roland McGrath  <roland@hack.frob.com>
16873         [BZ #13153]
16874         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16875         2011-07-19 change.
16877         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16878         garbage value in a __mach_port_mod_refs call in the cases of the
16879         task-self and thread-self ports.
16881 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16883         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16885 2011-09-08  Andreas Schwab  <schwab@redhat.com>
16887         * elf/dl-load.c (lose): Check for non-null L.
16889 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16891         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16893         * elf/dl-libc.c (dlerror_run): Pass back error code from
16894         dl_catch_error.
16896         [BZ #13123]
16897         * elf/dl-load.c (lose): Free l_origin if it is valid.
16899         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16900         names.
16901         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16902         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16903         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16904         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16905         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16906         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16908 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16910         * sysdeps/powerpc/fpu/e_hypot.c: New file.
16911         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16912         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16913         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16914         * sysdeps/powerpc/fpu/k_cosf.c: New file.
16915         * sysdeps/powerpc/fpu/k_sinf.c: New file.
16916         * sysdeps/powerpc/fpu/s_cosf.c: New file.
16917         * sysdeps/powerpc/fpu/s_sinf.c: New file.
16918         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16919         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16921 2011-08-15  Alan Modra  <amodra@gmail.com>
16923         [BZ #13092]
16924         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16925         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16926         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
16927         ppc_mcount to static-only-routines.
16928         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16929         __mcount_internal.
16930         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16931         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
16933 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
16935         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16936         for finite and infinity parameters.
16938 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16940         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16941         and add nop instructions for throughput optimization.
16942         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16944 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
16946         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16947         aligned copy for power7 with vector-scalar instructions.
16948         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16950 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
16952         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16953         AVX check.
16955 2011-09-07  Andreas Schwab  <schwab@redhat.com>
16957         [BZ #13144]
16958         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16959         last change.
16961 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16963         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16964         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16965         syscall wrapper around clock_gettime in __vdso_clock_gettime.
16966         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16967         clock_gettime.
16969 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
16971         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16972         Forgot to demangle the pointer.
16974         * sysdeps/i386/sysdep.h: Define atom_text_section.
16975         * sysdeps/x86_64/sysdep.h: Likewise.
16976         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16977         section with atom_text_section.
16978         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16979         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16980         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16981         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16982         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16984         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16985         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16986         already be defined.  Change to take two parameters and don't assign
16987         result to variable.  Adjust all users.
16988         Define INTERNAL_GETTIME if not already defined.
16989         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16990         call.
16991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16992         HAVE_CLOCK_GETTIME_VSYSCALL.
16993         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16996         gettimeofday vsyscall, just use time.
16998 2011-09-06  Andreas Schwab  <schwab@redhat.com>
17000         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17001         <errno.h>.
17003 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
17005         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17006         syscall on x86-64.
17007         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17008         syscall.
17009         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17010         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17011         syscall if possible.
17013 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
17015         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17016         e_ident.  Don't pass to find_mapsXX.
17017         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17019 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17022         strchr-sse2-no-bsf strrchr-sse2-no-bsf
17023         * sysdeps/x86_64/multiarch/strchr.S: Update.
17024         Check bit_slow_BSF bit.
17025         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17026         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17027         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17029 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
17031         [BZ #13134]
17032         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17033         before glibc 2.15.
17034         (tryshell): Define.
17035         (__spawni): Change last parameter to be flag.  Test
17036         SPAWN_XFLAGS_USE_PATH flag to use path or not.
17037         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17038         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17039         * posix/spawni.c: Likewise.
17040         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17041         * posix/spawnp.c: Likewise.  Change normal version to use
17042         SPAWN_XFLAGS_USE_PATH.
17043         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17044         SPAWN_XFLAGS_TRY_SHELL.
17046         [BZ #13150]
17047         * posix/glob.h: Remove gcc 1.x support.
17049         [BZ #13068]
17050         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17052 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17055         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17056         strrchr-sse2-bsf
17057         * sysdeps/i386/i686/multiarch/strchr.S: New file.
17058         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17059         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17060         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17061         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17062         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17064 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17066         * sysdeps/x86_64/wcscmp.S: New file.
17068         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17069         wcscmp-c wcscmp-sse2
17070         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17071         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17072         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17073         * wcsmbs/wcscmp.c: Allow renaming.
17075 2011-09-05  David S. Miller  <davem@davemloft.net>
17077         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17078         stack slot, rather than the struct return pointer slot.
17079         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17080         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17082         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17084 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
17086         * po/ja.po: Update from translation team.
17088         [BZ #13144]
17089         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17090         kernel in 64-bit binaries.
17092 2011-09-01  David S. Miller  <davem@davemloft.net>
17094         * elf/elf.h (HWCAP_SPARC_*): Move to..
17095         * sysdeps/sparc/sysdep.h: this new file and add new values.
17096         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17097         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17098         _DL_HWCAP_COUNT to 24.
17099         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17100         entries.
17101         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17102         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17103         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17104         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17105         instead of magic constants.
17106         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17108 2011-08-31  David S. Miller  <davem@davemloft.net>
17110         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17111         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17112         Reimplement to do errno handling inline.
17113         (SYSCALL_ERROR_HANDLER): New macro.
17114         (__SYSCALL_STRING): Do not do errno handling in asm.
17115         (__CLONE_SYSCALL_STRING): Delete.
17116         (__INTERNAL_SYSCALL_STRING): Delete.
17117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17118         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17119         (PSEUDO): Reimplement to do errno handling inline.
17120         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17121         (SYSCALL_ERROR_HANDLER): New macro.
17122         (__SYSCALL_STRING): Do not do errno handling in asm.
17123         (__CLONE_SYSCALL_STRING): Delete.
17124         (__INTERNAL_SYSCALL_STRING): Delete.
17125         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17126         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17127         i386.
17128         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17129         (inline_syscall*): Add 'err' argument.
17130         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17131         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17132         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17133         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17135         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17136         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17138 2011-08-30  Andreas Schwab  <schwab@redhat.com>
17140         * elf/rtld.c (dl_main): Relocate objects in dependency order.
17142 2011-08-29  Jiri Olsa <jolsa@redhat.com>
17144         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17145         directive.
17147 2011-08-24  David S. Miller  <davem@davemloft.net>
17149         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17151 2011-08-24  Andreas Schwab  <schwab@redhat.com>
17153         * elf/Makefile: Add rules to build and run unload8 test.
17154         * elf/unload8.c: New file.
17155         * elf/unload8mod1.c: New file.
17156         * elf/unload8mod1x.c: New file.
17157         * elf/unload8mod2.c: New file.
17158         * elf/unload8mod3.c: New file.
17160         * elf/dl-close.c (_dl_close_worker): Reset private search list if
17161         it wasn't used.
17163 2011-08-23  David S. Miller  <davem@davemloft.net>
17165         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17166         subtract stack bias.
17167         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17168         %sp not %fp in calculations.
17169         (_JMPBUF_UNWINDS_ADJ): Likewise.
17171         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17172         (aio_suspend): Call it to force an exception region around the
17173         AIO_MISC_WAIT() invocation.
17175 2011-08-23  Andreas Schwab  <schwab@redhat.com>
17177         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17178         backslash.
17180 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
17182         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17183         protection macro.
17184         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17185         and <dl-machine.h>.
17186         (Elf64_FuncDesc): Remove.
17188 2011-08-22  David S. Miller  <davem@davemloft.net>
17190         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17191         sigaltstack check, add missing cfi directives.
17192         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17193         missing cfi directives, and sigaltstack handling.
17195 2011-08-16  Andreas Schwab  <schwab@redhat.com>
17197         [BZ #11724]
17198         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17199         object is seen twice.
17200         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17202         * elf/Makefile (distribute): Add tst-initorder2.c.
17203         (tests): Add tst-initorder2.
17204         (modules-names): Add tst-initorder2a tst-initorder2b
17205         tst-initorder2c tst-initorder2d.  Add rules to build them.
17206         ($(objpfx)tst-initorder2.out): New rule.
17207         * elf/tst-initorder2.c: New file.
17208         * elf/tst-initorder2.exp: New file.
17210 2011-08-22  Andreas Schwab  <schwab@redhat.com>
17212         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17214         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17215         dependencies back to end of function.
17217         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17218         $(elfobjdir)/ld.so.
17220 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
17222         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17223         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17224         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17225         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17226         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17227         of __vdso_gettimeofday.
17228         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17229         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
17230         attribute_hidden.
17231         (_libc_vdso_platform_setup): Remove initialization of
17232         __vdso_gettimeofday and __vdso_time.
17234 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
17236         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17237         and fgetc_unlocked.
17238         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17239         getc_unlocked.
17241         * elf/dl-open.c (add_to_global): Report additions to the global scope
17242         for LD_DEBUG=scopes.
17243         (dl_open_worker): Also print scope of newly loaded dependencies.
17244         (_dl_show_scope): Indicate if there is no scope.
17246         [BZ #13114]
17247         * stdio-common/Makefile (tests): Add bug24.
17248         * stdio-common/bug24.c: New file.
17250 2011-08-19  Andreas Jaeger  <aj@suse.de>
17252         [BZ #13114]
17253         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17254         non-existant file when using close-on-exec mode.
17256 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
17258         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17259         the very first instruction.
17261         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17262         the CFI state in the end.
17263         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17264         inclusion of dl-trampoline.h.
17265         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17267 2011-08-19  Andreas Schwab  <schwab@redhat.com>
17269         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17270         expectations for long double.
17272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17273         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17275 2011-08-14  David S. Miller  <davem@davemloft.net>
17277         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17278         artificual limit depends upon the system page size.
17280 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
17282         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17283         * resolv/Makefile: Define CFLAGS-libresolv.
17285 2011-08-17  Andreas Schwab  <schwab@redhat.com>
17287         * nss/makedb.c (compute_tables): Make variables used in nested
17288         function static.
17290 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
17292         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17293         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17294         if buffer was too small.
17296         * elf/pldd.c (main): Attach to all threads in the process.
17297         Rewrite /proc handling to use *at functions.
17299 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
17301         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17302         specifies first scope to show.
17303         (dl_open_worker): Update callers.  Move printing scope of new
17304         object to before the relocation.
17305         * elf/rtld.c (dl_main): Update _dl_show_scope call.
17306         * sysdeps/generic/ldsodefs.h: Update declaration.
17308         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17309         string for the scope number.
17311 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
17313         * nscd/servicescache.c (cache_addserv): Make sure written is always
17314         initialized.
17316 2011-08-14  Roland McGrath  <roland@hack.frob.com>
17318         * sysdeps/i386/i486/bits/atomic.h
17319         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17320         statement expression, so as to suppress "set but not used" warning.
17321         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17323         * string/strncat.c (STRNCAT): Use prototype definition.
17325         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17326         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17327         -Iprograms here.
17328         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17329         (localedef-modules): Add localedef.
17330         (locale-modules): Add locale.
17332         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17333         * elf/rtld.c (dl_main): Invert order of assignment in last change,
17334         to avoid a warning.
17336 2011-08-14  David S. Miller  <davem@davemloft.net>
17338         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17339         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17341 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
17343         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17344         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17345         * elf/rtld.c (dl_main): Set l_name of vDSO.
17346         Call _dl_show_scope when DL_DEBUG_SCOPES.
17347         (process_dl_debug): Recognize scopes flag and also set it for all.
17348         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17349         Declare _dl_show_scope.
17351         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17352         (do_dlopen): Pass caller_dlopen to dl_open.
17353         (__libc_dlopen_mode): Initialize caller_dlopen.
17355         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17356         of libc.  Make tolower call locale-independent.  Optimize a bit by
17357         using isdigit instead of isalnum.
17358         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17360 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
17362         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17363         was a dependency or dynamically loaded.
17365 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
17367         * intl/l10nflist.c: Allow architecture-specific pop function.
17368         * sysdeps/x86_64/l10nflist.c: New file.
17370         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17371         classification.
17373 2011-08-10  Andreas Schwab  <schwab@redhat.com>
17375         * include/dirent.h: Add libc_hidden_proto for scandirat and
17376         scandirat64.  Don't declare __scandirat64.
17377         * dirent/scandirat.c: Add libc_hidden_def.
17378         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17379         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17381 2011-08-10  David S. Miller  <davem@davemloft.net>
17383         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17384         enum.
17385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17386         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17389 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
17391         * Versions.def [libc]: Add GLIBC_2.15.
17392         * dirent/Makefile (routines): Add scandirat and scandirat64.
17393         * dirent/Versions [libc]: Export scandirat and scandirat64 for
17394         GLIBC_2.15.
17395         * dirent/dirent.h: Declare scandirat and scandirat64.
17396         * dirent/scandirat.c: New file.
17397         * dirent/scandirat64.c: New file.
17398         * sysdeps/wordsize-64/scandirat.c: New file.
17399         * sysdeps/wordsize-64/scandirat64.c: New file.
17400         * dirent/opendir.c: Define opendirat.
17401         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
17402         using scandirat.
17403         * dirent/scandir64.c: Adjust for scandir.c change.
17404         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
17405         __scandirat64, and __scandir_cancel_handler.
17406         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
17407         additional parameter and use openat instead of open (outside of ld.so).
17408         Add new __opendir as wrapper around __opendirat.
17409         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17410         here without requiring old scandirat implementation.
17412 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
17414         * dirent/scandir.c (cancel_handler): Renamed to
17415         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
17416         defined.  Adjust users.
17417         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17418         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17420 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
17422         * string/test-string.h (IMPL): Use __STRING to expand name and then
17423         stringify it.
17425         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
17426         of cleanups.
17428 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17430         * string/Makefile: Update.
17431         (strop-tests): Append strncat.
17432         * string/test-wcscmp.c: New file.
17433         New comprehensive test for wcscmp.
17434         * string/test-strcmp.c: Update.
17435         (WIDE): New define.
17437 2011-07-22  Andreas Schwab  <schwab@redhat.com>
17439         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17440         line.
17442 2011-07-26  Andreas Schwab  <schwab@redhat.com>
17444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17445         encoding to ACE if AI_IDN.
17447 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
17449         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17450         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17452 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17454         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17455         Fix overflow bug in strncat.
17456         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17458         * string/test-strncat.c: Update.
17459         Add new tests for checking overflow bugs.
17461 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17464         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17465         * sysdeps/i386/i686/multiarch/strcat.S: New file.
17466         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17467         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17468         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17469         * sysdeps/i386/i686/multiarch/strncat.S: New file.
17470         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17471         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17473         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17474         (USE_AS_STRCAT): Define.
17475         Add strcat and strncat support.
17476         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17478 2011-07-25  Andreas Schwab  <schwab@redhat.com>
17480         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17481         __n bigger than INT_MAX+1.
17482         (__strncmp_g): Likewise.
17484 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
17486         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17487         * libio/stido.h: Likewise.
17489         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17490         (AF_NFC): Define.
17491         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17492         (AF_NFC): Define.
17494         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17495         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17496         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17497         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17498         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17500         [BZ #13021]
17501         * scripts/test-installation.pl: Don't expect libnss_test1 to be
17502         installed.
17504         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17505         typo.
17506         (_dl_x86_64_save_sse): Likewise.
17508 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
17510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17511         OSXSAVE.
17512         (_dl_x86_64_save_sse): Likewise.
17514         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17516         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17518 2011-07-21  Andreas Schwab  <schwab@redhat.com>
17520         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17521         change.
17522         (_dl_x86_64_save_sse): Use correct AVX check.
17524 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17526         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17527         bug in strncpy/strncat.
17528         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17530 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
17532         * string/tester.c (test_strcat): Add tests for different alignments
17533         of source and destination.
17534         (test_strncat): Likewise.
17536 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
17538         [BZ #12852]
17539         * posix/glob.c (glob): Check passed in values before using them in
17540         expressions to avoid some overflows.
17541         (glob_in_dir): Likewise.
17543         [BZ #13007]
17544         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17545         check for AVX enablement so that we don't crash with old kernels and
17546         new hardware.
17547         * elf/tst-audit4.c: Add same checks here.
17548         * elf/tst-audit6.c: Likewise.
17550         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17552 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
17554         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17556 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
17558         * po/cs.po: Update from translation team.
17559         * po/bg.po: Likewise.
17561 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
17563         * misc/sys/cdefs.h: Add support for const attribute.
17564         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17565         to gnu_dev_{major,minor,makedev} functions.
17567 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
17569         * intl/dcigettext.c (get_output_charset): Add missing bracket.
17571 2011-07-20  Andreas Schwab  <schwab@redhat.com>
17573         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17574         strlen results.
17576 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17578         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17579         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17580         register in order to avoid conflicts with the soft frame pointer
17581         being held in r11 when necessary.
17582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17583         (INTERNAL_VSYSCALL_NCS): Likewise.
17585 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
17587         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17588         * elf/dl-fini.c (_dl_fini): Adjust caller.
17589         * elf/dl-close.c (_dl_close_worker): Likewise.
17590         * sysdeps/generic/ldsodefs.h: Adjust declaration.
17592 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
17594         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17595         "aux_cache->nlibs < 0".
17597         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17598         in the reload-count case.
17600 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17603         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17604         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17605         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17606         * sysdeps/x86_64/multiarch/strcat.S: New file.
17607         * sysdeps/x86_64/multiarch/strncat.S: New file.
17608         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17609         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17610         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17611         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17612         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17613         (USE_AS_STRCAT): Define.
17614         Add strcat and strncat support.
17615         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17616         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17617         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17618         * string/strncat.c: Update.
17619         (USE_AS_STRNCAT): Define.
17620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17621         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17622         and i7.
17623         * sysdeps/x86_64/multiarch/init-arch.h
17624         (bit_Prefer_PMINUB_for_stringop): New.
17625         (index_Prefer_PMINUB_for_stringop): Likewise.
17626         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17627         bit_Prefer_PMINUB_for_stringop.
17629 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17631         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17632         buffer64.
17633         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17634         of casting of buffer.
17635         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17636         buffer32 and buffer64.
17637         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17638         writes instead of casting of buffer.
17639         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17640         buffer32.
17641         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17642         casting of buffer.
17644 2011-07-19  Andreas Schwab  <schwab@redhat.com>
17646         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17648 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17650         * nscd/nscd.c (termination_handler): Don't do anything for a database
17651         if it has not yet been initialized.
17653 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17655         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17657 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
17659         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17661 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17663         * po/nl.po: Update from translation team.
17664         * po/sv.po: Likewise.
17666 2011-07-16  Roland McGrath  <roland@hack.frob.com>
17668         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17669         now disallowed by GCC.
17671         * configure.in (use-default-link): Default to yes if a test -shared
17672         link meets our qualifications.
17673         * configure: Regenerated.
17675         * config.make.in (output-format): New variable.
17676         * configure.in: Check for ld --print-output-format support.
17677         * configure: Regenerated.
17678         * Makerules ($(common-objpfx)format.lds)
17679         [$(output-format) != unknown]: Just use $(output-format),
17680         instead of the linker-script munging.
17682 2011-07-14  Roland McGrath  <roland@hack.frob.com>
17684         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17685         of $(common-objpfx)shlib.lds.
17686         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17688         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17689         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17691         * configure.in (-z relro check): Adjust test code to add a large
17692         writable data section after it.
17693         * configure: Regenerated.
17695 2011-07-11  Roland McGrath  <roland@hack.frob.com>
17697         * configure.in (-z relro check): Fix test code to make the variable
17698         truly const.
17699         * configure: Regenerated.
17701 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
17703         * nscd/nscd.h (struct traced_file): Define.
17704         (struct database_dyn): Remove inotify_descr, reset_res, and filename
17705         elements.  Add traced_files.
17706         (inotify_fd): Declare.
17707         (register_traced_file): Declare.
17708         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17709         (inotify_fd): Export.
17710         (resolv_conf_descr): Remove.
17711         (nscd_init): Move inotify descriptor creation to main.
17712         Don't register files for notification here.
17713         (register_traced_file): New function.
17714         (invalidate_cache): Don't use reset_res to determine whether to call
17715         res_init, go through the list of registered files.
17716         (main_loop_poll): The inotify descriptors are now stored in the
17717         structures for the traced files.
17718         (main_loop_epoll): Likewise
17719         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
17720         to __nss_disable_nscd.
17721         * nscd/cache.c (prune_cache): There is no single inotify descriptor
17722         for a database anymore.  Check the records for all the registered
17723         files instead.
17724         * nss/Makefile (libnss_files-routines): Add files-init.
17725         (libnss_db-routines): Add db-init.
17726         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17727         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17728         * nss/nss_db/db-init.c: New file.
17729         * nss/nss_files/files-init.c: New file.
17730         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
17731         __nss_lookup_function.
17732         (__nss_lookup_function): Call nss_load_library.
17733         (nss_load_all_libraries): New function.
17734         (__nss_disable_nscd): Take parameter with callback function for files
17735         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
17736         used for the cached services.
17737         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17738         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17739         options for features to all the files in nscd.
17741         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17743 2011-07-10  Roland McGrath  <roland@hack.frob.com>
17745         * csu/elf-init.c (__libc_csu_init): Comment typo.
17747 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
17749         * po/pl.po: Update from translation team.
17750         * po/ja.po: Likewise.
17751         * po/ru.po: Likewise.
17752         * po/ko.po: Likewise.
17753         * po/fr.po: Likewise.
17755 2011-07-09  Roland McGrath  <roland@hack.frob.com>
17757         * configure.in (.ctors/.dtors header and trailer check):
17758         Use an empirical test on a built program.
17759         * configure: Regenerated.
17761         * configure.in (-z relro check): Use an empirical test on a built DSO.
17762         Detect, but do not require, on ia64.
17763         * configure: Regenerated.
17765         * configure.in (READELF): Find it with AC_CHECK_TOOL.
17766         Update tests that use readelf to use $READELF instead.
17767         * configure: Regenerated.
17769 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
17771         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17772         if the result is not used.
17774 2011-07-05  Andreas Jaeger  <aj@suse.de>
17776         [BZ#9696]
17777         * stdlib/tst-strtod.c: Add testcase.
17779 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
17781         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17782         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17783         The latter has a higher limit.  Take additional parameter to pass to
17784         the new function.
17785         (__pathconf): Pass file to __statfs_link_max.
17786         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17787         __statfs_link_max.
17788         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17789         __statfs_link_max.
17791         [BZ #12868]
17792         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17793         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17794         Handle Lustre.
17795         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17796         (__statfs_filesize_max): Likewise.
17797         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17799 2011-07-05  Andreas Jaeger  <aj@suse.de>
17801         * resolv/res_comp.c (dn_skipname): Remove unused variable.
17803 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
17805         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17806         `status' variable.
17807         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17808         Likewise.
17810 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
17812         * Makefile (strop-tests): Add strncat.
17813         * string/test-strncat.c: New file.
17815 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
17817         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17819 2011-06-21  Andreas Jaeger  <aj@suse.de>
17821         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17822         Copy rule from iconvdata/Makefile.
17824 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17826         [BZ #12922]
17827         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17828         but no long options are defined, just return 'W'.
17830 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
17832         [BZ #9696]
17833         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17835 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17837         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17838         netgroups to read.
17839         (innetgr): Likewise.
17841 2011-07-05  Roland McGrath  <roland@hack.frob.com>
17843         * config.make.in (install_root): Default to $(DESTDIR).
17845 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
17847         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17849 2011-07-02  Roland McGrath  <roland@hack.frob.com>
17851         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17853         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17854         containing directory rather than embedding absolute directory names.
17856         * scripts/check-local-headers.sh: Rewritten using awk.
17857         Match by word, not by line.  Print error messages for matches.
17858         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17860         * Makerules [shlib-lds-flags empty]:
17861         ($(common-objpfx)libc_pic.opts): New target.
17862         ($(common-objpfx)libc_pic.os.clean): New target.
17863         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17865         * config.make.in (OBJCOPY): New variable.
17866         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17867         * configure: Regenerated.
17869         * config.make.in (use-default-link): New variable.
17870         * configure.in (use_default_link): Grok --with-default-link to set it.
17871         * configure: Regenerated.
17872         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17873         (shlib-lds, shlib-lds-flags): Define to empty.
17875         * Makerules (shlib-lds): New variable.
17876         (shlib-lds-flags): New variable.
17877         (build-shlib, build-moduile, build-module-asneeded): Use it.
17878         ($(common-objpfx)libc.so): Use $(shlib-lds).
17879         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17880         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17882         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17883         DT_FLAGS/DT_FLAGS_1 with zero flags.
17885         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17886         linker script munging.
17888 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
17890         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17891         as 128-bit value.
17892         * crypt/sha512.c (sha512_process_block): Perform total addition using
17893         128-bit if possible.
17894         (__sha512_finish_ctx): Likewise.
17895         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17896         as 64-bit value.
17897         * crypt/sha256.c (SWAP64): Define.
17898         (sha256_process_block): Perform total addition using 64-bit if
17899         possible.
17900         (__sha256_finish_ctx): Likewise.
17902 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
17904         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
17905         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17906         * nscd/hstcache.c (cache_addhst): Likewise.
17907         * nscd/grpcache.c (cache_addgr): Likewise.
17908         * nscd/aicache.c (addhstaiX): Likewise
17909         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17911 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
17913         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17914         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17915         * nscd/hstcache.c (cache_addhst): Likewise.
17916         * nscd/grpcache.c (cache_addgr): Likewise.
17917         * nscd/aicache.c (addhstaiX): Likewise
17919 2011-07-01  Andreas Schwab  <schwab@redhat.com>
17921         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17922         domain only when needed.
17924 2011-06-30  Andreas Schwab  <schwab@redhat.com>
17926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17927         is always restored.
17929 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
17931         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17932         are re-adding the entry.
17933         * nscd/servicescache.c (cache_addserv): Likewise.
17935 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17937         * sysdeps/generic/dl-irel.h: fix protection against multiple
17938         inclusions.
17939         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17941 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
17943         [BZ #12935]
17944         * malloc/memusage.sh: Fix quoting in message.
17945         * debug/xtrace.sh: Likewise.
17947         * configure.in: Remove support for --experimental-malloc option, make
17948         it the default.
17949         * config.make.in: Likewise.
17950         * malloc/Makefile: Likewise.
17952 2011-06-27  Andreas Schwab  <schwab@redhat.com>
17954         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17955         two-byte characters.
17957 2011-06-27  Roland McGrath  <roland@hack.frob.com>
17959         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17960         AC_CACHE_CHECK invocation.
17961         * configure: Regenerated.
17963         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17965 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
17967         [BZ #12350]
17968         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
17969         bit from old_res_options.
17971         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17973         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17974         value type for setfct.
17976 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
17978         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17979         __gettimeofday instead of gettimeofday.
17981 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
17983         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17985 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17987         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17989         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17990         info.
17992 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
17994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17995         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17996         strcpy-sse2-unaligned strncpy-sse2-unaligned
17997         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17998         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17999         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18000         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18001         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18002         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18003         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18004         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18005         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18006         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18007         (STRCPY): Support SSE2 and SSSE3 versions.
18009 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
18011         [BZ #12874]
18012         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18013         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18014         kernels which artificially limit size of requests.
18016 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
18018         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18019         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18020         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18021         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18022         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18023         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18024         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18025         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18026         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18027         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18028         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18029         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18030         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18031         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18032         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18034         Enable unaligned load optimization for Intel Core i3, i5 and i7
18035         processors.
18036         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18037         Define.
18038         (index_Fast_Unaligned_Load): Define.
18039         (HAS_FAST_UNALIGNED_LOAD): Define.
18041 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
18043         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18045 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
18047         [BZ #12907]
18048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18049         until it is clear that the information is realy needed.
18050         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18052 2011-06-22  Andreas Schwab  <schwab@redhat.com>
18054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18056 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
18058         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18059         /sys/devices/system/cpu/online if it is usable.
18061         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18062         reading the information from the /proc filesystem to once a second.
18064 2011-06-21  Andreas Jaeger  <aj@suse.de>
18066         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18067         NULL after inclusion of kernel headers.
18069 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
18071         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18072         calls to internal_setent.
18074         [BZ #12885]
18075         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18076         addresses using gethostbyname4_r ignore IPv4 addresses.
18078         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18079         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
18081         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18083 2011-06-20  David S. Miller  <davem@davemloft.net>
18085         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18086         inclusions.
18087         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18089         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18090         (elf_irel): Use it.
18091         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18092         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18093         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18094         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18095         * sysdeps/x86_64/dl-irel.h: Likewise.
18097         * elf/dl-runtime.c: Use elf_ifunc_invoke.
18098         * elf/dl-sym.c: Likewise.
18100 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
18102         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
18103         need to dereference resplen2.
18105 2011-06-14  Andreas Schwab  <schwab@redhat.com>
18107         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18109 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
18111         * Makeconfig: Define vardbdir and inst_vardbdir.
18112         * nss/Makefile: Add rules to install db-Makefile.
18114         * nss/nss_db/db-XXX.c: Cleanup.
18116         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18117         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18118         GLIBC_PRIVATE.
18119         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18120         * nss/makedb.c: Implement -g option to specify that value strings
18121         are generated and should not be added to table iterated over for
18122         get*ent calls.
18123         * nss/nss_db/db-initgroups.c: New file.
18125         * nss/getent.c: Add support for initgroups lookups through getgrouplist
18126         interface.
18128         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18129         (internal_getgrouplist): Adjust to name change.
18130         Update use_initgroups_entry if this is not the first call.
18131         * nss/databases.def: Add initgroups entry.
18133         * nss/makedb.c (compute_tables): Check result of multiple hash table
18134         sizes to minimize maximum chain length.
18136 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
18138         * Versions.def: Add entry for libnss_db.
18139         * shlib-versions: Likewise.
18140         * nss/Makefile: Add rules to build libnss_db.
18141         * nss/Versions: Add libnss_db information.  Organize libnss_files
18142         entries better.
18143         * nss/db-Makefile: Add gshadow support.  Change rules for the new
18144         makedb progra.  Some minor improvements to generate smaller files.
18145         * nss/nss_db/nss_db.h: Move NSS database header data structures to
18146         here from...
18147         * nss/makedb.c: ...here.
18148         Improve database format to be smaller and require less memory at
18149         runtime.
18150         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
18151         db anymore.
18152         * nss/nss_db/db-netgrp.c: Likewise.
18153         * nss/nss_db/db-open.c: Likewise.
18154         * nss/nss_files/flies-XXX.x: Adjust comments.
18155         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18156         * nss/nss_files/files-grp.c: Likewise.
18157         * nss/nss_files/files-hosts.c: Likewise.
18158         * nss/nss_files/files-network.c: Likewise.
18159         * nss/nss_files/files-proto.c: Likewise.
18160         * nss/nss_files/files-pwd.c: Likewise.
18161         * nss/nss_files/files-rpc.c: Likewise.
18162         * nss/nss_files/files-service.c: Likewise.
18163         * nss/nss_files/files-sgrp.c: Likewise.
18164         * nss/nss_files/files-spwd.c: Likewise.
18165         * nss/nss_db/db-alias.c: Removed.
18166         * nss/nss_db/dummy-db.h: Removed.
18168 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
18170         * nss/makedb.c: Rewritten to not use database library.
18171         * nss/Makefile: Update to build new makedb program.
18173 2011-06-14  Andreas Jaeger  <aj@suse.de>
18175         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18176         memset declaration.
18178 2011-06-10  Andreas Schwab  <schwab@redhat.com>
18180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18181         tmpbuf.
18183 2011-06-10  Roland McGrath  <roland@hack.frob.com>
18185         * Makerules (shlib.lds): Fail if the linker script comes out empty.
18186         * elf/Makefile ($(objpfx)ld.so): Likewise.
18188         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18189         Don't list ld.so twice in dependencies.
18191         * posix/bug-regex31.c: Include <stdlib.h>.
18193         * nscd/hstcache.c (cache_addhst): Remove unused variable.
18195         * nis/nss_compat/compat-spwd.c
18196         (getspent_next_nss_netgr): Remove unused variable.
18197         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18199         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18200         nonmembers" output to use the right array.
18202         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18204         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18206         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18207         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18208         * catgets/gencat.c (read_input_file): Likewise.
18209         * locale/programs/locarchive.c (enlarge_archive): Likewise.
18211         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18212         variable definition inside #if's controlling its use.
18214         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18216         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18218         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18220         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18221         unreachable code.
18223         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18225         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18226         * configure: Regenerated.
18228         * Makerules: Revert last change.
18229         * elf/Makefile: Likewise.
18231 2011-06-09  Roland McGrath  <roland@hack.frob.com>
18233         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18234         * elf/Makefile ($(objpfx)librtld.os): Likewise.
18235         (reloc-link): Likewise.
18237 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
18239         * elf/Makefile: Add rules to build pldd.
18240         * elf/pldd.c: New file.
18241         * elf/pldd-xx.c: New file.
18243 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
18245         * version.h: Update for 2.15 development version.
18247 2011-06-07  David S. Miller  <davem@davemloft.net>
18249         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18250         ifuncs.
18251         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18252         elf_machine_lazy_rel): Likewise.
18253         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18254         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18255         elf_machine_lazy_rel): Likewise.
18256         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18257         dl_hwcap via passed in argument.
18258         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18259         Likewise.
18261 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18263         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
18265 2011-06-06  Roland McGrath  <roland@hack.frob.com>
18267         [BZ #12849]
18268         * manual/fdl-1.1.texi: New file, verbatim from:
18269         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18270         * manual/lgpl-2.1.texi: New file, verbatim from:
18271         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18272         * manual/Makefile (licenses): New variable, list those new file names.
18273         (texis): Use it.
18274         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18276         * manual/fdl.texi: File removed.
18277         * manual/lesser.texi: File removed.
18278         * manual/libc.texinfo (Copying, Documentation License):
18279         Use new @include file names, put @appendix directive before @include.
18281 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
18283         [BZ #12841]
18284         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18285         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18286         (mq_open): Add __NTH.
18288 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
18290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18291         Assume Intel Core i3/i5/i7 processor if AVX is available.
18293 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
18295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18296         typo.
18298 2011-05-31  Andreas Schwab  <schwab@redhat.com>
18300         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18301         memory.  Use alloca_account.  Fix memory leak when retrying.
18303 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
18305         * version.h (RELEASE): Bump for 2.14 release.
18306         * include/features.h (__GLIBC_MINOR__): Bump to 14.
18308         * config.make.in (RANLIB): Remove entry.
18310 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
18312         * po/Makefile (po-sed-cmd): Add ksh to extensions.
18313         (libc.pot): Work around missing support for .ksh extension in xgettext.
18315         [BZ #12684]
18316         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18317         if both request failed.
18318         (send_dg): In case of server errors clear resplen or *resplen2.
18320         [BZ #12454]
18321         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18322         when there are multiple maps.
18323         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18324         (_dl_fini): Remove test here.
18326         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18328 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
18330         [BZ #12350]
18331         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18332         bit from old_res_options.
18333         (gaih_inet): Likewise.
18335         [BZ #11099]
18336         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18337         as signed.
18339         * resolv/res_init.c (res_setoptions): Make the code more compact.
18341         [BZ #11558]
18342         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18343         set RES_USEVC.
18345         [BZ #11634]
18346         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18348         * malloc/malloc.h: Mark malloc hook variables as deprecated.
18350         [BZ #11781]
18351         * malloc/malloc.h: Declare malloc hook variables as volatile.
18353         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18354         in last patch.
18356         [BZ #11799]
18357         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18358         raise in the comment.
18359         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18360         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18361         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18363 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
18365         [BZ #12811]
18366         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18367         grow the buffers more if it already has to be sufficient.
18368         (build_wcs_upper_buffer): Likewise.
18369         * posix/regexec.c (check_matching): Likewise.
18370         (clean_state_log_if_needed): Likewise.
18371         (extend_buffers): Don't enlarge buffers beyond size of the input
18372         buffer.
18373         Patches mostly by Emil Wojak <emil@wojak.eu>.
18374         * posix/bug-regex32.c: New file.
18375         * posix/Makefile (tests): Add bug-regex32.
18377         * locale/findlocale.c (_nl_find_locale): Return right away if
18378         _nl_explode_name failed.
18379         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18381         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18383         * debug/xtrace.sh: Unify messages.
18384         * malloc/memusage.sh: Likewise.
18386         [BZ #12813]
18387         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18388         time symbol from vDSO.  Substitute with vsyscall if not available.
18389         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18390         __vdso_time.
18392         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18393         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18394         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18395         Add sendmmsg and internal_sendmmsg.
18396         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18397         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18398         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18400         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18401         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18402         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18404 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
18406         [BZ #12813]
18407         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18408         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
18409         available.
18410         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18411         __vdso_getcpu.
18413         [BZ #12814]
18414         * iconvdata/Makefile (tests): Add bug-iconv9.
18415         * iconvdata/bug-iconv9.c: New file.
18417 2011-05-27  Andreas Schwab  <schwab@redhat.com>
18419         [BZ #12814]
18420         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18422 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
18424         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18425         (struct user_regs_struct): Change intcs field back to cs.
18427 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
18429         * po/ja.po: Update from translation team.
18431 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
18433         [BZ #12795]
18434         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18435         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18437 2011-05-20  Andreas Schwab  <schwab@redhat.com>
18439         * stdlib/longlong.h: Update from GCC.
18441 2011-05-23  Andreas Schwab  <schwab@redhat.com>
18443         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18444         parameter name.
18445         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18446         Add parameter name.
18447         (__sysconf): Pass it down.
18449 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
18451         [BZ #12671]
18452         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18453         some situations.
18454         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18455         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18456         add in in __libc_use_alloca calls.  Adjust callers.
18457         (glob): Use malloc in some situations.
18459         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18460         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18461         pltexit.
18463 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
18465         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18466         and CLOCK_BOOTTIME_ALARM.
18468         [BZ #12782]
18469         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18470         is returned.
18472         * string/_strerror.c (__strerror_r): Print negative errors as signed
18473         numbers.
18475         [BZ #12777]
18476         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18477         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18478         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18480         * configure.in: Fix typo in redirection and correct removal of test
18481         files in two cases.
18483         [BZ #12788]
18484         * locale/setlocale.c (new_composite_name): Fix test to check for
18485         identical name of all categories.
18487         [BZ #12792]
18488         * libio/filedoalloc.c (local_isatty): New function.
18489         (_IO_file_doallocate): Use local_isatty.
18490         * stdio-common/perror.c (perror): In case a new stream is used
18491         forward the stream error.
18492         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18493         error flag.
18495 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
18497         [BZ #11869]
18498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18499         alloca.
18500         * include/alloca.h (extend_alloca_account): Define.
18502         [BZ #11857]
18503         * posix/regex.h: Fix comments with documentation of user-accessible
18504         fields after compilation and describe correct free'ing of pattern
18505         after re_compile_pattern.
18506         Patch by Reuben Thomas <rrt@sc3d.org>.
18508 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
18510         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18511         and -mno-altivec to prevent the compiler from using Altivec and/or
18512         VSX instructions when the corresponding registers are not available.
18514 2011-05-19  Andreas Schwab  <schwab@redhat.com>
18516         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18518 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
18520         * libio/freopen.c (freopen): Use __dup2, not dup2.
18521         * libio/freopen64.c (freopen64): Likewise.
18523 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18525         [BZ #12775]
18526         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18527         * math/Makefile (tests): Add test-powl.
18528         (CFLAGS-test-powl.c): Define.
18529         * math/test-powl.c: New file.
18531 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18533         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18535 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
18537         [BZ #11837]
18538         * iconvdata/gb18030.c: Update to GB18020-2005.
18540 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
18542         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18543         RE_SYNTAX_POSIX_AWK): Update to match recent development.
18544         Patch by Aharon Robbins <arnold@skeeve.com>.
18546         [BZ #11892]
18547         * stdlib/putenv.c (putenv): Don't always create copy of the variable
18548         on the stack.
18550         [BZ #11895]
18551         * misc/pselect.c (__pselect): Handle timeout value errors hidden
18552         through underflows.
18554         [BZ #12766]
18555         * misc/error.c (error_at_line): Ensure file_name and old_file_name
18556         point to strings before performing equality test for error_one_per_line
18557         mode.
18559         [BZ #11697]
18560         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18562         [BZ #11820]
18563         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18564         (struct user_fpregs_struct): Avoid __uint*_t types.
18566         [BZ #6420]
18567         * malloc/mtrace.c (tr_where): Add additional parameter to point to
18568         symbol info.  Use it instead of calling _dl_addr locally.
18569         (lock_and_info): New function.
18570         (tr_freehook): Call lock_and_info and pass symbol info as additional
18571         parameter to tr_where.
18572         (tr_mallochook): Likewise.
18573         (tr_reallochook): Likewise.
18574         (tr_memalignhook): Likewise.
18576         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
18577         used and couldn't be at all thread-safe.
18579 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
18581         * libio/freopen.c (freopen): Don't close old file descriptor
18582         before the new one is opened.  Instead dup the new file descriptor
18583         to the old one after the new stream is created.
18584         * libio/freopen64.c (freopen64): Likewise.
18585         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18586         * libio/fileops.c (_IO_new_file_close_it): Handle new
18587         _IO_FLAGS2_NOCLOSE flag.
18588         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18589         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18590         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18591         _IO_FLAGS2_NOCLOSE flag.
18592         * include/unistd.h: Add hidden_proto for dup3.
18593         Define __have_dup3.
18594         * io/dup3.c: Define hidden symbol.
18595         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18597         [BZ #7101]
18598         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18599         when an incomplete long option is used.
18600         * posix/tst-getopt_long1.c: New file.
18601         * posix/Makefile (tests): Add tst-getopt_long1.
18603         [BZ #10138]
18604         * scripts/config.guess: Update from autoconf-2.68.
18605         * scripts/config.sub: Likewise.
18607         [BZ #10157]
18608         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18609         tests into ...
18610         (has_cpuclock): ...this.  New function.
18611         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18612         macro here based on has_cpuclock code.
18614         [BZ #10149]
18615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18616         First byte (not low byte) is now always NUL.
18617         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18619         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18620         Use non-cancelable interfaces.
18622         [BZ #9809]
18623         * locale/iso-639.def: Add entry for Sorani.
18625         [BZ #11901]
18626         * include/stdlib.h: Move include protection to the right place.
18627         Define abort_msg_s.  Declare __abort_msg with it.
18628         * stdlib/abort.c (__abort_msg): Adjust type.
18629         * assert/assert.c (__assert_fail_base): New function.  Majority
18630         of code from __assert_fail.  Allocate memory for __abort_msg with
18631         mmap.
18632         (__assert_fail): Now call __assert_fail_base.
18633         * assert/assert-perr.c: Remove bulk of implementation.  Use
18634         __assert_fail_base.
18635         * include/assert.hL Declare __assert_fail_base.
18636         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18637         mmap.
18638         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18640 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
18642         [BZ #11952]
18643         [BZ #12453]
18644         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18645         until all modules are registered in the DTV.
18646         * elf/Makefile: Add rules to build and run tst-tls19.
18647         * elf/tst-tls19.c: New file.
18648         * elf/tst-tls19mod1.c: New file.
18649         * elf/tst-tls19mod2.c: New file.
18650         * elf/tst-tls19mod3.c: New file.
18651         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18653         [BZ #12083]
18654         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18655         correctly.
18657         [BZ #12601]
18658         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18659         two-byte sequence errors.
18660         * iconvdata/Makefile (tests): Add bug-iconv8.
18661         * iconvdata/bug-iconv8.c: New file.
18663         [BZ #12626]
18664         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18665         buf2 definition.
18667         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18669         [BZ #12432]
18670         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18671         (dummy_getcfa): New function.
18672         (init): Get _Unwind_GetCFA address, use dummy if not found.
18673         (backtrace_helper): In recursion check, also check whether CFA changes.
18674         (__backtrace): Completely initialize arg.
18676         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18677         storing incomplete byte sequence in state object.  Avoid testing for
18678         guaranteed too small input if we know there is enough data available.
18680 2011-05-11  Andreas Schwab  <schwab@redhat.com>
18682         * Makeconfig (+link-pie): Indent.
18683         * Rules (binaries-pie): Define if $(have-fpie) and
18684         $(build-shared).
18685         (binaries-shared): Also filter out $(binaries-pie).
18686         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18687         * nscd/Makefile (others-pie): Add nscd.
18688         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18689         ($(objpfx)nscd): Remove command override.
18690         * login/Makefile (others-pie): Add pt_chown.
18691         ($(objpfx)pt_chown): Remove command override.
18692         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18693         remove command overrides.
18695 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
18697         * libio/tst_putwc.c: Fix error messages.
18699         [BZ #12724]
18700         * libio/fileops.c (_IO_new_file_close_it): Always flush when
18701         currently writing and seek to current position when not.
18702         * libio/Makefile (tests): Add bug-fclose1.
18703         * libio/bug-fclose1.c: New file.
18705 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
18707         [BZ #12511]
18708         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18709         don't set DF_1_NODELETE here.
18710         (do_lookup_x): When entering new entry test for copy relocation
18711         and if necessary set DF_1_NODELETE flag.
18712         * elf/tst-unique4.cc: New file.
18713         * elf/tst-unique4.h: New file.
18714         * elf/tst-unique4lib.cc: New file.
18715         * elf/Makefile: Add rules to build and run tst-unique4.
18716         Patch by Piotr Bury <pbury@goahead.com>.
18718 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
18720         [BZ #12052]
18721         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18723         [BZ #12625]
18724         * misc/mntent_r.c (addmntent): Flush the stream after the output
18726         [BZ #12393]
18727         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18728         (is_trusted_path_normalize): Skip initial colon.  Append slash
18729         to empty buffer.  Duplicate is_trusted_path code but allow
18730         constructed patch to be prefix.
18731         (is_dst): Allow $ORIGIN followed by /.
18732         (_dl_dst_substitute): Correct clearing of check_for_trusted.
18733         Correct testing of result of is_trusted_path_normalize
18734         (decompose_rpath): Fix warning.
18736 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
18738         [BZ #11257]
18739         * grp/initgroups.c (internal_getgrouplist): When we found the service
18740         list through the initgroups entry in nsswitch.conf do not always
18741         continue on a successful lookup.  Don't always use the
18742         __nss_group_database value if it is set.
18743         * nss/nsswitch.conf (initgroups): Change action for successful db
18744         lookup to continue for compatibility.
18746 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
18748         [BZ #11532]
18749         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18750         and CP774 modules.
18751         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18752         and CP774 modules.
18753         * iconvdata/tst-tables.sh: Likewise.
18754         * iconvdata/cp770.c: New file.
18755         * iconvdata/cp771.c: New file.
18756         * iconvdata/cp772.c: New file.
18757         * iconvdata/cp773.c: New file.
18758         * iconvdata/cp774.c: New file.
18759         * iconvdata/testdata/CP770: New file.
18760         * iconvdata/testdata/CP770..UTF8: New file.
18761         * iconvdata/testdata/CP771: New file.
18762         * iconvdata/testdata/CP771..UTF8: New file.
18763         * iconvdata/testdata/CP772: New file.
18764         * iconvdata/testdata/CP772..UTF8: New file.
18765         * iconvdata/testdata/CP773: New file.
18766         * iconvdata/testdata/CP773..UTF8: New file.
18767         * iconvdata/testdata/CP774: New file.
18768         * iconvdata/testdata/CP774..UTF8: New file.
18770         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18771         END CHARMAP line.
18772         * iconvdata/gen-8bit-gap.sh: Likewise.
18773         * iconvdata/gen-8bit.sh: Likewise.
18775         * locale/iso-639.def: Add ary entry.
18777         [BZ #11258]
18778         * locale/C-translit.h.in: Add U20A1 transliteration.
18780         [BZ #12178]
18781         * locale/iso-639.def: Add wae entry.
18782         Patch by Kevin Bortis <bortis@translate-wae.ch>.
18784         [BZ #12545]
18785         * locale/programs/localedef.c (construct_output_path): Use ssize_t
18786         for n.
18788         [BZ #12711]
18789         * locale/C-translit.h.in: Add entry for U20B9.
18790         Patch by pravin.d.s@gmail.com.
18792 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
18794         [BZ #12713]
18795         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18796         ENAMETOOLONG use generic getcwd.
18797         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
18798         in rtld.  Use *stat64.
18799         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18800         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18801         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18802         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18803         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18804         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18805         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18806         __fstatat64 macros.
18807         * include/dirent.h: Add libc_hidden_proto for rewinddir.
18808         * dirent/rewinddir.c: Add libc_hidden_def.
18809         * sysdeps/mach/hurd/rewinddir.c: Likewise.
18810         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
18812         * include/dirent.h (__alloc_dir): Add flags parameter.
18813         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18814         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18815         __alloc_dir.
18816         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
18817         from fdopendir if O_CLOEXEC is already set.
18819 2011-03-15  Alan Modra  <amodra@gmail.com>
18821         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18822         l_tls_firstbyte_offset non-zero.  Save padding offset in
18823         l_tls_firstbyte_offset for later use.
18824         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18825         freeing static tls block.
18827 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
18829         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18830         where #ifdef was intended.  The intent is to prevent ARG_MAX from
18831         being defined by the kernel headers.
18833 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
18835         [BZ #12734]
18836         * resolv/resolv.h: Define RES_NOTLDQUERY.
18837         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18838         no-tld-query and set RES_NOTLDQUERY.
18839         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18840         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18841         modern BIND to search name as TLD unless forbidden.
18843 2011-05-07  Petr Baudis  <pasky@suse.cz>
18844             Ulrich Drepper  <drepper@gmail.com>
18846         [BZ #12393]
18847         * elf/dl-load.c (fillin_rpath): Move trusted path check...
18848         (is_trusted_path): ...to here.
18849         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18850         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18851         using is_trusted_path_normalize() in setuid scripts.
18853 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18855         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18856         __BEGIN/__END_DECLS.
18858 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
18860         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18861         NSS_STATUS_NOTFOUND if no record was found.
18863 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18865         * sunrpc/Makefile (headers): Add rpc/netdb.h.
18866         (headers-not-in-tirpc): Remove rpc/netdb.h
18867         * resolv/netdb.h: Revert last change.
18869 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18871         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18872         circular dependency between libgcc.a and libc.a.
18874 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18876         * resolv/netdb.h: Don't include <rpc/netdb.h>.
18877         * nis/Makefile: Don't install rpcsvc/*.
18878         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18879         instead of <rpc/types.h>.
18880         (MAXHOSTNAMELEN): Define.
18882 2011-05-03  Andreas Schwab  <schwab@redhat.com>
18884         * elf/ldconfig.c (add_dir): Don't crash on empty path.
18886 2011-04-28  Maciej Babinski  <mbabinski@google.com>
18888         [BZ #12714]
18889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18890         gethostbyname4_r when IPv6 results are possible.
18892 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
18894         [BZ #12723]
18895         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18896         _PC_PIPE_BUF handling.
18898 2011-04-30  Bruno Haible  <bruno@clisp.org>
18900         [BZ #12717]
18901         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18902         * resolv/netdb.h (getnameinfo): Change type of flags parameter
18903         to 'int'.
18904         * inet/getnameinfo.c (getnameinfo): Likewise.
18906 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
18908         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18909         to groups setting in database lookup.
18910         * nss/nsswitch.conf: Add initgroups entry.
18912 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
18914         [BZ #12685]
18915         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18916         mode string.
18917         Patch by Eric Blake <eblake@redhat.com>.
18919 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
18921         * sunrpc/Makefile (need-export-routines): Add svc_run.
18922         (routines): Remove svc_run.
18923         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18924         * sunrpc/clnt_perr.c (clnt_perrno): Export.
18925         * sunrpc/svc_run.c (svc_run): Likewise.
18926         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18928 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
18930         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18931         problem in reallocation in last patch.
18933 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
18935         * sunrpc/Makefile: Move inclusion of Rules.
18937 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18939         * nss/nss_files/files-initgroups.c: New file.
18940         * nss/Makefile (libnss_files-routines): Add files-initgroups.
18941         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18942         _nss_files_initgroups_dyn.
18944 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
18946         * elf/elf.h (R_ARM_IRELATIVE): Define.
18948 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18950         * po/ru.po: Update from translation team.
18952 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18954         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18955         dependencies.
18957 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
18959         [BZ #12653]
18960         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18961         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18962         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18963         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18964         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18966 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
18968         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18969         differing bytes.
18970         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18971         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18972         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18974 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18976         [BZ #12420]
18977         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18978         storing it.
18979         * stdlib/bug-getcontext.c: New file.
18980         * stdlib/Makefile: Add rules to build and run bug-getcontext.
18982 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18984         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18985         instructions into .machine "z9-109".
18986         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18987         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18989 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18991         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18992         between environment variables and auxiliary vector.
18994 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
18996         * Makefile: Add rules to build linkobj/libc.so.
18997         * include/libc-symbols.h: Define libc_hidden_nolink.
18998         * include/rpc/auth.h: Mark functions which are to be hidden.
18999         * include/rpc/auth_des.h: Likewise.
19000         * include/rpc/auth_unix.h: Likewise.
19001         * include/rpc/clnt.h: Likewise.
19002         * include/rpc/des_crypt.h: Likewise.
19003         * include/rpc/key_prot.h: Likewise.
19004         * include/rpc/pmap_clnt.h: Likewise.
19005         * include/rpc/pmap_prot.h: Likewise.
19006         * include/rpc/pmap_rmt.h: Likewise.
19007         * include/rpc/rpc_msg.h: Likewise.
19008         * include/rpc/svc.h: Likewise.
19009         * include/rpc/svc_auth.h: Likewise.
19010         * include/rpc/xdr.h: Likewise.
19011         * nis/Makefile: Link all DSOs against linkobj/libc.so.
19012         * nss/Makefile: Likewise.
19013         * sunrpc/Makefile: Don't install headers.  Build library with normal
19014         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
19015         * sunrpc/auth_des.c: Hide exported symbols by default, export some
19016         for the compat linking library.  Remove use of INTDEF/INTUSE.
19017         * sunrpc/auth_none.c: Likewise.
19018         * sunrpc/auth_unix.c: Likewise.
19019         * sunrpc/authdes_prot.c: Likewise.
19020         * sunrpc/authuxprot.c: Likewise.
19021         * sunrpc/clnt_gen.c: Likewise.
19022         * sunrpc/clnt_perr.c: Likewise.
19023         * sunrpc/clnt_raw.c: Likewise.
19024         * sunrpc/clnt_simp.c: Likewise.
19025         * sunrpc/clnt_tcp.c: Likewise.
19026         * sunrpc/clnt_udp.c: Likewise.
19027         * sunrpc/clnt_unix.c: Likewise.
19028         * sunrpc/des_crypt.c: Likewise.
19029         * sunrpc/des_soft.c: Likewise.
19030         * sunrpc/get_myaddr.c: Likewise.
19031         * sunrpc/key_call.c: Likewise.
19032         * sunrpc/key_prot.c: Likewise.
19033         * sunrpc/netname.c: Likewise.
19034         * sunrpc/pm_getmaps.c: Likewise.
19035         * sunrpc/pm_getport.c: Likewise.
19036         * sunrpc/pmap_clnt.c: Likewise.
19037         * sunrpc/pmap_prot.c: Likewise.
19038         * sunrpc/pmap_prot2.c: Likewise.
19039         * sunrpc/pmap_rmt.c: Likewise.
19040         * sunrpc/publickey.c: Likewise.
19041         * sunrpc/rpc_cmsg.c: Likewise.
19042         * sunrpc/rpc_common.c: Likewise.
19043         * sunrpc/rpc_dtable.c: Likewise.
19044         * sunrpc/rpc_prot.c: Likewise.
19045         * sunrpc/rpc_thread.c: Likewise.
19046         * sunrpc/rtime.c: Likewise.
19047         * sunrpc/svc.c: Likewise.
19048         * sunrpc/svc_auth.c: Likewise.
19049         * sunrpc/svc_authux.c: Likewise.
19050         * sunrpc/svc_raw.c: Likewise.
19051         * sunrpc/svc_run.c: Likewise.
19052         * sunrpc/svc_simple.c: Likewise.
19053         * sunrpc/svc_tcp.c: Likewise.
19054         * sunrpc/svc_udp.c: Likewise.
19055         * sunrpc/svc_unix.c: Likewise.
19056         * sunrpc/svcauth_des.c: Likewise.
19057         * sunrpc/xcrypt.c: Likewise.
19058         * sunrpc/xdr.c: Likewise.
19059         * sunrpc/xdr_array.c: Likewise.
19060         * sunrpc/xdr_float.c: Likewise.
19061         * sunrpc/xdr_intXX_t.c: Likewise.
19062         * sunrpc/xdr_mem.c: Likewise.
19063         * sunrpc/xdr_rec.c: Likewise.
19064         * sunrpc/xdr_ref.c: Likewise.
19065         * sunrpc/xdr_sizeof.c: Likewise.
19066         * sunrpc/xdr_stdio.c: Likewise.
19068 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
19070         [BZ #12650]
19071         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19072         * sysdeps/ia64/dl-tls.h: Likewise.
19073         * sysdeps/powerpc/dl-tls.h: Likewise.
19074         * sysdeps/s390/dl-tls.h: Likewise.
19075         * sysdeps/sh/dl-tls.h: Likewise.
19076         * sysdeps/sparc/dl-tls.h: Likewise.
19077         * sysdeps/x86_64/dl-tls.h: Likewise.
19078         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19080 2011-03-14  Andreas Schwab  <schwab@redhat.com>
19082         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19083         rpath element also skip the following colon.
19084         (expand_dynamic_string_token): Add is_path parameter and pass
19085         down to DL_DST_REQUIRED and _dl_dst_substitute.
19086         (decompose_rpath): Call expand_dynamic_string_token with
19087         non-zero is_path.  Ignore empty rpaths.
19088         (_dl_map_object_from_fd): Call expand_dynamic_string_token
19089         with zero is_path.
19091 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
19093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19094         Make cancelable.
19096 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
19098         [BZ #12655]
19099         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19100         Patch by Filipe David Manana <fdmanana@apache.org>.
19102 2011-04-07  Andreas Schwab  <schwab@redhat.com>
19104         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19105         Maintain aligned stack.
19106         (CHECK_RSP): Remove unused macro.
19108 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
19110         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19111         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19113 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
19115         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19117         * include/features.h: Mention __USE_XOPEN2K8 in comment.
19119 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
19121         [BZ #12518]
19122         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19123         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19124         * sysdeps/x86_64/memmove.c: New file.
19125         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19126         (memcpy): Renamed to ...
19127         (__new_memcpy): This.
19128         (memcpy): Provide GLIBC_2_14 memcpy.
19129         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19130         (memcpy): Provide GLIBC_2_2_5 memcpy.
19132 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
19134         [BZ #12631]
19135         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19137 2011-03-30  Andreas Schwab  <schwab@redhat.com>
19139         * misc/syncfs.c: New file.
19140         * misc/Makefile (routines): Add syncfs.
19141         * posix/unistd.h: Declare syncfs.
19142         * sysdeps/unix/syscalls.list: Add syncfs.
19144 2011-04-01  Andreas Schwab  <schwab@redhat.com>
19146         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19147         open_by_handle_at.
19148         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19149         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19150         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19151         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19152         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19153         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19154         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19156 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
19158         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19159         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19160         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19161         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19162         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19163         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19164         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19166         * io/Makefile: Compile fallocate.c, fallocate64.c, and
19167         sync_file_range.c with -fexceptions.
19168         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19169         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19170         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19171         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19172         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19173         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19175         sync_file_range as cancellation point
19176         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
19177         now a wrapper around __call_sync_file_range with cancellation handling.
19178         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19179         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
19180         function name to __call_sync_file_range.
19181         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19182         Add call_sync_file_range.
19184 2011-04-01  Andreas Schwab  <schwab@redhat.com>
19186         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19187         bits/timex.h.
19189 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
19191         * iconv/iconv.h: Fix typo in comment.
19192         * io/fcntl.h: Likewise.
19193         * libio/stdio.h: Likewise.
19194         * posix/spawn.h: Likewise.
19195         * posix/unistd.h: Likewise.
19196         * stdlib/stdlib.h: Likewise.
19197         * time/time.h: Likewise.
19198         * wcsmbs/wchar.h: Likewise.
19200         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19201         open_by_handle): Add.
19202         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19203         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
19204         Augment a few comments.
19205         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19207         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19208         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19209         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19210         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19211         open_by_handle.
19213         * io/fcntl.h (AT_EMPTY_PATH): Define.
19215 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
19217         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19218         * sysdeps/unix/sysv/linux/bits/time.h: New file.
19219         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19220         to...
19221         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
19222         * Versions.def: Add GLIBC_2.14.
19223         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19224         Export.
19226 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
19228         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19229         round counter.
19230         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19232 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19234         [BZ #12597]
19235         * string/test-strncmp.c (do_page_test): New function.
19236         (check2): Likewise.
19237         (test_main): Call check2.
19238         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19240 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
19242         [BZ #12587]
19243         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19244         Handle cache information in CPU leaf 4.
19245         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19247 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
19249         [BZ #12583]
19250         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19251         character representation.
19252         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19254 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
19256         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19257         END(__isnan) to END(__isnanf) to match function entry point/label
19258         EALIGN(__isnanf,...).
19260 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
19262         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19264 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
19266         [BZ #12510]
19267         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19268         copy from the symbol referenced in the relocation to initialize the
19269         used variable.
19270         Patch by Piotr Bury <pbury@goahead.com>.
19271         * elf/Makefile: Add rules to build and tst-unique3.
19272         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19273         * elf/tst-unique3.cc: New file.
19274         * elf/tst-unique3.h: New file.
19275         * elf/tst-unique3lib.cc: New file.
19276         * elf/tst-unique3lib2.cc: New file.
19278         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19280 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
19282         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19283         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
19284         to _start.
19286 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
19288         * elf/dl-load.c (_dl_map_object): If we are looking for the first
19289         to-be-loaded object along a path to loader is ld.so.
19291 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
19292             Ulrich Drepper  <drepper@gmail.com>
19294         * sysdeps/x86_64/memset.S: After aligning destination, code
19295         branches to different locations depending on the value of
19296         misalignment, when multiarch is enabled. Fix this.
19298 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
19300         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19301         Set _x86_64_preferred_memory_instruction for AMD processsors.
19302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19303         Set bit_Prefer_SSE_for_memop for AMD processors.
19305 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
19307         * libio/fmemopen.c (fmemopen): Optimize a bit.
19309 2011-03-03  Andreas Schwab  <schwab@redhat.com>
19311         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19313 2011-03-03  Roland McGrath  <roland@redhat.com>
19315         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19317 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
19319         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19320         __bzero_ultra1 instead of __memset_ultra1.
19322 2011-02-23  Andreas Schwab  <schwab@redhat.com>
19323             Ulrich Drepper  <drepper@gmail.com>
19325         [BZ #12509]
19326         * include/link.h (struct link_map): Add l_orig_initfini.
19327         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19328         returning unsuccessfully.
19329         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19330         close of a file loaded at startup, restore the original l_initfini
19331         list.
19332         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19333         list, store the pointer.
19334         * elf/Makefile ($(objpfx)noload-mem): New rule.
19335         (noload-ENV): Define.
19336         (tests): Add $(objpfx)noload-mem.
19337         * elf/noload.c: Include <memcheck.h>.
19338         (main): Call mtrace.  Close all opened handles.
19340 2011-02-17  Andreas Schwab  <schwab@redhat.com>
19342         [BZ #12454]
19343         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19344         dependencies are missing.
19346 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19348         Fix __if_freereq crash: Unlike the generic version which uses free,
19349         Hurd needs munmap.
19350         * sysdeps/mach/hurd/ifreq.h: New file.
19352 2011-01-27  Petr Baudis  <pasky@suse.cz>
19353             Ulrich Drepper  <drepper@gmail.com>
19355         [BZ 12445]#
19356         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19357         to extend_alloca().
19358         * stdio-common/bug23.c: New file.
19359         * stdio-common/Makefile (tests): Add bug23.
19361 2010-09-28  Andreas Schwab  <schwab@redhat.com>
19362             Ulrich Drepper  <drepper@gmail.com>
19364         [BZ #12489]
19365         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19366         before performing relro protection.  At old place add assertion
19367         to make sure nothing changed.
19369 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
19370             Glauber de Oliveira Costa  <glommer@gmail.com>
19372         * elf/elf.h: Add new ARM TLS relocs.
19374 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
19376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19377         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19378         cast from r3.
19379         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
19380         'tests' variable.
19381         * sysdeps/wordsize-64/tst-writev.c: New file.
19383 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
19385         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19386         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19387         insns in _dl_start to prevent a TOC reference before relocs are
19388         resolved.
19390 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
19392         [BZ #12469]
19393         * Makeconfig: Remove RANLIB definition.
19394         * Makerules: Don't use RANLIB.
19395         * aclocal.m4: Remove ranlib test.
19396         * configure.in: No need to check for ranlib.
19397         * elf/rtld-Rules: Don't use RANLIB.
19399 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19401         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19402         protection macro.
19403         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19404         inclusion protection macro.
19406         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19407         SIGRTMIN and SIGRTMAX and print information in that case only when
19408         SIGRTMIN is defined.
19410 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
19412         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19413         arginfo fn returning -1.
19415         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19416         and thousands string is zero terminated.
19418 2011-02-03  Andreas Schwab  <schwab@redhat.com>
19420         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19421         sysdeps/unix/sysv/linux/bits/socket.h.
19423 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19425         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19426         (__CPU_COUNT): Remove old macros.
19427         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19428         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19429         (__CPU_ALLOC, __CPU_FREE): Add macros.
19430         (__sched_cpualloc, __sched_cpufree): Add declarations.
19432 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
19434         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19435         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19436         * nscd/aicache.c (addhstaiX): Return timeout of added value.
19437         (readdhstai): Return value of addhstaiX call.
19438         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19439         (addgrbyX): Return value returned by cache_addgr.
19440         (readdgrbyname): Return value returned by addgrbyX.
19441         (readdgrbygid): Likewise.
19442         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19443         (addpwbyX): Return value returned by cache_addpw.
19444         (readdpwbyname): Return value returned by addhstbyX.
19445         (readdpwbyuid): Likewise.
19446         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19447         (addservbyX): Return value returned by cache_addserv.
19448         (readdservbyname): Return value returned by addservbyX:
19449         (readdservbyport): Likewise.
19450         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19451         (addhstbyX): Return value returned by cache_addhst.
19452         (readdhstbyname): Return value returned by addhstbyX.
19453         (readdhstbyaddr): Likewise.
19454         (readdhstbynamev6): Likewise.
19455         (readdhstbyaddrv6): Likewise.
19456         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19457         (readdinitgroups): Return value returned by addinitgroupsX.
19458         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19459         (prune_cache): Keep track of timeout value of re-added entries.
19460         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19461         * nscd/nscd.h: Adjust prototypes of readd* functions.
19463 2011-02-04  Roland McGrath  <roland@redhat.com>
19465         * nis/nis_server.c (nis_servstate): Use the right name for 0.
19466         (nis_stats): Likewise.
19467         * nis/nis_modify.c (nis_modify): Likewise.
19468         * nis/nis_remove.c (nis_remove): Likewise.
19469         * nis/nis_add.c (nis_add): Likewise.
19471         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19473         * posix/fnmatch_loop.c: Add some consts.
19475         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19477 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
19479         [BZ #12460]
19480         * config.make.in (config-cflags-novzeroupper): Define.
19481         * configure.in: Substitute libc_cv_cc_novzeroupper.
19482         * elf/Makefile (AVX-CFLAGS): Define.
19483         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19484         (CFLAGS-tst-auditmod4a.c): Likewise.
19485         (CFLAGS-tst-auditmod4b.c): Likewise.
19486         (CFLAGS-tst-auditmod6b.c): Likewise.
19487         (CFLAGS-tst-auditmod6c.c): Likewise.
19488         (CFLAGS-tst-auditmod7b.c): Likewise.
19489         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19491 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
19493         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19494         function to the callback.
19495         Patch partly by Jiri Olsa <jolsa@redhat.com>.
19497 2011-02-02  Andreas Schwab  <schwab@redhat.com>
19499         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19500         of errno.
19502 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
19504         [BZ #11724]
19505         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19506         of constructors.
19507         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19508         of destructors.
19509         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19511         [BZ #11724]
19512         * elf/Makefile: Add rules to build and run new test.
19513         * elf/tst-initorder.c: New file.
19514         * elf/tst-initorder.exp: New file.
19515         * elf/tst-initordera1.c: New file.
19516         * elf/tst-initordera2.c: New file.
19517         * elf/tst-initordera3.c: New file.
19518         * elf/tst-initordera4.c: New file.
19519         * elf/tst-initorderb1.c: New file.
19520         * elf/tst-initorderb2.c: New file.
19521         * elf/tst-order-a1.c: New file.
19522         * elf/tst-order-a2.c: New file.
19523         * elf/tst-order-a3.c: New file.
19524         * elf/tst-order-a4.c: New file.
19525         * elf/tst-order-b1.c: New file.
19526         * elf/tst-order-b2.c: New file.
19527         * elf/tst-order-main.c: New file.
19528         New test case by George Gensure <werkt0@gmail.com>.
19530 2010-10-01  Andreas Schwab  <schwab@redhat.com>
19532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19533         decoding ACE if AI_CANONIDN.
19535 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
19537         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19539 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
19541         * version.h (RELEASE): Bump for 2.13 release.
19542         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19544         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19546         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19547         MADV_NOHUGEPAGE.
19548         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19549         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19550         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19551         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19552         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19553         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19555         * posix/getconf.c: Update copyright year.
19556         * catgets/gencat.c: Likewise.
19557         * csu/version.c: Likewise.
19558         * debug/catchsegv.sh: Likewise.
19559         * debug/xtrace.sh: Likewise.
19560         * elf/ldconfig.c: Likewise.
19561         * elf/ldd.bash.in: Likewise.
19562         * elf/sprof.c (print_version): Likewise.
19563         * iconv/iconv_prog.c: Likewise.
19564         * iconv/iconvconfig.c: Likewise.
19565         * locale/programs/locale.c: Likewise.
19566         * locale/programs/localedef.c: Likewise.
19567         * malloc/memusage.sh: Likewise.
19568         * malloc/mtrace.pl: Likewise.
19569         * nscd/nscd.c (print_version): Likewise.
19570         * nss/getent.c: Likewise.
19572         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19573         PF_CAIF, and PF_ALG.
19574         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19576 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
19578         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19579         (modules-names): Use them.
19580         (ifunc-test-modules, ifunc-pie-tests): Define.
19581         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19582         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19583         (test-extras): Likewise.
19584         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19585         $(compile-command.c).
19586         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19587         (all-built-dso): Define.
19588         (check-textrel.out, check-execstack.out): Depend on it.
19590         * configure.in: Don't override --enable-multi-arch.
19592 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
19594         [BZ #6812]
19595         * nscd/hstcache.c (tryagain): Define.
19596         (cache_addhst): Return tryagain not notfound for temporary errors.
19597         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19598         failed.
19600 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
19602         [BZ #10563]
19603         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19604         to make the syscall.
19605         * sysdeps/unix/sysv/linux/setgroups.c: New file.
19607         [BZ #12378]
19608         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19609         and fall back to matching as normal character if the string ends before
19610         the matching ']' is found.  This is what POSIX requires.
19611         * posix/testfnm.c: Adjust test result.
19612         * posix/globtest.sh: Adjust test result.  Add new test.
19613         * posix/tst-fnmatch.input: Likewise.
19614         * posix/tst-fnmatch2.c: Add new test.
19616 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
19618         * elf/Makefile (check-execstack): Revert last change.  Depend on
19619         check-execstack.h.
19620         (check-execstack.h): New target.
19621         (generated): Add check-execstack.h.
19622         * elf/check-execstack.c: Include "check-execstack.h".
19623         (main): Revert last change.
19624         (handle_file): Return zero if GNU_STACK is absent and
19625         DEFAULT_STACK_PERMS doesn't include PF_X.
19627 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
19629         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19630         in child fails because the descriptor is already closed.
19631         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19632         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19633         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19635         [BZ #12397]
19636         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19637         syscall.
19639         [BZ #10484]
19640         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19641         temporary buffer used to handle multi lookups locally.
19642         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19644 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19646         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19647         loader is ld.so.
19649 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
19651         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19652         alignment for SSE2.
19654 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19656         [BZ #12394]
19657         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19658         characters.  When rounding increased number of integer digits recompute
19659         number of groups.
19660         * stdio-common/tst-grouping.c: New file.
19661         * stdio-common/Makefile: Add rules to build and run tst-grouping.
19663 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
19665         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19666         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
19668         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19669         void.
19670         * bits/select.h: Likewise.
19672 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
19674         * po/ja.po: Update from translation team.
19676 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
19678         [BZ #11155]
19679         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19680         implementation just like for lxstat, fxstatat, et al.
19682 2010-12-27  Jim Meyering  <meyering@redhat.com>
19684         [BZ #12348]
19685         * posix/regexec.c (build_trtable): Return failure indication upon
19686         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
19688 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
19690         [BZ #12201]
19691         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19692         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19693         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19694         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19696         [BZ #12207]
19697         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19699         [BZ #12204]
19700         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19701         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19703 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19705         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19706         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19707         script has SORT_BY_INIT_PRIORITY.
19708         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19709         NO_CTORS_DTORS_SECTIONS is defined.
19710         * elf/soinit.c: Likewise.
19711         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19712         NO_CTORS_DTORS_SECTIONS is defined.
19713         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19714         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19715         * sysdeps/sh/init-first.c: Likewise.
19716         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19718 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
19720         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19721         always use the slow path.
19723 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
19725         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19726         similar rule which adds the sysdep directories to the header search in
19727         order to pick up the correct platform stackinfo.h.
19728         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19729         perform test if it is, otherwise return successfully without testing.
19730         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19731         DEFAULT_STACK_PERMS define in stackinfo.h.
19732         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19733         defined in stackinfo.h.
19734         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19735         DEFAULT_STACK_PERMS defined in stackinfo.h.
19736         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19737         * sysdeps/ia64/stackinfo.h: Likewise.
19738         * sysdeps/s390/stackinfo.h: Likewise.
19739         * sysdeps/sh/stackinfo.h: Likewise.
19740         * sysdeps/sparc/stackinfo.h: Likewise.
19741         * sysdeps/x86_64/stackinfo.h: Likewise.
19742         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19743         PF_X for powerpc64.  Retain PF_X for powerpc32.
19745 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
19747         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19748         accurately.
19749         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19750         GETDENTS_64BIT_ALIGNED.
19752 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
19754         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19756 2010-12-10  Andreas Schwab  <schwab@redhat.com>
19758         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19759         _GNU_SOURCE.
19761         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19762         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19763         Remove __restrict.
19764         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19765         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19767 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
19769         [BZ #11655]
19770         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19771         are initialized.
19773 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
19775         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19777 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
19779         * po/it.po: Update from translation team.
19781 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19784         unused codes.
19786 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
19788         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19790 2010-11-24  Andreas Schwab  <schwab@redhat.com>
19792         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19793         specially.
19794         (gaih_getanswer_slice): Likewise.
19796 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
19798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19800 2010-05-31  Petr Baudis  <pasky@suse.cz>
19802         [BZ #11149]
19803         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19804         silently even in the chroot mode.
19806 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
19808         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19809         last patch a bit.  Pretty printing
19811 2010-05-31  Petr Baudis <pasky@suse.cz>
19813         [BZ #10085]
19814         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19815         initialization of skip_initgroups_dyn.
19817 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
19819         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19820         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19822 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
19824         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19826 2010-11-11  Andreas Schwab  <schwab@redhat.com>
19828         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19829         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19830         (tst-fnmatch-ENV): Set MALLOC_TRACE.
19831         ($(objpfx)tst-fnmatch-mem): New rule.
19832         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19833         * posix/tst-fnmatch.c (main): Call mtrace.
19835 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
19837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19838         Support Intel processor model 6 and model 0x2c.
19840 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
19842         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19843           signed comparison.
19845 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
19847         [BZ #12205]
19848         * string/test-strncasecmp.c (check_result): New function.
19849         (do_one_test): Use it.
19850         (check1): New function.
19851         (test_main): Use it.
19852         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19853         Support strcasecmp and strncasecmp.
19855 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
19857         [BZ #12194]
19858         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19859         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19861 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19863         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19864         IFUNC support.
19865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19866         memset-x86-64.
19867         * sysdeps/x86_64/multiarch/bzero.S: New file.
19868         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19869         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19870         * sysdeps/x86_64/multiarch/memset.S: New file.
19871         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19873         Set bit_Prefer_SSE_for_memop for Intel processors.
19874         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19875         Define.
19876         (index_Prefer_SSE_for_memop): Define.
19877         (HAS_PREFER_SSE_FOR_MEMOP): Define.
19879 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
19881         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19882         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19884 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
19886         [BZ #12191]
19887         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19888         (__x86_64_raw_data_cache_size_half): Likewise.
19889         (__x86_64_raw_shared_cache_size): Likewise.
19890         (__x86_64_raw_shared_cache_size_half): Likewise.
19892         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19893         (__x86_64_raw_data_cache_size_half): Likewise.
19894         (__x86_64_raw_shared_cache_size): Likewise.
19895         (__x86_64_raw_shared_cache_size_half): Likewise.
19896         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19897         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19898         and __x86_64_raw_shared_cache_size_half.  Round
19899         __x86_64_data_cache_size_half, __x86_64_data_cache_size
19900         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19901         to multiple of 256 bytes.
19903 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
19905         [BZ #12167]
19906         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19907         of inacessible symlinks.  Verify result of symlink before returning it.
19908         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19909         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19911 2010-10-28  Erich Ritz  <erichritz@gmail.com>
19913         * math/math.h (isinf): Fix typo in comment.
19915 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
19917         * po/da.po: Update from translation team.
19919 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
19921         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19922         is added to the list.
19924 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19925             Ulrich Drepper  <drepper@gmail.com>
19927         * elf/dl-object.c (_dl_new_object): Don't append the new object to
19928         the global list here.  Move code to...
19929         (_dl_add_to_namespace_list): ...here.  New function.
19930         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19931         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19932         * elf/dl-load.c (lose): Don't remove the element from the list.
19933         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19934         (_dl_map_object): Likewise.
19936 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
19938         [BZ #12159]
19939         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19940         into all bytes of SSE register.
19941         Patch by Richard Li <richardpku@gmail.com>.
19943 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
19945         [BZ #12140]
19946         * malloc/malloc.c (_int_free): Fill correct number of bytes when
19947         perturbing.
19949 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
19951         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19952         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19953         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19954         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19956         submachine.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19959 2010-10-22  Andreas Schwab  <schwab@redhat.com>
19961         * include/dlfcn.h (__RTLD_SECURE): Define.
19962         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
19963         mode & __RTLD_SECURE instead.
19964         (open_path): Rename preloaded parameter to secure.
19965         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19966         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19967         * elf/dl-deps.c (openaux): Likewise.
19968         * elf/rtld.c (struct map_args): Remove is_preloaded.
19969         (map_doit): Don't use it.
19970         (dl_main): Likewise.
19971         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19972         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19974 2010-09-09  Andreas Schwab  <schwab@redhat.com>
19976         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19977         (sysd-rules-targets): Remove duplicates.
19978         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19979         rtld-%.$o dependency.
19981 2010-10-18  Andreas Schwab  <schwab@redhat.com>
19983         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19984         _dl_map_object do it.
19986 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
19988         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19989         fast fma builtins, define the macros in the C99 standard.
19990         (FP_FAST_FMAF): Likewise.
19991         (FP_FAST_FMAL): Likewise.
19992         * sysdeps/x86_64/bits/mathdef.h: Likewise.
19994         * bits/mathdef.h: Update copyright year.
19995         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19997 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
19999         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20000         builtins, define the macros in the C99 standard.
20001         (FP_FAST_FMAF): Likewise.
20002         (FP_FAST_FMAL): Likewise.
20003         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20004         multiply/add.
20005         (FP_FAST_FMAF): Likewise.
20007 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
20009         [BZ #3268]
20010         * math/libm-test.inc (fma_test): Some new testcases.
20011         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20012         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20013         y and infinite z.  Do multiplication by C already in long double.
20014         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20016         y and infinite z.  Do bitwise or of inexact bit into u.d.
20017         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20018         * sysdeps/i386/fpu/s_fmaf.S: Removed.
20019         * sysdeps/i386/fpu/s_fma.S: Removed.
20020         * sysdeps/i386/fpu/s_fmal.S: Removed.
20022 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
20024         [BZ #3268]
20025         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20027         computation is not scheduled after fetestexcept.  Fix value
20028         of minimum denormal long double.
20030 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
20032         [BZ #3268]
20033         * math/libm-test.inc (fma_test): Add some more tests.
20034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20035         correctly.
20037 2010-10-15  Andreas Schwab  <schwab@redhat.com>
20039         * scripts/data/localplt-s390-linux-gnu.data: New file.
20040         * scripts/data/localplt-s390x-linux-gnu.data: New file.
20042 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
20044         [BZ #3268]
20045         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20046         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20047         instead of dbl-64.
20048         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20049         inlines.
20050         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20052         if one of x and y is very large and the other is subnormal.
20053         * sysdeps/s390/fpu/s_fmaf.c: New file.
20054         * sysdeps/s390/fpu/s_fma.c: New file.
20055         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20056         * sysdeps/powerpc/fpu/s_fma.S: New file.
20057         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20058         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20059         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20061 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
20063         [BZ #3268]
20064         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20065         fma tests.
20066         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20067         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20068         * sysdeps/i386/i686/multiarch/s_fma.c: Include
20069         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20070         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20071         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20072         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20074 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
20076         [BZ #12078]
20077         * posix/regcomp.c (parse_branch): One more memory leak plugged.
20078         * posix/bug-regex31.input: Add test case.
20080 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
20082         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20083         * posix/bug-regex31.input: New file.
20085         [BZ #12078]
20086         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20087         (parse_sub_exp): Fix last change, use postorder.
20089         * posix/bug-regex31.c: New file.
20090         * posix/Makefile: Add rules to build and run bug-regex31.
20092         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20094         [BZ #12078]
20095         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20097         [BZ #12108]
20098         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20099         to have entries in sys_siglist.
20101         [BZ #12093]
20102         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20103         be NULL.
20105 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
20107         [BZ #3268]
20108         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20109         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20110         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20111         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20112         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20113         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20114         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20115         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20116         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20117         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20118         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20119         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20120         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20121         * math/ftestexcept.c (fetestexcept): Likewise.
20122         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20123         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20124         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20125         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20126         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20127         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20128         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20130 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
20132         [BZ #12107]
20133         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20134         newline.
20136 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
20138         * string/bug-strstr1.c: New file.
20139         * string/Makefile: Add rules to build and run bug-strstr1.
20141 2010-10-05  Eric Blake  <eblake@redhat.com>
20143         [BZ #12092]
20144         * string/str-two-way.h (two_way_long_needle): Always clear memory
20145         when skipping input due to the shift table.
20147 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
20149         [BZ #12005]
20150         * malloc/mcheck.c: Handle large requests.
20152         [BZ #12077]
20153         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20154         for strncmp and strncasecmp.
20155         * string/stratcliff.c: Add tests for strcmp and strncmp.
20156         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20158 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20160         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20161         __set_fpscr.
20163 2010-09-30  Andreas Jaeger  <aj@suse.de>
20165         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20166         (CGROUP_SUPER_MAGIC): Define.
20167         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20168         Handle btrfs and cgroup file systems.
20169         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20170         Likewise.
20172 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
20174         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20175         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20177 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20179         [BZ #12067]
20180         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20181         trying to locate the ELF header.
20183 2010-09-27  Andreas Schwab  <schwab@redhat.com>
20185         [BZ #11611]
20186         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20187         Mask out sign-bit copies when constructing f_fsid.
20189 2010-09-24  Petr Baudis <pasky@suse.cz>
20191         * debug/stack_chk_fail_local.c: Add missing licence exception.
20192         * debug/warning-nop.c: Likewise.
20194 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
20196         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20197         implementing getdents64 using getdents syscall, set d_type if
20198         __ASSUME_GETDENTS32_D_TYPE.
20200 2010-09-16  Andreas Schwab  <schwab@redhat.com>
20202         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20203         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20205 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
20207         [BZ #12037]
20208         * posix/unistd.h: Undo change of feature selection for ftruncate from
20209         2010-01-11.
20211 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
20213         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20214         detection.
20216 2010-09-20  Andreas Schwab  <schwab@redhat.com>
20218         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20219         fanotify_mark.
20220         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20222 2010-09-14  Andreas Schwab  <schwab@redhat.com>
20224         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20225         variables after CHECK_SP call.
20226         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20228 2010-09-13  Andreas Schwab  <schwab@redhat.com>
20229             Ulrich Drepper  <drepper@redhat.com>
20231         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20232         re-relocationg ld.so.
20233         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20234         _dl_init_paths call.
20235         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
20236         here anymore.
20238 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
20240         * resolv/res_init.c (__res_vinit): Count the default server we added.
20242 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
20243             Ulrich Drepper  <drepper@redhat.com>
20245         [BZ #11968]
20246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20247         (____longjmp_chk): Use %ebx for saving value across system call.
20248         Add unwind info.
20250 2010-09-06  Andreas Schwab  <schwab@redhat.com>
20252         * manual/Makefile: Don't mix pattern rules with normal rules.
20254 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20256         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20257         operation.
20258         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20259         * libio/iofopncook.c (_IO_cookie_init): Likewise.
20260         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20261         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20262         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20263         Likewise.
20265 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
20267         [BZ #11979]
20268         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20269         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20271 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
20273         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20274         * sysdeps/x86_64/addmul_1.S: Likewise.
20275         * sysdeps/x86_64/lshift.S: Likewise.
20276         * sysdeps/x86_64/mul_1.S: Likewise.
20277         * sysdeps/x86_64/rshift.S: Likewise.
20278         * sysdeps/x86_64/sub_n.S: Likewise.
20279         * sysdeps/x86_64/submul_1.S: Likewise.
20281 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20283         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20284         Define __sched_param instead of SCHED_* and sched_param when
20285         <bits/sched.h> is included with __need_schedparam defined.
20286         * bits/sched.h [__need_schedparam]
20287         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20288         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20289         (__defined_schedparam): Define to 1.
20290         (__sched_param): New structure, identical to sched_param.
20291         (__need_schedparam): Undefine.
20293 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
20295         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20296         (epoll_create1): Declare.
20298         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20300 2010-08-31  Andreas Schwab  <schwab@redhat.com>
20302         [BZ #7066]
20303         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20304         shifting retval into place.
20306 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
20308         * nis/rpcsvc/nis.h: Update copyright notice.
20309         * nis/rpcsvc/nis.x: Likewise.
20310         * nis/rpcsvc/nis_callback.h: Likewise.
20311         * nis/rpcsvc/nis_callback.x: Likewise.
20312         * nis/rpcsvc/nis_object.x: Likewise.
20313         * nis/rpcsvc/nis_tags.h: Likewise.
20314         * nis/rpcsvc/yp.h: Likewise.
20315         * nis/rpcsvc/yp.x: Likewise.
20316         * nis/rpcsvc/ypupd.h: Likewise.
20317         * nis/yp_xdr.c: Likewise.
20318         * nis/ypupdate_xdr.c: Likewise.
20320         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
20321         mainly the body of pmap_getport.  Add parameters to specify timeouts.
20322         (pmap_getport): Use __libc_rpc_getport.
20323         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20324         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20325         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20327 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
20329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20330         fanotify_mark.
20332 2010-08-27  Roland McGrath  <roland@redhat.com>
20334         * sysdeps/i386/i686/multiarch/Makefile
20335         (CFLAGS-varshift.c): New variable.
20337 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
20339         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20340         * sysdeps/i386/i686/multiarch/varshift.c: New file.
20342         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20344         * sysdeps/x86_64/strlen.S: Minimal code improvement.
20346 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20348         * sysdeps/x86_64/strlen.S: Unroll the loop.
20349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20350         strlen-sse2 strlen-sse2-bsf.
20351         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20352         __strlen_no_bsf if bit_Slow_BSF is set.
20353         (__strlen_sse42): Removed.
20354         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20355         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20357 2010-08-25  Roland McGrath  <roland@redhat.com>
20359         * sysdeps/x86_64/multiarch/varshift.S: File removed.
20360         * sysdeps/x86_64/multiarch/varshift.c: New file.
20361         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20362         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20363         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20364         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20366 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20369         strlen-sse2 strlen-sse2-bsf.
20370         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20371         __strlen_sse2_bsf if bit_Slow_BSF is unset.
20372         (__strlen_sse2): Removed.
20373         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20374         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20376         bit_Slow_BSF for Atom.
20377         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20378         (index_Slow_BSF): Define.
20379         (HAS_SLOW_BSF): Define.
20381 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
20383         [BZ #10851]
20384         * resolv/res_init.c (__res_vinit): When no server address at all
20385         is given default to loopback.
20387 2010-08-24  Roland McGrath  <roland@redhat.com>
20389         * configure.in: Remove config-name.h generation.
20390         * configure: Regenerated.
20391         * config-name.in: File removed.
20392         * scripts/config-uname.sh: New file.
20393         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20394         ($(objdir)config-name.h): New target.
20396         * sunrpc/rpc_parse.h: Avoid nested comment.
20398 2010-08-24  Richard Henderson  <rth@redhat.com>
20399             Ulrich Drepper  <drepper@redhat.com>
20400             H.J. Lu  <hongjiu.lu@intel.com>
20402         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20404         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20405         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
20406         _mm_alignr_epi8 with _mm_loadu_si128.
20407         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20408         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20409         (__m128i_shift_right): Removed.
20410         * sysdeps/i386/i686/multiarch/varshift.h: New file.
20411         * sysdeps/i386/i686/multiarch/varshift.S: New file.
20412         * sysdeps/x86_64/multiarch/varshift.h: New file.
20413         * sysdeps/x86_64/multiarch/varshift.S: New file.
20415 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
20417         * configure.in: Move assembler checks to before sysdep dir checking.
20419 2010-08-20  Petr Baudis  <pasky@suse.cz>
20421         * LICENSES: Sync the sunrpc license.
20423 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
20425         * sunrpc/auth_des.c: Update copyright notice once again.
20426         * sunrpc/auth_none.c: Likewise.
20427         * sunrpc/auth_unix.c: Likewise.
20428         * sunrpc/authdes_prot.c: Likewise.
20429         * sunrpc/authuxprot.c: Likewise.
20430         * sunrpc/bindrsvprt.c: Likewise.
20431         * sunrpc/clnt_gen.c: Likewise.
20432         * sunrpc/clnt_perr.c: Likewise.
20433         * sunrpc/clnt_raw.c: Likewise.
20434         * sunrpc/clnt_simp.c: Likewise.
20435         * sunrpc/clnt_tcp.c: Likewise.
20436         * sunrpc/clnt_udp.c: Likewise.
20437         * sunrpc/clnt_unix.c: Likewise.
20438         * sunrpc/des_crypt.c: Likewise.
20439         * sunrpc/des_soft.c: Likewise.
20440         * sunrpc/get_myaddr.c: Likewise.
20441         * sunrpc/getrpcport.c: Likewise.
20442         * sunrpc/key_call.c: Likewise.
20443         * sunrpc/key_prot.c: Likewise.
20444         * sunrpc/openchild.c: Likewise.
20445         * sunrpc/pm_getmaps.c: Likewise.
20446         * sunrpc/pm_getport.c: Likewise.
20447         * sunrpc/pmap_clnt.c: Likewise.
20448         * sunrpc/pmap_prot.c: Likewise.
20449         * sunrpc/pmap_prot2.c: Likewise.
20450         * sunrpc/pmap_rmt.c: Likewise.
20451         * sunrpc/rpc/auth.h: Likewise.
20452         * sunrpc/rpc/auth_unix.h: Likewise.
20453         * sunrpc/rpc/clnt.h: Likewise.
20454         * sunrpc/rpc/des_crypt.h: Likewise.
20455         * sunrpc/rpc/key_prot.h: Likewise.
20456         * sunrpc/rpc/netdb.h: Likewise.
20457         * sunrpc/rpc/pmap_clnt.h: Likewise.
20458         * sunrpc/rpc/pmap_prot.h: Likewise.
20459         * sunrpc/rpc/pmap_rmt.h: Likewise.
20460         * sunrpc/rpc/rpc.h: Likewise.
20461         * sunrpc/rpc/rpc_des.h: Likewise.
20462         * sunrpc/rpc/rpc_msg.h: Likewise.
20463         * sunrpc/rpc/svc.h: Likewise.
20464         * sunrpc/rpc/svc_auth.h: Likewise.
20465         * sunrpc/rpc/types.h: Likewise.
20466         * sunrpc/rpc/xdr.h: Likewise.
20467         * sunrpc/rpc_clntout.c: Likewise.
20468         * sunrpc/rpc_cmsg.c: Likewise.
20469         * sunrpc/rpc_common.c: Likewise.
20470         * sunrpc/rpc_cout.c: Likewise.
20471         * sunrpc/rpc_dtable.c: Likewise.
20472         * sunrpc/rpc_hout.c: Likewise.
20473         * sunrpc/rpc_main.c: Likewise.
20474         * sunrpc/rpc_parse.c: Likewise.
20475         * sunrpc/rpc_parse.h: Likewise.
20476         * sunrpc/rpc_prot.c: Likewise.
20477         * sunrpc/rpc_sample.c: Likewise.
20478         * sunrpc/rpc_scan.c: Likewise.
20479         * sunrpc/rpc_scan.h: Likewise.
20480         * sunrpc/rpc_svcout.c: Likewise.
20481         * sunrpc/rpc_tblout.c: Likewise.
20482         * sunrpc/rpc_util.c: Likewise.
20483         * sunrpc/rpc_util.h: Likewise.
20484         * sunrpc/rpcinfo.c: Likewise.
20485         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20486         * sunrpc/rpcsvc/key_prot.x: Likewise.
20487         * sunrpc/rpcsvc/klm_prot.x: Likewise.
20488         * sunrpc/rpcsvc/mount.x: Likewise.
20489         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20490         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20491         * sunrpc/rpcsvc/rex.x: Likewise.
20492         * sunrpc/rpcsvc/rstat.x: Likewise.
20493         * sunrpc/rpcsvc/rusers.x: Likewise.
20494         * sunrpc/rpcsvc/sm_inter.x: Likewise.
20495         * sunrpc/rpcsvc/spray.x: Likewise.
20496         * sunrpc/rpcsvc/yppasswd.x: Likewise.
20497         * sunrpc/rtime.c: Likewise.
20498         * sunrpc/svc.c: Likewise.
20499         * sunrpc/svc_auth.c: Likewise.
20500         * sunrpc/svc_authux.c: Likewise.
20501         * sunrpc/svc_raw.c: Likewise.
20502         * sunrpc/svc_run.c: Likewise.
20503         * sunrpc/svc_simple.c: Likewise.
20504         * sunrpc/svc_tcp.c: Likewise.
20505         * sunrpc/svc_udp.c: Likewise.
20506         * sunrpc/svc_unix.c: Likewise.
20507         * sunrpc/svcauth_des.c: Likewise.
20508         * sunrpc/xcrypt.c: Likewise.
20509         * sunrpc/xdr.c: Likewise.
20510         * sunrpc/xdr_array.c: Likewise.
20511         * sunrpc/xdr_float.c: Likewise.
20512         * sunrpc/xdr_mem.c: Likewise.
20513         * sunrpc/xdr_rec.c: Likewise.
20514         * sunrpc/xdr_ref.c: Likewise.
20515         * sunrpc/xdr_sizeof.c: Likewise.
20516         * sunrpc/xdr_stdio.c: Likewise.
20518         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20519         handling.
20521 2010-08-19  Andreas Schwab  <schwab@redhat.com>
20523         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20525 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
20527         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20528         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20529         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20530         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20531         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20532         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20533         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20534         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20535         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20536         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20537         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20538         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20539         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20540         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20542 2010-07-26  Anton Blanchard  <anton@samba.org>
20544         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20545         * malloc/arena.c (heap_trim): Likewise.
20547 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
20549         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20550         here.  Not...
20551         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20552         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20554 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20556         * sysdeps/i386/elf/Makefile: New file.
20558 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
20560         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20561         from fanotify_init.
20562         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20563         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20565 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
20567         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20568         of strncasecmp_l.
20569         * sysdeps/multiarch/strcmp.S: Likewise.
20571 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
20573         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20574         strncase_l-nonascii.
20575         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20576         Add strncase_l-ssse3.
20577         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20578         * sysdeps/x86_64/strcmp.S: Likewise.
20579         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20580         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20581         * sysdeps/x86_64/strncase.S: New file.
20582         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20583         * sysdeps/x86_64/strncase_l.S: New file.
20584         * string/Makefile (strop-tests): Add strncasecmp.
20585         * string/test-strncasecmp.c: New file.
20587         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20588         warning.
20590         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20591         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20593 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
20595         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20597 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
20599         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20600         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20601         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20603 2010-05-01  Alan Modra  <amodra@gmail.com>
20605         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20606         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20607         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20608         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20609         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20610         tidying.  Don't tail-call __sigjmp_save for static lib.
20611         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20612         save location.
20613         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20614         (CALL_MCOUNT): Add eh info, and nop after bl.
20615         (TAIL_CALL_SYSCALL_ERROR): New macro.
20616         (PSEUDO_RET): Use it.
20617         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20618         Correct save location of integer regs and cr.
20619         (_dl_profile_resolve): Correct cr save location.  Delete nops
20620         after bl when SHARED.  Reduce cfi size a little by better
20621         placement of cfi directives.
20622         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20623         make a stack frame.  Instead use parm save area as a temp.
20624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20625         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
20626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20627         Don't make a stack frame for parent, use parm save area.
20628         Increase child stack frame to 112 bytes.  Don't save unused reg,
20629         and adjust reg usage.  Set up cfi on error recovery and
20630         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20632         (__makecontext): Add dummy nop after jump to exit.
20633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20634         Use correct parm save area and cr save, reduce stack frame.
20635         Correct cfi for possible PSEUDO_RET frame setup.
20636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20637         Branch to local label emitted by PSEUDO_RET rather than
20638         __syscall_error.
20640 2010-08-12  Andreas Schwab  <schwab@redhat.com>
20642         [BZ #11904]
20643         * locale/programs/locale.c (print_assignment): New function.
20644         (show_locale_vars): Use it.
20646 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
20648         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20649         field.
20650         (struct statfs64): Likewise.
20651         (_STATFS_F_FLAGS): Define.
20652         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20653         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20654         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20655         (ST_VALID): Define locally.
20656         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20657         __statvfs_getflags, use the provided value.
20658         * sysdeps/unix/sysv/linux/kernel-features.h: Define
20659         __ASSUME_STATFS_F_FLAGS.
20661         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20663         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20664         Add sys/fanotify.h.
20665         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20666         fanotify_mask for GLIBC_2.13.
20667         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20668         fanotify_init and fanotify_mark.
20669         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20670         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20672         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20673         Add prlimit.
20674         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20675         prlimit64 for GLIBC_2.13.
20676         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20677         prlimit64.
20678         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20679         syscall.
20680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20681         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20682         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20683         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20684         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
20685         add prlimit alias.
20686         * sysdeps/unix/sysv/linux/prlimit.c: New file.
20688         [BZ #11903]
20689         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20690         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20692         * nss/Makefile: Add rules to build and run tst-nss-test1.
20693         * shlib-versions: Add entry for libnss_test1.
20694         * nss/nss_test1.c: New file.
20695         * nss/tst-nss-test1.c: New file.
20697         * nss/nsswitch.c (__nss_database_custom): Define new variable.
20698         (__nss_configure_lookup): Set appropriate entry in
20699         __nss_configure_lookup to true.
20700         * nss/nsswitch.h: Define enum with indeces of databases in
20701         databases and __nss_database_custom arrays.  Declare
20702         __nss_database_custom.
20703         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20704         to avoid using nscd when custom rules are installed.
20705         * nss/getXXbyYY_r.c: Likewise.
20706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20708         * nss/nss_files/files-parse.c: Whitespace fixes.
20710 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
20712         [BZ #11883]
20713         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20714         * posix/fnmatch_loop.c: Likewise.
20716 2010-07-17  Andi Kleen  <ak@linux.intel.com>
20718         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20719         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20720         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20721         * Versions.def [GLIBC_2.13]: Add.
20723 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
20725         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20726         Also fail if tpwd after pwuid call is NULL.
20728 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20730         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20731         when converting to ms.
20733 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20735         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20736         EOPNOTSUPP errors with ENOTTY.
20737         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20738         EOPNOTSUPP errors with ENOTTY.
20740 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
20742         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20743         Add strcasecmp_l-ssse3.
20744         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20745         strcasecmp.
20746         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20747         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20748         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20750 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
20752         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20754         * string/Makefile (strop-tests): Add strcasecmp.
20755         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20756         strcasecmp_l-nonascii.
20757         (gen-as-const-headers): Add locale-defines.sym.
20758         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20759         * sysdeps/x86_64/strcasecmp.S: New file.
20760         * sysdeps/x86_64/strcasecmp_l.S: New file.
20761         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20762         * sysdeps/x86_64/locale-defines.sym: New file.
20763         * string/test-strcasecmp.c: New file.
20765         * string/test-strcasestr.c: Test both ends of the range of characters.
20766         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20768 2010-07-29  Roland McGrath  <roland@redhat.com>
20770         [BZ #11856]
20771         * manual/locale.texi (Yes-or-No Questions): Fix example code.
20773 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
20775         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20776         for ld.so.
20778 2010-07-27  Andreas Schwab  <schwab@redhat.com>
20780         * manual/memory.texi (Malloc Tunable Parameters): Document
20781         M_PERTURB.
20783 2010-07-26  Roland McGrath  <roland@redhat.com>
20785         [BZ #11840]
20786         * configure.in (-fgnu89-inline check): Set and substitute
20787         gnu89_inline, not libc_cv_gnu89_inline.
20788         * configure: Regenerated.
20789         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20791 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
20793         * string/test-strnlen.c: New file.
20794         * string/Makefile (strop-tests): Add strnlen.
20795         * string/tester.c (test_strnlen): Add a few more test cases.
20796         * string/tst-strlen.c: Better error reporting.
20798         * sysdeps/x86_64/strnlen.S: New file.
20800 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
20802         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20803         lower-latency instructions.
20805 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
20807         * string/test-strcasestr.c: New file.
20808         * string/test-strstr.c: New file.
20809         * string/Makefile (strop-tests): Add strstr and strcasestr.
20810         * string/str-two-way.h: Don't undefine MAX.
20811         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20813 2010-07-21  Andreas Schwab  <schwab@redhat.com>
20815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20816         strcasestr-nonascii.
20817         (CFLAGS-strcasestr-nonascii.c): Define.
20818         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20819         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20820         Remove unused attribute.
20822 2010-07-20  Roland McGrath  <roland@redhat.com>
20824         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20825         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
20826         ld.so.cache was broken.  With it, there is no way to disable dsocaps
20827         like LD_HWCAP_MASK can disable hwcaps.
20829 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
20831         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20833 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
20835         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20836         call in strcasestr.
20837         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20838         __strcasestr_sse42_nonascii.
20839         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20840         strcasestr-nonascii.c.
20841         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20843 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
20845         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20846         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20847         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20848         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20850 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
20852         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20853         fcntl.
20855 2010-07-06  Andreas Schwab  <schwab@redhat.com>
20857         [BZ #11577]
20858         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20859         dl_signal_cerror.
20861 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
20863         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20864         _PC_PIPE_BUF using F_GETPIPE_SZ.
20866 2010-07-05  Roland McGrath  <roland@redhat.com>
20868         * manual/arith.texi (Rounding Functions): Fix rint description
20869         implicit in round description.
20871 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
20873         * elf/Makefile: Fix linking for a few tests to make recent linker
20874         happy.
20876 2010-06-30  Andreas Schwab  <schwab@redhat.com>
20878         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20879         $(common-objpfx)libc_nonshared.a.
20881 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
20883         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20884         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20885         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20886         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20887         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20888         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20889         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20890         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20905         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20906         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20907         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20908         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20909         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20910         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20911         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20912         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20913         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20914         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20915         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20916         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20932 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20934         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20935         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
20936         * string/memmove.c (memmove): Renamed to ...
20937         (MEMMOVE): ...this.  Default to memmove.
20938         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20939         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20940         (END_CHK): Define.
20941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20942         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20943         mempcpy-ssse3-back memmove-ssse3-back.
20944         * sysdeps/x86_64/multiarch/bcopy.S: New file .
20945         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20946         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20947         * sysdeps/x86_64/multiarch/memcpy.S: New file.
20948         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20949         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20950         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20951         * sysdeps/x86_64/multiarch/memmove.c: New file.
20952         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20953         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20954         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20955         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20956         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20957         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20958         Define.
20959         (index_Fast_Copy_Backward): Define.
20960         (HAS_ARCH_FEATURE): Define.
20961         (HAS_FAST_REP_STRING): Define.
20962         (HAS_FAST_COPY_BACKWARD): Define.
20964 2010-06-21  Andreas Schwab  <schwab@redhat.com>
20966         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20967         Restore proper fallback handling.
20969 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
20971         [BZ #11701]
20972         * posix/group_member.c (__group_member): Correct checking loop.
20974         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20975         OOM in getpwuid_r correctly.  Return error number when the caller
20976         should return, otherwise -1.
20977         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20978         call returning > 0 value.
20979         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20981 2010-06-07  Andreas Schwab  <schwab@redhat.com>
20983         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20984         libc_nonshared.a from targets in modules-names.
20986 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
20988         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20989         requires it.
20991 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
20993         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20994         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20995         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20996         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20998 2010-06-02  Andreas Schwab  <schwab@redhat.com>
21000         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21002 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
21004         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21005         and F_GETPIPE_SZ.
21006         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21007         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21008         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21010         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21011         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21013 2010-06-14  Roland McGrath  <roland@redhat.com>
21015         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21017 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
21019         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21020         __REDIRECT followed by __THROW.
21021         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21022         * posix/getopt.h (getopt): Likewise.
21024 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
21026         * hurd/lookup-at.c (__file_name_lookup_at): Accept
21027         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
21028         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21029         in AT_FLAGS.
21030         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21031         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21033 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
21035         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21037 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
21039         [BZ #11640]
21040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21041         Properly check family and model.
21043 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
21045         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21047 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
21049         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21051 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
21053         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21054         symbol reference.
21056 2010-05-19  Andreas Schwab  <schwab@redhat.com>
21058         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21059         symbol reference.
21061 2010-05-21  Andreas Schwab  <schwab@redhat.com>
21063         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21064         and internal_recvmmsg.
21065         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21066         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21067         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21068         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21070         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21071         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21072         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21074 2010-05-20  Andreas Schwab  <schwab@redhat.com>
21076         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21078 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
21080         POWER7 optimizations.
21081         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21082         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21084 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
21086         * version.h: Update for 2.13 development version.
21088 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
21090         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21091         exceptions.  Return 0.
21093 2010-05-07  Roland McGrath  <roland@redhat.com>
21095         * elf/ldconfig.c (main): Add a const.
21097 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
21099         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21100         (args_options): Add no-idn option.
21101         (ahosts_keys_int): Add idn_flags to ai_flags.
21102         (parse_option): Handle 'i' option to clear idn_flags.
21104         * malloc/malloc.c (_int_free): Possible race in the most recently
21105         added check.  Only act on the data if no current modification
21106         happened.
21108 See ChangeLog.17 for earlier changes.