Remove commented declarations
[glibc.git] / ChangeLog
blob9ae2d4be07c71bc93df0d283d129f6b1143e48a0
1 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4         and adjust the header comment.
6         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7         variable name from declaration.
9 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12         Initialize COMMON_CPUID_INDEX_7 element.
13         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14         (CPUID_RTM): Likewise.
15         (HAS_RTM): Likewise.
16         (COMMON_CPUID_INDEX_7): New enum.
18 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
20         [BZ #14981]
21         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22         size is zero, record memory as freed.
24 2013-01-03  Andreas Jaeger  <aj@suse.de>
26         * po/ia.po: Add new Interlingua translation.
28 2012-01-03  Allan McRae  <allan@archlinux.org>
30         * locale/programs/localedef.c: Fix description of '--posix' flag.
32 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34         * NEWS: Update dates in second copyright notice.
35         * README: Update copyright dates in example.
36         * manual/libc.texinfo: Update copyright dates.
37         * scripts/test-installation.pl: Update copyright date in --version
38         output.
40         * hurd/ctty-input.c: Fix copyright notice formatting.
41         * hurd/ctty-output.c: Likewise.
42         * hurd/dtable.c: Likewise.
43         * hurd/hurd-raise.c: Likewise.
44         * hurd/hurdprio.c: Likewise.
45         * hurd/msgportdemux.c: Likewise.
46         * misc/sys/file.h: Likewise.
47         * misc/sys/ioctl.h: Likewise.
48         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49         * sysdeps/mach/hurd/chdir.c: Likewise.
50         * sysdeps/mach/hurd/fchdir.c: Likewise.
51         * sysdeps/mach/hurd/rename.c: Likewise.
52         * sysdeps/mach/hurd/rmdir.c: Likewise.
53         * sysdeps/mach/hurd/seekdir.c: Likewise.
54         * sysdeps/mach/hurd/setsid.c: Likewise.
55         * sysdeps/posix/wait3.c: Likewise.
57         * All files with FSF copyright notices: Update copyright dates
58         using scripts/update-copyrights.
59         * intl/plural.c: Regenerated.
60         * locale/programs/charmap-kw.h: Likewise.
61         * locale/programs/locfile-kw.h: Likewise.
63 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66         four values.
68         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69         calculation loop and add branch prediction.
71         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72         check access beyond bounds of m1np.
74         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
75         MPTWO.
76         (__inv): Remove local variable MPTWO to use the global
77         constant.
78         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
79         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
80         variable MPTWO.
81         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
82         MP3HALFS static const.
84 2013-01-01  David S. Miller  <davem@davemloft.net>
86         * po/ca.po: Update from translation team.
88 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
90         * scripts/update-copyrights: New file.
91         * Makeconfig: Reformat copyright notice.
92         * ctype/ctype.h: Likewise.
93         * debug/swprintf_chk.c: Likewise.
94         * elf/dl-cache.c: Likewise.
95         * elf/dl-debug.c: Likewise.
96         * elf/dl-object.c: Likewise.
97         * grp/initgroups.c: Likewise.
98         * hurd/Makefile: Likewise.
99         * hurd/hurd/signal.h: Likewise.
100         * hurd/hurdfault.c: Likewise.
101         * hurd/hurdioctl.c: Likewise.
102         * hurd/hurdlookup.c: Likewise.
103         * hurd/intr-msg.c: Likewise.
104         * iconv/gconv_open.c: Likewise.
105         * libio/swprintf.c: Likewise.
106         * locale/lc-ctype.c: Likewise.
107         * locale/nl_langinfo.c: Likewise.
108         * mach/Machrules: Likewise.
109         * mach/Makefile: Likewise.
110         * malloc/obstack.h: Likewise.
111         * manual/Makefile: Likewise.
112         * manual/tsort.awk: Likewise.
113         * misc/bits/stab.def: Likewise.
114         * nis/nis_print_group_entry.c: Likewise.
115         * nis/nis_table.c: Likewise.
116         * nis/nss_compat/compat-pwd.c: Likewise.
117         * nis/nss_compat/compat-spwd.c: Likewise.
118         * po/Makefile: Likewise.
119         * posix/fnmatch.c: Likewise.
120         * posix/regex.h: Likewise.
121         * resolv/Makefile: Likewise.
122         * resolv/nss_dns/dns-network.c: Likewise.
123         * resolv/res_hconf.c: Likewise.
124         * scripts/gen-sorted.awk: Likewise.
125         * soft-fp/soft-fp.h: Likewise.
126         * stdio-common/printf.h: Likewise.
127         * stdlib/monetary.h: Likewise.
128         * stdlib/random.c: Likewise.
129         * stdlib/random_r.c: Likewise.
130         * sysdeps/generic/Makefile: Likewise.
131         * sysdeps/gnu/Makefile: Likewise.
132         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
133         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
134         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
135         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
137         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
138         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
139         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
140         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
141         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
142         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
143         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
144         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
145         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
146         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
147         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
148         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
149         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
150         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
151         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
152         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
153         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
154         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
155         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
156         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
157         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
158         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
159         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
160         * sysdeps/mach/hurd/errnos.awk: Likewise.
161         * sysdeps/mach/hurd/fork.c: Likewise.
162         * sysdeps/mach/hurd/getcwd.c: Likewise.
163         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
164         * sysdeps/mach/hurd/mmap.c: Likewise.
165         * sysdeps/mach/hurd/utimes.c: Likewise.
166         * sysdeps/mach/hurd/xmknod.c: Likewise.
167         * sysdeps/posix/profil.c: Likewise.
168         * sysdeps/posix/readdir_r.c: Likewise.
169         * sysdeps/powerpc/bits/mathdef.h: Likewise.
170         * sysdeps/powerpc/bits/setjmp.h: Likewise.
171         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
172         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
174         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
175         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
176         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
178         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
179         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
180         * sysdeps/pthread/lio_listio.c: Likewise.
181         * sysdeps/sparc/dl-procinfo.h: Likewise.
182         * sysdeps/unix/i386/sysdep.S: Likewise.
183         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
184         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
185         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
186         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
188         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
189         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
190         * sysdeps/unix/sysv/linux/speed.c: Likewise.
191         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
192         * sysdeps/wordsize-32/divdi3.c: Likewise.
193         * time/sys/time.h: Likewise.
194         * wcsmbs/Makefile: Likewise.
196 2013-01-01  David S. Miller  <davem@davemloft.net>
198         * po/fr.po: Update from translation team.
200         * catgets/gencat.c: Update copyright year.
201         * csu/version.c: Likewise.
202         * debug/catchsegv.sh: Likewise.
203         * debug/pcprofiledump.c: Likewise.
204         * debug/xtrace.sh: Likewise.
205         * elf/ldconfig.c: Likewise.
206         * elf/ldd.bash.in: Likewise.
207         * elf/pldd.c: Likewise.
208         * elf/sotruss.ksh: Likewise.
209         * elf/sprof.c: Likewise.
210         * iconv/iconv_prog.c: Likewise.
211         * iconv/iconvconfig.c: Likewise.
212         * locale/programs/locale.c: Likewise.
213         * locale/programs/localedef.c: Likewise.
214         * login/programs/pt_chown.c: Likewise.
215         * malloc/memusage.sh: Likewise.
216         * malloc/memusagestat.c: Likewise.
217         * malloc/mtrace.pl: Likewise.
218         * nscd/nscd.c: Likewise.
219         * nss/getent.c: Likewise.
220         * nss/makedb.c: Likewise.
221         * posix/getconf.c: Likewise.
223 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
225         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
226         numbers.
228 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
230         * math/bits/mathcalls.h (modf): Use __nonnull.
232 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
234         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
235         (split): Use macro CN instead of the bare value.
236         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
237         could be used.
238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
239         instead of the bare value.
240         (power1): Likewise.
242 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
244         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
245         __ATAN_TWOM.
246         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
248         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
249         their values.
250         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
251         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
252         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
253         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
255 2012-12-28  Andreas Jaeger  <aj@suse.de>
257         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
258         values are from Linux 3.7.
260         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
261         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
263 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
265         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
266         TRUE case.
268         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
269         (norm): Likewise.
270         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
271         variables with preprocessor constants.
272         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
273         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
274         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
276 2012-12-27  Bruno Haible  <bruno@clisp.org>
278         [BZ #14317]
279         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
280         only if needed.
282 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
284         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
285         and use variable directly.
286         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
288         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
289         MPONE.
290         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
291         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
292         variable MPONE.
293         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
295         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
296         include directive.  Remove local variable MPONE.
297         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
298         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
299         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
301 2012-12-25  David S. Miller  <davem@davemloft.net>
303         * version.h (RELEASE): Set to "development".
304         (VERSION): Set to "2.17.90".
305         * NEWS: Add 2.18 section.
307 2012-12-21  David S. Miller  <davem@davemloft.net>
309         * po/hr.po: Update from translation team.
311 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
313         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
315 2012-12-19  Steve Ellcey  <sellcey@mips.com>
317         * NEWS:  Mention new memcpy for MIPS.
319 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
321         * manual/contrib.texi (Contributors): Spelling correction.
323 2012-12-15  David S. Miller  <davem@davemloft.net>
325         * po/ru.po: Update from translation team.
327 2012-12-13  David S. Miller  <davem@davemloft.net>
329         * NEWS: Mention IFUNC testsuite enhancements.
331         * po/pl.po: Update from translation team.
332         * po/bg.po: Likewise.
334         * manual/contrib.texi (Contributors): Update entries for Hongjiu
335         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
337 2012-12-11  David S. Miller  <davem@davemloft.net>
339         * po/sv.po: Update from translation team.
341         * po/vi.po: Update from translation team.
343         * po/cs.po: Update from translation team.
345         * po/de.po: Update from translation team.
346         * po/eo.po: Likewise.
347         * po/nl.po: Likewise.
349 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
351         [BZ #14246]
352         * manual/argp.texi (Argp Helper Functions): Move node to follow
353         Argp Parsing State.
355         [BZ #14872]
356         * manual/conf.texi (Limits on File System Capacity): Mention if
357         terminating null is included in the max size.
359 2012-12-10  Andreas Jaeger  <aj@suse.de>
361         * po/cs.po: Update from translation team.
363 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
365         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
366         void pointer and cast to uintptr_t.
367         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
368         path.
369         * sysdeps/s390/s390-64/memcpy.S: Likewise.
370         * sysdeps/s390/s390-64/memset.S: Likewise.
372 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
374         [BZ #14833]
375         * menual/message.texi (Message Translation): Fix typos.
376         (Helper programs for gettext): Likewise.
378 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
380         [BZ #14898]
381         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
382         Change to -1.
384 2012-12-07  David S. Miller  <davem@davemloft.net>
386         * po/libc.pot: Update.
388 2012-12-07  Richard Henderson  <rth@redhat.com>
390         [BZ #10114]
391         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
392         normal/normal case to before the switch.
393         (_FP_DIV): Likewise.
395 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
396             Mike Frysinger  <vapier@gentoo.org>
398         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
399         check for __NR_fadvise64_64.
401 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
403         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
404         0, not just to plain "0" as a statement.
405         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
406         with cw.
408 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
410         * NEWS: Use sourceware.org in Bugzilla URL.
412 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
415         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
417         * stdio-common/tst-put-error.c (do_test): Add newline to the
418         padded test to ensure flush.
420 2012-12-05  Jeff Law  <law@redhat.com>
422         * sunrpc/etc.rpc (fedfs_admin): Add entry.
424 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
426         * README: Don't refer to ports add-on as distributed separately.
427         Mention AArch64 in list of systems supported in the ports add-on.
429         * LICENSES: Add more non-FSF copyright and license notices.
431         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
432         ((unused)).
434         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
436         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
437         10000 as width of padded output.
439 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
441         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
443         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
444         variable LX with __attribute__ ((unused)).
445         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
446         Likewise.
447         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
448         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
449         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
450         with __attribute__ ((unused)).
452 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
454         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
456 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
458         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
459         (CFLAGS-nldbl-acos.c): New variable.
460         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
461         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
462         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
463         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
464         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
465         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
466         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
467         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
468         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
469         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
470         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
471         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
472         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
473         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
474         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
475         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
476         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
477         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
478         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
479         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
480         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
481         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
482         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
483         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
484         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
485         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
486         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
487         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
488         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
489         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
490         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
491         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
492         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
493         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
494         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
495         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
496         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
497         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
498         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
499         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
500         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
501         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
502         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
503         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
504         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
505         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
506         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
507         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
508         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
509         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
510         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
511         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
512         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
513         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
514         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
515         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
516         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
517         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
518         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
519         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
520         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
521         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
522         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
523         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
524         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
525         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
526         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
527         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
528         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
529         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
530         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
531         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
532         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
533         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
534         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
535         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
536         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
537         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
538         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
539         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
540         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
541         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
542         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
543         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
544         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
545         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
546         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
547         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
548         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
549         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
550         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
551         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
552         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
553         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
554         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
555         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
556         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
559         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
561         [BZ #14914]
562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
563         whole low double instead of just low 47 bits when splitting values
564         into two parts.
566 2012-12-03  Allan McRae  <allan@archlinux.org>
568         * manual/stdio.texi (Predefined Printf Handlers): Remove
569         @hsep and @vsep usage.
571 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
573         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
574         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
576 2012-12-03  Jeff Law  <law@redhat.com>
578         * time/sys/time.h (settimeofday): Do not mark TV argument
579         as __nonnull.
581 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
583         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
584         when currently writing and seek to current position when not.
585         * libio/Makefile (tests): Remove bug-fclose1.
586         * libio/bug-fclose1.c: Delete.
588 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
590         * manual/arith.texi (feenableexcept): Fix typo.
591         (fedisableexcept): Likewise.
593 2012-11-30  Roland McGrath  <roland@hack.frob.com>
595         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
596         second, differently-typed declaration, rather than a cast.
598 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
600         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
601         * include/rpc/svc.h: ... here.
603 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
605         [BZ #13013]
606         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
607         depending n and resplen2 to catch cases where answer
608         equals answerp2.
610 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
612         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
613         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
615 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
617         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
619 2012-11-29  Roland McGrath  <roland@hack.frob.com>
621         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
623 2012-11-28  Jeff Law  <law@redhat.com>
625         [BZ #13761]
626         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
627         dataset_temporary.  Track alloca usage into alloca_used.
628         If dataset is large allocate and release it via malloc/free.
630 2012-06-04  Florian Weimer  <fweimer@redhat.com>
632         [BZ #14197]
633         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
635 2012-11-28  David S. Miller  <davem@davemloft.net>
637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
639 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
641         [BZ #14803]
642         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
643         of pi/2 rounded to nearest to 64 bits.
644         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
645         nearest to 64 bits.
646         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
647         bits.
649 2012-11-28  Jeff Law <law@redhat.com>
650             Martin Osvald <mosvald@redhat.com>
652         [BZ #14889]
653         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
654         * sunrpc/svc.c: Include time.h.
655         (__svc_accept_failed): New function.
656         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
657         any reason other than EINTR, call __svc_accept_failed.
658         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
659         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
661 2012-11-28  Andreas Schwab  <schwab@suse.de>
663         * scripts/abilist.awk: Also handle indirect functions in .opd
664         section.
666 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
668         [BZ #13881]
669         * sysdeps/x86/fpu/powl_helper.c: New file.
670         * sysdeps/x86/fpu/Makefile: Likewise.
671         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
672         (p3): New object.
673         (__ieee754_powl): Use __powl_helper for finite arguments except
674         integer exponents below 8.
675         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
676         (p3): New object.
677         (__ieee754_powl): Use __powl_helper for finite arguments except
678         integer exponents below 8.
679         * math/libm-test.inc (pow_test): Add more tests and enable some
680         previously disabled tests.
681         * sysdeps/i386/fpu/libm-test-ulps: Update.
682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
684 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
685             Carlos O'Donell  <carlos_odonell@mentor.com>
687         * nss/makedb.c (is_prime): Assert that input is odd and greater
688         than 4.  Note that fact in a comment too.
689         (next_prime): Add 4 to input.
691 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
693         [BZ #11741]
694         * libio/Makefile (tests): Add test case tst-fwrite-error.
695         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
696         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
697         * libio/tst-fwrite-error.c: New test case.
699 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
701         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
702         before casting to void *.
703         * include/libc-internal.h (__pointer_type): New macro.
704         (__integer_if_pointer_type_sub): Likewise.
705         (__integer_if_pointer_type): Likewise.
706         (cast_to_integer): Likewise.
707         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
708         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
709         before casting to atomic64_t.
710         (atomic_exchange_acq): Likewise.
711         (__arch_exchange_and_add_body): Likewise.
712         (__arch_add_body): Likewise.
713         (atomic_add_negative): Likewise.
714         (atomic_add_zero): Likewise.
716 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
718         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
719         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
720         (add_fdes): Likewise.
721         (linear_search_fdes): Likewise.
722         (binary_search_unencoded_fdes): Likewise.
724 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
726         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
728 2012-11-24  Adam Conrad  <adconrad@0c3.net>
730         * configure.in: Autodetect C++ header directories.
731         * configure: Regenerated.
733 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
735         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
737 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
741 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
743         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
744         LDBL_MANT_DIG == 106]: Disable some tests.
745         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
746         Likewise.
747         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
748         Likewise.
750         [BZ #14871]
751         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
752         input for small inputs.  Return +/- pi/2 for large inputs.
753         * math/libm-test.inc (atan_test): Add more tests.
755         * sysdeps/generic/unwind-dw2-fde-glibc.c
756         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
757         __attribute__ ((unused)).
759         [BZ #14645]
760         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
761         x * y if x and y are nonzero and z is zero.
763         [BZ #14811]
764         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
765         nonzero exponents with absolute value below 0x1p-117 to +/-
766         0x1p-117.
768         [BZ #14869]
769         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
770         up arguments below 2**-450, not just those below 2**-500.
771         * math/libm-test.inc (hypot_test): Add another test.
773         [BZ #14868]
774         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
775         Return a+b for ratio over 2**120, not 2**60.
776         * math/libm-test.inc (hypot_test): Add another test.
778         * math/libm-test.inc (clog_test): Use
779         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
780         (clog10_test): Likewise.
782         [BZ #6778]
783         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
785 2012-11-22  Andreas Schwab  <schwab@suse.de>
787         * sysdeps/i386/fpu/libm-test-ulps: Update.
789 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
791         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
792         printf output with newline.
794 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
796         [BZ #14865]
797         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
798         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
799         -z nodlopen, -z initfirst and -z execstack support.
800         * configure: Regenerated.
802         * elf/elf.h (DF_1_NODIRECT): New macro.
803         (DF_1_IGNMULDEF): Likewise.
804         (DF_1_NOKSYMS): Likewise.
805         (DF_1_NOHDR): Likewise.
806         (DF_1_EDITED): Likewise.
807         (DF_1_NORELOC): Likewise.
808         (DF_1_SYMINTPOSE): Likewise.
809         (DF_1_GLOBAUDIT): Likewise.
810         (DF_1_SINGLETON): Likewise.
811         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
812         DT_1_SUPPORTED_MASK bits.
813         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
815 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
817         * sysdeps/unix/make-syscalls.sh: Document prefixes.
819 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
821         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
822         macro.
824         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
825         (sendmmsg): Move declarations...
826         * socket/sys/socket.h: ... here.
827         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
828         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
829         include it from...
830         * socket/recvmmsg.c: ... this new file.
831         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
832         (sendmmsg): Rename to __sendmmsg, create weak alias and make
833         definition of __sendmmsg hidden.
834         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
835         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
836         Move ENOSYS stub into and include it from...
837         * socket/sendmmsg.c: ... this new file.
838         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
839         (sysdep_routines): Move recvmmsg and sendmmsg...
840         * socket/Makefile (routines): ... here.
841         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
842         (GLIBC_PRIVATE): Add __sendmmsg.
843         * include/sys/socket.h (__sendmmsg): Add declarations.
844         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
845         sendmmsg.
847 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
849         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
850         variable I1 with __attribute__ ((unused)).
851         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
853 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
855         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
856         DUMMY variables with __attribute__ ((unused)).
858         * bits/byteswap.h: Include <bits/types.h>.
859         (__bswap_64): Use __uint64_t instead of unsigned long long int.
861 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
863         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
864         string_t.  Do not manually set errno.
865         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
866         length with __strnlen.  Make sure to both set errno and return it on
867         failure.
869 2012-11-19  David S. Miller  <davem@davemloft.net>
871         With help from Joseph Myers.
872         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
873         very large arguments properly.
874         * math/libm-test.inc (atan_test): New tests.
875         (atan2_test): New tests.
876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
879 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
881         [BZ #14856]
882         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
883         Define to 3.
885         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
886         [POSIX] (EADDRNOTAVAIL): Likewise.
887         [POSIX] (EAFNOSUPPORT): Likewise.
888         [POSIX] (EALREADY): Likewise.
889         [POSIX] (ECONNABORTED): Likewise.
890         [POSIX] (ECONNREFUSED): Likewise.
891         [POSIX] (ECONNRESET): Likewise.
892         [POSIX] (EDESTADDRREQ): Likewise.
893         [POSIX] (EDQUOT): Likewise.
894         [POSIX] (EHOSTUNREACH): Likewise.
895         [POSIX] (EIDRM): Likewise.
896         [POSIX] (EISCONN): Likewise.
897         [POSIX] (ELOOP): Likewise.
898         [POSIX] (EMULTIHOP): Likewise.
899         [POSIX] (ENETDOWN): Likewise.
900         [POSIX] (ENETUNREACH): Likewise.
901         [POSIX] (ENOBUFS): Likewise.
902         [POSIX] (ENODATA): Likewise.
903         [POSIX] (ENOLINK): Likewise.
904         [POSIX] (ENOMSG): Likewise.
905         [POSIX] (ENOPROTOOPT): Likewise.
906         [POSIX] (ENOSR): Likewise.
907         [POSIX] (ENOSTR): Likewise.
908         [POSIX] (ENOTCONN): Likewise.
909         [POSIX] (ENOTSOCK): Likewise.
910         [POSIX] (EOPNOTSUPP): Likewise.
911         [POSIX] (EOVERFLOW): Likewise.
912         [POSIX] (EPROTO): Likewise.
913         [POSIX] (EPROTONOSUPPORT): Likewise.
914         [POSIX] (EPROTOTYPE): Likewise.
915         [POSIX] (ESTALE): Likewise.
916         [POSIX] (ETIME): Likewise.
917         [POSIX] (ETXTBSY): Likewise.
918         [POSIX] (EWOULDBLOCK): Likewise.
919         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
920         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
921         [POSIX] (SEEK_CUR): Likewise.
922         [POSIX] (SEEK_END): Likewise.
923         [POSIX || UNIX98] (mode_t): Do not require.
924         [POSIX] (off_t): Likewise.
925         [POSIX] (pid_t): Likewise.
926         [POSIX] (sys/stat.h): Do not allow header.
927         [POSIX] (unistd.h): Likewise.
928         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
929         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
930         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
931         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
932         require.
933         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
934         sigevent): Specify elements.
935         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
936         entry.
937         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
938         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
940         * conform/data/cpio.h-data [POSIX]: Disable whole file.
941         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
942         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
943         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
944         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
945         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
946         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
947         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
948         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
949         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
950         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
951         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
952         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
953         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
954         Likewise.
955         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
956         Likewise.
957         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
958         Likewise.
959         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
960         Likewise.
961         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
962         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
963         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
964         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
965         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
966         Specify lower bound on value.
967         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
968         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
969         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
970         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
971         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
972         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
973         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
974         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
975         value.
976         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
977         as optional.
978         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
979         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
980         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
981         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
982         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
983         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
984         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
985         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
986         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
987         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
988         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
989         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
990         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
991         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
992         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
993         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
994         entry.
995         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
996         optional.
997         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
998         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
999         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1000         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1001         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1002         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1003         Likewise.
1004         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1005         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1006         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1007         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1008         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1009         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1010         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1011         as optional.
1012         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1013         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1014         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1015         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1016         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1017         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1018         specify as optional.
1019         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1020         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1021         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1022         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1023         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1024         [XPG3] (NL_LANGMAX): Likewise.
1025         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1026         [POSIX || XPG3] (NL_NMAX): Likewise.
1027         [POSIX || XPG3] (NL_SETMAX): Likewise.
1028         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1029         [XPG3] (NZERO): Likewise.
1030         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1031         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1032         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1033         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1034         (REG_ERANGE): Expect.
1035         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1036         optional-constant.
1037         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1038         Use (void) in prototype.
1039         [POSIX] (*_t): Allow.
1040         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1041         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1042         (WRDE_BADVAL): Expect.
1044         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1045         expect.
1046         [XPG3 || XPG4] (O_RSYNC): Likewise.
1047         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1048         Likewise.
1049         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1050         [XPG3 || XPG4] (sigqueue): Likewise.
1051         [XPG3 || XPG4] (sigtimedwait): Likewise.
1052         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1053         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1054         [XPG3 || XPG4] (vsnprintf): Likewise.
1055         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1056         Likewise.
1057         [XPG3 || XPG4] (blksize_t): Likewise.
1058         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1059         Likewise.
1060         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1061         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1062         [XPG3 || XPG4] (struct itimerspec): Likewise.
1063         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1064         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1065         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1066         [XPG3 || XPG4] (clockid_t): Likewise.
1067         [XPG3 || XPG4] (timer_t): Likewise.
1068         [XPG3 || XPG4] (clock_getres): Likewise.
1069         [XPG3 || XPG4] (clock_gettime): Likewise.
1070         [XPG3 || XPG4] (clock_settime): Likewise.
1071         [XPG3 || XPG4] (nanosleep): Likewise.
1072         [XPG3 || XPG4] (timer_create): Likewise.
1073         [XPG3 || XPG4] (timer_delete): Likewise.
1074         [XPG3 || XPG4] (timer_gettime): Likewise.
1075         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1076         [XPG3 || XPG4] (timer_settime): Likewise.
1077         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1078         [XPG3 || XPG4] (getlogin_r): Likewise.
1079         [XPG3 || XPG4] (pread): Likewise.
1080         [XPG3 || XPG4] (pthread_atfork): Likewise.
1081         [XPG3 || XPG4] (pwrite): Likewise.
1083         [BZ #14835]
1084         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1085         <bits/siginfo.h>.
1087 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1089         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1090         finalizing MALLSTREAM.
1092         * sysdeps/mach/hurd/syncfs.c: New file.
1094 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1096         [BZ #14719]
1097         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1098         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1099         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1100         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1101         (_nss_dns_gethostbyname4_r): Likewise.
1102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1103         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1105 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1107         [BZ #13763]
1108         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1110 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1112         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1113         * elf/cache.c (print_entry): Print ",AArch64" for
1114         FLAG_AARCH64_LIB64
1116         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1117         * elf/cache.c (print_entry): Print ",hard-float" for
1118         FLAG_ARM_LIBHF.
1120 2012-11-18  David S. Miller  <davem@davemloft.net>
1122         With help from Joseph Myers.
1123         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1124         cutoff to 2**-13.
1125         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1126         cutoff to 2**-25.
1127         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1128         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1129         small.
1130         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1131         * math/libm-test.inc (y0_test): New tests.
1132         (y1_test): New tests.
1133         * sysdeps/i386/fpu/libm-test-ulps: Update.
1134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1137 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1139         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1140         64-bit targets.
1141         * configure: Regenerated.
1143 2012-11-17  David S. Miller  <davem@davemloft.net>
1145         [BZ #14811]
1146         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1147         nonzero exponents with absolute value below 0x1p-128 to +/-
1148         0x1p-128.
1150 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1152         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1154         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1156         * posix/getconf-speclist.c: New file.
1157         * posix/posix-envs.def: Likewise.
1158         * posix/confstr.c (START_ENV_GROUP): New macro.
1159         (END_ENV_GROUP): Likewise.
1160         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1161         (KNOWN_PRESENT_ENV_STRING): Likewise.
1162         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1163         (UNKNOWN_ENVIRONMENT): Likewise.
1164         (confstr): Include posix-envs.def instead of handling
1165         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1166         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1167         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1168         (END_ENV_GROUP): Likewise.
1169         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1170         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1171         (UNKNOWN_ENVIRONMENT): Likewise.
1172         (__sysconf): Include posix-envs.def instead of handling associated
1173         cases directly here.
1174         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1175         preprocessing getconf-speclist.c rather than running getconf or
1176         generating empty file.
1178 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1180         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1182 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1184         [BZ #14672]
1185         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1187 2012-11-16  David S. Miller  <davem@davemloft.net>
1189         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1190         smaller than LDBL_EPSILON/2.0L, just return xm1.
1192 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1194         * elf/tst-array1.c (init): Set constructor priority to 1000.
1195         (fini): Set destructor priority to 1000.
1196         * elf/tst-array2dep.c: Likewise.
1198 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1200         [BZ #11741]
1201         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1202         (_IO_new_file_xsputn): Also return EOF if none of the input
1203         data was written when overflow failed.
1204         * libio/iopadn.c (_IO_padn): Likewise.
1205         * libio/iowpadn.c (_IO_wpadn): Likewise.
1206         * stdio-common/tst-put-error.c: Add copyright notice.
1207         (do_test): Add case for printing padded string.
1208         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1209         _IO_padn returned error.
1210         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1211         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1212         return EOF.
1214 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1216         * libio/libioP.h: Add comment note that the references to C++
1217         bits are now obsolete.
1219 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1221         * math/libm-test.inc (check_complex): Use asprintf.
1223 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1225         * debug/pcprofiledump.c (print_version): Update copyright year.
1226         * malloc/memusagestat.c (print_version): Likewise.
1228 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1230         [BZ #14831]
1231         * elf/Makefile (tests): Add tst-audit8.
1232         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1233         ($(objpfx)tst-audit8.out): New target.
1234         (tst-audit8-ENV): New variable.
1235         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1236         audit if l_reloc_result is NULL.
1237         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1238         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1239         * elf/tst-audit8.c: New file.
1241 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1243         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1244         * misc/Makefile (CFLAGS-select.c): Define.
1245         * posix/Makefile (CFLAGS-pause.c): Define.
1247 2012-11-13  David S. Miller  <davem@davemloft.net>
1249         * crypt/Makefile: Move test targets after toplevel Rules
1250         inclusion.  Grab any necessary sysdep routines when linking.
1251         * crypt/md5.c (md5_process_block): Remove define, we will always
1252         name it __md5_process_block.
1253         (md5_finish_ctx): Update md5_process_block call.
1254         (md5_stream): Likewise.
1255         (md5_process_bytes): Likewise.
1256         (md5_process_block): Rename to __md5_process_block and move to ...
1257         * crypt/md5-block.c: ... here.
1258         * crypt/sha256.c (sha256_process_block): Move to ...
1259         * crypt/sha256-block.c: ... here.
1260         * crypt/sha512.c (sha512_process_block): Move to ...
1261         * crypt/sha512-block.c: ... here.
1262         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1263         path.
1264         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1265         * sysdeps/sparc/sparc64/multiarch/Makefile
1266         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1267         crypt subdir.
1268         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1269         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1270         multiarch changes.
1271         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1272         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1273         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1274         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1275         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1276         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1277         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1278         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1279         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1280         file.
1281         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1282         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1283         file.
1284         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1286 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1288         * timezone/tzselect.ksh: Update from tzcode git revision
1289         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1290         * timezone/zdump.c: Likewise.
1291         * timezone/zic.c: Likewise.
1292         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1293         in TZVERSION setting, not $(PKGVERSION).
1294         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1295         REPORT_BUGS_TO settings.
1297         [BZ #14838]
1298         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1299         macro.
1301 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1303         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1304         detection to immediately after _FP_ROUND().
1305         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1306         bits are 0.
1308 2012-11-11  David S. Miller  <davem@davemloft.net>
1310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1311         inttypes.h
1312         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1313         __close rather than their public counterparts.
1315 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1317         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1318         file.
1319         [UNIX98] (sem_timedwait): Do not expect.
1320         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1321         [XPG4 || UNIX98] (sockatmark): Do not expect.
1322         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1323         (clock_getcpuclockid): Do not expect.
1324         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1325         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1326         Do not expect.
1327         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1328         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1329         [UNIX98] (vwscanf): Likewise.
1330         [UNIX98] (vswscanf): Likewise.
1332 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1334         * timezone/version.h: Remove file.
1335         * timezone/README: Do not refer to version.h.
1336         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1337         $(objpfx)version.h.
1338         ($(objpfx)zdump.o): Likewise.
1339         ($(objpfx)version.h): New target.
1341         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1342         2012i.
1343         * timezone/README: Don't mention modification to tzselect.ksh.
1344         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1345         work on unmodified tzselect.ksh.  Substitute version numbers in
1346         tzselect.ksh.
1348         * Makefile (format-me): Remove.
1349         (INSTALL): Adjust indentation.  Use commands directly instead of
1350         using $(format-me).
1352         * aclocal.m4 (ACX_PKGVERSION): New macro.
1353         (ACX_BUGURL): Likewise.
1354         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1355         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1356         (REPORT_BUGS_TO): Likewise.
1357         * configure: Regenerated.
1358         * config.h.in (PKGVERSION): New macro.
1359         (REPORT_BUGS_TO): Likewise.
1360         * config.make.in (PKGVERSION): New variable.
1361         (PKGVERSION_TEXI): Likewise.
1362         (REPORT_BUGS_TO): Likewise.
1363         (REPORT_BUGS_TEXI): Likewise.
1364         * Makefile (format-me): Use -I$(common-objpfx)manual.
1365         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1366         ($(common-objpfx)manual/%): New target.
1367         (manual/%): Remove target.
1368         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1369         (print_version): Use PKGVERSION.
1370         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1371         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1372         and REPORT_BUGS_TO.
1373         ($(objpfx)xtrace): Likewise.
1374         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1375         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1376         (print_version): Use PKGVERSION.
1377         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1378         (do_version): Use PKGVERSION.
1379         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1380         REPORT_BUGS_TO.
1381         (common-ldd-rewrite): Likewise.
1382         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1383         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1384         (print_version): Use PKGVERSION.
1385         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1386         * elf/pldd.c (argp_program_bug_address): Remove variable.
1387         (more_help): New function.
1388         (argp): Use more_help.
1389         (print_version): Use PKGVERSION.
1390         * elf/sln.c (main): Use PKGVERSION.
1391         (usage): Use REPORT_BUGS_TO.
1392         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1393         (top level): Use PKGVERSION.
1394         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1395         (print_version): Use PKGVERSION.
1396         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1397         (print_version): Use PKGVERSION.
1398         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1399         (print_version): Use PKGVERSION.
1400         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1401         (print_version): Use PKGVERSION.
1402         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1403         (print_version): Use PKGVERSION.
1404         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1405         (print_version): Use PKGVERSION.
1406         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1407         and BUGURL.
1408         ($(objpfx)memusage): Likewise.
1409         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1410         (do_version): Use PKGVERSION.
1411         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1412         (print_version): Use PKGVERSION.
1413         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1414         ($PKGVERSION): New variable.
1415         ($REPORT_BUGS_TO): Likewise.
1416         (usage): Use $REPORT_BUGS_TO.
1417         (top level): Use $PKGVERSION.
1418         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1419         ($(objpfx)pkgvers.texi): New rule.
1420         ($(objpfx)stamp-pkgvers): Likewise.
1421         * manual/install.texi: Include pkgvers.texi.
1422         (--with-pkgversion): Document new configure option.
1423         (--with-bugurl): Likewise.
1424         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1425         than necessarily for this particular distribution.  Use
1426         REPORT_BUGS_TO for where to report bugs.
1427         * INSTALL: Regenerated.
1428         * manual/libc.texinfo: Include pkgvers.texi.
1429         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1430         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1431         (print_version): Use PKGVERSION.
1432         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1433         (print_version): Use PKGVERSION.
1434         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1435         (print_version): Use PKGVERSION.
1436         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1437         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1438         macro.
1439         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1440         (print_version): Use PKGVERSION.
1441         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1442         (print_version): Use PKGVERSION.
1443         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1444         and PKGVERSION.
1446         * timezone/checktab.awk: Update from tzcode 2012i.
1447         * timezone/ialloc.c: Likewise.
1448         * timezone/private.h: Likewise.
1449         * timezone/scheck.c: Likewise.
1450         * timezone/tzfile.h: Likewise.
1451         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1452         (TZVERSION): Hardcode tzcode version number.
1453         * timezone/zdump.c: Update from tzcode 2012i.
1454         * timezone/zic.c: Likewise.
1455         * timezone/version.h: New file.
1456         * timezone/README: Describe version.h.  Update upstream location.
1458         [BZ #14824]
1459         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1460         (mktemp): Enable declaration.
1461         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1462         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1463         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1464         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1465         Likewise.
1466         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1467         Likewise.
1468         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1469         Likewise.
1470         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1471         Likewise.
1472         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1473         Likewise.
1474         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1475         Likewise.
1477         [BZ #14821]
1478         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1479         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1480         for copies of such integer values.
1481         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1482         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1484 2012-11-09  Andreas Jaeger  <aj@suse.de>
1486         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1487         definitions and declarations that are provided by
1488         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1490 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1492         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1493         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1494         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1495         definition.
1497 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1499         * elf/elf.h: Update comment before AArch64 relocations.
1501 2012-11-07  David S. Miller  <davem@davemloft.net>
1503         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1504         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1505         (__start_context): Declare.
1506         (__makecontext_ret): Delete.
1507         (__makecontext): Hook up __start_context instead of
1508         __makecontext_ret.
1509         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1510         (sysdep_routines): Add __start_context when in stdlib.
1512 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1514         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1515         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1516         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1517         hardcoded "nm".
1518         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1519         (READELF): New variable.  Use it instead of hardcoded "readelf".
1521 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1523         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1524         * sysdeps/x86/Makefile: Here.
1525         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1526         * sysdeps/x86/tst-xmmymm.sh: This.
1528 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1530         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1531         expectations.
1532         [UNIX98] (pthread_barrier_t): Do not expect.
1533         [UNIX98] (pthread_barrierattr_t): Likewise.
1534         [UNIX98] (pthread_spinlock_t): Likewise.
1535         [UNIX98] (pthread_barrier_destroy): Likewise.
1536         [UNIX98] (pthread_barrier_init): Likewise.
1537         [UNIX98] (pthread_barrier_wait): Likewise.
1538         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1539         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1540         [UNIX98] (pthread_barrierattr_init): Likewise.
1541         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1542         [UNIX98] (pthread_getcpuclockid): Likewise.
1543         [UNIX98] (pthread_mutex_timedlock): Likewise.
1544         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1545         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1546         [UNIX98] (pthread_sigmask): Likewise.
1547         [UNIX98] (pthread_spin_destroy): Likewise.
1548         [UNIX98] (pthread_spin_init): Likewise.
1549         [UNIX98] (pthread_spin_lock): Likewise.
1550         [UNIX98] (pthread_spin_trylock): Likewise.
1551         [UNIX98] (pthread_spin_unlock): Likewise.
1552         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1553         Do not expect.
1554         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1555         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1556         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1557         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1558         [XPG3 || XPG4] (pthread_key_t): Likewise.
1559         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1560         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1561         [XPG3 || XPG4] (pthread_once_t): Likewise.
1562         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1563         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1564         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1565         [XPG3 || XPG4] (pthread_t): Likewise.
1567         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1568         not expect.
1569         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1571         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1572         Change function return type to int.
1574         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1575         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1576         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1577         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1578         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1579         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1580         [!POSIX] (posix_madvise): Likewise.
1581         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1582         && !UNIX98].
1583         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1584         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1585         (mode_t): Likewise.
1586         (posix_mem_offset): Likewise.
1587         (posix_typed_mem_get_info): Likewise.
1588         (posix_typed_mem_open): Likewise.
1590         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1591         Change condition to [XOPEN2K8].
1593         * conform/conformtest.pl: Preprocess allow-header data with -x c
1594         instead of from stdin.
1595         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1596         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1597         [C99-based standards] (cerfc): Likewise.
1598         [C99-based standards] (cexp2): Likewise.
1599         [C99-based standards] (cexpm1): Likewise.
1600         [C99-based standards] (clog10): Likewise.
1601         [C99-based standards] (clog1p): Likewise.
1602         [C99-based standards] (clog2): Likewise.
1603         [C99-based standards] (clgamma): Likewise.
1604         [C99-based standards] (ctgamma): Likewise.
1605         [C99-based standards] (cerff): Likewise.
1606         [C99-based standards] (cerfcf): Likewise.
1607         [C99-based standards] (cexp2f): Likewise.
1608         [C99-based standards] (cexpm1f): Likewise.
1609         [C99-based standards] (clog10f): Likewise.
1610         [C99-based standards] (clog1pf): Likewise.
1611         [C99-based standards] (clog2f): Likewise.
1612         [C99-based standards] (clgammaf): Likewise.
1613         [C99-based standards] (ctgammaf): Likewise.
1614         [C99-based standards] (cerfl): Likewise.
1615         [C99-based standards] (cerfcl): Likewise.
1616         [C99-based standards] (cexp2l): Likewise.
1617         [C99-based standards] (cexpm1l): Likewise.
1618         [C99-based standards] (clog10l): Likewise.
1619         [C99-based standards] (clog1pl): Likewise.
1620         [C99-based standards] (clog2l): Likewise.
1621         [C99-based standards] (clgammal): Likewise.
1622         [C99-based standards] (ctgammal): Likewise.
1623         * conform/data/inttypes.h-data [C99-based standards]: Include
1624         stdint.h-data.  Remove all expectations for stdint.h contents.
1625         [C99-based standards] (PRI*): Do not allow.
1626         [C99-based standards] (SCN*): Likewise.
1627         [C99-based standards] (*_t): Likewise.
1628         [C99-based-standards] (PRId8): Expect macro.
1629         [C99-based-standards] (PRIi8): Likewise.
1630         [C99-based-standards] (PRIo8): Likewise.
1631         [C99-based-standards] (PRIu8): Likewise.
1632         [C99-based-standards] (PRIx8): Likewise.
1633         [C99-based-standards] (PRIX8): Likewise.
1634         [C99-based-standards] (SCNd8): Likewise.
1635         [C99-based-standards] (SCNi8): Likewise.
1636         [C99-based-standards] (SCNo8): Likewise.
1637         [C99-based-standards] (SCNu8): Likewise.
1638         [C99-based-standards] (SCNx8): Likewise.
1639         [C99-based-standards] (PRIdLEAST8): Likewise.
1640         [C99-based-standards] (PRIiLEAST8): Likewise.
1641         [C99-based-standards] (PRIoLEAST8): Likewise.
1642         [C99-based-standards] (PRIuLEAST8): Likewise.
1643         [C99-based-standards] (PRIxLEAST8): Likewise.
1644         [C99-based-standards] (PRIXLEAST8): Likewise.
1645         [C99-based-standards] (SCNdLEAST8): Likewise.
1646         [C99-based-standards] (SCNiLEAST8): Likewise.
1647         [C99-based-standards] (SCNoLEAST8): Likewise.
1648         [C99-based-standards] (SCNuLEAST8): Likewise.
1649         [C99-based-standards] (SCNxLEAST8): Likewise.
1650         [C99-based-standards] (PRIdFAST8): Likewise.
1651         [C99-based-standards] (PRIiFAST8): Likewise.
1652         [C99-based-standards] (PRIoFAST8): Likewise.
1653         [C99-based-standards] (PRIuFAST8): Likewise.
1654         [C99-based-standards] (PRIxFAST8): Likewise.
1655         [C99-based-standards] (PRIXFAST8): Likewise.
1656         [C99-based-standards] (SCNdFAST8): Likewise.
1657         [C99-based-standards] (SCNiFAST8): Likewise.
1658         [C99-based-standards] (SCNoFAST8): Likewise.
1659         [C99-based-standards] (SCNuFAST8): Likewise.
1660         [C99-based-standards] (SCNxFAST8): Likewise.
1661         [C99-based-standards] (PRId16): Likewise.
1662         [C99-based-standards] (PRIi16): Likewise.
1663         [C99-based-standards] (PRIo16): Likewise.
1664         [C99-based-standards] (PRIu16): Likewise.
1665         [C99-based-standards] (PRIx16): Likewise.
1666         [C99-based-standards] (PRIX16): Likewise.
1667         [C99-based-standards] (SCNd16): Likewise.
1668         [C99-based-standards] (SCNi16): Likewise.
1669         [C99-based-standards] (SCNo16): Likewise.
1670         [C99-based-standards] (SCNu16): Likewise.
1671         [C99-based-standards] (SCNx16): Likewise.
1672         [C99-based-standards] (PRIdLEAST16): Likewise.
1673         [C99-based-standards] (PRIiLEAST16): Likewise.
1674         [C99-based-standards] (PRIoLEAST16): Likewise.
1675         [C99-based-standards] (PRIuLEAST16): Likewise.
1676         [C99-based-standards] (PRIxLEAST16): Likewise.
1677         [C99-based-standards] (PRIXLEAST16): Likewise.
1678         [C99-based-standards] (SCNdLEAST16): Likewise.
1679         [C99-based-standards] (SCNiLEAST16): Likewise.
1680         [C99-based-standards] (SCNoLEAST16): Likewise.
1681         [C99-based-standards] (SCNuLEAST16): Likewise.
1682         [C99-based-standards] (SCNxLEAST16): Likewise.
1683         [C99-based-standards] (PRIdFAST16): Likewise.
1684         [C99-based-standards] (PRIiFAST16): Likewise.
1685         [C99-based-standards] (PRIoFAST16): Likewise.
1686         [C99-based-standards] (PRIuFAST16): Likewise.
1687         [C99-based-standards] (PRIxFAST16): Likewise.
1688         [C99-based-standards] (PRIXFAST16): Likewise.
1689         [C99-based-standards] (SCNdFAST16): Likewise.
1690         [C99-based-standards] (SCNiFAST16): Likewise.
1691         [C99-based-standards] (SCNoFAST16): Likewise.
1692         [C99-based-standards] (SCNuFAST16): Likewise.
1693         [C99-based-standards] (SCNxFAST16): Likewise.
1694         [C99-based-standards] (PRId32): Likewise.
1695         [C99-based-standards] (PRIi32): Likewise.
1696         [C99-based-standards] (PRIo32): Likewise.
1697         [C99-based-standards] (PRIu32): Likewise.
1698         [C99-based-standards] (PRIx32): Likewise.
1699         [C99-based-standards] (PRIX32): Likewise.
1700         [C99-based-standards] (SCNd32): Likewise.
1701         [C99-based-standards] (SCNi32): Likewise.
1702         [C99-based-standards] (SCNo32): Likewise.
1703         [C99-based-standards] (SCNu32): Likewise.
1704         [C99-based-standards] (SCNx32): Likewise.
1705         [C99-based-standards] (PRIdLEAST32): Likewise.
1706         [C99-based-standards] (PRIiLEAST32): Likewise.
1707         [C99-based-standards] (PRIoLEAST32): Likewise.
1708         [C99-based-standards] (PRIuLEAST32): Likewise.
1709         [C99-based-standards] (PRIxLEAST32): Likewise.
1710         [C99-based-standards] (PRIXLEAST32): Likewise.
1711         [C99-based-standards] (SCNdLEAST32): Likewise.
1712         [C99-based-standards] (SCNiLEAST32): Likewise.
1713         [C99-based-standards] (SCNoLEAST32): Likewise.
1714         [C99-based-standards] (SCNuLEAST32): Likewise.
1715         [C99-based-standards] (SCNxLEAST32): Likewise.
1716         [C99-based-standards] (PRIdFAST32): Likewise.
1717         [C99-based-standards] (PRIiFAST32): Likewise.
1718         [C99-based-standards] (PRIoFAST32): Likewise.
1719         [C99-based-standards] (PRIuFAST32): Likewise.
1720         [C99-based-standards] (PRIxFAST32): Likewise.
1721         [C99-based-standards] (PRIXFAST32): Likewise.
1722         [C99-based-standards] (SCNdFAST32): Likewise.
1723         [C99-based-standards] (SCNiFAST32): Likewise.
1724         [C99-based-standards] (SCNoFAST32): Likewise.
1725         [C99-based-standards] (SCNuFAST32): Likewise.
1726         [C99-based-standards] (SCNxFAST32): Likewise.
1727         [C99-based-standards] (PRId64): Likewise.
1728         [C99-based-standards] (PRIi64): Likewise.
1729         [C99-based-standards] (PRIo64): Likewise.
1730         [C99-based-standards] (PRIu64): Likewise.
1731         [C99-based-standards] (PRIx64): Likewise.
1732         [C99-based-standards] (PRIX64): Likewise.
1733         [C99-based-standards] (SCNd64): Likewise.
1734         [C99-based-standards] (SCNi64): Likewise.
1735         [C99-based-standards] (SCNo64): Likewise.
1736         [C99-based-standards] (SCNu64): Likewise.
1737         [C99-based-standards] (SCNx64): Likewise.
1738         [C99-based-standards] (PRIdLEAST64): Likewise.
1739         [C99-based-standards] (PRIiLEAST64): Likewise.
1740         [C99-based-standards] (PRIoLEAST64): Likewise.
1741         [C99-based-standards] (PRIuLEAST64): Likewise.
1742         [C99-based-standards] (PRIxLEAST64): Likewise.
1743         [C99-based-standards] (PRIXLEAST64): Likewise.
1744         [C99-based-standards] (SCNdLEAST64): Likewise.
1745         [C99-based-standards] (SCNiLEAST64): Likewise.
1746         [C99-based-standards] (SCNoLEAST64): Likewise.
1747         [C99-based-standards] (SCNuLEAST64): Likewise.
1748         [C99-based-standards] (SCNxLEAST64): Likewise.
1749         [C99-based-standards] (PRIdFAST64): Likewise.
1750         [C99-based-standards] (PRIiFAST64): Likewise.
1751         [C99-based-standards] (PRIoFAST64): Likewise.
1752         [C99-based-standards] (PRIuFAST64): Likewise.
1753         [C99-based-standards] (PRIxFAST64): Likewise.
1754         [C99-based-standards] (PRIXFAST64): Likewise.
1755         [C99-based-standards] (SCNdFAST64): Likewise.
1756         [C99-based-standards] (SCNiFAST64): Likewise.
1757         [C99-based-standards] (SCNoFAST64): Likewise.
1758         [C99-based-standards] (SCNuFAST64): Likewise.
1759         [C99-based-standards] (SCNxFAST64): Likewise.
1760         [C99-based-standards] (PRIdMAX): Likewise.
1761         [C99-based-standards] (PRIiMAX): Likewise.
1762         [C99-based-standards] (PRIoMAX): Likewise.
1763         [C99-based-standards] (PRIuMAX): Likewise.
1764         [C99-based-standards] (PRIxMAX): Likewise.
1765         [C99-based-standards] (PRIXMAX): Likewise.
1766         [C99-based-standards] (SCNdMAX): Likewise.
1767         [C99-based-standards] (SCNiMAX): Likewise.
1768         [C99-based-standards] (SCNoMAX): Likewise.
1769         [C99-based-standards] (SCNuMAX): Likewise.
1770         [C99-based-standards] (SCNxMAX): Likewise.
1771         [C99-based-standards] (PRIdPTR): Likewise.
1772         [C99-based-standards] (PRIiPTR): Likewise.
1773         [C99-based-standards] (PRIoPTR): Likewise.
1774         [C99-based-standards] (PRIuPTR): Likewise.
1775         [C99-based-standards] (PRIxPTR): Likewise.
1776         [C99-based-standards] (PRIXPTR): Likewise.
1777         [C99-based-standards] (SCNdPTR): Likewise.
1778         [C99-based-standards] (SCNiPTR): Likewise.
1779         [C99-based-standards] (SCNoPTR): Likewise.
1780         [C99-based-standards] (SCNuPTR): Likewise.
1781         [C99-based-standards] (SCNxPTR): Likewise.
1782         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1783         allow.
1784         * conform/data/stdint.h-data: Update comments to clarify
1785         requirements.
1786         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1787         type.
1788         [C99-based standards] (INT8_MAX): Likewise.
1789         [C99-based standards] (INT16_MIN): Likewise.
1790         [C99-based standards] (INT16_MAX): Likewise.
1791         [C99-based standards] (INT32_MIN): Likewise.
1792         [C99-based standards] (INT32_MAX): Likewise.
1793         [C99-based standards] (INT64_MIN): Likewise.
1794         [C99-based standards] (INT64_MAX): Likewise.
1795         [C99-based standards] (UINT8_MAX): Likewise.
1796         [C99-based standards] (UINT16_MAX): Likewise.
1797         [C99-based standards] (UINT32_MAX): Likewise.
1798         [C99-based standards] (UINT64_MAX): Likewise.
1799         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1800         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1801         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1802         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1803         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1804         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1805         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1806         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1807         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1808         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1809         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1810         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1811         [C99-based standards] (INT_FAST8_MIN): Likewise.
1812         [C99-based standards] (INT_FAST8_MAX): Likewise.
1813         [C99-based standards] (INT_FAST16_MIN): Likewise.
1814         [C99-based standards] (INT_FAST16_MAX): Likewise.
1815         [C99-based standards] (INT_FAST32_MIN): Likewise.
1816         [C99-based standards] (INT_FAST32_MAX): Likewise.
1817         [C99-based standards] (INT_FAST64_MIN): Likewise.
1818         [C99-based standards] (INT_FAST64_MAX): Likewise.
1819         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1820         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1821         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1822         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1823         [C99-based standards] (INTPTR_MIN): Likewise.
1824         [C99-based standards] (INTPTR_MAX): Likewise.
1825         [C99-based standards] (UINTPTR_MAX): Likewise.
1826         [C99-based standards] (INTMAX_MIN): Likewise.
1827         [C99-based standards] (INTMAX_MAX): Likewise.
1828         [C99-based standards] (UINTMAX_MAX): Likewise.
1829         [C99-based standards] (PTRDIFF_MIN): Likewise.
1830         [C99-based standards] (PTRDIFF_MAX): Likewise.
1831         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1832         [C99-based standards] (SIZE_MAX): Likewise.
1833         [C99-based standards] (WCHAR_MAX): Likewise.
1834         [C99-based standards] (WINT_MAX): Likewise.
1835         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1836         constraint on value.
1837         [C99-based standards] (WCHAR_MIN): Likewise.
1838         [C99-based standards] (WINT_MIN): Likewise.
1839         [C99-based standards] (*_t): Allow.
1840         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1841         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1842         Include math.h-data and complex.h-data.  Remove all expectations
1843         of math.h and complex.h contents.
1844         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1845         at end of line.
1846         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1847         (struct tm): Expect tag.
1848         [C99-based-standards] (wcstof): Expect function.
1849         [C99-based-standards] (wcstold): Likewise.
1850         [C99-based-standards] (wcstoll): Likewise.
1851         [C99-based-standards] (wcstoull): Likewise.
1852         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1853         macro-int-constant.  Specify type.
1854         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1855         constraint on value.
1856         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1857         Specify type.
1858         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1859         Specify value.
1860         [ISO C standards]: Do not allow headers.
1861         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1862         wcs[abcdefghijklmnopqrstuvwxyz]*.
1863         [ISO C standards] (*_t): Do not allow.
1864         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1865         Expect function.
1866         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1867         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1868         Specify type.
1869         [ISO C standards]: Do not allow headers.
1870         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1871         is[abcdefghijklmnopqrstuvwxyz]*.
1872         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1873         to[abcdefghijklmnopqrstuvwxyz]*.
1874         [ISO C standards] (*_t): Do not allow.
1875         * conform/data/stdalign.h-data: New file.
1876         * conform/data/stdbool.h-data: Likewise.
1877         * conform/data/stdnoreturn.h-data: Likewise.
1879 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1881         [BZ #14815]
1882         * manual/filesys.texi (Directory Entries): Typo fix.
1883         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1885 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1887         * elf/elf.h (EM_AARCH64): New macro.
1888         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1889         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1890         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1891         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1892         (R_AARCH64_TLSDESC): Likewise.
1893         (NT_ARM_TLS): Likewise.
1894         (NT_ARM_HW_BREAK): Likewise.
1895         (NT_ARM_HW_WATCH): Likewise.
1897 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1899         [BZ #14811]
1900         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1901         (__ieee754_powl): Saturate nonzero exponents with absolute value
1902         below 0x1p-79 to +/- 0x1p-79.
1903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1904         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1905         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1906         nonzero exponents with absolute value below 0x1p-32 to +/-
1907         0x1p-32.
1908         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1909         (__ieee754_powl): Saturate nonzero exponents with absolute value
1910         below 0x1p-79 to +/- 0x1p-79.
1911         * math/libm-test.inc (pow_test): Add more tests.
1913 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1915         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1916         _dl_s390_cap_flags with kernel. Increase string length.
1917         (_dl_s390_platforms): Add z196 and zEC12.
1919 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1921         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1922         Change XOPEN21K to XOPEN2K.
1924 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1926         * string/memmove.c: Use memcpy when possible.
1928 2012-11-06  Andreas Jaeger  <aj@suse.de>
1930         * po/eo.po: Update from translation team.
1932 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1934         [BZ #14793]
1935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1936         exponent and small x and y exponents, scale x or y up.  Increase
1937         by 2 the exponent used in scaling up.
1938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1939         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1940         * math/libm-test.inc (fma_test): Add more tests.
1941         (fma_test_towardzero): Likewise.
1942         (fma_test_downward): Likewise.
1943         (fma_test_upward): Likewise.
1945 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
1947         [BZ #14805]
1948         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1949         fenv_t *.
1951         [BZ #14801]
1952         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1953         namespace for names of struct fields.
1954         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1955         fenv_t fields.
1956         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1957         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1959 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1961         [BZ #3665]
1962         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1964 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1966         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1967         PTR_DEMANGLE.
1969         [BZ #5246]
1970         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1971         PTR_DEMANGLE.
1973 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
1975         [BZ #14797]
1976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1977         definitely overflow as x * y not x * y + z.
1978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1979         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1980         * math/libm-test.inc (fma_test): Add more tests.
1981         (fma_test_towardzero): Likewise.
1982         (fma_test_downward): Likewise.
1983         (fma_test_upward): Likewise.
1985 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1987         [BZ #157]
1989         * include/stub-tag.h: Remove file.
1990         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1991         '#include' of it.
1992         * manual/maint.texi (Porting): Don't reference it.
1993         * Makerules ($(objpfx)stubs): Likewise.
1994         * dirent/closedir.c: Don't include <stub-tag.h>.
1995         * dirent/dirfd.c: Likewise.
1996         * dirent/fdopendir.c: Likewise.
1997         * dirent/getdents.c: Likewise.
1998         * dirent/getdents64.c: Likewise.
1999         * dirent/opendir.c: Likewise.
2000         * dirent/readdir.c: Likewise.
2001         * dirent/readdir64.c: Likewise.
2002         * dirent/readdir64_r.c: Likewise.
2003         * dirent/readdir_r.c: Likewise.
2004         * dirent/rewinddir.c: Likewise.
2005         * dirent/seekdir.c: Likewise.
2006         * dirent/telldir.c: Likewise.
2007         * gmon/profil.c: Likewise.
2008         * grp/setgroups.c: Likewise.
2009         * inet/if_index.c: Likewise.
2010         * io/access.c: Likewise.
2011         * io/chdir.c: Likewise.
2012         * io/chmod.c: Likewise.
2013         * io/chown.c: Likewise.
2014         * io/close.c: Likewise.
2015         * io/dup.c: Likewise.
2016         * io/dup2.c: Likewise.
2017         * io/dup3.c: Likewise.
2018         * io/euidaccess.c: Likewise.
2019         * io/faccessat.c: Likewise.
2020         * io/fchdir.c: Likewise.
2021         * io/fchmod.c: Likewise.
2022         * io/fchmodat.c: Likewise.
2023         * io/fchown.c: Likewise.
2024         * io/fchownat.c: Likewise.
2025         * io/fcntl.c: Likewise.
2026         * io/flock.c: Likewise.
2027         * io/fstatfs.c: Likewise.
2028         * io/fstatfs64.c: Likewise.
2029         * io/fstatvfs.c: Likewise.
2030         * io/fstatvfs64.c: Likewise.
2031         * io/futimens.c: Likewise.
2032         * io/fxstat.c: Likewise.
2033         * io/fxstat64.c: Likewise.
2034         * io/fxstatat.c: Likewise.
2035         * io/fxstatat64.c: Likewise.
2036         * io/getcwd.c: Likewise.
2037         * io/isatty.c: Likewise.
2038         * io/lchmod.c: Likewise.
2039         * io/lchown.c: Likewise.
2040         * io/link.c: Likewise.
2041         * io/linkat.c: Likewise.
2042         * io/lseek.c: Likewise.
2043         * io/lseek64.c: Likewise.
2044         * io/lxstat64.c: Likewise.
2045         * io/mkdir.c: Likewise.
2046         * io/mkdirat.c: Likewise.
2047         * io/mkfifo.c: Likewise.
2048         * io/mkfifoat.c: Likewise.
2049         * io/open.c: Likewise.
2050         * io/open64.c: Likewise.
2051         * io/openat.c: Likewise.
2052         * io/openat64.c: Likewise.
2053         * io/pipe.c: Likewise.
2054         * io/pipe2.c: Likewise.
2055         * io/poll.c: Likewise.
2056         * io/posix_fadvise.c: Likewise.
2057         * io/posix_fadvise64.c: Likewise.
2058         * io/posix_fallocate.c: Likewise.
2059         * io/posix_fallocate64.c: Likewise.
2060         * io/read.c: Likewise.
2061         * io/readlink.c: Likewise.
2062         * io/readlinkat.c: Likewise.
2063         * io/rmdir.c: Likewise.
2064         * io/sendfile.c: Likewise.
2065         * io/sendfile64.c: Likewise.
2066         * io/statfs.c: Likewise.
2067         * io/statfs64.c: Likewise.
2068         * io/statvfs.c: Likewise.
2069         * io/statvfs64.c: Likewise.
2070         * io/symlink.c: Likewise.
2071         * io/symlinkat.c: Likewise.
2072         * io/ttyname.c: Likewise.
2073         * io/ttyname_r.c: Likewise.
2074         * io/umask.c: Likewise.
2075         * io/unlink.c: Likewise.
2076         * io/unlinkat.c: Likewise.
2077         * io/utime.c: Likewise.
2078         * io/utimensat.c: Likewise.
2079         * io/write.c: Likewise.
2080         * io/xmknod.c: Likewise.
2081         * io/xmknodat.c: Likewise.
2082         * io/xstat.c: Likewise.
2083         * io/xstat64.c: Likewise.
2084         * login/getpt.c: Likewise.
2085         * login/grantpt.c: Likewise.
2086         * login/unlockpt.c: Likewise.
2087         * math/e_acoshl.c: Likewise.
2088         * math/e_acosl.c: Likewise.
2089         * math/e_asinl.c: Likewise.
2090         * math/e_atan2l.c: Likewise.
2091         * math/e_atanhl.c: Likewise.
2092         * math/e_coshl.c: Likewise.
2093         * math/e_expl.c: Likewise.
2094         * math/e_fmodl.c: Likewise.
2095         * math/e_gammal_r.c: Likewise.
2096         * math/e_hypotl.c: Likewise.
2097         * math/e_j0l.c: Likewise.
2098         * math/e_j1l.c: Likewise.
2099         * math/e_jnl.c: Likewise.
2100         * math/e_lgammal_r.c: Likewise.
2101         * math/e_log10l.c: Likewise.
2102         * math/e_log2l.c: Likewise.
2103         * math/e_logl.c: Likewise.
2104         * math/e_powl.c: Likewise.
2105         * math/e_rem_pio2l.c: Likewise.
2106         * math/e_sinhl.c: Likewise.
2107         * math/e_sqrtl.c: Likewise.
2108         * math/fclrexcpt.c: Likewise.
2109         * math/fedisblxcpt.c: Likewise.
2110         * math/feenablxcpt.c: Likewise.
2111         * math/fegetenv.c: Likewise.
2112         * math/fegetexcept.c: Likewise.
2113         * math/fegetround.c: Likewise.
2114         * math/feholdexcpt.c: Likewise.
2115         * math/fesetenv.c: Likewise.
2116         * math/fesetround.c: Likewise.
2117         * math/feupdateenv.c: Likewise.
2118         * math/fgetexcptflg.c: Likewise.
2119         * math/fraiseexcpt.c: Likewise.
2120         * math/fsetexcptflg.c: Likewise.
2121         * math/ftestexcept.c: Likewise.
2122         * math/k_cosl.c: Likewise.
2123         * math/k_rem_pio2l.c: Likewise.
2124         * math/k_sinl.c: Likewise.
2125         * math/k_tanl.c: Likewise.
2126         * math/s_asinhl.c: Likewise.
2127         * math/s_atanl.c: Likewise.
2128         * math/s_cbrtl.c: Likewise.
2129         * math/s_erfl.c: Likewise.
2130         * math/s_expm1l.c: Likewise.
2131         * math/s_log1pl.c: Likewise.
2132         * math/s_tanhl.c: Likewise.
2133         * misc/acct.c: Likewise.
2134         * misc/brk.c: Likewise.
2135         * misc/chflags.c: Likewise.
2136         * misc/chroot.c: Likewise.
2137         * misc/fchflags.c: Likewise.
2138         * misc/fgetxattr.c: Likewise.
2139         * misc/flistxattr.c: Likewise.
2140         * misc/fremovexattr.c: Likewise.
2141         * misc/fsetxattr.c: Likewise.
2142         * misc/fsync.c: Likewise.
2143         * misc/ftruncate.c: Likewise.
2144         * misc/futimes.c: Likewise.
2145         * misc/futimesat.c: Likewise.
2146         * misc/getdomain.c: Likewise.
2147         * misc/getdtsz.c: Likewise.
2148         * misc/gethostid.c: Likewise.
2149         * misc/gethostname.c: Likewise.
2150         * misc/getloadavg.c: Likewise.
2151         * misc/getpagesize.c: Likewise.
2152         * misc/getsysstats.c: Likewise.
2153         * misc/getxattr.c: Likewise.
2154         * misc/gtty.c: Likewise.
2155         * misc/ioctl.c: Likewise.
2156         * misc/lgetxattr.c: Likewise.
2157         * misc/listxattr.c: Likewise.
2158         * misc/llistxattr.c: Likewise.
2159         * misc/lremovexattr.c: Likewise.
2160         * misc/lsetxattr.c: Likewise.
2161         * misc/lutimes.c: Likewise.
2162         * misc/madvise.c: Likewise.
2163         * misc/mincore.c: Likewise.
2164         * misc/mlock.c: Likewise.
2165         * misc/mlockall.c: Likewise.
2166         * misc/mmap.c: Likewise.
2167         * misc/mprotect.c: Likewise.
2168         * misc/msync.c: Likewise.
2169         * misc/munlock.c: Likewise.
2170         * misc/munlockall.c: Likewise.
2171         * misc/munmap.c: Likewise.
2172         * misc/preadv.c: Likewise.
2173         * misc/preadv64.c: Likewise.
2174         * misc/ptrace.c: Likewise.
2175         * misc/pwritev.c: Likewise.
2176         * misc/pwritev64.c: Likewise.
2177         * misc/readv.c: Likewise.
2178         * misc/reboot.c: Likewise.
2179         * misc/remap_file_pages.c: Likewise.
2180         * misc/removexattr.c: Likewise.
2181         * misc/revoke.c: Likewise.
2182         * misc/select.c: Likewise.
2183         * misc/setdomain.c: Likewise.
2184         * misc/setegid.c: Likewise.
2185         * misc/seteuid.c: Likewise.
2186         * misc/sethostid.c: Likewise.
2187         * misc/sethostname.c: Likewise.
2188         * misc/setregid.c: Likewise.
2189         * misc/setreuid.c: Likewise.
2190         * misc/setxattr.c: Likewise.
2191         * misc/sstk.c: Likewise.
2192         * misc/stty.c: Likewise.
2193         * misc/swapoff.c: Likewise.
2194         * misc/swapon.c: Likewise.
2195         * misc/sync.c: Likewise.
2196         * misc/syncfs.c: Likewise.
2197         * misc/syscall.c: Likewise.
2198         * misc/truncate.c: Likewise.
2199         * misc/ualarm.c: Likewise.
2200         * misc/usleep.c: Likewise.
2201         * misc/ustat.c: Likewise.
2202         * misc/utimes.c: Likewise.
2203         * misc/vhangup.c: Likewise.
2204         * misc/writev.c: Likewise.
2205         * posix/_exit.c: Likewise.
2206         * posix/alarm.c: Likewise.
2207         * posix/execve.c: Likewise.
2208         * posix/fexecve.c: Likewise.
2209         * posix/fork.c: Likewise.
2210         * posix/fpathconf.c: Likewise.
2211         * posix/getaddrinfo.c: Likewise.
2212         * posix/getegid.c: Likewise.
2213         * posix/geteuid.c: Likewise.
2214         * posix/getgid.c: Likewise.
2215         * posix/getgroups.c: Likewise.
2216         * posix/getlogin.c: Likewise.
2217         * posix/getlogin_r.c: Likewise.
2218         * posix/getpgid.c: Likewise.
2219         * posix/getpid.c: Likewise.
2220         * posix/getppid.c: Likewise.
2221         * posix/getresgid.c: Likewise.
2222         * posix/getresuid.c: Likewise.
2223         * posix/getsid.c: Likewise.
2224         * posix/getuid.c: Likewise.
2225         * posix/glob64.c: Likewise.
2226         * posix/nanosleep.c: Likewise.
2227         * posix/pathconf.c: Likewise.
2228         * posix/pause.c: Likewise.
2229         * posix/posix_madvise.c: Likewise.
2230         * posix/pread.c: Likewise.
2231         * posix/pread64.c: Likewise.
2232         * posix/pwrite.c: Likewise.
2233         * posix/pwrite64.c: Likewise.
2234         * posix/sched_getaffinity.c: Likewise.
2235         * posix/sched_getp.c: Likewise.
2236         * posix/sched_gets.c: Likewise.
2237         * posix/sched_primax.c: Likewise.
2238         * posix/sched_primin.c: Likewise.
2239         * posix/sched_rr_gi.c: Likewise.
2240         * posix/sched_setaffinity.c: Likewise.
2241         * posix/sched_setp.c: Likewise.
2242         * posix/sched_sets.c: Likewise.
2243         * posix/sched_yield.c: Likewise.
2244         * posix/setgid.c: Likewise.
2245         * posix/setlogin.c: Likewise.
2246         * posix/setpgid.c: Likewise.
2247         * posix/setresgid.c: Likewise.
2248         * posix/setresuid.c: Likewise.
2249         * posix/setsid.c: Likewise.
2250         * posix/setuid.c: Likewise.
2251         * posix/sleep.c: Likewise.
2252         * posix/spawni.c: Likewise.
2253         * posix/sysconf.c: Likewise.
2254         * posix/times.c: Likewise.
2255         * posix/wait.c: Likewise.
2256         * posix/wait3.c: Likewise.
2257         * posix/wait4.c: Likewise.
2258         * posix/waitpid.c: Likewise.
2259         * resolv/gai_sigqueue.c: Likewise.
2260         * resource/getpriority.c: Likewise.
2261         * resource/getrlimit.c: Likewise.
2262         * resource/getrusage.c: Likewise.
2263         * resource/nice.c: Likewise.
2264         * resource/setpriority.c: Likewise.
2265         * resource/setrlimit.c: Likewise.
2266         * resource/ulimit.c: Likewise.
2267         * rt/aio_cancel.c: Likewise.
2268         * rt/aio_fsync.c: Likewise.
2269         * rt/aio_read.c: Likewise.
2270         * rt/aio_sigqueue.c: Likewise.
2271         * rt/aio_suspend.c: Likewise.
2272         * rt/aio_write.c: Likewise.
2273         * rt/clock_getres.c: Likewise.
2274         * rt/clock_gettime.c: Likewise.
2275         * rt/clock_nanosleep.c: Likewise.
2276         * rt/clock_settime.c: Likewise.
2277         * rt/lio_listio.c: Likewise.
2278         * rt/mq_close.c: Likewise.
2279         * rt/mq_getattr.c: Likewise.
2280         * rt/mq_notify.c: Likewise.
2281         * rt/mq_open.c: Likewise.
2282         * rt/mq_receive.c: Likewise.
2283         * rt/mq_send.c: Likewise.
2284         * rt/mq_setattr.c: Likewise.
2285         * rt/mq_timedreceive.c: Likewise.
2286         * rt/mq_timedsend.c: Likewise.
2287         * rt/mq_unlink.c: Likewise.
2288         * rt/shm_open.c: Likewise.
2289         * rt/shm_unlink.c: Likewise.
2290         * rt/timer_create.c: Likewise.
2291         * rt/timer_delete.c: Likewise.
2292         * rt/timer_getoverr.c: Likewise.
2293         * rt/timer_gettime.c: Likewise.
2294         * rt/timer_settime.c: Likewise.
2295         * setjmp/__longjmp.c: Likewise.
2296         * setjmp/setjmp.c: Likewise.
2297         * signal/kill.c: Likewise.
2298         * signal/killpg.c: Likewise.
2299         * signal/raise.c: Likewise.
2300         * signal/sigaction.c: Likewise.
2301         * signal/sigaltstack.c: Likewise.
2302         * signal/sigblock.c: Likewise.
2303         * signal/sigignore.c: Likewise.
2304         * signal/sigintr.c: Likewise.
2305         * signal/signal.c: Likewise.
2306         * signal/sigpause.c: Likewise.
2307         * signal/sigpending.c: Likewise.
2308         * signal/sigqueue.c: Likewise.
2309         * signal/sigreturn.c: Likewise.
2310         * signal/sigset.c: Likewise.
2311         * signal/sigsetmask.c: Likewise.
2312         * signal/sigstack.c: Likewise.
2313         * signal/sigsuspend.c: Likewise.
2314         * signal/sigtimedwait.c: Likewise.
2315         * signal/sigvec.c: Likewise.
2316         * signal/sigwait.c: Likewise.
2317         * signal/sigwaitinfo.c: Likewise.
2318         * signal/sysv_signal.c: Likewise.
2319         * socket/accept.c: Likewise.
2320         * socket/accept4.c: Likewise.
2321         * socket/bind.c: Likewise.
2322         * socket/connect.c: Likewise.
2323         * socket/getpeername.c: Likewise.
2324         * socket/getsockname.c: Likewise.
2325         * socket/getsockopt.c: Likewise.
2326         * socket/isfdtype.c: Likewise.
2327         * socket/listen.c: Likewise.
2328         * socket/recv.c: Likewise.
2329         * socket/recvfrom.c: Likewise.
2330         * socket/recvmsg.c: Likewise.
2331         * socket/send.c: Likewise.
2332         * socket/sendmsg.c: Likewise.
2333         * socket/sendto.c: Likewise.
2334         * socket/setsockopt.c: Likewise.
2335         * socket/shutdown.c: Likewise.
2336         * socket/sockatmark.c: Likewise.
2337         * socket/socket.c: Likewise.
2338         * socket/socketpair.c: Likewise.
2339         * stdio-common/ctermid.c: Likewise.
2340         * stdio-common/cuserid.c: Likewise.
2341         * stdio-common/remove.c: Likewise.
2342         * stdio-common/rename.c: Likewise.
2343         * stdio-common/renameat.c: Likewise.
2344         * stdio-common/tempname.c: Likewise.
2345         * stdlib/getcontext.c: Likewise.
2346         * stdlib/makecontext.c: Likewise.
2347         * stdlib/setcontext.c: Likewise.
2348         * stdlib/swapcontext.c: Likewise.
2349         * stdlib/system.c: Likewise.
2350         * streams/fattach.c: Likewise.
2351         * streams/fdetach.c: Likewise.
2352         * streams/getmsg.c: Likewise.
2353         * streams/getpmsg.c: Likewise.
2354         * streams/putmsg.c: Likewise.
2355         * streams/putpmsg.c: Likewise.
2356         * sysdeps/unix/bsd/getpt.c: Likewise.
2357         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2358         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2359         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2361         Likewise.
2362         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2363         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2364         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2365         * sysvipc/msgctl.c: Likewise.
2366         * sysvipc/msgget.c: Likewise.
2367         * sysvipc/msgrcv.c: Likewise.
2368         * sysvipc/msgsnd.c: Likewise.
2369         * sysvipc/semctl.c: Likewise.
2370         * sysvipc/semget.c: Likewise.
2371         * sysvipc/semop.c: Likewise.
2372         * sysvipc/semtimedop.c: Likewise.
2373         * sysvipc/shmat.c: Likewise.
2374         * sysvipc/shmctl.c: Likewise.
2375         * sysvipc/shmdt.c: Likewise.
2376         * sysvipc/shmget.c: Likewise.
2377         * termios/tcdrain.c: Likewise.
2378         * termios/tcflow.c: Likewise.
2379         * termios/tcflush.c: Likewise.
2380         * termios/tcgetattr.c: Likewise.
2381         * termios/tcgetpgrp.c: Likewise.
2382         * termios/tcsendbrk.c: Likewise.
2383         * termios/tcsetattr.c: Likewise.
2384         * termios/tcsetpgrp.c: Likewise.
2385         * time/adjtime.c: Likewise.
2386         * time/clock.c: Likewise.
2387         * time/getitimer.c: Likewise.
2388         * time/gettimeofday.c: Likewise.
2389         * time/setitimer.c: Likewise.
2390         * time/settimeofday.c: Likewise.
2391         * time/stime.c: Likewise.
2392         * time/time.c: Likewise.
2394 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2396         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2397         /usr/old/bin.
2399         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2400         instead of spaces.
2401         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2403 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2405         [BZ #14796]
2406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2407         FE_TONEAREST before applying Dekker multiplication and Knuth
2408         addition.  Clear inexact exceptions and check for exact zero
2409         results afterwards.
2410         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2411         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2412         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2413         * math/libm-test.inc (fma_test): Add more tests.
2414         (fma_test_towardzero): Likewise.
2415         (fma_test_downward): Likewise.
2416         (fma_test_upward): Likewise.
2417         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2418         function.
2419         (libc_fesetround): New macro.
2420         (libc_fesetroundf): Likewise.
2421         (libc_fesetroundl): Likewise.
2422         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2423         function.
2424         (libc_fesetround_387): Likewise.
2425         (libc_fesetroundf): New macro.
2426         (libc_fesetround): Likewise.
2427         (libc_fesetroundl): Likewise.
2428         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2429         function.
2430         (libc_fesetroundf): New macro.
2431         (libc_fesetround): Likewise.
2432         (libc_fesetroundl): Likewise.
2433         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2434         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2435         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2436         libm_hidden_ver.
2437         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2438         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2439         libm_hidden_def.
2440         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2441         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2442         libm_hidden_ver.
2443         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2444         libm_hidden_def.
2446         [BZ #3439]
2447         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2448         integer constant usable in #if and use that to give value to enum
2449         constant.
2450         (FE_DIVBYZERO): Likewise.
2451         (FE_UNDERFLOW): Likewise.
2452         (FE_OVERFLOW): Likewise.
2453         (FE_INVALID): Likewise.
2454         (FE_INVALID_SNAN): Likewise.
2455         (FE_INVALID_ISI): Likewise.
2456         (FE_INVALID_IDI): Likewise.
2457         (FE_INVALID_ZDZ): Likewise.
2458         (FE_INVALID_IMZ): Likewise.
2459         (FE_INVALID_COMPARE): Likewise.
2460         (FE_INVALID_SOFTWARE): Likewise.
2461         (FE_INVALID_SQRT): Likewise.
2462         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2463         (FE_TONEAREST): Likewise.
2464         (FE_TOWARDZERO): Likewise.
2465         (FE_UPWARD): Likewise.
2466         (FE_DOWNWARD): Likewise.
2467         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2468         (FE_DIVBYZERO): Likewise.
2469         (FE_OVERFLOW): Likewise.
2470         (FE_UNDERFLOW): Likewise.
2471         (FE_INEXACT): Likewise.
2472         (FE_TONEAREST): Likewise.
2473         (FE_DOWNWARD): Likewise.
2474         (FE_UPWARD): Likewise.
2475         (FE_TOWARDZERO): Likewise.
2476         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2477         (FE_UNDERFLOW): Likewise.
2478         (FE_OVERFLOW): Likewise.
2479         (FE_DIVBYZERO): Likewise.
2480         (FE_INVALID): Likewise.
2481         (FE_TONEAREST): Likewise.
2482         (FE_TOWARDZERO): Likewise.
2483         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2484         (FE_OVERFLOW): Likewise.
2485         (FE_UNDERFLOW): Likewise.
2486         (FE_DIVBYZERO): Likewise.
2487         (FE_INEXACT): Likewise.
2488         (FE_TONEAREST): Likewise.
2489         (FE_TOWARDZERO): Likewise.
2490         (FE_UPWARD): Likewise.
2491         (FE_DOWNWARD): Likewise.
2492         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2493         (FE_DIVBYZERO): Likewise.
2494         (FE_OVERFLOW): Likewise.
2495         (FE_UNDERFLOW): Likewise.
2496         (FE_INEXACT): Likewise.
2497         (FE_TONEAREST): Likewise.
2498         (FE_DOWNWARD): Likewise.
2499         (FE_UPWARD): Likewise.
2500         (FE_TOWARDZERO): Likewise.
2502 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2504         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2506 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2508         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2509         commands.  Quote $PWD.
2510         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2511         -x" by "export".
2512         (remove_newlines): Remove.
2514 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2516         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2517         * stdlib/stdlib.h (atof): Moved to ...
2518         * include/bits/stdlib-float.h: Here.  New file.
2519         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2520         * stdlib/bits/stdlib-float.h: New file.
2521         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2522         -mno-sse -mno-mmx.
2523         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2524         <xmmintrin.h>.
2526 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2528         * conform/conformtest.pl (@headers): Add fenv.h.
2529         * conform/data/fenv.h-data: New file.
2530         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2531         include of <math/fenv.h>.
2533         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2534         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2535         && !UNIX98].  Enables tests for XOPEN2K8.
2536         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2537         POSIX2008]: Likewise.
2539         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2540         (struct rusage): Do not expect type or its members.
2542         [BZ #3439]
2543         * math/math.h (FP_NAN): Define macro to integer constant usable in
2544         #if and use that to give value to enum constant.
2545         (FP_INFINITE): Likewise.
2546         (FP_ZERO): Likewise.
2547         (FP_SUBNORMAL): Likewise.
2548         (FP_NORMAL): Likewise.
2550 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2552         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2553         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2554         arguments.
2556 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2558         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2559         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2560         autoconf-time if not.
2561         * configure.in: Remove AC_PREREQ.
2563 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2565         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2566         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2567         of the internal implementation.
2569 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2571         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2572         except include of <misc/sys/syslog.h>.
2574 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2577         function returns with a NULL context exit with zero.
2579 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2581         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2583 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2585         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2586         (run_program_cmd): This.
2587         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2588         (tst_langinfo): New variable.  Use it.
2590 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2592         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2593         floating point opcodes.
2595 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2597         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2598         variable.
2600         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2602         * sysdeps/mach/hurd/powerpc: Remove directory.
2603         * sysdeps/mach/powerpc: Likewise.
2605 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2607         * scripts/check-local-headers.sh: Ignore c++ headers.
2609 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2611         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2612         __libc_cleanup_region_start argument.
2614 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2616         [BZ #14784]
2617         [BZ #14785]
2618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2619         x * y using scaling, not as x * y + z.
2620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2622         * math/libm-test.inc (fma_test): Add more tests.
2623         (fma_test_towardzero): Likewise.
2624         (fma_test_downward): Likewise.
2625         (fma_test_upward): Likewise.
2627 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2629         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2631 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2633         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2634         New variable.
2636 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2638         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2640 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2643         Fix sort order.
2644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2645         Likewise.
2647 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2650         Fix the order of the list for glibc 2.17.
2651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2652         Likewise.
2654 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2658 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2660         [BZ #14610]
2661         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2662         for low part of x being zero before using __atanl (y).
2663         * math/libm-test.inc (atan2_test): Add another test.
2665         * manual/install.texi (Configuring and compiling): Document
2666         general use of test-wrapper and test-wrapper-env.
2667         * INSTALL: Regenerated.
2669         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2670         (__fma): Do not extract and scale down low bits on after-rounding
2671         systems when result rounded to normal precision would have normal
2672         exponent.
2673         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2674         (__fmal): Do not extract and scale down low bits on after-rounding
2675         systems when result rounded to normal precision would have normal
2676         exponent.
2677         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2678         (__fmal): Do not extract and scale down low bits on after-rounding
2679         systems when result rounded to normal precision would have normal
2680         exponent.
2681         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2682         macro.
2683         (fma_test): Add more tests.
2684         (fma_test_towardzero): Likewise.
2685         (fma_test_downward): Likewise.
2686         (fma_test_upward): Likewise.
2688 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2690         * sysdeps/i386/tininess.h: Renamed to ...
2691         * sysdeps/x86/tininess.h: This.
2692         * sysdeps/x86_64/tininess.h: Removed.
2694 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2696         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2697         input.  Use $(build-program-cmd).
2698         ($(objpfx)tst-array1-static.out): Likewise.
2699         ($(objpfx)tst-array2.out): Likewise.
2700         ($(objpfx)tst-array3.out): Likewise.
2701         ($(objpfx)tst-array4.out): Likewise.
2702         ($(objpfx)tst-array5.out): Likewise.
2703         ($(objpfx)tst-array5-static.out): Likewise.
2705 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2707         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2708         if defined.
2710         * nss/nsswitch.h (nss_interface_function): Provide new
2711         macro for use with NSS functions.
2712         * grp/initgroups.c: Use new macro.
2713         * nss/getXXbyYY.c: Likewise.
2714         * nss/getXXbyYY_r.c: Likewise.
2715         * nss/getXXent.c: Likewise.
2716         * nss/getXXent_r.c: Likewise.
2717         * sysdeps/posix/getaddrinfo.c: Likewise.
2719 2012-10-30  Andreas Jaeger  <aj@suse.de>
2721         * po/ru.po: Update Russion translation from translation project.
2723 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2725         [BZ #14152]
2726         [BZ #14783]
2727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2728         result and shift together with sticky bit instead of replicating
2729         round-to-nearest rounding.
2730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2732         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2733         missing underflow exceptions.
2734         (fma_test_towardzero): Add more tests.
2735         (fma_test_downward): Likewise.
2736         (fma_test_upward): Likewise.
2738         [BZ #14047]
2739         * sysdeps/generic/tininess.h: New file.
2740         * sysdeps/i386/tininess.h: Likewise.
2741         * sysdeps/sh/tininess.h: Likewise.
2742         * sysdeps/x86_64/tininess.h: Likewise.
2743         * stdlib/tst-strtod-underflow.c: Likewise.
2744         * stdlib/tst-tininess.c: Likewise.
2745         * stdlib/strtod_l.c: Include <tininess.h>.
2746         (round_and_return): Do not set errno for exact underflow cases.
2747         Force an underflow exception when setting errno for underflow.
2748         Determine underflow based on rounding to normal precision if
2749         TININESS_AFTER_ROUNDING.
2750         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2751         ERANGE for exact underflow cases.
2752         * stdlib/Makefile (tests): Add tst-tininess and
2753         tst-strtod-underflow.
2754         ($(objpfx)tst-tininess): Use $(link-libm).
2755         ($(objpfx)tst-strtod-underflow): Likewise.
2757 2012-10-30  Andreas Jaeger  <aj@suse.de>
2759         [BZ#14767]
2760         * elf/Makefile (tests): Remove conditional for have-initfini-array
2761         since this is now always required and the variable does not exist
2762         anymore.
2763         (tests-static): Likewise.
2764         (modules-names): Likewise.
2766         * po/eo.po: Add Esperanto translation from translation project.
2768         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2769         merged with constructor/destructor.
2770         (init_array): Likewise.
2771         * elf/tst-array2dep.c (fini_array): Likewise.
2772         (init_array): Likewise.
2774 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2776         * manual/message.texi: Delete @cartouche tags.
2778 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2780         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2781         EOPNOTSUPP.
2782         * sysdeps/mach/hurd/fsync.c: Likewise.
2784         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2785         [_POSIX_REALTIME_SIGNALS]: Change condition to
2786         [_POSIX_REALTIME_SIGNALS > 0].
2788 2012-10-27  Andreas Jaeger  <aj@suse.de>
2790         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2791         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2793         [__WORDSIZE != 64]: Likewise.
2795 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2797         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2798         *  iconvdata/tst-tables.sh: Likewise.
2800 2012-10-25  David S. Miller  <davem@davemloft.net>
2802         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2803         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2804         of strtoull.
2806         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2807         ifunc-impl-list.c
2808         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2809         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2810         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2811         file.
2813 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2815         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2816         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2817         __getdirentries.
2819 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2820             Jim Blandy  <jimb@codesourcery.com>
2822         * scripts/cross-test-ssh.sh: New file.
2823         * manual/install.texi (Configuring and compiling): Document use of
2824         cross-test-ssh.sh.
2825         * INSTALL: Regenerated.
2827 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2829         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2830         EOPNOTSUPP.
2832 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2834         * Makeconfig (run-program-prefix): Fix comment.
2836 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2837             Jim Blandy  <jimb@codesourcery.com>
2839         * Makeconfig (test-wrapper): New variable,
2840         (test-wrapper-env): Likewise.
2841         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2842         (run-built-tests): Define to yes.
2843         (run-program-prefix): Use $(test-wrapper).
2844         (built-program-cmd): Likewise.
2845         * Rules (make-test-out): Use $(test-wrapper-env) and
2846         $(host-built-program-cmd).
2847         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2848         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2849         tst-pathopt.sh.
2850         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2851         $(test-wrapper-env) to tst-rtld-load-self.sh.
2852         ($(objpfx)order2.out): Use $(test-wrapper).
2853         ($(objpfx)tst-initorder.out): Likewise.
2854         ($(objpfx)tst-initorder2.out): Likewise.
2855         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2856         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2857         (test_wrapper_env): New variable.  Use it to run ld.so.
2858         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2859         Use it to run ld.so.
2860         (test_wrapper_env): Likewise.
2861         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2862         $(test-wrapper) to run-iconv-test.sh.
2863         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2864         (ICONV): Use $test_wrapper.
2865         * posix/Makefile ($(objpfx)globtest.out): Pass
2866         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2867         globtest.sh, not $(run-program-prefix).
2868         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2869         (test_wrapper): Likewise.
2870         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2871         set together with run_via_rtld_prefix.
2872         (run_program_prefix): Define in terms of test_wrapper and
2873         run_via_rtld_prefix.
2875 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2877         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2878         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2879         Targets removed.
2881         [BZ #14743]
2882         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2883         Declare __clock_getres, __clock_gettime, __clock_settime,
2884         __clock_nanosleep, and __clock_getcpuclockid.
2885         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2886         Remove librt_hidden_def (clock_gettime).
2887         * sysdeps/unix/clock_gettime.c: Likewise.
2888         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2889         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2890         * rt/clock_getres.c: Define __clock_getres as an alias.
2891         * sysdeps/posix/clock_getres.c: Likewise.
2892         * rt/clock_settime.c: Define __clock_settime as an alias.
2893         * sysdeps/unix/clock_settime.c: Likewise.
2894         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2895         * sysdeps/unix/clock_nanosleep.c: Likewise.
2896         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2897         * rt/clock-compat.c: New file.
2898         * rt/Makefile (librt-routines): Add clock-compat and move
2899         $(clock-routines) to ...
2900         (routines): ... here, new variable.
2901         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2902         Don't add get_clockfreq here.
2903         * rt/Versions (libc: GLIBC_2.17): New version set.
2904         Add clock_* symbols here.
2905         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2906         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2907         (GLIBC_2.17): Add clock_* symbols.
2908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2910         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2912         Likewise.
2913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2914         Likewise.
2915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2919         * NEWS: Mention the move.
2921         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2922         Use __open, __read, __close rather than their public counterparts.
2923         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2924         (__get_clockfreq_via_cpuinfo): Likewise.
2925         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2926         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2928         * config.h.in (HAVE_IFUNC): New #undef.
2929         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2930         was successful.
2931         * configure: Regenerated.
2933 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2935         * configure.in: Move READELF check to start of file.
2936         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2937         libc_cv_asm_gnu_indirect_function in the process.
2938         * configure: Regenerated.
2940 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2942         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2943         send the output to /dev/null.
2944         (libc_cv_cc_with_libunwind): Likewise.
2945         (libc_cv_as_noexecstack): Likewise.
2946         * configure: Regenerate.
2948 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2950         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2952         * posix/globtest.sh (TMPDIR): Do not set.
2953         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2954         (testout): Likewise.
2956 2012-10-24  Andreas Jaeger  <aj@suse.de>
2958         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2959         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2960         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2961         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2962         posix_fadvise64, posix_fallocate64.
2964         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2965         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2966         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2967         Likewise.
2968         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2969         Likewise.
2970         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2973         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2974         <bits/fcntl-linux.h>.
2975         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2978         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2979         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2980         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2981         [__WORDSIZE != 64]: Likewise.
2983 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2985         * Makeconfig (run-built-tests): New variable.
2986         * Rules [$(cross-compiling) = yes]: Change condition to
2987         [$(run-built-tests) = no].
2988         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2989         to [$(run-built-tests) = yes].
2990         * elf/Makefile [$(cross-compiling) = no]: Likewise
2991         * grp/Makefile [$(cross-compiling) = no]: Likewise.
2992         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2993         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2994         * intl/Makefile [$(cross-compiling) = no]: Likewise.
2995         * io/Makefile [$(cross-compiling) = no]: Likewise.
2996         * libio/Makefile [$(cross-compiling) = no]: Likewise.
2997         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2998         * misc/Makefile [$(cross-compiling) = no]: Likewise.
2999         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3000         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3001         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3002         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3003         * string/Makefile [$(cross-compiling) = no]: Likewise.
3005         * posix/Makefile ($(objpfx)globtest.out): Pass
3006         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3007         $(rtld-installed-name).
3008         * posix/globtest.sh (elf_objpfx): Remove variable.
3009         (rtld_installed_name): Likewise.
3010         (library_path): Likewise.
3011         (run_program_prefix): New variable.  Use for running globtest
3012         binary.
3014 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3015             Joseph Myers  <joseph@codesourcery.com>
3017         * Makeconfig (host-built-program-cmd): New variable.
3018         * elf/Makefile (tst-stackguard1-ARGS): Use
3019         $(host-built-program-cmd).
3020         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3021         (tst-spawn-ARGS): Likewise.
3022         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3024 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3025             Jim Blandy  <jimb@codesourcery.com>
3027         * Makeconfig (run-via-rtld-prefix): New variable.
3028         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3029         (built-program-cmd): Likewise.
3031 2012-10-22  Andreas Jaeger  <aj@suse.de>
3033         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3034         __O_RSYNC if it exists, otherwise to O_SYNC.
3036 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3037             Joseph Myers  <joseph@codesourcery.com>
3039         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3040         /dev/null.
3041         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3042         from /dev/null
3043         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3044         /dev/null.
3046 2012-10-22  Andreas Jaeger  <aj@suse.de>
3048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3049         Define always.
3050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3053         bits/fcntl-linux.h.
3055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3056         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3059         to __O_LARGEFILE.
3060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3061         to __O_LARGEFILE.
3063 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3064             Joseph Myers  <joseph@codesourcery.com>
3066         * config.make.in (NM): New variable.
3068 2012-10-21  Andreas Jaeger  <aj@suse.de>
3070         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3071         definitions and declarations that are provided by
3072         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3074 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3076         [BZ #14683]
3077         * elf/Makefile (tests-static): Add tst-leaks1-static.
3078         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3079         ($(objpfx)tst-leaks1-static): New rule.
3080         ($(objpfx)tst-leaks1-static-mem): Likewise.
3081         (tst-leaks1-static-ENV): New macro.
3082         * elf/dl-open.c (dl_open_worker): Check the main application
3083         only if SHARED is defined.
3084         * elf/tst-leaks1-static.c: New file.
3086 2012-10-20  Andreas Jaeger  <aj@suse.de>
3088         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3089         generic values for Linux.
3090         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3091         and declarations that are provided by <bits/fcntl-linux.h> and
3092         include <bits/fcntl-linux.h>.
3093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3096 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3098         * io/fcntl.h: Move include of <bits/types.h> to the top and
3099         include it unconditionally.
3101 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3103         * wcsmbs/Makefile (tests-ifunc): New variable.
3104         (tests): Add $(tests-ifunc).
3105         * wcsmbs/test-wcschr-ifunc.c: New file.
3106         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3107         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3108         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3109         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3110         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3112         * string/Makefile (tests-ifunc): New variable.
3113         (tests): Add $(tests-ifunc).
3114         * string/test-memccpy.c (TEST_NAME): New macro.
3115         * string/test-memchr.c (TEST_NAME): Likewise.
3116         * string/test-memcmp.c (TEST_NAME): Likewise.
3117         * string/test-memcpy.c (TEST_NAME): Likewise.
3118         * string/test-memmem.c (TEST_NAME): Likewise.
3119         * string/test-memmove.c (TEST_NAME): Likewise.
3120         * string/test-memset.c (TEST_NAME): Likewise.
3121         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3122         * string/test-stpcpy.c (TEST_NAME): Likewise.
3123         * string/test-stpncpy.c (TEST_NAME): Likewise.
3124         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3125         * string/test-strcasestr.c (TEST_NAME): Likewise.
3126         * string/test-strcat.c (TEST_NAME): Likewise.
3127         * string/test-strchr.c (TEST_NAME): Likewise.
3128         * string/test-strcmp.c(TEST_NAME): Likewise.
3129         * string/test-strcpy.c (TEST_NAME): Likewise.
3130         * string/test-strcspn.c (TEST_NAME): Likewise.
3131         * string/test-strlen.c (TEST_NAME): Likewise.
3132         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3133         * string/test-strncmp.c (TEST_NAME): Likewise.
3134         * string/test-strncpy.c (TEST_NAME): Likewise.
3135         * string/test-strnlen.c (TEST_NAME): Likewise.
3136         * string/test-strpbrk.c (TEST_NAME): Likewise.
3137         * string/test-strrchr.c (TEST_NAME): Likewise.
3138         * string/test-strspn.c (TEST_NAME): Likewise.
3139         * string/test-strstr.c (TEST_NAME): Likewise.
3140         * string/test-bcopy-ifunc.c: New file.
3141         * string/test-bzero-ifunc.c: Likewise.
3142         * string/test-memccpy-ifunc.c: Likewise.
3143         * string/test-memchr-ifunc.c: Likewise.
3144         * string/test-memcmp-ifunc.c: Likewise.
3145         * string/test-memcpy-ifunc.c: Likewise.
3146         * string/test-memmem-ifunc.c: Likewise.
3147         * string/test-memmove-ifunc.c: Likewise.
3148         * string/test-mempcpy-ifunc.c: Likewise.
3149         * string/test-memset-ifunc.c: Likewise.
3150         * string/test-rawmemchr-ifunc.c: Likewise.
3151         * string/test-stpcpy-ifunc.c: Likewise.
3152         * string/test-stpncpy-ifunc.c: Likewise.
3153         * string/test-strcasecmp-ifunc.c: Likewise.
3154         * string/test-strcasestr-ifunc.c: Likewise.
3155         * string/test-strcat-ifunc.c: Likewise.
3156         * string/test-strchr-ifunc.c: Likewise.
3157         * string/test-strchrnul-ifunc.c: Likewise.
3158         * string/test-strcmp-ifunc.c: Likewise.
3159         * string/test-strcpy-ifunc.c: Likewise.
3160         * string/test-strcspn-ifunc.c: Likewise.
3161         * string/test-strlen-ifunc.c: Likewise.
3162         * string/test-strncasecmp-ifunc.c: Likewise.
3163         * string/test-strncat-ifunc.c: Likewise.
3164         * string/test-strncmp-ifunc.c: Likewise.
3165         * string/test-strncpy-ifunc.c: Likewise.
3166         * string/test-strnlen-ifunc.c: Likewise.
3167         * string/test-strpbrk-ifunc.c: Likewise.
3168         * string/test-strrchr-ifunc.c: Likewise.
3169         * string/test-strspn-ifunc.c: Likewise.
3170         * string/test-strstr-ifunc.c: Likewise.
3172         * debug/Makefile (tests-ifunc): New variable.
3173         (tests): Add $(tests-ifunc).
3174         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3175         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3176         * debug/test-stpcpy_chk-ifunc.c: New file.
3177         * debug/test-strcpy_chk-ifunc.c: Likewise.
3179 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3181         [BZ #13601]
3182         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3183         header is not read in.
3185 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3187         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3188         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3189         directly.  Pass built executable to script as
3190         $(built-program-cmd).
3191         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3192         $testprogram without using LD_LIBRARY_PATH and $ldso.
3194         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3195         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3196         $(rtld-installed-name).
3197         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3198         (rtld_installed_name): Likewise.
3199         (library_path): Likewise.
3200         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3201         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3202         $(run-program-prefix) to tst-tables.sh.
3203         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3204         it to run tst-table-from and tst-table-to.
3205         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3206         Pass it to tst-table.sh.
3207         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3208         $(run-program-prefix) to tst-gettext.sh.
3209         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3210         tst-translit.sh.
3211         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3212         tst-gettext2.sh.
3213         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3214         to run tst-gettext.
3215         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3216         to run tst-gettext2.
3217         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3218         to run tst-translit.
3219         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3220         $(run-program-prefix) to tst-mtrace.sh.
3221         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3222         to run tst-mtrace.
3223         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3224         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3225         $(rtld-installed-name).
3226         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3227         (rtld_installed_name): Likewise.
3228         (run_program_prefix): New variable.  Use it to run wordexp-test.
3230         * Makeconfig (ARCH): Remove all definitions.
3231         (machine): Likewise.
3232         [ARCH]: Remove conditional code.
3233         [!objdir]: Give error.
3234         [!objdir] (objpfx): Remove.
3235         [!objdir] (common-objpfx): Likewise.
3236         [!objdir] (common-objdir): Likewise.
3237         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3238         AC_CONFIG_FILES call.
3239         * configure: Regenerated.
3241         [BZ #13888]
3242         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3243         or TMPDIR.
3244         (testout): Likewise.
3246         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3247         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3248         $(rtld-installed-name).
3249         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3250         (rtld_installed_name): Likwise.
3251         (runit): Remove function.
3252         (run_getconf): New variable,  Use it for running getconf binary.
3254 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3256         [BZ #14716]
3257         * string/test-memmem.c (check_result): New function.
3258         (do_one_test): Use it.
3259         (check1): New function.
3260         (test_main): Use it.
3262 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3264         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3266 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3268         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3269         (_G_LSEEK64): Likewise.
3270         (_G_MMAP64): Likewise.
3271         (_G_FSTAT64): Likewise.
3272         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3273         (_G_LSEEK64): Likewise.
3274         (_G_MMAP64): Likewise.
3275         (_G_FSTAT64): Likewise.
3276         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3277         unconditional.  Call __mmap64 directly.
3278         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3279         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3280         __lseek64 directly.
3281         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3282         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3283         __mmap64 directly.
3284         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3285         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3286         __lseek64 directly.
3287         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3288         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3289         __lseek64 directly.
3290         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3291         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3292         __lseek64 directly.
3293         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3294         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3295         __fxstat64 directly.
3296         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3297         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3298         unconditional.
3299         (freopen64) [!_G_OPEN64]: Remove conditional code.
3300         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3301         unconditional.
3302         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3303         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3304         unconditional.
3305         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3306         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3307         unconditional.
3308         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3309         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3310         unconditional.
3311         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3312         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3313         unconditional.
3314         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3315         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3316         unconditional.
3317         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3318         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3319         unconditional.
3320         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3322 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3324         [BZ #12140]
3325         * manual/memory.texi (Malloc Tunable Parameters): Add note
3326         about free list pointers overwriting some perturb bytes.
3327         Wording suggested by Roland McGrath.
3329 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3331         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3332         (lgamma_test): Likewise.
3333         (tgamma_test): Likewise.
3335 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3337         [BZ #14700]
3338         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3339         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3341 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3343         * NEWS: Mention BZ #14716.
3344         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3345         when removing AVAILABLE1_USES_J macro.
3347 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3349         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3350         (__bswap_64): __uint64_t for unsigned 64-bit int.
3352 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3354         * include/string.h (memmem): Declare libc hidden alias.
3355         * string/memmem.c (memmem): Define libc hidden alias.
3356         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3357         __read, __close instead of open, read, close.
3359 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3361         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3362         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3363         global and hidden.
3364         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3365         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3366         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3367         Likewise.
3368         (__rawmemchr_sse2): Likewise.
3369         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3370         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3371         (__strchr_sse2): Likewise.
3372         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3373         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3374         (__strcasecmp_sse2): Likewise.
3375         (__strncasecmp_sse2): Likewise.
3376         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3377         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3378         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3379         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3380         (__strrchr_sse2): Likewise.
3381         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3382         ifunc-impl-list.c.
3383         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3384         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3385         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3386         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3387         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3388         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3389         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3390         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3391         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3392         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3393         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3394         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3395         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3396         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3397         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3398         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3399         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3400         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3401         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3402         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3403         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3404         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3405         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3406         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3407         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3408         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3409         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3410         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3411         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3412         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3414         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3415         global and hidden.
3416         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3417         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3418         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3419         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3420         Likewise.
3421         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3422         Likewise.
3423         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3424         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3425         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3426         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3427         ifunc-impl-list.c.
3428         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3429         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3430         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3431         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3432         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3433         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3434         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3435         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3436         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3437         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3438         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3439         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3440         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3441         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3442         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3443         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3444         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3445         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3446         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3447         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3448         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3449         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3450         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3451         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3452         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3453         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3454         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3455         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3456         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3457         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3458         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3459         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3460         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3461         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3462         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3463         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3464         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3465         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3466         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3467         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3468         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3470         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3471         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3472         * include/ifunc-impl-list.h: New file.
3473         * misc/ifunc-impl-list.c: Likewise.
3474         * misc/Makefile (routines): Add ifunc-impl-list.
3475         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3476         * string/test-string.h: Include <ifunc-impl-list.h>.
3477         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3478         impl_array): New variables.
3479         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3480         are defined.
3481         (test_init): Call __libc_ifunc_impl_list to initialize
3482         func_list if TEST_IFUNC and TEST_NAME are defined.
3484         * string/Makefile (strop-tests): Add bcopy and bzero.
3485         * string/test-bcopy.c: New file.
3486         * string/test-bzero.c: Likewise.
3487         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3488         defined.
3489         * string/test-memset.c: Support bzero test if TEST_BZERO is
3490         defined.
3491         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3492         __libc_memmove.
3493         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3494         __libc_memset.
3495         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3496         of memset.
3498 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3500         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3501         * configure: Regenerated.
3503         * Makeconfig (+link-static-before-libc): Don't include
3504         $(link-static-libc).
3506         * libio/libio.h (_IO_pos_t): Remove.
3508 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3510         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3511         McGrath.
3513 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3515         * crypt/crypt-entry.c: Include fips-private.h.
3516         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3517         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3518         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3519         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3521 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3523         * crypt/crypt-private.h: Include stdbool.h.
3524         (_ufc_setup_salt_r): Return bool.
3525         * crypt/crypt-entry.c: Include errno.h.
3526         (__crypt_r): Return NULL with EINVAL for bad salt.
3527         * crypt/crypt_util.c (bad_for_salt): New.
3528         (_ufc_setup_salt_r): Check that salt is long enough and within
3529         the specified alphabet.
3530         * crypt/badsalttest.c: New file.
3531         * crypt/Makefile (tests): Add it.
3532         ($(objpfx)badsalttest): New.
3534 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3536         * NEWS: Add entry for BZ #14602.
3538 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3540         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3541         type-generic.
3542         * math/libm-test.inc: Update comment listing what functions and
3543         macros are tested.
3544         (isgreater_test): New function.
3545         (isgreaterequal_test): Likewise.
3546         (isless_test): Likewise.
3547         (islessequal_test): Likewise.
3548         (islessgreater_test): Likewise.
3549         (isunordered_test): Likewise.
3550         (main): Call the new functions.
3552 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3554         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3555         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3556         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3557         * sysdeps/i386/configure: Regenerated.
3558         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3559         * sysdeps/mach/configure: Regenerated.
3560         * sysdeps/mach/hurd/configure: Regenerated.
3561         * sysdeps/powerpc/configure: Regenerated.
3562         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3563         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3564         * sysdeps/s390/s390-32/configure: Regenerated.
3565         * sysdeps/s390/s390-64/configure: Regenerated.
3566         * sysdeps/sh/configure: Regenerated.
3567         * sysdeps/sparc/configure: Regenerated.
3568         * sysdeps/unix/sysv/linux/configure: Regenerated.
3569         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3570         * sysdeps/x86_64/configure: Regenerated.
3572         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3573         defined.  Don't check if MAP is NULL.
3575 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3577         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3578         (_G_stat64): Likewise.
3579         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3580         (_G_stat64): Likewise.
3581         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3582         instead of struct _G_stat64.
3583         * libio/fileops.c (mmap_remap_check): Likewise.
3584         (decide_maybe_mmap): Likewise.
3585         (_IO_new_file_seekoff): Likewise.
3586         (_IO_file_stat): Likewise.
3587         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3588         _G_off64_t.
3589         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3590         instead of struct _G_stat64.
3591         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3593 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3595         [BZ #14602]
3596         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3597         Replace with ...
3598         (CHECK_EOL): New macro.
3599         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3600         CHECK_EOL.
3601         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3602         Replace with CHECK_EOL.
3603         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3604         Replace with CHECK_EOL.
3606 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3608         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3609         type-generic.
3610         * math/libm-test.inc: Update comment listing what functions and
3611         macros are tested.
3612         (finite_test): New function.
3613         (isinf_test): Likewise.
3614         (isnan_test): Likewise.
3615         (fpclassify_test): Test subnormal input.
3616         (isfinite_test): Likewise.
3617         (isnormal_test): Likewise.
3618         (main): Call the new functions.
3620 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3622         [BZ #14660]
3623         * Makerules (%.dynsym): Force C locale when running
3624         $(OBJDUMP) --dynamic-syms.
3626 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3628         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3629         <stdint.h>.
3631 2012-10-06  David S. Miller  <davem@davemloft.net>
3633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3634         upper 32-bits of the length value in %o2 since we use branch-on-register
3635         tests which consider the entire 64-bit register.
3637 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3639         * string/test-strstr.c (check2): Add a test for page boundary.
3641 2012-10-05  David S. Miller  <davem@davemloft.net>
3643         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3644         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3645         file.
3646         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3647         sysdep_routines.
3648         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3649         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3650         and bzero when HWCAP_SPARC_CRYPTO is present.
3652 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3654         [BZ #14602]
3655         * string/test-strstr.c (check2): New function.
3656         (test_main): Call check2.
3658         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3659         and bug-strchr1.
3660         * string/bug-strcasestr1.c (do_test): Moved to ...
3661         * string/test-strcasestr.c (check1): Here.  New function.
3662         (do_one_test): Break out result checking code into ...
3663         (check_result): This.  New function.
3664         (do_one_test): Call check_result.
3665         (test_main): Call check1.
3666         * string/bug-strchr1.c (do_test): Moved to ...
3667         * string/test-strchr.c (check1): Here.  New function.
3668         (do_one_test): Break out result checking code into ...
3669         (check_result): This.  New function.
3670         (do_one_test): Call check_result.
3671         (test_main): Call check1.
3672         * string/bug-strstr1.c (main): Moved to ...
3673         * string/test-strchr.c (check1): Here.  New function.
3674         (do_one_test): Break out result checking code into ...
3675         (check_result): This.  New function.
3676         (do_one_test): Call check_result.
3677         (test_main): Call check1.
3678         * string/bug-strcasestr1.c: Removed.
3679         * string/bug-strchr1.c: Likewise.
3680         * string/bug-strstr1.c: Likewise.
3682         * elf/Makefile (dl-routines): Add hwcaps.
3683         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3684         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3685         (_dl_important_hwcaps): Moved to ...
3686         * elf/dl-hwcaps.c: Here.  New file.
3687         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3689         [BZ #14557]
3690         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3691         if IS_IN_rtld isn't defined.
3693         * elf/dl-support.c (_dl_sysinfo_map): New.
3694         Include "get-dynamic-info.h" and "setup-vdso.h".
3695         (_dl_non_dynamic_init): Call setup_vdso.
3696         * elf/dynamic-link.h: Don't include <assert.h>.
3697         (elf_get_dynamic_info): Moved to ...
3698         * elf/get-dynamic-info.h: Here.  New file.
3699         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3700         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3701         * elf/setup-vdso.h: Here.  New file.
3702         * elf/rtld.c: Include "setup-vdso.h".
3703         (dl_main): Call setup_vdso.
3705 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3707         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3708         creal in comment listing functions tested.  List finite, isinf,
3709         isnan, isless, islessequal, isgreater, isgreaterequal,
3710         islessgreater, isunordered, lgamma_r and pow10 as functions and
3711         macros not tested.  Mention which functions not tested are aliases
3712         for other functions.  Fix typo.  Note that signs of NaNs are not
3713         tested.
3715         * scripts/config.guess: Update from config.git.
3716         * scripts/config.sub: Likewise.
3718 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3720         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3721         * misc/madvise.c (madvise): Renamed to __madvise.
3722         Make madvise a weak alias.
3723         * include/sys/mman.h: Declare __madvise.
3724         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3725         * sysdeps/unix/syscalls.list
3726         (madvise): Make __madvise the strong name, and madvise a weak alias.
3727         * sysdeps/unix/sysv/linux/syscalls.list
3728         (madvise, mmap): Remove redundant entries.
3729         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3730         * malloc/malloc.c (mtrim): Likewise.
3731         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3733 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3735         * sysdeps/mach/hurd/dl-cache.c: File removed.
3736         * config.h.in (USE_LDCONFIG): New #undef.
3737         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3738         * configure: Regenerated.
3739         * elf/Makefile (dl-routines): Add dl-cache only under
3740         [$(use-ldconfig) = yes].
3741         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3742         cache on [USE_LDCONFIG].
3743         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3744         [USE_LDCONFIG].
3745         * elf/rtld.c (dl_main): Likewise.
3747 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3749         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3750         _SC_LEVEL4_CACHE_LINESIZE.
3752 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3754         * sysdeps/unix/bsd/confstr.h: File removed.
3756 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3758         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3759         sys/sdt-config.h.
3761 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3763         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3764         Make 'mapoff' field ElfW(Off) rather than off_t.
3766 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3768         * nscd/Makefile: Remove nscd-cflags and all its users.
3769         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3770         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3772         [BZ #10631]
3773         * malloc.c (malloc_printerr): Clarify error message.
3775 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3777         [BZ #14648]
3778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3779         Set bit_FMA_Usable if FMA is supported.
3780         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3781         macro.
3782         (bit_FMA4_Usable): Updated.
3783         (index_FMA_Usable): New macro.
3784         (CPUID_FMA): Likewise
3785         (HAS_FMA): Defined with bit_FMA_Usable.
3787 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3789         * bits/types.h (__swblk_t): Type removed.
3790         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3791         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3792         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3793         (__SWBLK_T_TYPE): Likewise.
3794         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3795         (__SWBLK_T_TYPE): Likewise.
3796         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3797         (__SWBLK_T_TYPE): Likewise.
3798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3799         (__SWBLK_T_TYPE): Likewise.
3801 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3802             Honza Horak <hhorak@redhat.com>
3804         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3805         (xdr_mapname): Use YPMAXMAP as maxsize.
3806         (xdr_peername): Use YPMAXPEER as maxsize.
3807         (xdr_keydat): Use YPAXRECORD as maxsize.
3808         (xdr_valdat): Use YPMAXRECORD as maxsize.
3810 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3812         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3814         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3815         * csu/init-first.c: ... here.
3816         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3817         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3818         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3819         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3820         * sysdeps/i386/init-first.c: File removed.
3821         * sysdeps/sh/init-first.c: File removed.
3823 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3825         [BZ #14645]
3826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3827         if x * y might underflow to zero and z is zero.
3828         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3829         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3830         * math/libm-test.inc (min_subnorm_value): New variable.
3831         (fma_test): Add more tests.
3832         (fma_test_towardzero): Likewise.
3833         (fma_test_downward): Likewise
3834         (fma_test_upward): Likewise.
3835         (initialize): Set min_subnorm_value.
3837 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3839         [BZ #14638]
3840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3841         0 + 0.
3842         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3843         mode for addition resulting in exact zero.
3844         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3845         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3846         exact 0 + 0.
3847         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3848         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3849         * math/libm-test.inc (fma_test): Add more tests.
3850         (fma_test_towardzero): New function.
3851         (fma_test_downward): Likewise.
3852         (fma_test_upward): Likewise.
3853         (main): Call the new functions.
3855 2012-09-28  David S. Miller  <davem@davemloft.net>
3857         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3859 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3861         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3862         instead of SIGALRM.
3864         * sysdeps/gnu/_G_config.h: Moved to ...
3865         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3866         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3867         * sysdeps/generic/_G_config.h: ... here.
3869         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3871         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3873         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3874         Conditionalize target on [libnss_test1.so-version].
3876         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3878         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3879         (elfobjdir): Move out of conditionals.
3881         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3882         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3883         (__nss_lookup_function): Conditionalize label remove_from_tree on
3884         [!DO_STATIC_NSS || SHARED], matching its only use.
3886 2012-09-28  David S. Miller  <davem@davemloft.net>
3888         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3889         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3890         file.
3891         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3892         sysdep_routines.
3893         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3895         when HWCAP_SPARC_CRYPTO is present.
3897 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3899         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3901 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3903         [BZ #6530]
3904         * stdio-common/vfprintf.c (process_string_arg): Revert
3905         2000-07-22 change.
3907 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3909         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3910         for testcase.
3911         * stdio-common/tst-sprintf.c: Include <locale.h>
3912         (main): Test sprintf's handling of incomplete multibyte
3913         characters.
3915 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3917         * elf/dl-runtime.c (VERSYMIDX): Removed.
3918         * elf/dl-version.c (VERSYMIDX): Likewise.
3919         * elf/do-rel.h (VERSYMIDX): Likewise.
3920         (VALIDX): Likewise.
3921         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3922         * elf/rtld.c (VALIDX): Likewise.
3923         (ADDRIDX): Likewise.
3924         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3925         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3926         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3927         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3928         (VALIDX): Likewise.
3929         (ADDRIDX): Likewise.
3931 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3933         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3935 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3937         [BZ #11438]
3938         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3939         to global scope.
3940         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3941         addresses are in the same scope as 192.0.2/24.
3942         * posix/gai.conf: Document new scope table defaults.
3944 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3946         [BZ #5298]
3947         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3948         for ftell.  Compute offsets from write pointers instead.
3949         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3951 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3953         [BZ #14543]
3954         * libio/Makefile (tests): New test case tst-fseek.
3955         * libio/tst-fseek.c: New test case to verify that fseek/ftell
3956         combination works in wide mode.
3957         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3958         state when the external buffer state changes.
3960 2012-09-27  David S. Miller  <davem@davemloft.net>
3962         [BZ #14376]
3963         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3964         pass reloc->r_addend in as the 'high' argument to
3965         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3969 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3971         * rt/tst-aio2.c: Include <pthread.h>.
3972         * rt/tst-aio3.c: Likewise.
3974 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3976         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3978 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3980         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3981         contents on [SHARED].
3983 2012-09-26  Marek Polacek  <polacek@redhat.com>
3985         [BZ #14530]
3986         [BZ #13741]
3987         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3988         for C++ and GCC <4.3 as well as for non GCC compilers.
3990 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3994 2012-09-25  Roland McGrath  <roland@hack.frob.com>
3996         * Makefile.in (all, install): Declare with .PHONY.
3997         Reported by Michael Hope <michael.hope@linaro.org>.
3999 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4001         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4002         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4003         system header.
4004         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4005         Likewise.
4006         (sydep_routines): Add the new and the internal functions.
4007         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4008         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4010         (GLIBC_2.17): Add the new function.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4012         (GLIBC_2.17): Likewise.
4013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4014         (GLIBC_2.17): Likewise.
4015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4016         (GLIBC_2.17): Likewise.
4017         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4019 2012-09-25  Alan Modra  <amodra@gmail.com>
4021         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4022         Add release barrier before setting once_control to say
4023         initialisation is done.  Add hints on lwarx.  Use macro in
4024         place of isync.
4025         (clear_once_control): Add release barrier.
4027 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4029         [BZ #13629]
4030         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4031         specially.
4032         * math/s_clog10.c (__clog10): Likewise.
4033         * math/s_clog10f.c (__clog10f): Likewise.
4034         * math/s_clog10l.c (__clog10l): Likewise.
4035         * math/s_clogf.c (__clogf): Likewise.
4036         * math/s_clogl.c (__clogl): Likewise.
4037         * math/Makefile (libm-calls): Add x2y2m1.
4038         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4039         (__x2y2m1): Likewise.
4040         (__x2y2m1l): Likewise.
4041         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4042         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4043         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4044         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4045         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4046         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4047         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4048         * sysdeps/i386/fpu/libm-test-ulps: Update.
4049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4051         [BZ #14621]
4052         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4053         int as type of variable DEPTH.
4054         (glob): Use size_t instead of int as type of variables NEWCOUNT
4055         and OLD_PATHC.
4057 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4059         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4060         Add s_sincosf-sse2.
4061         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4062         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4063         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4064         macros for using routine as __sincosf_ia32.
4065         Use macro for function declaration and weak_alias.
4066         * sysdeps/i386/fpu/libm-test-ulps: Update.
4068         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4071         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4072         subnormal argument.
4073         * math/s_cexpf.c (__cexpf): Likewise.
4074         * math/s_csinf.c (__csinf): Likewise.
4075         * math/s_csinhf.c (__csinhf): Likewise.
4076         * math/s_ctanf.c (__ctanf): Likewise.
4077         * math/s_ctanhf.c (__ctanhf): Likewise.
4078         * math/s_ccosh.c (__ccoshf): Likewise.
4079         * math/s_cexp.c (__cexpl): Likewise.
4080         * math/s_csin.c (__csin): Likewise.
4081         * math/s_csinh.c (__csinh): Likewise.
4082         * math/s_ctan.c (__ctan): Likewise.
4083         * math/s_ctanh.c (ctanh): Likewise.
4084         * math/s_ccoshl.c (__ccoshl): Likewise.
4085         * math/s_cexpl.c (__cexpl): Likewise.
4086         * math/s_csinl.c (__csinl): Likewise.
4087         * math/s_csinhl.c (__csinhl): Likewise.
4088         * math/s_ctanl.c (__ctanl): Likewise.
4089         * math/s_ctanhl.c (__ctanhl): Likewise.
4091 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4093         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4094         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4095         (_IO_off_t): Define to __off_t, not _G_off_t.
4096         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4097         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4098         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4099         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4100         type of __dummy and __dummy2 fields.
4101         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4102         (_G_ssize_t): Likewise.
4103         (_G_off_t): Likewise.
4104         (_G_pid_t): Likewise.
4105         (_G_uid_t): Likewise.
4106         (_G_wchar_t): Likewise.
4107         (_G_wint_t): Likewise.
4108         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4109         (_G_ssize_t): Likewise.
4110         (_G_off_t): Likewise.
4111         (_G_pid_t): Likewise.
4112         (_G_uid_t): Likewise.
4113         (_G_wchar_t): Likewise.
4114         (_G_wint_t): Likewise.
4115         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4116         (_G_ssize_t): Likewise.
4117         (_G_off_t): Likewise.
4118         (_G_pid_t): Likewise.
4119         (_G_uid_t): Likewise.
4120         (_G_wchar_t): Likewise.
4121         (_G_wint_t): Likewise.
4123 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4125         * malloc/arena.c: Include malloc-sysdep.h.
4126         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4127         is sufficient to shrink the heap or an unmap is needed.
4128         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4129         new function check_may_shrink_heap.
4130         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4131         new function check_may_shrink_heap.
4133 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4135         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4136         comments.
4138 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4140         * catgets/test-gencat.sh: Add "set -e".
4141         * elf/tst-pathopt.sh: Likewise.
4142         * grp/tst_fgetgrent.sh: Likewise.
4143         * iconvdata/run-iconv-test.sh: Likewise.
4144         * intl/tst-gettext.sh: Likewise.
4145         * intl/tst-gettext2.sh: Likewise.
4146         * intl/tst-gettext4.sh: Likewise.
4147         * intl/tst-gettext6.sh: Likewise.
4148         * intl/tst-translit.sh: Likewise.
4149         * io/ftwtest-sh: Likewise.
4150         * libio/test-freopen.sh: Likewise.
4151         * malloc/tst-mtrace.sh: Likewise.
4152         * posix/globtest.sh: Likewise.
4153         * posix/tst-getconf.sh: Likewise.
4154         * posix/wordexp-tst.sh: Likewise.
4155         * stdio-common/tst-printf.sh: Likewise.
4156         * stdio-common/tst-unbputc.sh: Likewise.
4157         * stdlib/tst-fmtmsg.sh: Likewise.
4158         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4159         * catgets/Makefile: Do not specify -e option when running
4160         testsuite shell scripts.
4161         * elf/Makefile: Likewise.
4162         * grp/Makefile: Likewise.
4163         * iconvdata/Makefile: Likewise.
4164         * intl/Makefile: Likewise.
4165         * io/Makefile: Likewise.
4166         * libio/Makefile: Likewise.
4167         * malloc/Makefile: Likewise.
4168         * posix/Makefile: Likewise.
4169         * stdio-common/Makefile: Likewise.
4170         * stdlib/Makefile: Likewise.
4171         * sysdeps/x86_64/Makefile: Likewise.
4173         * io/ftwtest-sh: Add copyright header.
4174         * posix/globtest.sh: Likewise.
4175         * posix/tst-getconf.sh: Likewise.
4176         * posix/wordexp-tst.sh: Likewise.
4177         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4179 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4181         [BZ #13679]
4182         * Makeconfig (+link): Defined as $(+link-static) if
4183         $(build-shared) isn't yes.
4184         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4185         isn't yes.
4186         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4188         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4190         [BZ #14562]
4191         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4192         new chunk size with MALLOC_ALIGN_MASK.
4194 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4196         [BZ #5044]
4197         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4198         <rounding-mode.h>.
4199         (__printf_fphex): Determine rounding using get_rounding_mode and
4200         round_away.
4201         * stdio-common/tst-printf-round.c (struct hex_test): New
4202         structure.
4203         (hex_tests): New variable.
4204         (test_hex_in_one_mode): New function.
4205         (do_test): Also run tests for hex float output.
4207 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4209         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4210         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4211         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4212         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4213         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4214         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4215         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4216         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4218 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4220         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4221         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4222         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4223         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4225 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4227         [BZ #14579]
4228         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4229         mode only.
4230         * elf/tst-rtld-load-self.sh: New test.
4231         * elf/Makefile: Run it.
4233 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4235         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4236         (tst-writev-ENV): Remove.
4237         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4239 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4241         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4243 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4245         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4246         unconditional.
4247         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4248         Likewise.
4249         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4250         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4251         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4252         Likewise.
4254 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4256         [BZ #14587]
4257         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4258         * config.make.in (have-cpp-asm-debuginfo): Removed.
4259         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4260         * configure: Regenerated.
4262 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4264         [BZ #5044]
4265         * stdio-common/printf_fp.c: Include <stdbool.h> and
4266         <rounding-mode.h>.
4267         (___printf_fp): Determine rounding using get_rounding_mode and
4268         round_away.
4269         * stdio-common/tst-printf-round.c: New file.
4270         * stdio-common/Makefile (tests): Add tst-printf-round.
4271         (link-libm): New variable.
4272         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4274 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4276         [BZ #14576]
4277         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4278         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4279         Likewise.
4280         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4281         Likewise.
4283 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4285         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4286         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4287         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4288         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4290 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4292         [BZ #14518]
4293         * include/rounding-mode.h: New file.
4294         * sysdeps/generic/get-rounding-mode.h: Likewise.
4295         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4296         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4297         (MAX_VALUE): New macro.
4298         (MIN_VALUE): Likewise.
4299         (overflow_value): New function.
4300         (underflow_value): Likewise.
4301         (round_and_return): Use overflow_value and underflow_value to
4302         determine return values in overflow and underflow cases.  Use
4303         round_away to determine rounding depending on rounding mode.
4304         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4305         determine return values in overflow and underflow cases.
4306         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4307         (struct test_results): New structure.
4308         (struct test): Use struct test_results to store expected results
4309         for all rounding modes.
4310         (TEST): Include expected results for all rounding modes.
4311         (test_in_one_mode): New function.
4312         (do_test): Use test_in_one_mode to compute and check results.
4313         Check results for all rounding modes.
4314         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4315         $(link-libm).
4317 2012-12-09  Allan McRae  <allan@archlinux.org>
4319         * sysdeps/i386/fpu/libm-test-ulps: Update
4321 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4323         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4324         (_G_int32_t): Likewise.
4325         (_G_uint16_t): Likewise.
4326         (_G_uint32_t): Likewise.
4327         (_G_HAVE_BOOL): Likewise.
4328         (_G_HAVE_ATEXIT): Likewise.
4329         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4330         (_G_HAVE_IO_FILE_OPEN): Likewise.
4331         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4332         (_G_int32_t): Likewise.
4333         (_G_uint16_t): Likewise.
4334         (_G_uint32_t): Likewise.
4335         (_G_HAVE_BOOL): Likewise.
4336         (_G_HAVE_ATEXIT): Likewise.
4337         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4338         (_G_HAVE_IO_FILE_OPEN): Likewise.
4339         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4340         (_G_int32_t): Likewise.
4341         (_G_uint16_t): Likewise.
4342         (_G_uint32_t): Likewise.
4343         (_G_HAVE_BOOL): Likewise.
4344         (_G_HAVE_ATEXIT): Likewise.
4345         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4346         (_G_HAVE_IO_FILE_OPEN): Likewise.
4348 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4350         * csu/libc-tls.c: Update copyright years.
4352 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4354         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4355         [!_G_USING_THUNKS]: Remove conditional code.
4356         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4357         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4359         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4360         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4361         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4362         (_G_VTABLE_LABEL_PREFIX): Likewise.
4363         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4364         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4365         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4366         (_G_VTABLE_LABEL_PREFIX): Likewise.
4367         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4368         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4369         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4370         (_G_VTABLE_LABEL_PREFIX): Likewise.
4371         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4373 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4375         * libio/Makefile: Include ../Makeconfig before tests.
4376         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4377         only if $(build-shared) is yes.
4379         * iconv/gconv_db.c: Update copyright years.
4381 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4383         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4384         unwind info if defined PIC. Fix special cases description.
4385         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4387         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4388         DP_HI_MASK entry.
4389         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4391 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4393         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4395         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4396         is NULL.
4398         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4399         (LDLIBS-tst-chk4): This.
4400         (LDFLAGS-tst-chk5): Renamed to ...
4401         (LDLIBS-tst-chk5): This.
4402         (LDFLAGS-tst-chk6): Renamed to ...
4403         (LDLIBS-tst-chk6): This.
4404         (LDFLAGS-tst-lfschk4): Renamed to ...
4405         (LDLIBS-tst-lfschk4): This.
4406         (LDFLAGS-tst-lfschk5): Renamed to ...
4407         (LDLIBS-tst-lfschk5): This.
4408         (LDFLAGS-tst-lfschk6): Renamed to ...
4409         (LDLIBS-tst-lfschk6): This.
4411         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4412         on $(common-objpfx)soversions.mk.
4414 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4416         [BZ #10014]
4417         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4418         example host name.
4420 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4422         * malloc/arena.c (arena_get_retry): New function that gets
4423         another arena for the caller to try its request on.
4424         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4425         current arena cannot fulfill the request.
4426         (__libc_memalign): Likewise.
4427         (__libc_memalign): Likewise.
4428         (__libc_pvalloc): Likewise.
4429         (__libc_calloc): Likewise.
4431 2012-09-05  John Tobey  <john.tobey@gmail.com>
4433         [BZ #13542]
4434         * manual/arith.texi (Operations on Complex): Fix description
4435         of carg branch cut.
4437 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4439         [BZ #10014]
4440         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4441         host name.
4443         [BZ #10038]
4444         * manual/memory.texi (Memory): Make order of menu items match
4445         order of sections.
4447 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4449         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4450         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4451         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4453 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4455         * csu/libc-tls.c (static_dtv): Renamed to ...
4456         (_dl_static_dtv): This.  Make it global.
4457         (_dl_initial_dtv): Removed.
4458         (__libc_setup_tls): Updated.
4459         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4460         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4461         DL_INITIAL_DTV.
4463 2012-09-06  Petr Machata  <pmachata@redhat.com>
4465         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4466         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4467         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4468         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4470 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4472         [BZ #14545]
4473         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4474         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4475         freeing dtv[-1].
4477 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4479         [BZ #14544]
4480         * Makeconfig (link-static-before-libc): Replace $(+prector)
4481         with $(+prectorT).
4482         (link-static-after-libc): Replace $(+postctor) with
4483         $(+postctorT).
4484         (link-bounded): Replace $(+prector)/$(+postctor) with
4485         $(+prectorT)/$(+postctorT).
4486         (+prectorT): New macro.
4487         (+postctorT): Likewise.
4489 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4491         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4492         (round_str): Handle values above the maximum for IBM long double
4493         as inexact.
4494         * stdlib/tst-strtod-round.c (tests): Regenerated.
4496 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4498         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4499         assembler flag.
4500         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4501         zarch_nohighgprs around the zarch optimized routines.
4502         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4503         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4504         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4505         for zarch.
4507 2012-09-05  David S. Miller  <davem@davemloft.net>
4509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4511         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4512         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4513         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4514         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4515         entries.
4517 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4519         * malloc/arena.c: Fold copyright years.
4520         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4522 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4524         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4526 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4528         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4530 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4532         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4533         change internal state upon failure.
4535 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4537         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4538         * malloc/memusage.c (mmap): Likewise.
4539         (mmap64, mremap): Likewise.  Adjust name in comment.
4541 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4543         * libio/fileops.c: Fix typos in comments.
4544         * libio/oldfileops.c: Likewise.
4545         * libio/wfileops.c: Likewise.
4547 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4549         [BZ #1349]
4550         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4551         (tst-malloc-usable-ENV): Set environment for test case.
4552         * malloc/hooks.c (malloc_check_get_size): New function to get
4553         requested size.
4554         * malloc/malloc.c (musable): Use malloc_check_get_size.
4555         * malloc/tst-malloc-usable.c: New test case.
4557 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4559         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4561 2012-09-05  Allan McRae  <allan@archlinux.org>
4563         [BZ #13966]
4564         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4565         determine header location.
4566         * configure: Regenerated.
4568 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4570         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4571         float format.
4572         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4573         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4574         format.
4575         (test): Regenerate.
4577 2012-09-04  David S. Miller  <davem@davemloft.net>
4579         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4580         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4581         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4583 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4585         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4586         failures.
4588         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4590 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4592         [BZ #9914]
4593         * libio/iogetdelim.c: Include <limits.h>.
4594         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4595         + len + 1 would overflow.
4597 2012-09-03  Andreas Jaeger  <aj@suse.de>
4599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4600         * sysdeps/i386/fpu/libm-test-ulps: Update.
4602 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4604         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4605         Add s_sinf-sse2, s_conf-sse2.
4607         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4608         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4609         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4610         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4612         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4613         for using routine as __sinf_ia32.
4614         Use macro for function declaration and weak_alias.
4615         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4616         for using routine as __cosf_ia32.
4617         Use macro for function declaration and weak_alias.
4619         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4620         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4622         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4623         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4626         * math/libm-test.inc (cos_test): Add more test cases.
4627         (sin_test): Likewise.
4628         (sincos_test): Likewise.
4630 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4632         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4633         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4634         hidden.
4635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4637 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4639         [BZ #14538]
4640         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4641         first element of the GOT.
4642         (elf_machine_load_address): Return the difference between
4643         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4645 2012-09-01  Allan McRae  <allan@archlinux.org>
4647         [BZ #13412]
4648         * configure.in (AWK): Require gawk version 3.0 or later.
4649         * configure: Regenerated.
4651 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4653         * sysdeps/unix/sysv/linux/kernel-features.h
4654         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4655         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4656         [__NR_clock_getres]: Make code unconditional.
4657         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4658         (clock_getcpuclockid): Remove code left unreachable by removal of
4659         conditionals.
4660         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4661         code unconditional.
4662         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4663         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4664         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4665         Make code unconditional.
4666         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4667         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4668         * sysdeps/unix/sysv/linux/clock_settime.c
4669         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4670         conditional code.
4671         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4672         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4674 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4676         [BZ #14476]
4677         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4678         scripts/test-installation.pl.
4680         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4681         and $ld_so_version if it is set.
4683 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4685         [BZ #14516]
4686         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4687         failure if reading from procfs failed.
4688         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4690 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4692         * sysdeps/unix/sysv/linux/kernel-features.h
4693         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4694         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4695         Remove conditional code.
4696         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4697         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4698         Remove conditional code.
4699         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4700         * sysdeps/unix/sysv/linux/i386/fxstat.c
4701         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4702         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4703         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4704         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4705         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4706         * sysdeps/unix/sysv/linux/i386/lxstat.c
4707         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4708         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4709         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4710         Remove conditional code.
4711         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4712         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4713         Remove conditional code.
4714         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4715         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4716         <kernel-features.h>.
4717         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4718         Remove.
4719         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4720         Remove conditional code.
4721         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4722         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4723         Remove conditional.
4725 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4727         [BZ #5400]
4728         * NEWS: Add fixed bug number.
4730 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4732         [BZ #14519]
4733         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4734         underflowing exponent in case of negative sign.
4735         * stdlib/tst-strtod-round-data: Add more tests.
4736         * stdlib/tst-strtod-round.c (tests): Regenerated.
4738         [BZ #3479]
4739         * stdlib/strtod_l.c (NDIG): Remove.
4740         (HEXNDIG): Likewise.
4741         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4742         smallest representable value.
4743         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4744         lie within an exact representation of 1/2 ulp of the result.
4745         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4746         unconditionally.
4747         (TENS_P9_IDX): Define unconditionally.
4748         (TENS_P9_SIZE): Likewise.
4749         (TENS_P10_IDX): Likewise.
4750         (TENS_P10_SIZE): Likewise.
4751         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4752         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4753         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4754         entries for 10^2^13 and 10^2^14.
4755         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4756         (TENS_P13_IDX): Define.
4757         (TENS_P13_SIZE): Likewise.
4758         (TENS_P14_IDX): Likewise.
4759         (TENS_P14_SIZE): Likewise.
4760         (_fpioconst_pow10): Change array size to
4761         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4762         unconditional.
4763         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4764         1024]: Add entries for 10^2^13 and 10^2^14.
4765         [LAST_POW10 > _LAST_POW10]: Remove #error.
4766         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4767         (_fpioconst_pow10): Change array size to
4768         FPIOCONST_POW10_ARRAY_SIZE.
4769         * stdlib/gen-fpioconst.c: New file.
4770         * stdlib/gen-tst-strtod-round.c: Likewise.
4771         * stdlib/tst-strtod-round-data: Likewise.
4772         * stdlib/tst-strtod-round.c: Likewise.
4773         * stdlib/Makefile (tests): Add tst-strtod-round.
4775         [BZ #14459]
4776         * stdlib/strtod_l.c: Include <stdint.h>.
4777         (NDEBUG): Do not define.
4778         (round_and_return): Change EXPONENT parameter to type intmax_t.
4779         Rearrange calculations to avoid internal overflow possibilities.
4780         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4781         Rearrange calculations to avoid internal overflow possibilities.
4782         Assert that number fits inside MPNSIZE limbs.
4783         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4784         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4785         calculations and add assertions to avoid internal overflow
4786         possibilities.  Add casts to avoid signed/unsigned operations.
4787         * stdlib/tst-strtod-overflow.c: New file.
4788         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4790 2012-08-25  Marek Polacek  <polacek@redhat.com>
4792         * time/time.h: Fix some typos in comments.
4794 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4796         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4797         * posix/tst-rfc3484-2.c: Likewise.
4798         * posix/tst-rfc3484-3.c: Likewise.
4800 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4802         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4803         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4805 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4807         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4808         #include of fxstatat64.c.
4810 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4812         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4813         * shadow/getspent_r.c: Likewise.
4814         * shadow/getspnam.c: Likewise.
4815         * shadow/getspnam_r.c: Likewise.
4816         * gshadow/getsgent.c: Likewise.
4817         * gshadow/getsgent_r.c: Likewise.
4818         * gshadow/getsgnam.c: Likewise.
4819         * gshadow/getsgnam_r.c: Likewise.
4820         * inet/getnetbyad.c: Likewise.
4821         * inet/getnetbyad_r.c: Likewise.
4822         * inet/getnetbynm.c: Likewise.
4823         * inet/getnetbynm_r.c: Likewise.
4824         * inet/getnetent.c: Likewise.
4825         * inet/getnetent_r.c: Likewise.
4826         * inet/getproto.c: Likewise.
4827         * inet/getproto_r.c: Likewise.
4828         * inet/getprtent.c: Likewise.
4829         * inet/getprtent_r.c: Likewise.
4830         * inet/getprtname.c: Likewise.
4831         * inet/getprtname_r.c: Likewise.
4832         * inet/getrpcbyname.c: Likewise.
4833         * inet/getrpcbyname_r.c: Likewise.
4834         * inet/getrpcbynumber.c: Likewise.
4835         * inet/getrpcbynumber_r.c: Likewise.
4836         * inet/getrpcent.c: Likewise.
4837         * inet/getrpcent_r.c: Likewise.
4838         * inet/getaliasent.c: Likewise.
4839         * inet/getaliasent_r.c: Likewise.
4840         * inet/getaliasname.c: Likewise.
4841         * inet/getaliasname_r.c: Likewise.
4842         * nscd/getgrgid_r.c: Likewise.
4843         * nscd/getgrnam_r.c: Likewise.
4844         * nscd/gethstbyad_r.c: Likewise.
4845         * nscd/gethstbynm3_r.c: Likewise.
4846         * nscd/getpwnam_r.c: Likewise.
4847         * nscd/getpwuid_r.c: Likewise.
4848         * nscd/getsrvbynm_r.c: Likewise.
4849         * nscd/getsrvbypt_r.c: Likewise.
4850         * nscd/gai.c: Likewise.
4852         * configure.in (build_nscd): New substituted variable, set
4853         by --disable-build-nscd and defaults to $use_nscd.
4854         * configure: Regenerated.
4855         * config.make.in (build-nscd): New substituted variable.
4856         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4857         Change conditional to require [$(build-nscd) = yes] as well.
4858         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4860         [BZ# 13696]
4861         * configure.in (use_nscd): New substituted variable, set by
4862         --disable-nscd.  If enabled, define USE_NSCD.
4863         * configure: Regenerated.
4864         * config.h.in: Add USE_NSCD.
4865         * config.make.in (use-nscd): New substituted variable.
4866         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4867         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4868         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4869         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4870         (CFLAGS-getgrnam_r.c): Likewise.
4871         (CFLAGS-initgroups.c): Likewise.
4872         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4873         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4874         Variables removed.
4875         * inet/getnetgrent_r.c
4876         (nscd_setnetgrent): New function, broken out of ...
4877         (setnetgrent): ... here.  Call it.
4878         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4879         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4880         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4881         * nscd/Makefile (routines, aux): Move definitions after include of
4882         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4883         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4884         Conditionalize on [USE_NSCD].
4885         (is_nscd, nscd_init_cb): Likewise.
4886         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4887         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4888         * nss/nss_db/db-init.c: Likewise.
4889         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4890         [USE_NSCD].
4891         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4892         (make_request): Use it.
4893         (cache_valid_p): New function.
4894         (__check_pf): Use it.
4895         * NEWS: Add item for --disable-nscd.
4897 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4899         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4900         to support sed >= 4.2.1-20-ga9bf076.
4901         * configure: Regenerated.
4903 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4905         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4906         Conditionalize whole body on [IREL].
4908 2012-08-22  Jeff Law <law@redhat.com>
4910         [BZ #14505]
4911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4912         if the family is PF_UNSPEC.
4914 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4916         * Makerules (lib-version): Rename from V.
4917         (install-lib-nosubdir): Change V to lib-version.
4919 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4921         [BZ #14252]
4922         * powerpc32/power6/wcschr.c: New file.
4923         * powerpc32/power6/wcscpy.c: New file.
4924         * powerpc32/power6/wcsrchr.c: New file.
4925         * powerpc64/power6/wcschr.c: New file.
4926         * powerpc64/power6/wcscpy.c: New file.
4927         * powerpc64/power6/wcsrchr.c: New file.
4929 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4931         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4932         (two_way_short_needle): Use it.
4933         * string/strstr.c (AVAILABLE1_USES_J): Define.
4934         * string/strcasestr.c: Likewise.
4936         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4937         array references.
4938         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4940         [BZ #11607]
4941         * NEWS: Add an entry.
4942         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4943         define their defaults.
4944         (two_way_short_needle): Detect end-of-string on-the-fly.
4945         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4946         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4947         * string/bug-strcasestr1.c: New test.
4948         * string/Makefile: Run it.
4950 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4952         [BZ #11607]
4953         * string/str-two-way.h (two_way_short_needle): Optimize matching of
4954         the first character.
4956 2012-08-21  Roland McGrath  <roland@hack.frob.com>
4958         * csu/elf-init.c (__libc_csu_irel): Function removed.
4959         * csu/libc-start.c (apply_irel): New function.
4960         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4962 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
4964         * sysdeps/unix/sysv/linux/kernel-features.h
4965         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4966         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4967         <kernel-features.h>.
4968         [__NR_fadvise64_64]: Make code unconditional.
4969         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4970         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4971         !__NR_fadvise64_64)]: Likewise.
4972         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4973         !__NR_fadvise64_64))]: Likewise.
4974         [__NR_fadvise64]: Make code unconditional.
4975         [!__NR_fadvise64]: Remove conditional code.
4976         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4977         <kernel-features.h>.
4978         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4979         unconditional.
4980         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4981         conditional code.
4982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4983         not include <kernel-features.h>.
4984         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4985         unconditional.
4986         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4987         conditional code.
4988         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4989         include <kernel-features.h>.
4990         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4991         unconditional.
4992         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4993         conditional code.
4995 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4997         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4998         slight instruction rearrangements per scrollpipe analysis.
4999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5001 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5003         * manual/syslog.texi (syslog; vsyslog, closelog):
5004         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5005         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5007         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5008         DSOCAPS to match condition on defining it.
5010 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5012         * sysdeps/unix/sysv/linux/kernel-features.h
5013         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5015         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5016         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5018         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5019         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5021         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5022         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5024         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5025         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5027         * sysdeps/unix/sysv/linux/kernel-features.h
5028         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5029         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5030         unconditional.
5031         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5032         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5033         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5034         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5035         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5036         Make code unconditional.
5037         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5038         (__mmap64) [!__NR_mmap2]: Likewise.
5039         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5040         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5041         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5042         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5043         [__NR_mmap2]: Make code unconditional.
5044         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5045         (__mmap64) [!__NR_mmap2]: Likewise.
5047 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5049         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5051 2012-08-18  Andreas Jaeger  <aj@suse.de>
5053         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5055 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5057         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5058         * include/unistd.h (__have_sock_cloexec): Likewise.
5059         (__have_pipe2): Likewise.
5060         (__have_dup3): Likewise.
5062 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5064         [BZ #9685]
5065         * include/unistd.h (__have_pipe2): Change define into an extern int.
5066         (__have_dup3): Likewise.
5067         * socket/have_sock_cloexec.c: Include fcntl.h.
5068         (__have_pipe2): New variable.
5069         (__have_dup3): Likewise.
5071 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5073         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5075 2012-08-17  Marek Polacek  <polacek@redhat.com>
5077         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5078         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5080 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5082         * configure.in: Add AC_SUBST for sysheaders.
5083         * configure: Regenerated.
5084         * config.make.in (sysheaders): New substituted variable.
5086         * sysdeps/unix/mkfifo.c: Moved ...
5087         * sysdeps/posix/mkfifo.c: ... here.
5088         * sysdeps/unix/mkfifoat.c: Moved ...
5089         * sysdeps/posix/mkfifoat.c: ... here.
5091         * sysdeps/unix/utime.c: Moved ...
5092         * sysdeps/posix/utime.c: ... here.
5094         * sysdeps/unix/time.c: Moved ...
5095         * sysdeps/posix/time.c: ... here.
5096         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5097         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5099         * sysdeps/unix/nice.c: Moved ...
5100         * sysdeps/posix/nice.c: ... here.
5102         * sysdeps/unix/alarm.c: Moved ...
5103         * sysdeps/posix/alarm.c: ... here.
5105         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5107 2012-08-17  Jeff Law <law@redhat.com>
5109         * intl/Makefile (codeset_mo): New variable.
5110         ($(codeset_mo)): New target.
5111         (tst-codeset.out): Depend on that.  Remove explicit rule.
5112         (tst-gettext3.out, tst-gettext5.out): Likewise.
5113         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5114         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5115         * intl/tst-codeset.sh: Remove.
5116         * intl/tst-gettext3.sh: Likewise.
5117         * intl/tst-gettext5.sh: Likewise.
5119 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5121         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5122         * sysdeps/unix/syscalls.list: ... here.
5124         * sysdeps/posix/getaddrinfo.c
5125         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5126         (gaiconf_init, gaiconf_reload): Use them.
5127         [!_STATBUF_ST_NSEC]
5128         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5129         Define using time_t rather than struct timespec.
5131         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5132         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5133         Macros removed.
5134         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5135         [!NO_THREADS].
5136         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5137         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5138         Likewise.
5140         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5141         __libc_cleanup_push argument.
5143         * bits/param.h: New file.
5144         * misc/sys/param.h: New file.
5145         * include/sys/param.h: New file.
5146         * misc/Makefile (headers): Add bits/param.h.
5147         * sysdeps/generic/sys/param.h: File removed.
5148         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5149         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5150         * sysdeps/mach/hurd/bits/param.h: New file.
5151         * sysdeps/mach/hurd/sys/param.h: File removed.
5153         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5154         last change.
5156         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5157         [_IO_MTSAFE_IO].
5158         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5159         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5160         New macros.
5162         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5163         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5164         rather than -D_IO_MTSAFE_IO conditionally.
5165         * stdio-common/Makefile (CPPFLAGS): Likewise.
5166         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5167         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5168         Use $(libio-mtsafe).
5169         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5170         of -D_IO_MTSAFE_IO.
5171         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5172         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5173         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5174         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5175         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5176         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5177         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5178         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5179         (CFLAGS-fread_u_chk.c): Likewise.
5180         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5181         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5182         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5183         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5184         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5185         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5186         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5187         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5188         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5190         * libio/Makefile: Test [$(libc-reentrant) = yes]
5191         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5193         * Makeconfig
5194         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5195         * sysdeps/pthread/configure: File removed.
5196         * sysdeps/pthread/Makeconfig: New file.
5197         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5198         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5200 2012-08-16  Gary Benson  <gbenson@redhat.com>
5202         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5203         unmapping the first object in a namespace.
5205 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5207         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5208         (__internal_setnetgrent): ... this.  Add internal_function to
5209         definition.  Add libc_hidden_def.
5210         (setnetgrent): Update caller.
5211         (internal_endnetgrent): Renamed to ...
5212         (__internal_endnetgrent): ... this.  Add internal_function to
5213         definition.  Add libc_hidden_def.
5214         (endnetgrent): Update caller.
5215         (internal_getnetgrent_r): Renamed to ...
5216         (__internal_getnetgrent_r): ... this.  Add internal_function to
5217         definition.  Add libc_hidden_def.
5218         (__getnetgrent_r): Update caller.
5219         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5221 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5223         * stdlib/longlong.h: Update from GCC.
5225 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5227         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5228         on _QL, which is set by umul_ppmm but never used.
5229         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5230         variables, which are set by GMP macros but never used.
5231         * stdio-common/_itowa.c (_itowa): Likewise.
5232         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5233         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5235 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5237         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5238         struct La_sh_regs is not constant.
5239         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5240         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5241         and struct La_sparc64_regs are not constant.
5243 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5245         * sysdeps/unix/sysv/linux/kernel-features.h
5246         (__ASSUME_POSIX_TIMERS): Remove.
5247         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5248         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5249         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5250         Make code unconditional.
5251         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5252         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5253         Make code unconditional.
5254         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5255         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5256         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5257         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5258         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5259         Make code unconditional.
5260         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5261         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5262         (__libc_missing_posix_timers): Remove.
5264 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5266         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5267         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5269         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5271         * elf/dl-sym.c: Include <stdlib.h>.
5273         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5274         constants, which avoids warnings in 32-bit builds.
5276         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5277         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5279         * misc/lseek.c: File moved to ...
5280         * io/lseek.c: ... here.
5282         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5284         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5285         shifting LEN more than 31 bits at once.
5287 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5289         [BZ #14195]
5290         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5291         segmentation fault for a case of two empty input strings.
5292         * string/test-strncasecmp.c (check1): Renamed to...
5293         (bz12205): ...this.
5294         (bz14195): Add new testcase for two empty input strings and N > 0.
5295         (test_main): Call new testcase, adapt for renamed function.
5297 2012-08-15  Andreas Jaeger  <aj@suse.de>
5299         [BZ #14090]
5300         * crypt/md5test2.c: New test, based on test supplied by Serge
5301         Belyshev <belyshev@depni.sinp.msu.ru>.
5302         * crypt/Makefile (xtests): Add md5test-giant..
5303         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5305 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5307         [BZ #14090]
5308         * crypt/md5.c (md5_process_block): Don't assume the buffer
5309         length is less than 2**32.
5310         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5311         length is less than 2**64.
5313 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5315         * string/str-two-way.h: Include <sys/param.h>.
5316         (MAX): Macro removed.
5318         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5319         Move #define and #undef of memmove to just before and after
5320         including <string.h>.
5322         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5323         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5324         and after including <string.h>.  Move declarations of
5325         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5326         to before #include "string/memmove.c".
5328         * include/dirent.h: Declare __getdirentries.
5330         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5331         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5333 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5335         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5336         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5337         * sysdeps/i386/configure: Regenerated.
5338         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5339         STABS_CURRENT_FILE, and STABS_FUN.
5340         (END): Remove call to STABS_FUN_END.
5341         (STABS_CURRENT_FILE1): Delete.
5342         (STABS_CURRENT_FILE): Likewise.
5343         (STABS_FUN): Likewise.
5344         (STABS_FUN_END): Likewise.
5345         (STABS_FUN2): Likewise.
5346         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5347         * sysdeps/x86_64/configure: Regenerated.
5349 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5351         * elf/dl-open.c: Include <atomic.h>.
5352         * elf/dl-lookup.c: Likewise.
5354 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5356         * sysdeps/unix/sysv/linux/kernel-features.h
5357         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5358         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5359         unconditionally.
5360         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5361         unconditionally.
5362         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5363         condition on __ASSUME_CLONE_THREAD_FLAGS.
5365 2012-08-14  Andreas Jaeger  <aj@suse.de>
5367         * sysdeps/i386/fpu/libm-test-ulps: Update.
5369 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5371         * include/atomic.h (atomic_exchange_and_add): Split into ...
5372         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5373         New atomic macros.
5375 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5379 2012-08-13  Jeff Law <law@redhat.com>
5381         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5382         null byte in the output string.
5384 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5386         * sysdeps/unix/sysv/linux/kernel-features.h
5387         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5388         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5389         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5390         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5391         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5392         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5393         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5395 2012-08-09  Jeff Law <law@redhat.com>
5397         [BZ #13939]
5398         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5399         When avoid_arena is set, don't retry in the that arena.  Pick the
5400         next one, whatever it might be.
5401         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5402         (arena_lock): Pass in new parameter to arena_get2.
5403         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5404         arena_get2.
5405         (__libc_malloc): Unify retrying after main arena failure with
5406         __libc_memalign version.
5407         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5409 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5411         [BZ #14166]
5412         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5413         to __redirect_strstr.
5414         (__strstr_sse42): Use typeof __redirect_strstr.
5415         (__strstr_ia32): Likewise.
5416         (__libc_strstr): New prototype.
5417         (strstr): Renamed to ...
5418         (__libc_strstr): This.
5419         (strstr): New strong alias of __libc_strstr.
5420         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5421         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5422         __redirect_time.
5423         Include <time.h>.
5424         (__libc_time): New prototype.
5425         (time_ifunc): Replace time with __libc_time.
5426         (time): New strong alias and hidden definition of __libc_time.
5427         (__GI_time): Remove strong alias.
5428         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5429         Include <stddef.h>.
5430         (memmove): Redefined to __redirect_memmove.
5431         (__memmove_sse2): Use typeof __redirect_memmove.
5432         (__memmove_ssse3): Likewise.
5433         (__memmove_ssse3_back): Likewise.
5434         (__libc_memmove): New prototype.
5435         (memmove): Renamed to ...
5436         (__libc_memmove): This.
5437         (memmove): New strong alias of __libc_memmove.
5439 2012-08-08  Mark Salter  <msalter@redhat.com>
5441         * elf/elf.h
5442         (R_MN10300_TLS_GD): Define.
5443         (R_MN10300_TLS_LD): Likewise.
5444         (R_MN10300_TLS_LDO): Likewise.
5445         (R_MN10300_TLS_GOTIE): Likewise.
5446         (R_MN10300_TLS_IE): Likewise.
5447         (R_MN10300_TLS_LE): Likewise.
5448         (R_MN10300_TLS_DTPMOD): Likewise.
5449         (R_MN10300_TLS_DTPOFF): Likewise.
5450         (R_MN10300_TLS_TPOFF): Likewise.
5451         (R_MN10300_SYM_DIFF): Likewise.
5452         (R_MN10300_ALIGN): Likewise.
5453         (R_MN10300_NUM): Update.
5455 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5457         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5458         Remove.
5460 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5462         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5464         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5465         sysdeps/unix -> sysdeps/posix move.
5466         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5468 2012-08-07      Allan McRae     <allan@archlinux.org>
5470         [BZ #14303]
5471         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5472         (SUNOS_CPP): Likewise.
5473         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5474         not found.
5475         (open_input): Call CPP using execvp.
5477 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5479         * sysdeps/unix/sysv/linux/kernel-features.h
5480         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5481         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5482         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5483         (__ASSUME_WAITID_SYSCALL): Likewise.
5484         * sysdeps/unix/sysv/linux/dl-execstack.c
5485         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5486         code unconditional.
5487         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5488         conditional code.
5489         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5490         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5491         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5492         code.
5493         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5494         unconditional.
5495         [__ASSUME_WAITID_SYSCALL]: Likewise.
5496         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5498 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5500         * sysdeps/unix/closedir.c: Renamed to ...
5501         * sysdeps/posix/closedir.c: ... here.
5502         * sysdeps/unix/dirfd.c: Renamed to ...
5503         * sysdeps/posix/dirfd.c: ... here.
5504         * sysdeps/unix/dirstream.h: Renamed to ...
5505         * sysdeps/posix/dirstream.h: ... here.
5506         * sysdeps/unix/fdopendir.c: Renamed to ...
5507         * sysdeps/posix/fdopendir.c: ... here.
5508         * sysdeps/unix/opendir.c: Renamed to ...
5509         * sysdeps/posix/opendir.c: ... here.
5510         * sysdeps/unix/readdir.c: Renamed to ...
5511         * sysdeps/posix/readdir.c: ... here.
5512         * sysdeps/unix/readdir_r.c: Renamed to ...
5513         * sysdeps/posix/readdir_r.c: ... here.
5514         * sysdeps/unix/rewinddir.c: Renamed to ...
5515         * sysdeps/posix/rewinddir.c: ... here.
5516         * sysdeps/unix/seekdir.c: Renamed to ...
5517         * sysdeps/posix/seekdir.c: ... here.
5518         * sysdeps/unix/telldir.c: Renamed to ...
5519         * sysdeps/posix/telldir.c: ... here.
5520         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5521         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5522         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5523         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5525         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5526         * bits/fcntl.h: ... here.
5528         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5529         not 0.
5530         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5531         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5532         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5533         (struct flock): Move l_start, l_len to the beginning.
5534         Use __pid_t for l_pid.
5535         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5536         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5537         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5538         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5539         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5540         [__USE_LARGEFILE64] (struct flock64): New type.
5541         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5543         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5544         * bits/dirent.h: ... here.
5546         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5547         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5549 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5551         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5552         Change from 2.6.0 to 2.6.16.
5553         * sysdeps/unix/sysv/linux/configure: Regenerated.
5554         * sysdeps/unix/sysv/linux/kernel-features.h
5555         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5556         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5557         version.
5558         (__ASSUME_UTIMES): Likewise.
5559         (__ASSUME_CLONE_STOPPED): Remove.
5560         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5561         architectures, not kernel version.
5562         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5563         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5564         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5565         (__ASSUME_WAITID_SYSCALL): Likewise.
5566         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5567         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5568         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5569         refer to older versions.
5571 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5573         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5574         Define alphasort64 as an alias.
5575         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5576         Define versionsort64 as an alias.
5577         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5578         Define scandir64 as an alias.
5579         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5580         Define scandirat64 as an alias.
5581         * dirent/alphasort64.c (alphasort64):
5582         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5583         * dirent/versionsort64.c: Likewise.
5584         * dirent/scandir64.c: Likewise.
5585         * dirent/scandirat64.c: Likewise.
5586         * sysdeps/wordsize-64/alphasort.c: File removed.
5587         * sysdeps/wordsize-64/alphasort64.c: File removed.
5588         * sysdeps/wordsize-64/scandir.c: File removed.
5589         * sysdeps/wordsize-64/scandir64.c: File removed.
5590         * sysdeps/wordsize-64/scandirat.c: File removed.
5591         * sysdeps/wordsize-64/scandirat64.c: File removed.
5592         * sysdeps/wordsize-64/versionsort.c: File removed.
5593         * sysdeps/wordsize-64/versionsort64.c: File removed.
5594         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5595         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5596         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5597         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5598         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5599         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5600         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5601         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5603         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5605         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5607         [defined __arch64__ || defined __sparcv9]
5608         (__INO_T_MATCHES_INO64_T): New macro.
5609         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5610         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5611         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5612         * sysdeps/unix/sysv/linux/bits/dirent.h
5613         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5614         (_DIRENT_MATCHES_DIRENT64): New macro.
5616         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5617         Define lockf64 as an alias.
5618         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5619         Define fseeko64 as an alias.
5620         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5621         Define ftello64 as an alias.
5622         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5623         Define _IO_fgetpos64 and fgetpos64 as aliases.
5624         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5625         Define _IO_fsetpos64 and fsetpos64 as aliases.
5626         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5627         Conditionalize body on this.
5628         * libio/fseeko64.c: Likewise.
5629         * libio/ftello64.c: Likewise.
5630         * libio/iofgetpos64.c: Likewise.
5631         * libio/iofsetpos64.c: Likewise.
5632         * sysdeps/wordsize-64/lockf.c: File removed.
5633         * sysdeps/wordsize-64/lockf64.c: File removed.
5634         * sysdeps/wordsize-64/fseeko.c: File removed.
5635         * sysdeps/wordsize-64/fseeko64.c: File removed.
5636         * sysdeps/wordsize-64/ftello.c: File removed.
5637         * sysdeps/wordsize-64/ftello64.c: File removed.
5638         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5639         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5640         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5641         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5642         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5643         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5644         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5645         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5646         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5647         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5648         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5649         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5650         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5651         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5653         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5654         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5655         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5656         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5657         [defined __arch64__ || defined __sparcv9]
5658         (__OFF_T_MATCHES_OFF64_T): New macro.
5659         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5660         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5661         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5662         (__OFF_T_MATCHES_OFF64_T): New macro.
5664 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5666         * stdlib/secure-getenv.c (__secure_getenv): Replace
5667         GLIBC_2_16 with GLIBC_2_17.
5669 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5671         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5672         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5674 2012-08-03  David S. Miller  <davem@davemloft.net>
5676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5678 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5680         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5681         Remove.
5682         (__ASSUME_CORRECT_SI_PID): Likewise.
5683         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5684         (__ASSUME_TMPFS_NAME): Likewise.
5685         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5686         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5687         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5688         (HAVE_AUX_SECURE): Make definition unconditional.
5689         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5690         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5692 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5694         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5695         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5696         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5697         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5698         __eloop_threshold instead of SYMLOOP_MAX.
5700         * sysdeps/generic/eloop-threshold.h: New file.
5701         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5702         of MAXSYMLINKS.
5703         * elf/chroot_canon.c (chroot_canon): Likewise.
5705 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5707         [BZ #13717]
5708         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5709         Change to 2.6.0 everywhere.
5710         * sysdeps/unix/sysv/linux/configure: Regenerated.
5711         * sysdeps/unix/sysv/linux/kernel-features.h
5712         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5713         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5714         kernel versions.
5715         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5716         (__ASSUME_FUTEX_REQUEUE): Remove.
5717         (__ASSUME_STATFS64): Define unconditionally.
5718         (__ASSUME_AT_SECURE): Likewise.
5719         (__ASSUME_CORRECT_SI_PID): Likewise.
5720         (__ASSUME_TGKILL): Define without depending on kernel version for
5721         i386.
5722         (__ASSUME_UTIMES): Likewise.
5723         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5724         kernel version.
5725         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5726         (__ASSUME_TMPFS_NAME): Likewise.
5727         * README: Update reference to Linux kernel versions.
5729 2012-08-02  Marek Polacek  <polacek@redhat.com>
5731         [BZ# 14150]
5732         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5733         libc_cv_asm_type_prefix with %.
5734         * configure: Regenerated.
5735         * include/libc-symbols.h: Remove comment about
5736         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5737         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5738         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5739         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5740         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5741         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5742         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5743         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5744         * elf/tst-unique2mod1.c: Likewise.
5745         * elf/tst-unique1mod2.c: Likewise.
5746         * elf/tst-unique1mod1.c: Likewise.
5747         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5748         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5749         Replace ASM_TYPE_DIRECTIVE with .type.
5750         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5751         * sysdeps/i386/sysdep.h: Likewise.
5752         * sysdeps/x86_64/sysdep.h: Likewise.
5753         * sysdeps/sh/sysdep.h: Likewise.
5754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5755         Do not define ASM_TYPE_DIRECTIVE.
5756         * sysdeps/powerpc/sysdep.h: Likewise.
5757         * sysdeps/powerpc/powerpc32/sysdep.h:
5758         Replace ASM_TYPE_DIRECTIVE with .type.
5759         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5760         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5761         * sysdeps/i386/fpu/e_powf.S: Likewise.
5762         * sysdeps/i386/fpu/e_expl.S: Likewise.
5763         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5764         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5765         * sysdeps/i386/fpu/e_pow.S: Likewise.
5766         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5767         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5768         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5769         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5770         * sysdeps/i386/fpu/e_log2.S: Likewise.
5771         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5772         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5773         * sysdeps/i386/fpu/e_powl.S: Likewise.
5774         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5775         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5776         * sysdeps/i386/fpu/e_logl.S: Likewise.
5777         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5778         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5779         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5780         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5781         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5782         * sysdeps/i386/fpu/e_log.S: Likewise.
5783         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5784         * sysdeps/i386/fpu/e_logf.S: Likewise.
5785         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5786         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5787         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5788         * sysdeps/i386/fpu/e_log10.S: Likewise.
5789         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5790         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5791         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5792         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5793         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5794         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5795         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5796         * sysdeps/i386/i686/strtok.S: Likewise.
5797         * sysdeps/i386/i386-mcount.S: Likewise.
5798         * sysdeps/i386/strtok.S: Likewise.
5799         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5800         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5801         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5802         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5803         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5804         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5805         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5806         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5807         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5808         * sysdeps/x86_64/_mcount.S: Likewise.
5809         * sysdeps/x86_64/strtok.S: Likewise.
5810         * sysdeps/sh/_mcount.S: Likewise.
5812 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5814         * libio/iofopen.c: Include <fcntl.h>.
5815         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5816         (_IO_fopen64, fopen64): Define as aliases.
5817         * libio/iofopen64.c: Include <fcntl.h>.
5818         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5819         Conditionalize body on this.
5820         * sysdeps/wordsize-64/iofopen.c: File removed.
5821         * sysdeps/wordsize-64/iofopen64.c: File removed.
5823 2012-08-01  Marek Polacek  <polacek@redhat.com>
5825         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5826         Use dlfcn directly instead of a variable.
5827         (binfmt-subdir): Do not define.
5828         (dlfcn): Likewise.
5830 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5832         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5833         Remove all definitions.
5834         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5835         <kernel-features.h>.
5836         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5837         (miss_F_GETOWN_EX): Remove all definitions.
5838         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5839         macro definition.
5840         [!__ASSUME_FCNTL64]: Remove conditional code.
5841         [__ASSUME_FCNTL64]: Make code unconditional.
5842         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5843         <kernel-features.h>.
5844         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5845         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5846         (lockf64) [__NR_fcntl64]: Make code unconditional.
5847         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5849         * sysdeps/unix/sysv/linux/kernel-features.h
5850         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5851         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5852         Make code unconditional.
5853         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5854         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5856         [__NR_vfork]: Make code unconditional.
5857         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5858         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5860         [__NR_vfork]: Make code unconditional.
5861         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5862         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5864 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5866         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5867         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5869         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5870         Define mkstemp64 as an alias.
5871         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5872         Define mkstemps64 as an alias.
5873         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5874         Define mkostemp64 as an alias.
5875         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5876         Define mkostemps64 as an alias.
5877         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5878         Conditionalize body on this.
5879         * misc/mkostemp64.c: Likewise.
5880         * misc/mkostemps64.c: Likewise.
5881         * misc/mkstemps64.c: Likewise.
5882         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5883         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5884         * sysdeps/wordsize-64/mkostemp.c: File removed.
5885         * sysdeps/wordsize-64/mkstemp.c: File removed.
5886         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5887         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5888         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5889         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5891         [BZ #14138]
5892         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5893         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5894         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5895         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5897         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5898         compat_symbol macros from <shlib-compat.h> rather than the underlying
5899         default_symbol_version and symbol_version macros, so that DEFAULT
5900         lines in shlib-versions are respected.
5901         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5903 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5905         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5906         Declare with warn_unused_result.
5907         (setgid, setregid, setegid, setresgid): Likewise.
5908         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5909         Likewise.
5910         * WUR-REPORT: Remove set*id functions.
5912 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5914         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5916 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5918         * include/sys/socket.h (__libc_accept, __libc_accept4):
5919         Add attribute_hidden.
5920         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5922         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5923         use of PTR_MANGLE.
5924         * inet/getnetgrent_r.c (setup): Likewise.
5926         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5928 2012-07-31  David S. Miller  <davem@davemloft.net>
5930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5932 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5934         [BZ #13629]
5935         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5936         value between 1.0 and 2.0 and smaller part has absolute value less
5937         than 1.0.
5938         * math/s_clog10.c (__clog10): Likewise.
5939         * math/s_clog10f.c (__clog10f): Likewise.
5940         * math/s_clog10l.c (__clog10l): Likewise.
5941         * math/s_clogf.c (__clogf): Likewise.
5942         * math/s_clogl.c (__clogl): Likewise.
5943         * math/libm-test.inc (clog_test): Add more tests.
5944         (clog10_test): Likewise.
5945         * sysdeps/i386/fpu/libm-test-ulps: Update.
5946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5948 2012-07-31  Florian Weimer  <fweimer@redhat.com>
5950         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5951         Exit with zero in case no suitable GID is found, and write a
5952         message to standard error.
5954 2012-07-30  Roland McGrath  <roland@hack.frob.com>
5956         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5957         rather than to 1.
5958         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5959         (MAXPATHLEN): Removed.
5960         (NOGROUP, NODEV): New macros.
5961         (setbit, clrbit, isset, isclr): New macros.
5962         (howmany, roundup, powerof2): New macros.
5963         (DEV_BSIZE): New macro.
5965         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5966         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5968         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5969         definition on [!__NO_LONG_DOUBLE_MATH].
5971         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5972         PTR_MANGLE and PTR_DEMANGLE.
5974         * socket/accept4.c (accept4): Rename to __libc_accept4.
5975         Define accept4 as a weak alias.
5977         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5978         on [_DIRENT_HAVE_D_TYPE].
5979         * io/ftw.c (ftw_dir): Likewise.
5981         * io/xmknod.c (__xmknod): Don't check PATH for being null.
5983         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5985         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5986         Use the BSD numbers rather than the arbitrary ones we had.
5987         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5988         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5989         (SIGXCPU, SIGXFSZ): New macros.
5990         (_NSIG): Now 32.
5992         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5993         initializer on [_LIBC_REENTRANT].
5995         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5996         definitions inside [_POSIX_MAPPED_FILES].
5998         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6000         * dirent/opendir.c: Include <fcntl.h>.
6002         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6003         (__libc_getspecific): Likewise.
6004         (__libc_key_create): Likewise.
6006         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6007         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6008         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6009         (tmpfile64): Define as alias.
6010         * sysdeps/wordsize-64/tmpfile.c: File removed.
6011         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6012         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6013         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6015         * stdio-common/vfscanf.c: Include <stdbool.h>.
6016         * nss/makedb.c: Likewise.
6017         * stdio-common/_i18n_number.h: Likewise.
6018         * argp/argp-help.c: Likewise.
6019         * posix/wordexp.c: Likewise.
6020         * sysdeps/posix/spawni.c: Likewise.
6021         * nss/nss_files/files-initgroups.c: Likewise.
6022         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6023         * nss/nss_files/files-initgroups.c: Likewise.
6024         * nss/nss_db/db-netgrp.c: Likewise.
6025         * nss/nss_db/db-initgroups.c: Likewise.
6026         * io/fchmodat.c: Include <sys/stat.h>.
6028         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6029         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6031         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6032         [HAVE_MMAP].
6034         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6035         Add multiple inclusion protection.
6037 2012-07-27  David S. Miller  <davem@davemloft.net>
6039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6041 2012-07-27  Gary Benson  <gbenson@redhat.com>
6043         [BZ #14298]
6044         * elf/rtld.c: Include <stap-probe.h>.
6045         (dl_main): Added static probes "init_start" and "init_complete".
6046         * elf/dl-load.c: Include <stap-probe.h>.
6047         (lose): Take new parameter "nsid".
6048         Added static probe "map_failed".
6049         (_dl_map_object_from_fd): Pass namespace id to lose.
6050         Added static probe "map_start".
6051         (open_verify): Pass namespace id to lose.
6052         * elf/dl-open.c: Include <stap-probe.h>.
6053         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6054         and "reloc_complete".
6055         * elf/dl-close.c: Include <stap-probe.h>.
6056         (_dl_close_worker): Added static probes "unmap_start" and
6057         "unmap_complete".
6058         * elf/rtld-debugger-interface.txt: New file documenting the above.
6060 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6062         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6063         rather than a string variable.
6064         * sunrpc/rpc_main.c (h_output): Likewise.
6065         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6067 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6069         * inet/check_native.c: New file.
6071 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6073         [BZ #13629]
6074         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6075         if larger part has absolute value 1.0.
6076         * math/s_clog10.c (__clog10): Likewise.
6077         * math/s_clog10f.c (__clog10f): Likewise.
6078         * math/s_clog10l.c (__clog10l): Likewise.
6079         * math/s_clogf.c (__clogf): Likewise.
6080         * math/s_clogl.c (__clogl): Likewise.
6081         * math/libm-test.inc (clog_test): Add more tests.
6082         (clog10_test): Likewise.
6083         * sysdeps/i386/fpu/libm-test-ulps: Update.
6084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6086         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6087         (pltexit): Likewise.
6088         (La_regs): Likewise.
6089         (La_retval): Likewise.
6090         (int_retval): Likewise.
6091         Update #error for removed macros to refer only to definitions in
6092         tst-audit.h.
6093         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6094         macro.
6095         (pltexit): Likewise.
6096         (La_regs): Likewise.
6097         (La_retval): Likewise.
6098         (int_retval): Likewise.
6099         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6100         macro.
6101         (pltexit): Likewise.
6102         (La_regs): Likewise.
6103         (La_retval): Likewise.
6104         (int_retval): Likewise.
6105         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6106         macro.
6107         (pltexit): Likewise.
6108         (La_regs): Likewise.
6109         (La_retval): Likewise.
6110         (int_retval): Likewise.
6111         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6112         macro.
6113         (pltexit): Likewise.
6114         (La_regs): Likewise.
6115         (La_retval): Likewise.
6116         (int_retval): Likewise.
6117         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6118         macro.
6119         (pltexit): Likewise.
6120         (La_regs): Likewise.
6121         (La_retval): Likewise.
6122         (int_retval): Likewise.
6123         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6124         macro.
6125         (pltexit): Likewise.
6126         (La_regs): Likewise.
6127         (La_retval): Likewise.
6128         (int_retval): Likewise.
6129         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6130         macro definitions in tst-audit.h.
6131         * sysdeps/i386/tst-audit.h: New file.
6132         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6133         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6134         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6135         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6136         * sysdeps/sh/tst-audit.h: Likewise.
6137         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6138         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6139         * sysdeps/x86_64/tst-audit.h: Likewise.
6141 2012-07-26  Andreas Jaeger  <aj@suse.de>
6143         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6144         ptrace.
6146         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6147         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6148         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6149         PTRACE_O_MASK.
6150         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6151         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6152         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6154         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6155         value.
6157         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6158         _sigsys.
6159         (si_call_addr, si_syscall, si_arch): Define new macro.
6160         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6161         _sigsys.
6162         (si_call_addr, si_syscall, si_arch): Define new marcro.
6163         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6164         _sigsys.
6165         (si_call_addr, si_syscall, si_arch): Define new macro.
6166         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6167         _sigsys.
6168         (si_call_addr, si_syscall, si_arch): Define new macro.
6170 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6172         [BZ #13717]
6173         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6174         Change to 2.4.21 where previously 2.4.1.
6175         * sysdeps/unix/sysv/linux/configure: Regenerated.
6176         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6177         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6178         Linux kernel version.
6179         (__ASSUME_STD_AUXV): Remove.
6180         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6181         kernel version.
6182         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6183         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6184         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6185         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6186         (__ASSUME_NETLINK_SUPPORT): Likewise.
6187         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6188         (__no_netlink_support): Remove conditional definition.
6189         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6190         Remove.
6191         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6192         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6193         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6194         (if_nameindex_ioctl): Remove.
6195         (if_nameindex_netlink): Do not handle __no_netlink_support.
6196         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6197         code.
6198         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6199         Remove conditional code.
6200         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6201         code.
6202         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6203         unconditional.
6204         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6205         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6206         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6207         Remove.
6208         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6209         [!__ASSUME_STD_AUXV]: Remove conditional code.
6210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6211         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6212         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6214         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6215         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6216         code.
6217         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6219         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6220         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6221         conditional code.
6222         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6224         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6225         code.
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6227         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6228         conditional code.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6230         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6231         code unconditional.
6232         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6233         conditional code.
6234         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6235         unconditional.
6236         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6237         conditional code.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6239         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6240         unconditional.
6241         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6242         conditional code.
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6244         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6245         code unconditional.
6246         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6247         conditional code.
6248         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6249         unconditional.
6250         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6251         conditional code.
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6253         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6254         code unconditional.
6255         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6256         conditional code.
6257         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6258         unconditional.
6259         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6260         conditional code.
6262 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6264         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6265         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6266         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6267         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6268         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6269         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6270         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6271         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6272         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6273         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6274         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6275         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6276         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6277         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6278         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6279         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6280         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6281         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6282         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6284         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6285         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6286         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6288 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6290         * Versions.def: Add GLIBC_2.17.
6291         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6292         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6293         Introduce __libc_secure_getenv.
6294         * stdlib/Versions (2.17): Add secure_getenv
6295         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6296         * stdlib/secure-getenv.c: Rename __secure_getenv to
6297         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6298         symbol __secure_getenv for GLIBC_2.0.
6299         * stdlib/tst-secure-getenv.c: New.
6300         * stdlib/Makefile (tests): Add testcase.
6301         * manual/startup.texi (Environment Access): Document
6302         secure_getenv.
6303         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6304         __libc_secure_getenv.
6305         * inet/ruserpass.c (ruserpass): Likewise.
6306         * malloc/mtrace.c (mtrace): Likewise.
6307         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6308         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6309         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6310         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6311         HAVE_SECURE_GETENV.
6312         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6313         __secure_getenv to __libc_secure_getenv.
6314         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6316         Likewise.
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6318         Likewise.
6319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6321         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6327 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6329         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6330         (struct La_i86_retval): Likewise.
6331         (struct La_x86_64_regs): Likewise.
6332         (struct La_x86_64_retval): Likewise.
6333         (struct La_x32_regs): Likewise.
6334         (struct La_x32_retval): Likewise.
6335         (struct La_ppc32_regs): Likewise.
6336         (struct La_ppc32_retval): Likewise.
6337         (struct La_ppc64_regs): Likewise.
6338         (struct La_ppc64_retval): Likewise.
6339         (struct La_sh_regs): Likewise.
6340         (struct La_sh_retval): Likewise.
6341         (struct La_s390_32_regs): Likewise.
6342         (struct La_s390_32_retval): Likewise.
6343         (struct La_s390_64_regs): Likewise.
6344         (struct La_s390_64_retval): Likewise.
6345         (struct La_sparc32_regs): Likewise.
6346         (struct La_sparc32_retval): Likewise.
6347         (struct La_sparc64_regs): Likewise.
6348         (struct La_sparc64_retval): Likewise.
6349         (struct audit_ifaces): Remove architecture-specific pltenter and
6350         pltexit members.
6351         * sysdeps/i386/ldsodefs.h: New file.
6352         * sysdeps/powerpc/ldsodefs.h: Likewise.
6353         * sysdeps/s390/ldsodefs.h: Likewise.
6354         * sysdeps/sh/ldsodefs.h: Likewise.
6355         * sysdeps/sparc/ldsodefs.h: Likewise.
6356         * sysdeps/x86_64/ldsodefs.h: Likewise.
6358 2012-07-25  Marek Polacek  <polacek@redhat.com>
6360         [BZ #6808]
6361         * math/libm-test.inc (yn_test): Add another test.
6362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6363         to ERANGE when the result is +-Inf.
6364         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6365         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6366         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6367         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6369 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6371         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6372         equal to 0.
6373         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6374         clock_t.
6375         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6377 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6379         * configure.in <sysdeps resolving>: Correct printing
6380         Implies_before.
6381         * configure: Regenerate.
6383 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6385         * math/w_ilogb.c: Include <limits.h>.
6386         * math/w_ilogbl.c: Likewise.
6388 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6390         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6391         va_copy.  Document allowing for unavailable va_copy only as
6392         pre-C99 compatibility.
6393         * manual/string.texi (Copying and Concatenation): Use va_copy
6394         instead of __va_copy in concat example.
6396 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6398         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6399         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6400         it if not null.
6402         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6403         with O_NOLINK passed to __file_name_lookup.
6405         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6406         with O_NOLINK passed to __file_name_lookup.
6408         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6409         negative N or less than NGIDS.
6411         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6412         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6413         enough.  Use memcpy instead of strncpy.
6415 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6417         * elf/Makefile (check-data): Remove.
6418         (localplt.data): New vpath directive.
6419         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6420         instead of $(check-data).
6421         * scripts/data/localplt-generic.data: Move to ...
6422         * sysdeps/generic/localplt.data: ... here.
6423         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6424         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6425         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6427         ... here.
6428         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6430         ... here.
6431         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6433         ... here.
6434         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6436         ... here.
6437         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6439         ... here.
6440         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6442         ... here.
6444 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6446         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6447         PPC32 and PPC64 files.
6448         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6449         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6451 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6453         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6454         __makecontext_ret to ...
6455         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6456         ... here and call exit if uc_link is NULL.  New file.
6457         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6458         __makecontext_ret.S.
6459         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6460         __makecontext_ret to ...
6461         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6462         ... here and call exit if uc_link is NULL.  New file.
6463         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6464         __makecontext_ret.S.
6466 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6468         * elf/elf.h (R_390_IRELATIVE): New definition.
6469         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6470         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6471         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6473         (elf_machine_lazy_rel): Likewise.
6474         * sysdeps/s390/dl-irel.h: New file.
6475         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6476         * sysdeps/s390/s390-64/memset.S: New asm code.
6477         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6478         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6479         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6480         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6481         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6482         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6483         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6484         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6485         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6486         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6487         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6488         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6489         * sysdeps/s390/s390-32/memset.S: New asm code.
6490         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6492 2012-07-17  Marek Polacek  <polacek@redhat.com>
6494         [BZ #14349]
6495         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6496         * sysdeps/s390/s390-64/configure.in: Likewise.
6497         * sysdeps/sparc/configure.in: Likewise.
6498         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6499         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6500         * sysdeps/i386/configure.in: Likewise.
6501         * sysdeps/x86_64/configure.in: Likewise.
6502         * sysdeps/sh/configure.in: Likewise.
6503         * sysdeps/s390/s390-32/configure: Regenerated.
6504         * sysdeps/s390/s390-64/configure: Likewise.
6505         * sysdeps/x86_64/configure: Likewise.
6506         * sysdeps/sh/configure: Likewise.
6507         * sysdeps/powerpc/powerpc64/configure: Likewise.
6508         * sysdeps/powerpc/powerpc32/configure: Likewise.
6509         * sysdeps/sparc/configure: Likwise.
6510         * sysdeps/i386/configure: Likewise.
6512         * elf/dl-open.c: Comment fixes.
6514 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6516         * Makefile [CXX] (check-data): Remove.
6517         [CXX] (c++-types.data): New vpath directive.
6518         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6519         vpath.  Do not allow for C++ type data being missing.
6520         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6521         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6522         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6523         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6524         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6525         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6526         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6528         ... here.
6529         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6531         ... here.
6532         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6534         ... here.
6535         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6537         ... here.
6538         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6540         ... here.
6541         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6543         ... here.
6544         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6546         ... here.
6547         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6550         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6551         definitions to architecture-specific files.
6552         (TLS_IE): Likewise.
6553         (TLS_LD): Likewise.
6554         (TLS_GD): Likewise.
6555         * sysdeps/i386/tls-macros.h: New file.
6556         * sysdeps/powerpc/tls-macros.h: Likewise.
6557         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6558         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6559         * sysdeps/sh/tls-macros.h: Likewise.
6560         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6561         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6562         * sysdeps/x86_64/tls-macros.h: Likewise.
6564 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6566         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6567         zero value for regular exit case.
6569         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6570         (__start_context): Preserve zero value for regular exit case.
6572 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6573             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6575         * manual/setjmp.texi (setcontext): Clarify normal process
6576         termination when uc_link is the null pointer.
6577         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6578         exit call.
6580 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6582         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6583         preprocessor.  Test for each exception mask separately.
6585 2012-07-16  Andreas Jaeger  <aj@suse.de>
6587         * po/ru.po: Update from translation team.
6589 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6591         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6592         equal to 0.
6593         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6594         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6595         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6596         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6597         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6599 2012-07-13  Andreas Jaeger  <aj@suse.de>
6601         * po/fr.po: Update from translation team.
6603 2012-07-12  Marek Polacek  <polacek@redhat.com>
6605         [BZ #14173]
6606         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6608         loop condition.
6610 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6612         [BZ #13717]
6613         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6614         Change to 2.4.1 where previously 2.4.0.
6615         * sysdeps/unix/sysv/linux/configure: Regenerated.
6616         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6617         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6618         version.
6619         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6620         (__ASSUME_AT_CLKTCK): Remove.
6621         (__ASSUME_AT_PAGESIZE): Likewise.
6622         (__ASSUME_AT_XID): Likewise.
6623         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6624         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6625         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6626         unconditionally.
6627         (HAVE_AUX_PAGESIZE): Likewise.
6628         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6629         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6630         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6632 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6634         [BZ #14307]
6635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6636         the temporary buffer used to invoke __gethostbyname2_r,
6637         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6638         host_data / struct gaih_addrtuple.
6639         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6640         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6641         header file nss/nsswitch.h.
6642         * nss/nsswitch.h (global scope): Add definition of implementation
6643         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6644         resolv/nss_dns/dns-host.c).
6646 2012-07-11  Andreas Jaeger  <aj@suse.de>
6648         * po/fr.po: Update from translation team.
6650         * po/sv.po: Update from translation team
6651         * po/fr.po: Another update from translation team.
6653 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6655         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6656         for subnormals or multiply small sinh result by itself.
6657         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6660 2012-07-11  David S. Miller  <davem@davemloft.net>
6662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6664 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6666         [BZ #14347]
6667         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6668         (INTERNAL_MARK): Shift it here.
6670 2012-07-10  Marek Polacek  <polacek@redhat.com>
6672         [BZ #14151]
6673         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6674         libc_cv_asm_global_directive with .globl.
6675         * configure: Regenerated.
6676         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6677         with .globl.
6678         * sysdeps/i386/configure: Regenerated.
6679         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6680         with .globl.
6681         * sysdeps/x86_64/configure: Regenerated.
6682         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6683         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6684         * elf/tst-unique2mod2.c: Likewise.
6685         * elf/tst-unique2mod1.c: Likewise.
6686         * elf/tst-unique1mod2.c: Likewise.
6687         * elf/tst-unique1mod1.c: Likewise.
6688         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6689         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6690         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6691         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6692         * sysdeps/mach/sysdep.h: Likewise.
6693         * sysdeps/i386/sysdep.h: Likewise.
6694         * sysdeps/i386/i386-mcount.S: Likewise.
6695         * sysdeps/x86_64/_mcount.S: Likewise.
6696         * sysdeps/x86_64/sysdep.h: Likewise.
6697         * sysdeps/sh/_mcount.S: Likewise.
6698         * sysdeps/sh/sysdep.h: Likewise.
6699         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6700         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6701         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6702         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6703         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6704         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6705         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6706         * locale/localeinfo.h: Likewise.
6707         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6708         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6710 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6712         [BZ #14336]
6713         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6714         system".
6715         * manual/message.texi (The Uniforum approach): Likewise.
6716         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6717         (glibc iconv Implementation): Likewise.
6719 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6721         [BZ #14337]
6722         * math/s_clog.c (__clog): Avoid scaling a value down where that
6723         could result in underflow.
6724         * math/s_clog10.c (__clog10): Likewise.
6725         * math/s_clog10f.c (__clog10f): Likewise.
6726         * math/s_clog10l.c (__clog10l): Likewise.
6727         * math/s_clogf.c (__clogf): Likewise.
6728         * math/s_clogl.c (__clogl): Likewise.
6729         * math/libm-test.inc (clog_test): Add more tests.
6730         (clog10_test): Likewise.
6731         * sysdeps/i386/fpu/libm-test-ulps: Update.
6732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6734 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6736         [BZ #14283]
6737         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6738         by 7 not 8 to examine high bit of fractional part.
6740         [BZ #14042]
6741         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6742         for call to __mcount_internal.
6743         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6744         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6745         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6747 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6749         [BZ #14154]
6750         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6751         approximation for values within 0x1p-13f of an odd multiple of
6752         pi/4.
6753         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6754         exception.  Add more tests.
6755         * sysdeps/i386/fpu/libm-test-ulps: Update.
6757         [BZ #6778]
6758         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6759         inputs and return -1 for them.  Do not check for +Inf in case not
6760         reachable for +Inf.
6761         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6762         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6763         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6764         and return -1 for them.  Do not check for +Inf in case not
6765         reachable for +Inf.
6766         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6767         define.
6768         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6769         and return -1 for them.  Do not check for +Inf in case not
6770         reachable for +Inf.
6771         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6772         spurious underflow.
6773         * sysdeps/i386/fpu/libm-test-ulps: Update.
6774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6778         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6780 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6782         [BZ #14157]
6783         [BZ #14331]
6784         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6785         could result in spurious underflow.  Scale down values above
6786         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6787         * math/s_csqrtf.c (__csqrtf): Likewise.
6788         * math/s_csqrtl.c (__csqrtl): Likewise.
6789         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6790         spurious underflow.
6791         * sysdeps/i386/fpu/libm-test-ulps: Update.
6792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6794 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6796         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6797         xopen-msg.sed.
6798         * catgets/xopen-msg.awk: New file.
6799         * catgets/xopen-msg.sed: Removed.
6801         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6802         po2text.sed.
6803         * intl/po2test.awk: New file.
6804         * intl/po2test.sed: Removed.
6806 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6808         [BZ #14328]
6809         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6810         or multiply small sinh result by itself.
6811         * math/s_ctanf.c (__ctanf): Likewise.
6812         * math/s_ctanh.c (__ctanh): Likewise.
6813         * math/s_ctanhf.c (__ctanhf): Likewise.
6814         * math/s_ctanhl.c (__ctanhl): Likewise.
6815         * math/s_ctanl.c (__ctanl): Likewise.
6816         * math/libm-test.inc (ctan_test_tonearest): New function.
6817         (ctan_test_towardzero): Likewise.
6818         (ctan_test_downward): Likewise.
6819         (ctan_test_upward): Likewise.
6820         (ctanh_test_tonearest): Likewise.
6821         (ctanh_test_towardzero): Likewise.
6822         (ctanh_test_downward): Likewise.
6823         (ctanh_test_upward): Likewise.
6824         (main): Call these new functions.
6825         * sysdeps/i386/fpu/libm-test-ulps: Update.
6826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6830         * .gitignore: Delete /ports entry.
6832 2012-07-03  Andreas Jaeger  <aj@suse.de>
6834         * po/bg.po: Update from translation team.
6835         * po/cs.po: Likewise.
6836         * po/de.po: Likewise.
6837         * po/hr.po: Likewise.
6838         * po/nl.pl: Likewise.
6839         * po/pl.po: Likewise.
6840         * po/vi.po: Likewise.
6842 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6844         * Makeconfig [!+link] (+link-before-libc): New variable.
6845         [!+link] (+link-after-libc): Likewise.
6846         [!+link] (+link-tests): Likewise.
6847         [!+link] (+link): Define in terms of $(+link-before-libc) and
6848         $(+link-after-libc).
6849         [!+link-static] (+link-static-before-libc): New variable.
6850         [!+link-static] (+link-static-after-libc): Likewise.
6851         [!+link-static] (+link-static-tests): Likewise.
6852         [!+link-static] (+link-static): Define in terms of
6853         $(+link-static-before-libc) and $(+link-static-after-libc).
6854         [build-shared] (link-libc-before-gnulib): New variable.
6855         [build-shared] (link-libc-tests): Likewise.
6856         [build-shared] (link-libc): Define in terms of
6857         $(link-libc-before-gnulib).
6858         [!build-shared] (link-libc-tests): New variable.
6859         (link-libc-static-tests): New variable.
6860         [!gnulib] (gnulib-arch): New variable.
6861         [!gnulib] (gnulib-tests): Likewise.
6862         [!gnulib] (static-gnulib-arch): Likewise.
6863         [!gnulib] (static-gnulib-tests): Likewise.
6864         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6865         Define with "=" instead of ":=".
6866         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6867         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6868         * Rules (binaries-all-notests): New variable.
6869         (binaries-all-tests): Likewise.
6870         (binaries-static-notests): Likewise.
6871         (binaries-static-tests): Likewise.
6872         (binaries-all): Define using $(binaries-all-notests) and
6873         $(binaries-all-tests).
6874         (binaries-static): Define using $(binaries-static-notests) and
6875         $(binaries-static-tests).
6876         (binaries-shared-tests): New variable.
6877         (binaries-shared-notests): Likewise.
6878         (binaries-shared): Remove variable.
6879         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6880         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6881         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6882         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6883         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6884         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6885         * elf/Makefile (sln-modules): New variable.
6886         (extra-objs): Add $(sln-modules:=.o).
6887         (ldconfig-modules): Add static-stubs.
6888         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6889         * elf/static-stubs.c: New file.
6891         [BZ #14283]
6892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6893         by 7 not 8 to examine high bit of fractional part.  Use volatile
6894         variables when splitting into final array of floats if
6895         __FLT_EVAL_METHOD__ != 0.
6896         * math/libm-test.inc (cos_test): Add another test.
6897         (sin_test): Likewise.
6898         * sysdeps/i386/fpu/libm-test-ulps: Update.
6900         [BZ #14273]
6901         * math/libm-test.inc (cosh_test): Add more tests.
6903         * version.h (RELEASE): Set to "development".
6904         (VERSION): Set to "2.16.90".
6906 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6908         * NEWS: Update copyright. Remove last-updated date.
6909         Mention math library bug fixes and timezone data changes.
6910         * README: Mention GNU/Hurd, x32, and HPPA support status.
6912 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6914         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6916 2012-06-27  Andreas Jaeger  <aj@suse.de>
6918         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6920 2012-06-25  Andreas Jaeger  <aj@suse.de>
6922         * sysdeps/s390/fpu/libm-test-ulps: Update.
6924 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6925             Thomas Schwinge  <thomas@codesourcery.com>
6927         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6928         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6929         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6930         fanotify_mark.
6932 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6934         * sysdeps/mach/start.c: Remove file.
6935         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6936         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6937         * sysdeps/sh/init-first.c: Likewise.
6939         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6940         registers for frame unwinding purposes, add CFI directives.
6941         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6942         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6943         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6944         Likewise.
6946         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6947         __fortify_fail returning.
6948         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6950         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6951         sysdeps/sh/____longjmp_chk.S.
6952         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6953         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6954         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6955         (gen-as-const-headers): Append sigaltstack-offsets.sym.
6957         * sysdeps/sh/abort-instr.h: New file.
6958         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6959         process in case exit returns.
6961         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6962         initialize the GOT register before use.
6964         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6965         calculation of ARGC > 4.
6967         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6968         meaningful names to some local labels.
6970 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6971             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6973         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6974         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6975         (__arch_compare_and_exchange_val_16_acq): Likewise.
6976         (__arch_compare_and_exchange_val_32_acq): Likewise.
6977         (atomic_exchange_and_add): Fix gUSA sequence.
6978         (atomic_add): Likewise.
6979         (atomic_add_negative): Likewise.
6980         (atomic_add_zero): Likewise.
6981         (atomic_bit_test_set): Likewise.
6983 2012-06-22  Andreas Schwab  <schwab@redhat.com>
6985         [BZ #13579]
6986         * include/link.h (struct link_map): Add l_free_initfini.
6987         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6988         l_initfini.
6989         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6990         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6991         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6992         set.
6994 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
6996         * configure.in: Use AC_LANG_SOURCE.
6997         * configure: Regenerate.
6999 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7001         * configure.in (libc_cv_localstatedir): New substituted variable.
7002         * configure: Regenerated.
7003         * config.make.in (localstatedir): New variable, substituted from
7004         libc_cv_localstatedir.
7005         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7006         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7007         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7008         * sysdeps/gnu/configure: Regenerated.
7010 2012-06-21  Jeff Law  <law@redhat.com>
7012         [BZ #14277]
7013         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7014         free.  Simplify list management for _LIBC case.
7016 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7018         [BZ #14273]
7019         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7020         Clear sign bit of 64-bit integer value before comparing against
7021         overflow value.
7023         * sysdeps/mach/configure: Regenerated.
7025 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7027         [BZ #14278]
7028         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7030 2012-06-21  Jeff Law  <law@redhat.com>
7032         [BZ #13882]
7033         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7034         uint16_t for elements in the "seen" array to avoid char overflows.
7035         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7036         * elf/dl-open.c (dl_open_worker): Likewise.
7038 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7040         * scripts/list-sources.sh: Scan PORTS for translations.
7041         * po/libc.pot: Regenerated.
7043 2012-06-21  Andreas Jaeger  <aj@suse.de>
7045         [BZ #12194]
7046         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7047         warning.
7048         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7049         * bits/byteswap-16.h (__bswap_16): Likewise.
7050         * bits/byteswap.h (__bswap_constant_16): Likewise.
7052 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7054         [BZ #14117]
7055         * sysdeps/i386/fpu_control.h: Removed.
7056         * sysdeps/x86_64/fpu_control.h: Moved to ...
7057         * sysdeps/x86/fpu_control.h: Here.
7059         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7060         (_FPU_SETCW): Likewise.
7062 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7064         [BZ #14117]
7065         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7066         * sysdeps/x86/fpu/bits/mathinline.h: This.
7067         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7069         [BZ #14050]
7070         [BZ #14117]
7071         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7072         functions if __x86_64__ is defined.
7074 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7076         * string/endian.h: Add !__ASSEMBLER__ condition for including
7077         conversion interfaces.
7079 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7081         [BZ #14241]
7082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7083         of ABS(x) in calculating zero to negative powers other than odd
7084         integers.
7085         * math/libm-test.inc (pow_test): Add more tests.
7087 2012-06-15  Andreas Jaeger  <aj@suse.de>
7089         * manual/contrib.texi (Contributors): Update entry of Liubov
7090         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7091         Machado Filho.
7093 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7095         * string/string.h: Add __wur to GNU version of strerror_r.
7097 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7099         [BZ #14229]
7100         * string/Makefile (tests): Add tst-strtok_r.
7101         * string/tst-strtok_r.c: New file.
7102         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7103         RAX_LP/RDX_LP on SAVE_PTR.
7105 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7107         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7109 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7111         * libm_test.inc (csqrt_test): Allow more spurious underflow
7112         exceptions.
7113         (j0_test): Likewise.
7114         (j1_test): Likewise.
7115         (y0_test): Likewise.
7116         (y1_test): Likewise.
7118 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7120         * po/Makefile (libc.pot): Use UTF-8 charset.
7122 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7124         [BZ #14210]
7125         Suppress sign-conversion warning from FD_SET.
7126         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7127         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7128         not unsigned long int.
7129         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7131 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7133         [BZ #14050]
7134         [BZ #14117]
7135         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7136         __extern_always_inline instead of __extern_inline.
7137         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7138         (__signbit): Likewise.
7139         (__signbitl): Support C++ namespace.
7140         (lrintf): New inline function.
7141         (lrint): Likewise.
7142         (llrintf): Likewise.
7143         (llrint): Likewise.
7144         (fmaxf): Likewise.
7145         (fmax): Likewise.
7146         (fminf): Likewise.
7147         (fmin): Likewise.
7148         (rint): Likewise.
7149         (rintf): Likewise.
7150         (ceil): Likewise.
7151         (ceilf): Likewise.
7152         (floor): Likewise.
7153         (floorf): Likewise.
7154         (nearbyint): Likewise.
7155         (nearbyintf): Likewise.
7157 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7159         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7160         non-default versions.
7162 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7164         [BZ #14218]
7165         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7167 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7169         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7170         (FE_UPWARD, FE_DOWNWARD): Don't define.
7171         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7172         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7174         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7175         reading it.
7176         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7177         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7179 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7181         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7182         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7183         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7184         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7186 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7188         [BZ #14117]
7189         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7190         * sysdeps/i386/fpu/Implies: New file.
7191         * sysdeps/x86_64/fpu/Implies: Likewise.
7192         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7193         * sysdeps/x86/fpu/bits/fenv.h: This.
7195         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7196         __SSE_MATH__.
7198 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7200         [BZ #14134]
7201         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7202         character 0xffff that matches the last element of the
7203         conversion table.
7205 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7207         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7208         fmodl commit.
7210 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7212         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7213         values higher than 25.6283.
7215 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7217         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7218         subnormal exponent extraction and add some __builtin_expect.
7219         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7220         Fix for subnormal mantissa calculation.
7222 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7224         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7225         cpu2 is -1 and errno is not ENOSYS.
7227 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7229         [BZ #14117]
7230         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7231         * sysdeps/x86/bits/string.h: This.
7232         * sysdeps/x86_64/bits/string.h: Removed.
7234         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7235         if not compiling for x86-64, but compiling for >= i486.
7237         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7238         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7240         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7241         New macro from Linux kernel 3.4.0.
7242         (FP_XSTATE_MAGIC2): Likewise.
7243         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7244         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7245         (struct _fpx_sw_bytes): New struct.
7246         (struct _xsave_hdr): Likewise.
7247         (struct _ymmh_state): Likewise.
7248         (struct _xstate): Likewise.
7250         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7251         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7252         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7253         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7254         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7255         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7257         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7258         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7259         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7260         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7261         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7262         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7264 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7266         [BZ #13743]
7267         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7268         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7269         (sysdep_headers): Include sys/platform/ppc.h.
7270         * sysdeps/powerpc/test-gettimebase.c: Test for
7271         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7272         * manual/Makefile (appendices): Include platform.texi.
7273         * manual/contrib.texi (Contributors): Update @node pointers.
7274         * manual/maint.texi (Maintenance): Likewise.
7275         (Platform): New node.
7276         * manual/platform.texi: New file.  Document the new features.
7278 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7279             Jakub Jelinek  <jakub@redhat.com>
7281         [BZ #14188]
7282         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7283         where __builtin_expect is unavailable.
7285 2012-06-03  David S. Miller  <davem@davemloft.net>
7287         * stdlib/longlong.h: Updated from GCC.
7289 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7291         [BZ #14042]
7292         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7293         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7294         __mcount_internal.
7295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7296         (GLIBC_2.16): Likewise.
7298 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7300         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7302 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7305         (default-abi): New variable.
7306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7307         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7308         variable.
7309         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7310         Likewise.
7311         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7312         Likewise.
7313         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7314         Likewise.
7316         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7317         definition.  Document in comment.
7319 2012-06-01  David S. Miller  <davem@davemloft.net>
7321         * stdlib/longlong.h: Updated from GCC.
7323 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7325         [BZ #14117]
7326         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7327         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7328         sys/debugreg.h sys/io.h here.
7329         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7330         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7331         sys/io.h.
7332         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7333         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7334         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7335         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7336         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7337         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7339         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7340         Define only if __x86_64__ is defined.
7342 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7344         [BZ #14048]
7345         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7346         Use int64_t for variable i.
7347         * math/libm-test.inc (fmod_test): Add more tests.
7349         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7350         z computation is not scheduled after fetestexcept.
7351         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7352         Use math_force_eval instead of asm to ensure calculation scheduled
7353         before exception test.
7354         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7355         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7357 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7360         computation is not scheduled after fetestexcept.
7362 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7364         [BZ #14117]
7365         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7366         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7368 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7370         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7371         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7373 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7375         [BZ #14117]
7376         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7377         <bits/wordsize.h>.
7378         (__WCHAR_MIN): Support __WORDSIZE == 64.
7379         (__WCHAR_MAX): Likewise.
7381         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7382         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7384         [BZ #14183]
7385         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7386         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7388         [BZ #14117]
7389         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7390         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7392         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7393         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7395         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7396         Defined to 1 if __x86_64__ isn't defined.
7397         (_STAT_VER_LINUX_OLD): New.
7398         (st_atime): Remove duplicate.
7399         (st_mtime): Likewise.
7400         (st_ctime): Likewise.
7402 2012-05-31  David S. Miller  <davem@davemloft.net>
7404         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7405         entries.
7407 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7409         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7410         gen-libm-test.pl.
7412         [BZ #14132]
7413         * elf/dl-reloc.c: Include <_itoa.h>.
7414         (_dl_reloc_bad_type): Remove use of INTUSE.
7415         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7416         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7417         * stdio-common/psiginfo.c (psiginfo): Likewise.
7418         * stdio-common/psignal.c (psignal): Likewise.
7419         * string/strsignal.c (strsignal): Likewise.
7420         * include/signal.h (_sys_siglist): Declare hidden proto.
7421         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7422         INTVARDEF with libc_hidden_data_def.
7423         * stdio-common/itoa-udigits.c: Likewise.
7424         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7425         (_itoa_lower_digits_internal): Remove declaration.
7426         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7427         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7428         (_sys_sigabbrev_internal): Remove aliases.
7429         (_sys_siglist): Define hidden alias.
7431 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7434         bits/sysctl.h.
7436 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7438         [BZ #14117]
7439         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7440         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7442         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7443         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7444         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7445         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7446         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7447         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7449         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7450         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7451         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7453         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7454         with __addr.
7455         (insw): Likewise.
7456         (insl): Likewise.
7457         (outsb): Likewise.
7458         (outsw): Likewise.
7459         (outsl): Likewise.
7461         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7462         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7463         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7465         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7466         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7467         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7468         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7469         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7470         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7472         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7473         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7475         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7476         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7478         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7479         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7480         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7482         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7483         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7484         to ...
7485         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7487         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7488         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7489         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7491         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7492         for x86-64.
7493         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7495 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7497         * math/math.h (M_El): Use two more decimal places.
7498         (M_LOG2El): Likewise.
7499         (M_LOG10El): Likewise.
7500         (M_LN2l): Likewise.
7501         (M_LN10l): Likewise.
7502         (M_PIl): Likewise.
7503         (M_PI_2l): Likewise.
7504         (M_PI_4l): Likewise.
7505         (M_1_PIl): Likewise.
7506         (M_2_PIl): Likewise.
7507         (M_2_SQRTPIl): Likewise.
7508         (M_SQRT2l): Likewise.
7509         (M_SQRT1_2l): Likewise.
7511 2012-05-31  David S. Miller  <davem@davemloft.net>
7513         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7514         values between float registers.
7515         * sysdeps/sparc/sparc64/memset.S: Likewise.
7516         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7518 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7520         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7521         -D_FORTIFY_SOURCE=1.
7522         (CPPFLAGS-tst-longjmp_chk.c): Define.
7523         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7524         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7525         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7526         CFLAGS-tst-wchar-h.c.
7528 2012-05-31  Marek Polacek  <polacek@redhat.com>
7530         [BZ #14132]
7531         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7532         __endmntent_internal): Remove declaration.
7533         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7534         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7535         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7537 2012-05-30  David S. Miller  <davem@davemloft.net>
7539         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7540         (___Q_simulate_exceptions): Use real FP ops rather than writing
7541         into the %fsr.
7542         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7543         Likewise.
7545 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7547         [BZ #14117]
7548         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7549         * sysdeps/x86/bits/xtitypes.h: This.
7551         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7552         * sysdeps/x86/bits/wordsize.h: This.
7554         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7555         * sysdeps/x86/bits/huge_vall.h: This.
7557         * sysdeps/i386/bits/select.h: Removed.
7558         * sysdeps/x86_64/bits/select.h: Renamed to ...
7559         * sysdeps/x86/bits/select.h: This.
7561         * sysdeps/i386/bits/setjmp.h: Removed.
7562         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7563         * sysdeps/x86/bits/setjmp.h: This.
7565         * sysdeps/i386/bits/mathdef.h: Removed.
7566         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7567         * sysdeps/x86/bits/mathdef.h: This.
7569 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7571         [BZ #14132]
7572         * include/sys/socket.h (__connect_internal)
7573         (__libc_sa_len_internal): Remove declaration.
7574         (__connect, __libc_sa_len): Declare hidden_proto.
7575         (SA_LEN): Remove use of INTUSE.
7576         * socket/connect.c: Add libc_hidden_def.
7577         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7578         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7579         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7580         alias.
7581         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7582         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7583         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7584         of adding _internal alias.
7586 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7588         [BZ #14117]
7589         * sysdeps/i386/bits/link.h: Removed.
7590         * sysdeps/i386/bits/linkmap.h: Likewise.
7591         * sysdeps/x86_64/bits/link.h: Renamed to ...
7592         * sysdeps/x86/bits/link.h: This.
7593         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7594         * sysdeps/x86/bits/linkmap.h: This.
7596         * sysdeps/i386/bits/endian.h: Removed.
7597         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7598         * sysdeps/x86/bits/endian.h: This.
7600         * sysdeps/i386/bits/byteswap.h: Removed.
7601         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7602         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7603         * sysdeps/x86/bits/byteswap.h: This.
7604         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7605         * sysdeps/x86/bits/byteswap-16.h: This.
7606         * sysdeps/i386/Implies: Add x86.
7607         * sysdeps/x86_64/Implies: Likewise.
7609 2012-05-30  David S. Miller  <davem@davemloft.net>
7611         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7612         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7613         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7614         (FP_TRAPPING_EXCEPTIONS): Define.
7615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7616         (FP_TRAPPING_EXCEPTIONS): Define.
7617         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7618         subnormals only when inexact has been signalled or underflow
7619         exceptions are enabled.
7620         (_FP_PACK_CANONICAL): Likewise.
7622 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7624         [BZ #14183]
7625         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7626         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7628 2012-05-30  Richard Henderson  <rth@twiddle.net>
7630         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7631         with #ifndef NOT_IN_libc.
7633         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7634         marked to avoid plt entry.
7636 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7638         [BZ #14112]
7639         * Makeconfig (default-abi): New macro.
7640         (abi-includes): Likewise.
7641         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7642         $(abi-$(default-abi)-lib-soname) for soname if defined.
7643         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7644         abi-variants.
7645         * Makefile (installed-stubs): Likewise.
7646         * include/stubs-biarch.h: Removed.
7647         * scripts/lib-names.awk: Only handle one library at a time.
7648         * scripts/soversions.awk: Remove WORDSIZE support.
7649         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7650         entries.
7651         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7652         Removed.
7653         (syscall-list-default-condition): Likewise.
7654         (syscall-list-default-condition): Likewise.
7655         (syscall-list-includes): Likewise.
7656         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7657         syscall-list-* with abi-*.  Handle undefined abi-variants.
7658         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7659         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7660         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7661         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7662         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7663         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7664         Removed.
7665         (syscall-list-32-options): Likewise.
7666         (syscall-list-32-condition): Likewise.
7667         (syscall-list-64-options): Likewise.
7668         (syscall-list-64-condition): Likewise.
7669         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7670         macro.
7671         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7672         Renamed to ...
7673         (abi-*): This.
7674         (abi-64-ld-soname): New macro.
7675         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7676         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7677         Renamed to ...
7678         (abi-*): This.
7679         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7680         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7682 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7684         * sysdeps/unix/sysv/linux/kernel-features.h
7685         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7686         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7687         include <kernel-features.h>.
7688         [!__NR_ftruncate64]: Remove conditional code.
7689         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7690         [__NR_ftruncate64]: Make code unconditional.
7691         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7692         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7693         include <kernel-features.h>.
7694         [!__NR_ftruncate64]: Remove conditional code.
7695         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7696         [__NR_ftruncate64]: Make code unconditional.
7697         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7699         include <kernel-features.h>.
7700         [!__NR_ftruncate64]: Remove conditional code.
7701         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7702         [__NR_ftruncate64]: Make code unconditional.
7703         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7705         include <kernel-features.h>.
7706         [!__NR_ftruncate64]: Remove conditional code.
7707         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7708         [__NR_ftruncate64]: Make code unconditional.
7709         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7711         * configure.in (libc_cv_fpie): Weaken to a compile test using
7712         LIBC_TRY_CC_OPTION.
7713         * configure: Regenerated.
7715 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7721         Refreshed.
7722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7728         Refreshed.
7730 2012-05-27  David S. Miller  <davem@davemloft.net>
7732         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7733         (___Q_zero): New.
7734         (__Q_simulate_exceptions): Return void.  Change to simulate
7735         exceptions by writing into the %fsr.
7736         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7737         (__Qp_handle_exceptions): Likewise.
7738         (numbers): Delete.
7739         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7740         __Qp_handle_exceptions.
7741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7742         __Qp_handle_exceptions.
7743         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7744         as unused and give dummy FP_RND_NEAREST initializer.
7745         (FP_INHIBIT_RESULTS): Define.
7746         (___Q_simulate_exceptions): Update declaration.
7747         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7748         formatting.
7749         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7750         as unused and give dummy FP_RND_NEAREST initializer.
7751         (__Qp_handle_exceptions): Update declaration.
7752         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7753         formatting.
7755 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7757         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7758         the temporary FPU control word.
7759         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7760         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7761         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7762         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7763         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7764         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7765         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7766         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7767         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7768         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7769         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7771 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7773         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7774         fields.
7776 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7778         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7779         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7780         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7781         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7782         Likewise.
7783         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7784         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7785         Likewise.
7787 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7789         * po/h.po: Update from translation team.
7791 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7793         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7795         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7796         handling of denormals.
7797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7798         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7799         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7800         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7802         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7803         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7804         Likewise.
7806 2012-05-26  Marek Polacek  <polacek@redhat.com>
7808         [BZ #14152]
7809         * math/libm-test.inc (fma_test): Don't always expect underflow
7810         exception.
7812 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7814         [BZ #12416]
7815         * elf/tst-execstack.c: Include stackinfo.h.
7816         (do_test): Adjust test case to ensure that pthread_getattr_np
7817         behaviour remains the same after marking stack executable.
7819 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7821         * sysdeps/unix/sysv/linux/kernel-features.h
7822         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7823         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7824         kernel-features.h.
7825         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7826         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7827         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7828         kernel-features.h.
7829         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7830         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7832 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7834         * configure.in: Define the default includes to being none.
7835         * configure: Regenerated.
7837 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7839         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7840         * sysdeps/x86_64/setjmp.S: Likewise.
7841         * sysdeps/i386/bsd-setjmp.S: Likewise.
7842         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7843         * sysdeps/i386/setjmp.S: Likewise.
7844         * sysdeps/i386/__longjmp.S: Likewise.
7845         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7846         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7848         * include/stap-probe.h: New file.
7849         * configure.in: Handle --enable-systemtap.
7850         * configure: Regenerated.
7851         * config.h.in (USE_STAP_PROBE): New #undef.
7852         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7853         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7854         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7856 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7858         [BZ #13717]
7859         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7860         to 2.4.0 where earlier.
7861         * sysdeps/unix/sysv/linux/configure: Regenerated.
7862         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7863         <kernel-features.h>.
7864         [__ASSUME_32BITUIDS]: Make code unconditional.
7865         [!__ASSUME_32BITUIDS]: Remove conditional code.
7866         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7867         <kernel-features.h>.
7868         [__ASSUME_32BITUIDS]: Make code unconditional.
7869         [!__ASSUME_32BITUIDS]: Remove conditional code.
7870         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7871         [__ASSUME_32BITUIDS]: Make code unconditional.
7872         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7873         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7874         <kernel-features.h>.
7875         [__ASSUME_32BITUIDS]: Make code unconditional.
7876         [!__ASSUME_32BITUIDS]: Remove conditional code.
7877         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7878         <kernel-features.h>.
7879         [__ASSUME_32BITUIDS]: Make code unconditional.
7880         [!__ASSUME_32BITUIDS]: Remove conditional code.
7881         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7882         <kernel-features.h>.
7883         [__ASSUME_32BITUIDS]: Make code unconditional.
7884         [!__ASSUME_32BITUIDS]: Remove conditional code.
7885         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7886         <kernel-features.h>.
7887         [__ASSUME_32BITUIDS]: Make code unconditional.
7888         [!__ASSUME_32BITUIDS]: Remove conditional code.
7889         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7890         <kernel-features.h>.
7891         [__ASSUME_32BITUIDS]: Make code unconditional.
7892         [!__ASSUME_32BITUIDS]: Remove conditional code.
7893         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7894         <kernel-features.h>.
7895         [__ASSUME_32BITUIDS]: Make code unconditional.
7896         [!__ASSUME_32BITUIDS]: Remove conditional code.
7897         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7898         <kernel-features.h>.
7899         [__ASSUME_32BITUIDS]: Make code unconditional.
7900         [!__ASSUME_32BITUIDS]: Remove conditional code.
7901         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7902         <kernel-features.h>.
7903         [__ASSUME_32BITUIDS]: Make code unconditional.
7904         [!__ASSUME_32BITUIDS]: Remove conditional code.
7905         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7906         <kernel-features.h>.
7907         [__ASSUME_32BITUIDS]: Make code unconditional.
7908         [!__ASSUME_32BITUIDS]: Remove conditional code.
7909         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7910         <kernel-features.h>.
7911         [__ASSUME_32BITUIDS]: Make code unconditional.
7912         [!__ASSUME_32BITUIDS]: Remove conditional code.
7913         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7914         <kernel-features.h>.
7915         [__NR_setresgid] (__setresgid): Do not declare.
7916         [__ASSUME_32BITUIDS]: Make code unconditional.
7917         [!__ASSUME_32BITUIDS]: Remove conditional code.
7918         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7919         <kernel-features.h>.
7920         [__NR_setresuid] (__setresuid): Do not declare.
7921         [__ASSUME_32BITUIDS]: Make code unconditional.
7922         [!__ASSUME_32BITUIDS]: Remove conditional code.
7923         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7924         <kernel-features.h>.
7925         [__ASSUME_32BITUIDS]: Make code unconditional.
7926         [!__ASSUME_32BITUIDS]: Remove conditional code.
7927         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7928         <kernel-features.h>.
7929         [__ASSUME_32BITUIDS]: Make code unconditional.
7930         [!__ASSUME_32BITUIDS]: Remove conditional code.
7931         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7932         <kernel-features.h>.
7933         [__ASSUME_32BITUIDS]: Make code unconditional.
7934         [!__ASSUME_32BITUIDS]: Remove conditional code.
7935         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7936         <kernel-features.h>.
7937         [__ASSUME_32BITUIDS]: Make code unconditional.
7938         [!__ASSUME_32BITUIDS]: Remove conditional code.
7939         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7940         <kernel-features.h>.
7941         [__ASSUME_32BITUIDS]: Make code unconditional.
7942         [!__ASSUME_32BITUIDS]: Remove conditional code.
7943         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7944         <kernel-features.h>.
7945         [__ASSUME_32BITUIDS]: Make code unconditional.
7946         [!__ASSUME_32BITUIDS]: Remove conditional code.
7947         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7948         <kernel-features.h>.
7949         [__ASSUME_32BITUIDS]: Make code unconditional.
7950         [!__ASSUME_32BITUIDS]: Remove conditional code.
7951         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7952         <kernel-features.h>.
7953         [__ASSUME_32BITUIDS]: Make code unconditional.
7954         [!__ASSUME_32BITUIDS]: Remove conditional code.
7955         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7956         <kernel-features.h>.
7957         [__ASSUME_32BITUIDS]: Make code unconditional.
7958         [!__ASSUME_32BITUIDS]: Remove conditional code.
7959         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7960         <kernel-features.h>.
7961         [__ASSUME_32BITUIDS]: Make code unconditional.
7962         [!__ASSUME_32BITUIDS]: Remove conditional code.
7963         * sysdeps/unix/sysv/linux/kernel-features.h
7964         (__ASSUME_SETRESUID_SYSCALL): Remove.
7965         (__ASSUME_SETRESGID_SYSCALL): Likewise.
7966         (__ASSUME_32BITUIDS): Likewise.
7967         (__ASSUME_LDT_WORKS): Likewise.
7968         (__ASSUME_O_DIRECTORY): Likewise.
7969         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7970         architecture but not kernel version.
7971         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7972         (__ASSUME_MMAP2_SYSCALL): Likewise.
7973         (__ASSUME_STAT64_SYSCALL): Likewise.
7974         (__ASSUME_IPC64): Likewise.
7975         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7976         <kernel-features.h>.
7977         [__ASSUME_32BITUIDS]: Make code unconditional.
7978         [!__ASSUME_32BITUIDS]: Remove conditional code.
7979         * sysdeps/unix/sysv/linux/opendir.c: Do not include
7980         <kernel-features.h>.
7981         [__ASSUME_O_DIRECTORY]: Make code unconditional.
7982         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7983         132096]: Remove conditional code.
7984         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7985         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7986         <kernel-features.h>.
7987         [__ASSUME_32BITUIDS]: Make code unconditional.
7988         [!__ASSUME_32BITUIDS]: Remove conditional code.
7989         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7990         <kernel-features.h>.
7991         [__ASSUME_32BITUIDS]: Make code unconditional.
7992         [!__ASSUME_32BITUIDS]: Remove conditional code.
7993         * sysdeps/unix/sysv/linux/setegid.c: Do not include
7994         <kernel-features.h>.
7995         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7996         unconditional.
7997         (__setresgid): Do not declare.
7998         [__ASSUME_32BITUIDS]: Make code unconditional.
7999         [!__ASSUME_32BITUIDS]: Remove conditional code.
8000         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8001         <kernel-features.h>.
8002         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8003         unconditional.
8004         (__setresuid): Do not declare.
8005         [__ASSUME_32BITUIDS]: Make code unconditional.
8006         [!__ASSUME_32BITUIDS]: Remove conditional code.
8007         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8008         <kernel-features.h>.
8009         [__ASSUME_32BITUIDS]: Make code unconditional.
8010         [!__ASSUME_32BITUIDS]: Remove conditional code.
8011         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8012         <kernel-features.h>.
8013         [__ASSUME_32BITUIDS]: Make code unconditional.
8014         [!__ASSUME_32BITUIDS]: Remove conditional code.
8016 2012-05-25  Richard Henderson  <rth@twiddle.net>
8018         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8019         dl_hwcap to ifunc resolver.
8020         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8021         elf_ifunc_invoke.
8022         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8023         dl_hwcap to ifunc resolver.
8024         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8026 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8028         [BZ #14153]
8029         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8030         for |x| <= 2**-26, not 2**-57.
8031         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8032         exception.
8034 2012-05-24  Jeff Law  <law@redhat.com>
8036         * stdio-common/Makefile (tests): Add bug25.
8037         * stdio-common/bug25.c: New test.
8039 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8041         [BZ #13576]
8042         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8043         multiple of MALLOC_ALIGNMENT in size.
8044         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8046 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8048         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8049         Require >= 256.
8050         (FILENAME_MAX): Use macro-int-constant.
8051         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8052         (_IOFBF): Use macro-int-constant.
8053         (_IOLBF): Likewise.
8054         (_IONBF): Likewise.
8055         (SEEK_CUR): Likewise.
8056         (SEEK_END): Likewise.
8057         (SEEK_SET): Likewise.
8058         (TMP_MAX): Likewise.
8059         (EOF): Use macro-int-constant.  Require < 0.
8060         (NULL): Use macro-constant.  Require == 0.
8061         (stdin): Require type to be FILE *.
8062         (stdout): Likewise.
8063         (stderr): Likewise.
8064         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8065         macro-int-constant.
8066         (EXIT_SUCCESS): Likewise.
8067         (NULL): Use macro-constant.  Require == 0.
8068         (RAND_MAX): Use macro-int-constant.
8069         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8070         [C99-based standards] (strtof): Require function.
8071         [C99-based standards] (strtold): Likewise.
8072         [C99-based standards] (strtoll): Likewise.
8073         [C99-based standards] (strtoull): Likewise.
8074         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8075         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8076         [ISO || ISO99 || ISO11] (math.h): Likewise.
8077         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8078         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8079         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8081 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8083         [BZ #14132]
8084         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8085         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8086         * intl/dgettext.c (DCGETTEXT): Likewise.
8087         * intl/gettext.c (DCGETTEXT): Likewise.
8088         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8089         * posix/regex_internal.h (gettext): Likewise.
8090         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8091         Remove declaration.
8092         * include/argz.h (__argz_count_internal)
8093         (__argz_stringify_internal): Remove declaration.
8094         (__argz_count, __argz_stringify): Declare hidden proto.
8095         * intl/dcgettext.c: Remove use of INTDEF.
8096         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8097         * string/argz-stringify.c: Likewise.
8098         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8099         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8100         Declare hidden proto.
8101         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8102         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8103         Declare hidden proto.
8104         * include/stdio.h (__asprintf_internal): Don't declare.
8105         (__asprintf): Don't define as macro.  Declare hidden proto.
8106         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8107         (__fsetlocking): Declare hidden proto.
8108         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8109         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8110         hidden proto.
8111         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8112         (_IO_setlinebuf): Remove use of INTUSE.
8113         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8114         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8115         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8116         Remove declaration.
8117         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8118         (_IO_do_flush): Remove use of INTUSE.
8119         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8120         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8121         (_IO_adjust_column, _IO_least_wmarker)
8122         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8123         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8124         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8125         (_IO_default_doallocate, _IO_wdefault_doallocate)
8126         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8127         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8128         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8129         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8130         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8131         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8132         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8133         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8134         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8135         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8136         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8137         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8138         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8139         proto.
8140         (_IO_flush_all_internal, _IO_adjust_column_internal)
8141         (_IO_default_uflow_internal, _IO_default_finish_internal)
8142         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8143         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8144         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8145         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8146         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8147         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8148         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8149         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8150         (_IO_file_close_internal, _IO_file_close_it_internal)
8151         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8152         (_IO_file_init_internal, _IO_file_attach_internal)
8153         (_IO_file_fopen_internal, _IO_file_read_internal)
8154         (_IO_file_sync_internal, _IO_file_seek_internal)
8155         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8156         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8157         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8158         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8159         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8160         (_IO_list_all_internal, _IO_link_in_internal)
8161         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8162         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8163         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8164         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8165         (_IO_do_write_internal, _IO_padn_internal)
8166         (_IO_getline_info_internal, _IO_getline_internal)
8167         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8168         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8169         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8170         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8171         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8172         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8173         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8174         with libc_hidden_ver, remove use of INTUSE.
8175         * libio/genops.c: Likewise.
8176         * libio/freopen.c: Likewise.
8177         * libio/freopen64.c: Likewise.
8178         * libio/iofclose.c: Likewise.
8179         * libio/iofdopen.c: Likewise.
8180         * libio/iofflush.c: Likewise.
8181         * libio/iofflush_u.c: Likewise.
8182         * libio/iofgets.c: Likewise.
8183         * libio/iofgets_u.c: Likewise.
8184         * libio/iofopen.c: Likewise.
8185         * libio/iofopncook.c: Likewise.
8186         * libio/iofread.c: Likewise.
8187         * libio/iofread_u.c: Likewise.
8188         * libio/ioftell.c: Likewise.
8189         * libio/iofwrite.c: Likewise.
8190         * libio/iogetline.c: Likewise.
8191         * libio/iogets.c: Likewise.
8192         * libio/iogetwline.c: Likewise.
8193         * libio/iopadn.c: Likewise.
8194         * libio/iopopen.c: Likewise.
8195         * libio/ioseekoff.c: Likewise.
8196         * libio/ioseekpos.c: Likewise.
8197         * libio/iosetbuffer.c: Likewise.
8198         * libio/iosetvbuf.c: Likewise.
8199         * libio/ioungetc.c: Likewise.
8200         * libio/ioungetwc.c: Likewise.
8201         * libio/iovdprintf.c: Likewise.
8202         * libio/iovsprintf.c: Likewise.
8203         * libio/iovsscanf.c: Likewise.
8204         * libio/memstream.c: Likewise.
8205         * libio/obprintf.c: Likewise.
8206         * libio/oldfileops.c: Likewise.
8207         * libio/oldiofclose.c: Likewise.
8208         * libio/oldiofdopen.c: Likewise.
8209         * libio/oldiofopen.c: Likewise.
8210         * libio/oldiopopen.c: Likewise.
8211         * libio/oldstdfiles.c: Likewise.
8212         * libio/putc.c: Likewise.
8213         * libio/setbuf.c: Likewise.
8214         * libio/setlinebuf.c: Likewise.
8215         * libio/stdfiles.c: Likewise.
8216         * libio/strops.c: Likewise.
8217         * libio/vasprintf.c: Likewise.
8218         * libio/vscanf.c: Likewise.
8219         * libio/vsnprintf.c: Likewise.
8220         * libio/vswprintf.c: Likewise.
8221         * libio/wfiledoalloc.c: Likewise.
8222         * libio/wfileops.c: Likewise.
8223         * libio/wgenops.c: Likewise.
8224         * libio/wmemstream.c: Likewise.
8225         * libio/wstrops.c: Likewise.
8226         * libio/__fpurge.c: Likewise.
8227         * libio/__fsetlocking.c: Likewise.
8228         * assert/assert.c: Likewise.
8229         * debug/fgets_chk.c: Likewise.
8230         * debug/fgets_u_chk.c: Likewise.
8231         * debug/fread_chk.c: Likewise.
8232         * debug/fread_u_chk.c: Likewise.
8233         * debug/gets_chk.c: Likewise.
8234         * debug/obprintf_chk.c: Likewise.
8235         * debug/vasprintf_chk.c: Likewise.
8236         * debug/vdprintf_chk.c: Likewise.
8237         * debug/vsnprintf_chk.c: Likewise.
8238         * debug/vsprintf_chk.c: Likewise.
8239         * malloc/mtrace.c: Likewise.
8240         * misc/error.c: Likewise.
8241         * misc/syslog.c: Likewise.
8242         * stdio-common/asprintf.c: Likewise.
8243         * stdio-common/fxprintf.c: Likewise.
8244         * stdio-common/getw.c: Likewise.
8245         * stdio-common/isoc99_fscanf.c: Likewise.
8246         * stdio-common/isoc99_scanf.c: Likewise.
8247         * stdio-common/isoc99_vfscanf.c: Likewise.
8248         * stdio-common/isoc99_vscanf.c: Likewise.
8249         * stdio-common/isoc99_vsscanf.c: Likewise.
8250         * stdio-common/printf-prs.c: Likewise.
8251         * stdio-common/printf_fp.c: Likewise.
8252         * stdio-common/printf_fphex.c: Likewise.
8253         * stdio-common/printf_size.c: Likewise.
8254         * stdio-common/putw.c: Likewise.
8255         * stdio-common/scanf.c: Likewise.
8256         * stdio-common/sprintf.c: Likewise.
8257         * stdio-common/tmpfile.c: Likewise.
8258         * stdio-common/vfprintf.c: Likewise.
8259         * stdio-common/vfscanf.c: Likewise.
8260         * stdlib/strfmon_l.c: Likewise.
8261         * sunrpc/openchild.c: Likewise.
8262         * sunrpc/xdr_stdio.c: Likewise.
8263         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8264         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8266 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8268         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8270         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8271         in the third column, to generate for the shared library an IFUNC
8272         that uses _dl_vdso_vsym.
8273         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8274         * Makeconfig (object-suffixes-noshared): New variable.
8276         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8277         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8278         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8279         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8281         [BZ #14132]
8282         * include/sys/time.h (__gettimeofday): Remove macro.
8283         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8284         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8285         Remove INTDEF.
8286         (__gettimeofday): Add libc_hidden_def.
8287         (gettimeofday): Add libc_hidden_weak.
8288         * sysdeps/mach/gettimeofday.c: Likewise.
8289         * sysdeps/posix/gettimeofday.c: Likewise.
8290         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8291         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8293         (__gettimeofday_internal): Remove strong_alias.
8294         (__gettimeofday): Add libc_hidden_def.
8295         (gettimeofday): Add libc_hidden_weak.
8296         * sysdeps/unix/syscalls.list (gettimeofday):
8297         Remove __gettimeofday_internal alias.
8299 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8300             H.J. Lu  <hongjiu.lu@intel.com>
8302         [BZ #12495]
8303         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8304         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8305         (largebin_index_32_big): New.
8306         (largebin_index): Use it for 16-byte alignment.
8307         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8308         correction with front_misalign.
8310 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8314         Likewise.
8315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8316         Likewise.
8317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8318         Likewise.
8319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8320         Likewise.
8321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8322         Likewise.
8323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8324         Likewise.
8325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8326         Likewise.
8327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8328         Likewise.
8329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8330         Likewise.
8331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8332         Likewise.
8333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8334         Likewise.
8335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8336         Likewise.
8338         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8339         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8341 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8343         [BZ #10846]
8344         [BZ #14036]
8345         * math/libm-test.inc (exp_test): Add test from bug 14036.
8346         (pow_test): Add test from bug 10846.
8348         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8349         and other flags.
8350         (special_function): Do not include flags in test name.
8351         (parse_args): Likewise.
8352         * sysdeps/i386/fpu/libm-test-ulps: Update.
8353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8354         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8355         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8358         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8359         exceptions.
8360         * math/libm-test.inc ("Philosophy"): Update comment about
8361         exception testing.
8362         (UNDERFLOW_EXCEPTION): New macro.
8363         (UNDERFLOW_EXCEPTION_OK): Likewise.
8364         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8365         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8366         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8367         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8368         (INVALID_EXCEPTION_OK): Update value.
8369         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8370         (OVERFLOW_EXCEPTION_OK): Likewise.
8371         (IGNORE_ZERO_INF_SIGN): Likewise.
8372         (test_exceptions): Handle underflow exceptions.
8373         (acos_test): Update for underflow exception expectations.
8374         (cexp_test): Likewise.
8375         (clog_test): Likewise.
8376         (clog10_test): Likewise.
8377         (csqrt_test): Likewise.
8378         (ctan_test): Likewise.
8379         (ctanh_test): Likewise.
8380         (exp_test): Likewise.
8381         (exp10_test): Likewise.
8382         (exp2_test): Likewise.
8383         (expm1_test): Likewise.
8384         (fma_test): Likewise.
8385         (j0_test): Likewise.
8386         (jn_test): Likewise.
8387         (nexttoward_test): Likewise.
8388         (pow_test): Likewise.
8389         (scalbn_test): Likewise.
8390         (scalbln_test): Likewise.
8391         (tan_test): Likewise.
8392         (y1_test): Likewise.
8393         * sysdeps/i386/fpu/libm-test-ulps: Update.
8394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396 2012-05-23  David S. Miller  <davem@davemloft.net>
8398         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8399         (__libc_sigaction): Remove unused local variables.
8401 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8403         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8405 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8407         mktime: avoid signed integer overflow
8408         * time/mktime.c (__mktime_internal): Do not mishandle the case
8409         where diff == INT_MIN.
8411         mktime: simplify computation of average
8412         * time/mktime.c (ranged_convert): Use new time_t_avg function
8413         instead of rolling our own (probably-slower) code.
8415         mktime: do not assume signed right shift propagates sign bit
8416         * time/mktime.c (isdst_differ): New static function.
8417         (__mktime_internal): No need to normalize tm_isdst now.
8418         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8419         tm_isdst values.
8421         mktime: merge another wrapv change from gnulib
8422         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8423         from some compilers.
8425         mktime: remove incorrect attempt at unusual arithmetics
8426         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8427         The code didn't really work on such machines anyway.
8428         (TYPE_MINIMUM): Assume two's complement.
8429         (twos_complement_arithmetic): Verify that long_int and time_t
8430         are two's complement (or unsigned, in the latter case).
8432         mktime: check signed shifts on long_int and time_t, too
8433         * time/mktime.c (SHR): Check that shifts work as desired
8434         on the types long_int and time_t too, as SHR is used on
8435         such types.
8437         mktime: do not assume 'long' is wide enough
8438         * time/mktime.c (verify): Move decl up.
8439         (long_int): New type.
8440         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8441         to remove assumption in the code that 'long' is wide enough to
8442         store year values.  This assumption is not true on x32 and on
8443         some non-glibc platforms.
8445         mktime: merge wrapv change from gnulib
8446         * time/mktime.c (WRAPV): New macro.
8447         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8448         (guess_time_tm, __mktime_internal): Do not assume that signed
8449         integer overflow wraps around; modern compilers generate code
8450         where this assumption is no longer valid.
8452 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8454         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8455         Replace "jmp L(pseudo_end)" with "ret".
8456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8457         Likewise.
8459 2012-05-23  Andreas Jaeger  <aj@suse.de>
8461         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8462         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8464 2012-05-23  Andreas Jaeger  <aj@suse.de>
8465             Maximilian Attems  <max@stro.at>
8467         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8468         New macros.
8470 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8472         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8473         code so that pseudo_end is just ret and the stack pointer is
8474         correct also for static library in error case.
8476 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8478         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8479         move to syscalls.list.
8480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8485         * manual/install.texi (Running make install): Do not mention Linux
8486         kernel version for which pt_chown is not needed.
8487         (Linux): Do not mention problems with nscd with 2.0 kernels.
8488         * INSTALL: Regenerated.
8490 2012-05-23  Andreas Jaeger  <aj@suse.de>
8492         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8493         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8494         macro.
8495         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8496         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8497         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8498         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8499         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8500         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8501         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8502         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8503         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8504         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8505         * sysdeps/unix/sysv/linux/bits/in.h
8506         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8508 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8510         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8511         (PREPARE_VERSION): Just use assert instead, it will be elided
8512         under [NDEBUG] anyway.
8514 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8516         * sysdeps/unix/sysv/linux/Makefile: Include
8517         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8518         (sysdep_routines): Remove sysctl.
8519         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8520         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8521         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8522         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8523         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8525 2012-05-22  Andreas Jaeger  <aj@suse.de>
8527         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8528         that pseudo_end is just ret and the stack pointer is correct also
8529         for static library in error case.
8531 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8533         [BZ #14122]
8534         * nss/nsswitch.c (defconfig_entries): New variable.
8535         (__nss_database_lookup): Don't leak defconfig entries.
8536         (nss_parse_service_list): Don't leak on error paths.
8537         (free_database_entries): New function.
8538         (free_defconfig): New function.
8539         (free_mem): Move common code to free_database_entries.
8541 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8543         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8544         Add arch_prctl.
8545         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8547         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8548         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8550         New macro.
8551         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8552         (INTERNAL_SYSCALL_TYPES): Likewise.
8553         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8554         (LOAD_REGS_TYPES_[1-6]): Likewise.
8555         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8556         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8558 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8560         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8561         copysignl for GLIBC_2_0.
8562         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8563         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8565         logbl for GLIBC_2_0.
8566         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8567         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8569 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8571         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8572         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8574         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8575         Use "neg %eax".
8577         * time/mktime.c: Update copyright years.
8579 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8581         mktime: merge comment-quoting-style change from gnulib
8582         * time/mktime.c: Quote 'like this' in comments.
8583         The GNU coding standards suggest that we no longer quote `like this',
8584         as "`" and "'" are typically rendered asymmetrically nowadays.
8585         The typical gnulib style is to quote 'like this' when quoting
8586         code, and "like this" when quoting English.
8588         * time/mktime.c (compile-command): Add "-I.".
8590         mktime: merge mktime-internal.h change from gnulib
8591         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8593         mktime: merge time_r change from gnulib
8594         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8596         mktime: merge DEBUG change from gnulib
8597         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8598         case system <time.h> has a #define.
8600         mktime: merge <sys/types.h> change from gnulib
8601         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8602         since <time.t> is now guaranteed to define time_t.
8604         mktime: merge HAVE_CONFIG_H change from gnulib
8605         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8607 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8610         Use "neg %eax".
8612         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8613         __rlim_t cast.
8614         (struct rusage): Use anonymous union to pad each field to
8615         __syscall_slong_t.
8617 2012-05-21  David S. Miller  <davem@davemloft.net>
8619         * Makefules (o-iterator): Remove .s cases.
8620         (compile-command.s): Delete.
8621         (COMPILE.s): Delete.
8622         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8624 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8626         * configure.in (libc_cv_predef_stack_protector): Only consider
8627         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8628         * configure: Regenerated.
8630 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8633         New macro.  Use R*LP on int and pointer.
8634         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8635         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8636         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8637         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8639         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8640         [__WORDSIZE_TIME64_COMPAT32] instead of
8641         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8642         (struct utmp): Likewise.
8643         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8644         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8645         Renamed to ...
8646         (__WORDSIZE_TIME64_COMPAT32): This.
8647         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8648         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8649         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8651         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8652         (__WORDSIZE_TIME64_COMPAT32): New macro.
8654 2012-05-21  Andreas Jaeger  <aj@suse.de>
8656         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8657         only if [SHARED]. Add prototype for __wcschr_ia32.
8659 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8661         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8662         of %rbp unmolested in the jmp_buf while mangling the low bits.
8663         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8664         unmolested high bits of %rbp while demangling the low bits.
8665         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8667 2012-05-21  Andreas Jaeger  <aj@suse.de>
8669         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8670         * sunrpc/svc_simple.c: Use it for registerrpc.
8671         * sunrpc/xcrypt.c: Use it for passwd2des.
8673         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8675 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8677         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8678         Don't define if [__SYSCALL_WORDSIZE != 32].
8679         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8680         New macro.
8682 2012-05-21  Bruno Haible  <bruno@clisp.org>
8683             Andreas Jaeger  <aj@suse.de>
8685         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8686         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8687         inptr and inend for must_buffer_ch.
8688         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8689         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8690         * stdio-common/Makefile (tests): Remove bug15.
8691         (bug15-ENV): Remove macro.
8692         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8693         anymore.
8695 2012-05-19  Andreas Jaeger  <aj@suse.de>
8696             Roland McGrath  <roland@hack.frob.com>
8698         * manual/contrib.texi: Completely rewritten. It contains now an
8699         alphabetical list of contributors and their contributions.
8701 2012-05-21  Richard Henderson  <rth@twiddle.net>
8703         * misc/getauxval.c (__getauxval): Use unsigned long int.
8704         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8705         (getauxval): Use unsigned long int.
8707 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8709         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8711 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8713         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8714         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8715         __alignof__ (long double).
8717 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8721 2012-05-20  Richard Henderson  <rth@twiddle.net>
8723         * misc/getauxval.c: New file.
8724         * misc/sys/auxv.h: New file.
8725         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8726         (routines): Add getauxval.
8727         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8728         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8729         * elf/dl-sysdep.c (_dl_auxv): Remove.
8730         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8731         * elf/dl-support.c (_dl_auxv): New variable.
8732         (_dl_aux_init): Initialize it.
8733         * manual/startup.texi (Auxiliary Vector): New node.
8734         * sysdeps/generic/bits/hwcap.h: New file.
8735         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8736         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8737         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8738         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8739         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8742         Update.
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8746         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8752 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8756 2012-05-19  David S. Miller  <davem@davemloft.net>
8758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8760 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8762         [BZ #14123]
8763         * math/s_ccosh.c: Include <float.h>
8764         (__ccosh): Avoid internal overflow calculating sinh and cosh
8765         values before multiplying by sin and cos values.
8766         * math/s_ccoshf.c: Likewise.
8767         * math/s_ccoshl.c: Likewise.
8768         * math/s_csin.c: Likewise.
8769         * math/s_csinf.c: Likewise.
8770         * math/s_csinl.c: Likewise.
8771         * math/s_csinh.c: Likewise.
8772         * math/s_csinhf.c: Likewise.
8773         * math/s_csinhl.c: Likewise.
8774         * math/libm-test.inc (ccos_test): Add more tests.
8775         (ccosh_test): Likewise.
8776         (csin_test): Likewise.
8777         (csinh_test): Likewise.
8778         * sysdeps/i386/fpu/libm-test-ulps: Update.
8779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8781 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8783         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8784         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8786         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8788 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8790         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8791         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8792         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8793         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8794         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8795         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8796         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8797         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8798         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8799         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8800         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8801         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8802         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8803         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8804         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8805         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8806         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8807         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8808         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8809         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8810         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8811         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8812         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8813         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8814         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8815         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8816         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8817         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8818         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8819         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8820         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8822 2012-05-18  Andreas Jaeger  <aj@suse.de>
8824         * csu/.gitignore: Delete.
8826 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8828         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8829         (timex): Use __syscall_slong_t.
8831 2012-05-18  Andreas Jaeger  <aj@suse.de>
8832             Carlos O'Donell  <carlos_odonell@mentor.com>
8834         * manual/install.texi (Configuring and compiling): Update
8835         description about files modified in the source directory.
8836         * INSTALL: Regenerated.
8838 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8840         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8841         value.  Use "or" to set return value to -1.
8842         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8843         negate return value.
8845 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8847         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8848         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8849         failure if the compiler has Graphite support disabled.
8850         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8851         Likewise.
8852         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8853         CFLAGS-memmove.c): Likewise.
8854         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8855         Likewise.
8857 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8859         * sysdeps/x86_64/x32/_itoa.h: New file.
8861         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8862         getdents system call only if kernel and user dirents have the
8863         same d_ino and d_off.
8865         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8866         LLONG_MAX != LONG_MAX.
8867         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8868         (_fitoa_word): Likewise.
8870         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8871         years.
8872         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8873         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8874         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8876         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8877         include <bits/wordsize.h>.  Check __x86_64__ instead of
8878         __WORDSIZE.
8879         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8880         if __x86_64__ is defined.  Use anonymous union on fpstate.
8882         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8883         anonymous union.
8885 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8887         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8888         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8889         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8890         Refer to _rtld_local_ro instead of _rtld_global_ro.
8891         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8892         Likewise.
8893         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8894         Likewise.
8895         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8896         Likewise.
8897         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8898         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8899         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8901         * sysdeps/powerpc/powerpc32/dl-machine.c
8902         (__elf_machine_runtime_setup) [PROF]: Don't reference
8903         _dl_prof_resolve.
8905 2012-05-18  Andreas Jaeger  <aj@suse.de>
8907         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8908         function only available for GCCs before 3.4 since GCC 3.4
8909         introduced a builtin.
8910         (lrint): Likewise.
8911         (llrintf): Likewise.
8912         (llrint): Likewise.
8913         (fmaxf): Likewise.
8914         (fmax): Likewise.
8915         (fminf): Likewise.
8916         (fmin): Likewise.
8917         (rint): Likewise.
8918         (rintf): Likewise.
8919         (nearbyint): Likewise.
8920         (nearbyintf): Likewise.
8921         (ceil): Likewise.
8922         (ceilf): Likewise.
8923         (floor): Likewise.
8924         (floorf): Likewise.
8926 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8928         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8929         on both fields and cast pointer to __syscall_ulong_t.
8931         * bits/types.h (__fsword_t): New type.
8932         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8933         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8934         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8935         (__FSWORD_T_TYPE): Likewise.
8936         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8937         (__FSWORD_T_TYPE): Likewise.
8938         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8939         (__FSWORD_T_TYPE): Likewise.
8940         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8941         (__FSWORD_T_TYPE): Likewise.
8942         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8943         __SWORD_TYPE with __fsword_t.
8944         (statfs64): Likewise.
8946 2012-05-17  David S. Miller  <davem@davemloft.net>
8948         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8950 2012-05-17  Andreas Jaeger  <aj@suse.de>
8952         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8953         warning.
8955 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8957         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8959 2012-05-17  Andreas Jaeger  <aj@suse.de>
8961         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8962         when it is used.
8964 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8966         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8968 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8970         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8971         * sysdeps/x86_64/tst-mallocalign1.c: New file.
8973 2012-05-17  Andreas Jaeger  <aj@suse.de>
8974             Carlos O'Donell  <carlos_odonell@mentor.com>
8976         [BZ #14059]
8977         * sysdeps/x86_64/multiarch/init-arch.h
8978         (bit_YMM_Usable): Rename to...
8979         (bit_AVX_Usable): ... this.
8980         (bit_FMA4_Usable): New macro.
8981         (bit_XMM_state): New macro.
8982         (bit_YMM_state): New macro.
8983         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8984         [__ASSEMBLER__] (index_AVX_Usable): ... this.
8985         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8986         (CPUID_OSXSAVE): New macro.
8987         (CPUID_AVX): New macro.
8988         (CPUID_FMA4): New macro.
8989         (index_YMM_Usable): Rename to...
8990         (index_AVX_Usable): ... this.
8991         (HAS_AVX): Use HAS_ARCH_FEATURE.
8992         (HAS_FMA4): Likewise.
8993         (HAS_YMM_USABLE): Remove.
8994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8995         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8996         are present.
8997         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8998         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8999         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9000         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9001         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9003 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9005         * math/libm-test.c: Support platforms without multiple rounding modes.
9006         * math/bug-nextafter.c: Support platforms without FP exceptions.
9007         * math/bug-nexttoward.c: Likewise.
9008         * math/test-fenv.c: Likewise.
9009         * math/test-misc.c: Likewise.
9010         * stdlib/bug-getcontext.c: Likewise.
9012 2012-05-17  Andreas Jaeger  <aj@suse.de>
9014         * manual/examples/search.c (critter_cmp): Change signature to
9015         avoid warnings.
9016         * manual/string.texi (Collation Functions): Likewise.
9018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9020         * bits/types.h: Fold copyright years.
9021         * bits/typesizes.h: Likewise.
9022         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9023         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9024         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9025         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9026         * time/time.h: Likewise.
9028 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9030         [BZ #208]
9031         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9032         in instead of returning them.  Return void.
9033         (__libc_mallinfo): Accumulate over all arenas.
9034         (__malloc_stats): Adjust for change in int_mallinfo interface.
9036 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9038         [BZ #10375]
9039         * configure.in (NM): Add AC_CHECK_TOOL for it.
9040         (libc_extra_cflags): New substituted variable.
9041         Check for -fstack-protector being used implicitly.
9042         * configure: Regenerated.
9043         * config.make.in (config-extra-cflags): New variable,
9044         gets @libc_extra_cflags@.
9045         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9047         [BZ #10375]
9048         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9049         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9050         * configure: Regenerated.
9051         * config.make.in (CPPUNDEFS): New substituted variable.
9052         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9053         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9054         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9056 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9058         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9059         (mq_attr): Use __syscall_slong_t.
9061 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9063         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9064         Check __x86_64__ instead of __WORDSIZE.
9065         (_STAT_VER_LINUX): Likewise.
9066         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9067         __syscall_ulong_t and __syscall_slong_t.
9068         (stat64): Likewise.
9070 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9072         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9076         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9078 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9080         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9081         __syscall_ulong_t.
9083         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9084         include <bits/wordsize.h>.  Check __x86_64__ instead of
9085         __WORDSIZE.
9086         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9087         defined.
9088         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9090         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9091         include <bits/wordsize.h>.  Check __x86_64__ instead of
9092         __WORDSIZE.
9093         (user_regs_struct): Use "__extension__ unsigned long long"
9094         instead of "unsigned long" if __x86_64__ is defined.
9095         (user): Likewise.  Pad after pointer field if __ILP32__ is
9096         defined.
9098 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9100         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9101         versions 5 to 9.
9102         * configure: Regenerated.
9103         * manual/install.texi (texinfo): Increase version requirement to
9104         4.5 or later.
9105         * INSTALL: Regenerated.
9107         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9111         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9113         * sysdeps/x86_64/x32/ffs.c: New file.
9115         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9116         __syscall_ulong_t.
9117         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9118         defined.  Use __syscall_ulong_t.
9119         (shminfo): Use __syscall_ulong_t.
9120         (shm_info): Likewise.
9122         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9123         __syscall_ulong_t.
9125         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9126         <bits/wordsize.h>.
9127         (msgqnum_t): Use __syscall_ulong_t.
9128         (msglen_t): Likewise.
9129         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9130         __syscall_ulong_t.
9132         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9133         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9135         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9137         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9138         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9140         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9141         __syscall_slong_t.
9143         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9144         include <bits/wordsize.h>.  Check __x86_64__ instead of
9145         __WORDSIZE.
9147         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9148         "unsigned long long int" if __x86_64__ is defined.
9149         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9151         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9152         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9153         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9155         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9156         <stdint.h>.
9157         (GET_PC): Cast to uintptr_t first.
9158         (GET_FRAME): Likewise.
9159         (GET_STACK): Likewise.
9161         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9162         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9163         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9164         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9165         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9166         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9167         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9168         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9169         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9170         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9171         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9172         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9173         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9174         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9175         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9176         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9177         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9178         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9179         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9180         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9181         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9182         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9183         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9184         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9185         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9186         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9187         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9188         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9189         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9191 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9193         * Makerules (+depfiles): Also collect depfiles from .oS in
9194         $(extra-objs).
9195         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9196         .oS, $(libnldbl-routines)).
9198         * Makerules (native-compile-mkdep-flags): Define.
9199         * sunrpc/Makefile (extra-objs): Add $(addprefix
9200         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9201         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9202         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9203         calling $(make-target-directory).
9205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9207         * bits/types.h (__snseconds_t): Removed.
9208         * time/time.h (struct timespec): Replace __snseconds_t with
9209         __syscall_slong_t.
9210         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9211         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9212         Likewise.
9213         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9214         (__SNSECONDS_T_TYPE): Likewise.
9215         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9216         (__SNSECONDS_T_TYPE): Likewise.
9217         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9218         (__SNSECONDS_T_TYPE): Likewise.
9220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9222         * sysdeps/mach/hurd/bits/typesizes.h
9223         (__SYSCALL_SLONG_TYPE): New macro.
9224         (__SYSCALL_ULONG_TYPE): Likewise.
9226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9228         * bits/types.h (__syscall_slong_t): New type.
9229         (__syscall_ulong_t): Likewise.
9231         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9232         (__SYSCALL_ULONG_TYPE): Likewise.
9233         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9234         (__SYSCALL_SLONG_TYPE): Likewise.
9235         (__SYSCALL_ULONG_TYPE): Likewise.
9236         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9237         (__SYSCALL_SLONG_TYPE): Likewise.
9238         (__SYSCALL_ULONG_TYPE): Likewise.
9239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9240         (__SYSCALL_SLONG_TYPE): Likewise.
9241         (__SYSCALL_ULONG_TYPE): Likewise.
9243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9245         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9246         Add sigaltstack-offsets.sym.
9247         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9248         <sigaltstack-offsets.h>.
9249         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9250         longjmp_msg pointer.
9251         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9252         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9253         signal stack.
9254         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9256 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9258         * elf/stackguard-macros.h: Remove file.
9259         * sysdeps/generic/stackguard-macros.h: New file.
9260         * sysdeps/i386/stackguard-macros.h: Likewise.
9261         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9262         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9263         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9264         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9265         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9266         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9267         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9268         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9269         <elf/stackguard-macros.h>.
9271         [BZ #14109]
9272         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9273         __aligned__ in attribute.
9274         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9275         (gregset_t): Likewise.
9277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9279         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9280         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9281         * sysdeps/x86_64/x32/Implies-after: New file.
9283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9285         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9286         and access return value for _dl_profile_fixup.  Use R10_LP to
9287         load frame size.
9289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9291         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9295         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9296         * sysdeps/x86_64/x32/sysdep.h: New file.
9298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9300         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9301         * sysdeps/x86_64/setjmp.S: Likewise.
9303 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9305         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9306         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9307         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9308         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9309         remove unused global constant.
9311 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9313         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9314         include of <not-cancel.h>.
9316 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9318         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9320 2012-05-15  Jeff Law  <law@redhat.com>
9321             Andreas Jaeger  <aj@suse.de>
9323         [BZ #13594]
9324         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9325         out from...
9326         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9327         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9328         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9329         code changing __hst_map_handle.map.
9331 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9333         * configure.in (sysnames): Look for Implies-before and Implies-after
9334         files.
9335         * configure: Regenerated.
9337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9339         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9340         8-byte data alignment with LP_SIZE alignment.
9342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9344         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9345         into R10_LP.
9347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9349         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9353         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9354         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9355         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9356         Likewise.
9357         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9361         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9362         (stackinfo_sub_sp): Likewise.
9364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9366         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9367         RAX_LP.
9369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9371         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9372         into R*_LP.
9374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9376         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9377         sizes into R*_LP.
9379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9381         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9385         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9386         into R11_LP and load __x86_64_shared_cache_size_half into
9387         R8_LP.
9389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9391         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9392         R8_LP.
9394 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9396         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9397         logb for POWER7.
9398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9399         logbf for POWER7.
9400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9401         logbl for POWER7.
9402         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9403         powerpc32/power7/fpu/s_logb.c via #include.
9404         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9405         powerpc32/power7/fpu/s_logbf.c via #include.
9406         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9407         powerpc32/power7/fpu/s_logbl.c via #include.
9409 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9411         * README.libm: Remove file.
9413 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9415         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9416         count for x32.  Use R*_LP and omit operand-size suffix.
9418 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9420         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9421         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9422         * sysdeps/x86_64/x32/shlib-versions: New file.
9424 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9426         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9427         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9428         Use _dl_fatal_printf instead.
9430 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9432         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9433         set if not set by the user.  Do not allow for being unset.
9434         * sysdeps/unix/sysv/linux/configure: Regenerated.
9436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9438         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9439         the `q' suffix from lea and replace .quad with ASM_ADDR.
9441 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9443         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9444         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9445         instead of $17.
9446         (PTR_DEMANGLE): Likewise.
9448 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9450         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9451         (LP_OP): Likewise.
9452         (ASM_ADDR): Likewise.
9453         (RAX_LP): Likewise.
9454         (RBP_LP): Likewise.
9455         (RBX_LP): Likewise.
9456         (RCX_LP): Likewise.
9457         (RDI_LP): Likewise.
9458         (RSI_LP): Likewise.
9459         (RSP_LP): Likewise.
9460         (R8_LP): Likewise.
9461         (R9_LP): Likewise.
9462         (R10_LP): Likewise.
9463         (R10_LP): Likewise.
9464         (R11_LP): Likewise.
9465         (R12_LP): Likewise.
9466         (R13_LP): Likewise.
9467         (R14_LP): Likewise.
9468         (R15_LP): Likewise.
9470 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9472         * sysdeps/x86_64/x32/dl-machine.h: New file.
9474 2012-05-14  Andreas Jaeger  <aj@suse.de>
9476         * manual/Makefile (subdir): Remove export of subdir.
9477         (all): Remove target.
9478         (.PHONY): Remove all from list.
9479         (mkinstalldirs): Remove.
9480         (.PHONY): Remove installdirs from list.
9481         ($(inst_infodir)/libc.info): Use make-target-directory.
9482         (installdirs): Remove.
9483         (subdir_%): Remove.
9484         (glibc-targets): Remove.
9485         (lib): Remove.
9486         (stubs): Remove.
9487         ($(objpfx)stubs ../po/manual.pot): Remove.
9488         ($(objpfx)stamp%): Remove.
9489         (make-target-directory): Remove.
9490         (subdir_install): Remove.
9491         (routines): Remove.
9492         (aux): Remove.
9493         (sources): Remove.
9494         (objects): Remove.
9495         (headers): Remove.
9497         [BZ #13750]
9498         * manual/.gitignore: Remove, it's not needed anymore.
9499         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9500         all files in it.
9501         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9502         directory.
9503         (texis): Renamed to $(objpfx)texis.
9504         (texis-path): New, contains path to generated files.
9505         (chapters.%): Use texis-path for complete path, add extra argument
9506         libc-texinfo.sh.
9507         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9508         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9509         (summary,texi, stamp-summary): Use complete path of
9510         files. Generate files in build dir.
9511         (dir-add.texi): Build in build dir.
9512         (libm-err.texi,stamp-libm-err): Likewise.
9513         (version.texi, stamp-version): Likewise.
9514         (.%c.texi): Likewise.
9515         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9516         (mostlyclean): Remove target.
9517         (realclean): Remove target.
9518         (generated): Add new variable with contents from mostlyclean and
9519         realclean, remove entries duplicated in common-mostlyclean, add
9520         stamp-libm-err and stamp-version.
9521         (generated-dirs): Add libc directory.
9522         ($(inst_infodir)/libc.info): Install files from build dir.
9524         * manual/install.texi (Configuring and compiling): Adjust since
9525         the info files are not part of the tar ball anymore.
9527 2012-05-14  Andreas Jaeger  <aj@suse.de>
9529         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9530         variable.
9532 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9534         [BZ #13717]
9535         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9536         to 2.2.0 where earlier.
9537         * sysdeps/unix/sysv/linux/configure: Regenerated.
9538         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9539         Remove conditional code.
9540         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9541         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9542         Remove conditional code.
9543         [!__NR_lchown]: Likewise.
9544         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9545         [__NR_lchown]: Likewise.
9546         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9547         comment referencing __ASSUME_LCHOWN_SYSCALL.
9548         * sysdeps/unix/sysv/linux/i386/sigaction.c
9549         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9550         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9551         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9552         Remove conditional code.
9553         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9554         (__protocol_available): Remove #if 0 code.
9555         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9556         conditional code.
9557         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9558         * sysdeps/unix/sysv/linux/kernel-features.h
9559         (__ASSUME_GETCWD_SYSCALL): Don't define.
9560         (__ASSUME_REALTIME_SIGNALS): Likewise.
9561         (__ASSUME_PREAD_SYSCALL): Likewise.
9562         (__ASSUME_PWRITE_SYSCALL): Likewise.
9563         (__ASSUME_POLL_SYSCALL): Likewise.
9564         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9565         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9566         non-SPARC.
9567         (__ASSUME_SIOCGIFNAME): Don't define.
9568         (__ASSUME_MSG_NOSIGNAL): Likewise.
9569         (__ASSUME_SENDFILE): Define unconditionally.
9570         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9571         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9572         conditional code.
9573         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9574         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9575         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9576         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9577         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9578         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9579         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9581         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9582         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9584         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9585         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9587         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9588         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9590         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9591         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9593         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9594         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9596         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9597         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9599         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9600         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9602         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9603         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9604         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9605         Remove conditional code.
9606         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9607         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9608         Remove conditional code.
9609         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9610         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9611         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9612         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9613         Remove conditional code.
9614         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9615         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9616         Remove conditional code.
9617         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9618         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9619         Remove conditional code.
9620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9621         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9622         Remove conditional code.
9623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9624         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9625         Remove conditional code.
9626         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9627         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9628         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9629         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9630         * sysdeps/unix/sysv/linux/sigaction.c
9631         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9632         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9633         * sysdeps/unix/sysv/linux/sigpending.c
9634         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9635         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9636         * sysdeps/unix/sysv/linux/sigprocmask.c
9637         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9638         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9639         * sysdeps/unix/sysv/linux/sigsuspend.c
9640         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9641         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9642         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9643         (__libc_missing_rt_sigs): Remove.
9644         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9645         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9646         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9647         Remove conditional code.
9648         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9649         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9650         return 1.
9651         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9652         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9653         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9654         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9656 2012-05-14  Andreas Jaeger  <aj@suse.de>
9658         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9659         it's not used in glibc.
9660         (__coshm1): Likewise.
9661         (__acosh1p): Likewise.
9662         (__sgn): Likewise.
9664         * manual/string.texi (Copying and Concatenation): Add missing
9665         variable in concat example.
9666         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9668 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9670         [BZ #14103]
9671         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9672         __builtin_clzl with __builtin_clzll.
9674 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9676         [BZ #14104]
9677         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9678         libc_freeres_ptr.
9680 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9682         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9683         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9684         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9685         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9687 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9689         * NEWS: Update ia64 info.
9691 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9693         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9694         used as bcopy.
9696 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9698         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9699         * sysdeps/unix/syscalls.list (dup3): Likewise.
9700         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9701         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9703 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9705         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9706         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9708 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9710         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9711         thread pointer.
9712         (TLS_IE): Use mov/add instead of movq/addq to load thread
9713         pointer.
9714         (TLS_GD_PREFIX): New.
9715         (TLS_GD): Use it.
9717 2012-05-11  David S. Miller  <davem@davemloft.net>
9719         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9720         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9721         (_FPU_SETCW): Likewise.
9723 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9725         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9726         is 32-byte aligned.
9728 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9730         [BZ #11837]
9731         * iconvdata/gb18030.c: Update tables.
9732         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9733         characters specially.
9734         (BODY for TO_LOOP): Add encoding of missing ranges.
9736 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9738         [BZ #13673]
9739         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9740         * sysdeps/mach/hurd/dup3.c: Likewise.
9741         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9742         * sysdeps/powerpc/memmove.c:: Likewise.
9744 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9746         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9747         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9749 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9751         * elf/elf.h (R_X86_64_RELATIVE64): New.
9752         (R_X86_64_NUM): Updated.
9753         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9754         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9755         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9756         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9757         tst-quad1pie tst-quad2pie
9758         (modules-names): Add tst-quadmod1 tst-quadmod2.
9759         ($(objpfx)tst-quad1): New dependency.
9760         ($(objpfx)tst-quad2): Likewise.
9761         ($(objpfx)tst-quad1pie): Likewise.
9762         ($(objpfx)tst-quad2pie): Likewise.
9763         * sysdeps/x86_64/tst-quad1.c: New file.
9764         * sysdeps/x86_64/tst-quad1pie.c: New file.
9765         * sysdeps/x86_64/tst-quad2.c: Likewise.
9766         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9767         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9768         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9769         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9770         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9774         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9775         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9776         * streams/stropts.h (t_scalar_t): Define type.
9778         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9779         (_PATH_PRESERVE): Set to "/var/lib".
9780         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9782         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9783         instead of int.
9785         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9786         if __dir_mkfile succeeded.
9788         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9789         checking for _hurd_dtablesize.  Unlock it right after having
9790         finished _hurd_dtable allocation.
9792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9794         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9795         * sysdeps/mach/hurd/configure: Regenerated.
9796         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9797         special-casing to...
9798         * sysdeps/gnu/configure.in: ... this new file.
9799         * sysdeps/unix/sysv/linux/configure: Regenerated.
9800         * sysdeps/gnu/configure: New generated file.
9802         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9803         for Linux: use nsec instead of usec, as well as:
9804         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9805         members of type struct timespec.
9806         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9807         New macros.
9808         (struct stat64): Likewise.
9809         (_STATBUF_ST_NSEC): New macro.
9810         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9812         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9813         __strtoul_internal rather than strtoul.
9815 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9817         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9818         and reject them.
9820 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9822         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9823         which preserves existing values.
9824         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9826 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9828         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9829         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9830         greater than FD_SETSIZE.
9832 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9834         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9835         allocated, call __vm_protect to finish enabling the existing space, and
9836         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9837         allocate the remainder.
9839 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9841         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9842         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9844 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9846         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9847         sysdeps/mach/hurd/readlink.c.
9849         * posix/tst-sysconf.c (posix_options): Only use
9850         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9851         _POSIX_SYNCHRONIZED_IO when they are defined
9852         * sysdeps/mach/hurd/bits/posix_opt.h:
9853         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9854         (_XOPEN_REALTIME): Undefine macro.
9855         (_XOPEN_REALTIME_THREADS): Undefine macro.
9856         (_XOPEN_SHM): Undefine macro.
9857         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9858         macro to -1.
9859         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9860         macro to -1.
9861         (_POSIX_ASYNC_IO): Undefine macro.
9862         (_POSIX_PRIORITIZED_IO): Undefine macro.
9863         (_POSIX_SPIN_LOCKS): Define macro to -1.
9865         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9866         SA_NODEFER, SA_RESETHAND.
9867         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9868         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9869         F_DUPFD_CLOEXEC.
9871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9873         * elf/Makefile (pldd-modules): Define unconditionally.
9875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9877         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9879 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9881         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9882         Return ENOENT when name is empty.
9883         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9885 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9887         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9889         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9891 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9893         Fix mlock in all cases except non-readable pages.
9894         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9895         instead of VM_PROT_ALL as parameter to __vm_wire function.
9897         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9898         (__mkdir): When path is `/', just fail with EEXIST.
9899         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9903         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9904         <sys/uio.h> (for writev).
9905         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9906         and <sys/param.h> (for MIN).
9908 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9910         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9911         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9912         if interrupted.
9914 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9916         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9917         Depend on against $(link-rpcuserlibs).
9919 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9921         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9922         (__libc_stack_end): Do not use attribute_relro.
9923         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9924         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9925         to libthread-provided value.
9926         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9927         attribute_relro.
9929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9931         [BZ #3748]
9932         * bits/libc-lock.h (__libc_once_get): New macro.
9933         * sysdeps/mach/bits/libc-lock.h: Likewise.
9934         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9935         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9936         instead of using implementation details.
9938         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9939         * libio/freopen.c: Likewise.
9940         * libio/freopen64.c: Likewise.
9941         * misc/syslog.c: Likewise.
9942         * nscd/connections.c: Likewise.
9943         * nscd/netgroupcache.c: Likewise.
9944         * sysdeps/posix/getcwd.c: Likewise.
9946 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9948         * math/w_ilogbf.c: Add #include <limits.h>.
9950 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9952         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9953         path instead of returning without unlocking.
9955         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9956         immediate-write ioctls.
9957         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9959 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9961         * sysdeps/mach/hurd/i386/init-first.c (init): Use
9962         __builtin_frame_address instead of making assumptions about the
9963         location of the return address relative to DATA.  Force early load of
9964         the return address.
9965         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9966         __builtin_frame_address.
9968         dup3 for GNU Hurd.
9969         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9970         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
9971         implement dup3 and do some further code clean-ups.
9972         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9973         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9975 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9977         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9979         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9980         HURD_CRITICAL_END around holding _hurd_dtable_lock.
9981         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9982         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9983         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9984         d->port.lock.
9986         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9987         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
9988         when handler == SIG_ERR, not when handler != SIG_ERR.
9990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9992         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9993         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9994         definitions.
9996         accept4 for GNU Hurd.
9997         * include/sys/socket.h (__libc_accept4): New prototype.
9998         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
9999         to implement __libc_accept4.
10000         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10001         __libc_accept4.
10002         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10004         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10005         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10006         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10007         signal-defines.sym.
10009 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10011         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10015         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10016         assertion on O_CLOEXEC flag.
10017         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10018         * hurd/intern-fd.c: Likewise.
10019         * hurd/port2fd.c: Likewise.
10021 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10023         [BZ #3906]
10024         * bits/in.h (IPV6_PKTINFO): Define new macro.
10025         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10027 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10029         [BZ #13954]
10030         [BZ #13955]
10031         [BZ #13956]
10032         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10033         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10034         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10035         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10036         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10037         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10038         * math/libm-test.inc (logb_test) : Additional logb tests.
10040 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10041             Andreas Jaeger  <aj@suse.de>
10043         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10044         * configure: Regenerated.
10045         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10046         * config.make.in (link-obsolete-rpc): New substituted variable.
10047         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10048         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10049         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10050         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10051         so that libc.a contains the symbols.
10052         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10053         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10054         * sunrpc/auth_none.c: Likewise.
10055         * sunrpc/auth_unix.c: Likewise.
10056         * sunrpc/authdes_prot.c: Likewise.
10057         * sunrpc/authuxprot.c: Likewise.
10058         * sunrpc/clnt_gen.c: Likewise.
10059         * sunrpc/clnt_perr.c: Likewise.
10060         * sunrpc/clnt_raw.c: Likewise.
10061         * sunrpc/clnt_simp.c: Likewise.
10062         * sunrpc/clnt_tcp.c: Likewise.
10063         * sunrpc/clnt_udp.c: Likewise.
10064         * sunrpc/clnt_unix.c: Likewise.
10065         * sunrpc/des_crypt.c: Likewise.
10066         * sunrpc/des_soft.c: Likewise.
10067         * sunrpc/get_myaddr.c: Likewise.
10068         * sunrpc/key_call.c: Likewise.
10069         * sunrpc/key_prot.c: Likewise.
10070         * sunrpc/netname.c: Likewise.
10071         * sunrpc/pm_getmaps.c: Likewise.
10072         * sunrpc/pm_getport.c: Likewise.
10073         * sunrpc/pmap_clnt.c: Likewise.
10074         * sunrpc/pmap_prot.c: Likewise.
10075         * sunrpc/pmap_prot2.c: Likewise.
10076         * sunrpc/pmap_rmt.c: Likewise.
10077         * sunrpc/publickey.c: Likewise.
10078         * sunrpc/rpc_cmsg.c: Likewise.
10079         * sunrpc/rpc_common.c: Likewise.
10080         * sunrpc/rpc_dtable.c: Likewise.
10081         * sunrpc/rpc_prot.c: Likewise.
10082         * sunrpc/rpc_thread.c: Likewise.
10083         * sunrpc/rtime.c: Likewise.
10084         * sunrpc/svc.c: Likewise.
10085         * sunrpc/svc_auth.c: Likewise.
10086         * sunrpc/svc_raw.c: Likewise.
10087         * sunrpc/svc_run.c: Likewise.
10088         * sunrpc/svc_tcp.c: Likewise.
10089         * sunrpc/svc_udp.c: Likewise.
10090         * sunrpc/svc_unix.c: Likewise.
10091         * sunrpc/svcauth_des.c: Likewise.
10092         * sunrpc/xcrypt.c: Likewise.
10093         * sunrpc/xdr.c: Likewise.
10094         * sunrpc/xdr_array.c: Likewise.
10095         * sunrpc/xdr_float.c: Likewise.
10096         * sunrpc/xdr_intXX_t.c: Likewise.
10097         * sunrpc/xdr_mem.c: Likewise.
10098         * sunrpc/xdr_rec.c: Likewise.
10099         * sunrpc/xdr_ref.c: Likewise.
10100         * sunrpc/xdr_sizeof.c: Likewise.
10101         * sunrpc/xdr_stdio.c: Likewise.
10103 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10105         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10106         change.  Update copyright years.
10108 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10110         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10112 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10113             Joseph Myers  <joseph@codesourcery.com>
10114             Paul Pluzhnikov  <ppluzhnikov@google.com>
10116         [BZ #14012]
10117         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10118         requiring rpcgen.
10119         [cross-compiling] (extra-libs): Likewise.
10120         [cross-compiling] (extra-libs-others): Likewise.
10121         [cross-compiling] (librpcsvc-routines): Likewise.
10122         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10123         [cross-compiling] (omit-deps): Likewise.
10124         (sunrpc-CPPFLAGS): New variable.
10125         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10126         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10127         (cross-rpcgen-objs): New variable.
10128         (extra-objs): Append $(cross-rpcgen-objs).
10129         ($(cross-rpcgen-objs)): New rule.
10130         ($(objpfx)cross-rpcgen): Likewise.
10131         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10132         comment.
10133         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10134         ($(objpfx)x%.stmp): Likewise.
10135         * sunrpc/proto.h [IS_IN_build] (_): Define.
10136         [IS_IN_build] (_libc_intl_domainname): Likewise.
10138 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10140         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10141         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10142         and R_X86_64_TPOFF64.
10144 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10146         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10147         sysdeps/unix/sysv/syscalls.list.
10148         (stime): Likewise.
10149         (utime): Likewise.
10150         * sysdeps/unix/sysv/syscalls.list: Remove file.
10152 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10154         [BZ #3440]
10155         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10156         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10157         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10158         (__LC_IDENTIFICATION): Make these macros useful in #if
10159         expressions, as required by C99.
10161 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10163         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10164         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10165         after this.
10167 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10169         * stdlib/longlong.h: Updated from GCC.
10171 2012-05-09  Andreas Jaeger  <aj@suse.de>
10173         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10174         default is first entry.
10175         (run_mode): Set type.
10176         (main): Remove informal message about syslog.
10177         (options): Fix typo.
10179         [BZ #14053]
10180         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10181         to asm.
10182         (lrint): Likewise.
10183         (llrintf): Likewise.
10184         (llrint): Likewise.
10185         (rint): Likewise.
10186         (rintf): Likewise.
10187         (nearbyint): Likewise.
10188         (nearbyintf): Likewise.
10190 2012-05-09  Andreas Jaeger  <aj@suse.de>
10191             Pedro Alves  <palves@redhat.com>
10193         * nscd/nscd.c (run_mode): Use enum.
10194         (main): Cleanup coding style issue.
10196 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10197             Andreas Jaeger  <aj@suse.de>
10199         * nscd/nscd.c (go_background): Replaced with...
10200         (run_mode): ... this.
10201         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10202         (options): Add -F --foreground.
10203         (main): Implement it.
10204         (parse_opt): Parse it.
10206 2012-05-09  Andreas Jaeger  <aj@suse.de>
10208         [BZ #14083]
10209         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10210         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10211         -Wconversion warning.
10212         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10213         Likewise.
10215 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10217         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10218         == 0.
10219         (LC_ALL): Use macro-int-constant.
10220         (LC_COLLATE): Likewise.
10221         (LC_CTYPE): Likewise.
10222         (LC_MESSAGES): Likewise.
10223         (LC_MONETARY): Likewise.
10224         (LC_NUMERIC): Likewise.
10225         (LC_TIME): Likewise.
10226         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10227         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10228         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10229         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10230         Specify type.
10231         [C99-based standards] (float_t): Expect type.
10232         [C99-based standards] (double_t): Expect type.
10233         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10234         type.
10235         [C99-based standards] (HUGE_VALL): Likewise.
10236         [C99-based standards] (INFINITY): Likewise.
10237         [C99-based standards] (NAN): Likewise.
10238         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10239         [C99-based standards] (FP_NAN): Likewise.
10240         [C99-based standards] (FP_NORMAL): Likewise.
10241         [C99-based standards] (FP_SUBNORMAL): Likewise.
10242         [C99-based standards] (FP_ZERO): Likewise.
10243         [C99-based standards] (FP_FAST_FMA): Use
10244         optional-macro-int-constant.  Specify type.  Require == 1.
10245         [C99-based standards] (FP_FAST_FMAF): Likewise.
10246         [C99-based standards] (FP_FAST_FMAL): Likewise.
10247         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10248         [C99-based standards] (FP_ILOGBNAN): Likewise.
10249         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10250         Specify type.
10251         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10252         [C99-based standards] (math_errhandling): Specify type.
10253         [ISO99 || ISO11] (signgam): Do not allow.
10254         [non-C99-based standards] (copysignf): Do not allow.
10255         [non-C99-based standards] (exp2f): Likewise.
10256         [non-C99-based standards] (log2f): Likewise.
10257         [non-C99-based standards] (modff): Allow.
10258         [non-C99-based standards] (erff): Do not allow.
10259         [non-C99-based standards] (erfcf): Likewise.
10260         [non-C99-based standards] (gammaf): Likewise.
10261         [non-C99-based standards] (hypotf): Likewise.
10262         [non-C99-based standards] (j0f): Likewise.
10263         [non-C99-based standards] (j1f): Likewise.
10264         [non-C99-based standards] (jnf): Likewise.
10265         [non-C99-based standards] (lgammaf): Likewise.
10266         [non-C99-based standards] (tgammaf): Likewise.
10267         [non-C99-based standards] (y0f): Likewise.
10268         [non-C99-based standards] (y1f): Likewise.
10269         [non-C99-based standards] (ynf): Likewise.
10270         [non-C99-based standards] (isnanf): Likewise.
10271         [non-C99-based standards] (acoshf): Likewise.
10272         [non-C99-based standards] (asinhf): Likewise.
10273         [non-C99-based standards] (atanhf): Likewise.
10274         [non-C99-based standards] (cbrtf): Likewise.
10275         [non-C99-based standards] (expm1f): Likewise.
10276         [non-C99-based standards] (ilogbf): Likewise.
10277         [non-C99-based standards] (log1pf): Likewise.
10278         [non-C99-based standards] (logbf): Likewise.
10279         [non-C99-based standards] (nextafterf): Likewise.
10280         [non-C99-based standards] (remainderf): Likewise.
10281         [non-C99-based standards] (rintf): Likewise.
10282         [non-C99-based standards] (scalbf): Likewise.
10283         [non-C99-based standards] (copysignl): Likewise.
10284         [non-C99-based standards] (exp2l): Likewise.
10285         [non-C99-based standards] (log2l): Likewise.
10286         [non-C99-based standards] (modfl): Allow.
10287         [non-C99-based standards] (erfl): Do not allow.
10288         [non-C99-based standards] (erfcl): Likewise.
10289         [non-C99-based standards] (gammal): Likewise.
10290         [non-C99-based standards] (hypotl): Likewise.
10291         [non-C99-based standards] (j0l): Likewise.
10292         [non-C99-based standards] (j1l): Likewise.
10293         [non-C99-based standards] (jnl): Likewise.
10294         [non-C99-based standards] (lgammal): Likewise.
10295         [non-C99-based standards] (tgammal): Likewise.
10296         [non-C99-based standards] (y0l): Likewise.
10297         [non-C99-based standards] (y1l): Likewise.
10298         [non-C99-based standards] (ynl): Likewise.
10299         [non-C99-based standards] (isnanl): Likewise.
10300         [non-C99-based standards] (acoshl): Likewise.
10301         [non-C99-based standards] (asinhl): Likewise.
10302         [non-C99-based standards] (atanhl): Likewise.
10303         [non-C99-based standards] (cbrtl): Likewise.
10304         [non-C99-based standards] (expm1l): Likewise.
10305         [non-C99-based standards] (ilogbl): Likewise.
10306         [non-C99-based standards] (log1pl): Likewise.
10307         [non-C99-based standards] (logbl): Likewise.
10308         [non-C99-based standards] (nextafterl): Likewise.
10309         [non-C99-based standards] (remainderl): Likewise.
10310         [non-C99-based standards] (rintl): Likewise.
10311         [non-C99-based standards] (scalbl): Likewise.
10312         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10313         [non-C99-based standards] (FP_*): Do not allow.
10314         [C99-based standards] (FP_*): Change to
10315         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10316         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10317         allow.
10318         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10319         (SIG_ERR): Likewise.
10320         [X/Open-based standards] (SIG_HOLD): Likewise.
10321         (SIG_IGN): Likewise.
10322         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10323         positive value.
10324         (SIGFPE): Likewise.
10325         (SIGILL): Likewise.
10326         (SIGINT): Likewise.
10327         (SIGSEGV): Likewise.
10328         (SIGTER): Likewise.
10329         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10330         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10331         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10332         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10333         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10334         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10335         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10336         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10337         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10338         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10339         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10340         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10341         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10342         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10343         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10344         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10345         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10346         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10347         [X/Open-based standards] (SIGTRAP): Likewise.
10348         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10349         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10350         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10351         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10352         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10353         allow.
10355 2012-05-08  Ian Wienand  <ianw@vmware.com>
10357         [BZ #14080]
10358         * time/tzset.c (__tzset_parse_tz): Update default rules for
10359         daylight time changes in the Energy Policy Act of 2005.
10361 2012-05-09  Andreas Jaeger  <aj@suse.de>
10363         [BZ #13983]
10364         * elf/ldconfig.c (parse_conf): Change string to make clear that
10365         ldconfig only issued a warning if ld.so.conf does not exist.
10367 2012-05-08  David S. Miller  <davem@davemloft.net>
10369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10370         movxtod instead of popping the value on the stack.
10372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10374 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10376         * config.h.in: Add HAVE_ARM_PCS_VFP.
10378 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10380         [BZ #13979]
10381         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10382         checking but the checks are disabled for any reason.
10384 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10386         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10387         and ELF64_R_TYPE with ELFW(R_TYPE).
10389 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10391         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10392         (ulimit): Likewise.
10394         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10395         (settimeofday): Likewise.
10397 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10399         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10400         a struct th_u2 inside the union, and move tu_block/tu_code into
10401         a new th_u3 union of tu_block/tu_code inside of that.  Move
10402         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10403         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10404         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10405         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10406         (th_stuff): Change to th_u1.tu_stuff.
10407         (th_data): Define.
10408         (th_msg): Change to th_u1.th_u2.tu_data.
10410 2012-05-07  David S. Miller  <davem@davemloft.net>
10412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10414         [BZ #14074]
10415         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10416         (SETUP_PIC_REG): Use it.
10417         (SETUP_PIC_REG_LEAF): Use it.
10419 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10421         [BZ #13885]
10422         [BZ #13923]
10423         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10424         USE_AS_EXPM1L.
10425         (EXPL_FINITE): Likewise.
10426         (FLDLOG): Likewise.
10427         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10428         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10429         e_expl.S.
10430         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10431         USE_AS_EXPM1L.
10432         (EXPL_FINITE): Likewise.
10433         (FLDLOG): Likewise.
10434         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10435         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10436         e_expl.S.
10437         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10438         test of -max_value argument for long double.
10439         * sysdeps/i386/fpu/libm-test-ulps: Update.
10440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10442 2012-05-06  David S. Miller  <davem@davemloft.net>
10444         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10445         quad soft-float symbols whose references which are compiler
10446         generated.
10447         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10449 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10451         [BZ #13884]
10452         [BZ #13914]
10453         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10454         USE_AS_EXP10L.
10455         (EXPL_FINITE): Likewise.
10456         (FLDLOG): Likewise.
10457         (c0): Likewise.
10458         (c1): Likewise.
10459         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10460         Adjust comments for base varying.
10461         (__expl_finite): Change alias to EXPL_FINITE.
10462         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10463         e_expl.S.
10464         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10465         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10466         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10467         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10468         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10469         USE_AS_EXP10L.
10470         (EXPL_FINITE): Likewise.
10471         (FLDLOG): Likewise.
10472         (c0): Likewise.
10473         (c1): Likewise.
10474         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10475         Adjust comments for base varying.
10476         (__expl_finite): Change alias to EXPL_FINITE.
10477         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10478         tests for bugs.
10479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10481         [BZ #14064]
10482         * math/libm-test.inc (check_float_internal): Correct ulp
10483         calculation for subnormal expected results.
10485 2012-05-06  Andreas Jaeger  <aj@suse.de>
10487         * Makeconfig (+math-flags): New, set to -frounding-math.
10488         (+cflags): Add +math-flags so that all of glibc gets compiled with
10489         it.
10491         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10493 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10495         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10496         Disable one test.
10498         [BZ #13787]
10499         [BZ #13922]
10500         [BZ #14036]
10501         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10502         (__ieee754_expl): Allow for and saturate large arguments.
10503         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10504         (u_threshold): Likewise.
10505         (__exp): Call __ieee754_exp before checking for overflow and
10506         underflow.
10507         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10508         (u_threshold): Likewise.
10509         (__expf): Call __ieee754_expf before checking for overflow and
10510         underflow.
10511         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10512         (u_threshold): Likewise.
10513         (__expl): Call __ieee754_expl before checking for overflow and
10514         underflow.
10515         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10516         (__ieee754_expl): Allow for and saturate large arguments.
10517         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10518         missing overflow exception on overflow.
10519         (expm1_test): Do not allow missing overflow exception on overflow.
10521         * sysdeps/i386/fpu/e_expl.c: Move to ...
10522         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10523         rather than using inline asm.
10524         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10525         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10526         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10528         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10529         (nice): Likewise.
10530         (poll): Likewise.
10531         (signal): Likewise.
10532         (time): Likewise.
10533         (times): Likewise.
10535 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10537         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10538         sysdeps/unix/common/syscalls.list.
10539         (fchmod): Likewise.
10540         (fchown): Likewise.
10541         (ftruncate): Likewise.
10542         (getrusage): Likewise.
10543         (gettimeofday): Likewise.
10544         (setpgid): Likewise.
10545         (setregid): Likewise.
10546         (setreuid): Likewise.
10547         (sigaction): Likewise.
10548         (truncate): Likewise.
10549         (vhangup): Likewise.
10550         * sysdeps/unix/common/syscalls.list: Remove file.
10551         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10552         * sysdeps/unix/sysv/linux/Implies: Likewise.
10554 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10556         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10558         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10559         Moved to ...
10560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10561         Here.
10562         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10563         to ...
10564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10565         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10566         to ...
10567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10568         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10569         to ...
10570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10571         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10572         to ...
10573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10574         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10575         to ...
10576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10577         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10578         to ...
10579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10580         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10581         to ...
10582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10583         Here.
10584         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10585         to ...
10586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10587         Here.
10588         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10589         to ...
10590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10591         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10592         Moved to ...
10593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10594         Here.
10595         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10596         to ...
10597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10599 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10601         * sysdeps/unix/common/bits/dirent.h: Remove file.
10602         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10604         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10605         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10606         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10607         * sysdeps/unix/bsd/isatty.c: Likewise.
10608         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10609         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10610         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10612 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10614         [BZ #13563]
10615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10616         long double comparison inaccuracies.
10617         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10620 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10622         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10623         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10625 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10627         [BZ #14049]
10628         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10629         nonzero digits before rounding a hex value.
10630         * stdlib/tst-strtod.c (tests): Add another test.
10632 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10634         * sysdeps/s390/fpu/libm-test-ulps: Update.
10636 2012-05-03  Andreas Jaeger  <aj@suse.de>
10638         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10639         does not get optimized out.
10640         (malloc_opt_barrier): New.
10642 2012-05-03  Andreas Jaeger  <aj@suse.de>
10643             Roland McGrath  <roland@hack.frob.com>
10645         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10646         intermediate file deletion.
10647         (generated): Add .symlist files.
10649 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10651         [BZ #13775]
10652         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10653         Redirect under this condition.
10654         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10655         [__USE_GNU] (__dprintf_chk): Not under this condition.
10656         [__USE_GNU] (__vdprintf_chk): Likewise.
10657         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10658         under this condition.
10659         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10660         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10661         [__USE_XOPEN2K8] (vdprintf): Likewise.
10662         [__USE_GNU] (__dprintf_chk): Not under this condition.
10663         [__USE_GNU] (__vdprintf_chk): Likewise.
10664         [__USE_GNU] (dprintf): Likewise.
10665         [__USE_GNU] (vdprintf): Likewise.
10667 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10669         * elf/Makefile (common-generated): Set this instead of generated for
10670         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10671         $(all-built-dso)-derived lists.
10673 2012-05-03  Andreas Jaeger  <aj@suse.de>
10675         * sysdeps/i386/fpu/libm-test-ulps: Update.
10677         * FAQ: Removed.
10678         * FAQ.in: Likewise.
10679         * scripts/gen-FAQ.pl: Likewise.
10680         * manual/install.texi (Installation): Point to online location of
10681         FAQ.
10682         * Makefile (files-for-dist): Remove FAQ.
10683         (FAQ): Remove.
10685 2012-05-02  Allan McRae  <allan@archlinux.org>
10687         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10688         (LDFLAGS-reldepmod5.so): Likewise.
10689         (LDFLAGS-reldep6mod1.so): Likewise.
10690         (LDFLAGS-reldep6mod4.so): Likewise.
10691         (LDFLAGS-reldep8mod3.so): Likewise.
10692         (LDFLAGS-unload4mod1.so): Likewise.
10693         (LDFLAGS-unload4mod2.so): Likewise.
10694         (LDFLAGS-tst-initorder): Likewise.
10695         (LDFLAGS-tst-initordera2.so): Likewise.
10696         (LDFLAGS-tst-initordera3.so): Likewise.
10697         (LDFLAGS-tst-initordera4.so): Likewise.
10698         (LDFLAGS-tst-initorderb2.so): Likewise.
10699         (LDFLAGS-noload): Likewise.
10700         (LDFLAGS-next): Likewise.
10701         (LDFLAGS-order2mod1.so): Likewise.
10702         (LDFLAGS-order2mod2.so): Likewise.
10703         (LDFLAGS-tst-initorder2): Likewise.
10704         (LDFLAGS-tst-initorder2a.so): Likewise.
10705         (LDFLAGS-tst-initorder2b.so): Likewise.
10706         (LDFLAGS-tst-initorder2c.so): Likewise.
10707         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10709 2012-05-02  David S. Miller  <davem@davemloft.net>
10711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10713 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10715         [BZ #14055]
10716         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10718 2012-05-02  Andreas Jaeger  <aj@suse.de>
10720         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10721         since we manipulate rounding mode.
10722         (CPPFLAGS-test-idouble.c): Likewise.
10723         (CPPFLAGS-test-ifloat.c): Likewise.
10724         (CFLAGS-test-ldouble.c): Likewise.
10725         (CFLAGS-test-double.c): Likewise.
10726         (CFLAGS-test-float.c): Likewise.
10727         (CFLAGS-test-misc.c): Likewise.
10728         (CFLAGS-test-test-fenv.c): Likewise.
10730 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10732         [BZ #2550]
10733         [BZ #2570]
10734         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10735         comparisons to determine direction to adjust input.
10737 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10739         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10740         output to the target.
10742         * scripts/localplt.awk: New file.
10743         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10744         (check-localplt-CFLAGS): Variable removed.
10745         ($(all-built-dso:=.jmprel)): New static pattern rule.
10746         (generated): Add those targets.
10747         (localplt-built-dso): New variable.
10748         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10750         * elf/check-localplt.c: File removed.
10752         * scripts/check-execstack.awk: New file.
10753         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10754         (check-execstack-CFLAGS): Variable removed.
10755         ($(objpfx)check-execstack.h): Target removed.
10756         ($(objpfx)execstack-default): New target.
10757         (generated): Add that instead of check-execstack.h.
10758         ($(all-built-dso:=.phdr)): New static pattern rule.
10759         (generated): Add those targets.
10760         * elf/check-execstack.c: File removed.
10762         * scripts/check-textrel.awk: New file.
10763         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10764         (check-textrel-CFLAGS): Variable removed.
10765         (all-built-dso): Use := to define.o
10766         ($(all-built-dso:=.dyn)): New static pattern rule.
10767         (generated): Add those targets.
10768         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10769         * config.make.in (READELF): New substituted variable.
10770         * elf/check-textrel.c: File removed.
10772 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10774         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10775         allow.
10776         * conform/data/ctype.h-data [C99-based standards] (isblank):
10777         Expect function.
10778         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10779         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10781         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10782         Specify type.  Require positive value.
10783         (EILSEQ): Likewise.
10784         (ERANGE): Likewise.
10785         [ISO || POSIX] (EILSEQ): Do not expect.
10786         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10787         Specify type.  Require positive value.
10788         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10789         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10790         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10791         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10792         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10793         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10794         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10795         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10796         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10797         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10798         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10799         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10800         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10801         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10802         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10803         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10804         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10805         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10806         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10807         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10808         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10809         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10810         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10811         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10812         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10813         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10814         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10815         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10816         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10817         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10818         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10819         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10820         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10821         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10822         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10823         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10824         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10825         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10826         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10827         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10828         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10829         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10830         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10831         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10832         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10833         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10834         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10835         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10836         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10837         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10838         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10839         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10840         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10841         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10842         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10843         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10844         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10845         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10846         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10847         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10848         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10849         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10850         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10851         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10852         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10853         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10854         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10855         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10856         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10857         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10858         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10859         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10860         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10861         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10862         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10863         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10864         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10865         Require >= 2.
10866         (FLT_ROUNDS): Expect as macro, not constant.
10867         (FLT_MANT_DIG): Use macro-int-constant.
10868         (DBL_MANT_DIG): Likewise.
10869         (LDBL_MANT_DIG): Likewise.
10870         (FLT_DIG): Likewise.
10871         (DBL_DIG): Likewise.
10872         (LDBL_DIG): Likewise.
10873         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10874         (DBL_MIN_EXP): Likewise.
10875         (LDBL_MIN_EXP): Likewise.
10876         (FLT_MAX_EXP): Use macro-int-constant.
10877         (DBL_MAX_EXP): Likewise.
10878         (LDBL_MAX_EXP): Likewise.
10879         (FLT_MAX_10_EXP): Likewise.
10880         (DBL_MAX_10_EXP): Likewise.
10881         (LDBL_MAX_10_EXP): Likewise.
10882         (FLT_MAX): Use macro-constant.
10883         (DBL_MAX): Likewise.
10884         (LDBL_MAX): Likewise.
10885         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10886         (DBL_EPSILON): Likewise.
10887         (LDBL_EPSILON): Likewise.
10888         (FLT_MIN): Likewise.
10889         (DBL_MIN): Likewise.
10890         (LDBL_MIN): Likewise.
10891         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10892         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10893         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10894         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10895         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10896         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10897         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10898         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10899         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10900         [ISO11] (FLT_TRUE_MIN): Likewise.
10901         [ISO11] (LDBL_TRUE_MIN): Likewise.
10902         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10903         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10904         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10905         (SCHAR_MAX): Likewise.
10906         (UCHAR_MAX): Likewise.
10907         (CHAR_MIN): Likewise.
10908         (CHAR_MAX): Likewise.
10909         (MB_LEN_MAX): Use macro-int-constant.
10910         (SHRT_MIN): Use macro-int-constant.  Specify type.
10911         (SHRT_MAX): Likewise.
10912         (USHRT_MAX): Likewise.
10913         (INT_MAX): Likewise.
10914         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10915         bound negative.
10916         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10917         bound with "U".
10918         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10919         bound with "L".
10920         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10921         bound negative.  Suffix upper bound with "L".
10922         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10923         bound with "UL".
10924         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10925         Specify type.
10926         [C99-based standards] (LLONG_MAX): Likewise.
10927         [C99-based standards] (ULLONG_MAX): Likewise.
10928         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10929         == 0.
10930         [ISO11] (max_align_t): Require type.
10931         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10933         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10934         from $CFLAGS, without defining away __attribute__ calls.
10935         (checknamespace): Use $CFLAGS_namespace.
10937         * conform/conformtest.pl (@keywords): Only include C99 keywords
10938         for standards based on C99 or C11.
10940         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10941         Disable tests.
10942         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10943         UNIX98]: Likewise.
10945         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10946         usability of symbols in #if.
10948         * conform/conformtest.pl: If macro or constant types start
10949         "promoted:", expect the symbol to be of the following type
10950         promoted by the integer promotions.
10952         * conform/conformtest.pl: Parse all "constant" and "macro" lines
10953         in one place.  Also handle "macro-constant".
10955         * conform/conformtest.pl: Only accept expected macro values with
10956         "==".  Parse all "macro" lines in one place.
10957         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10959         * conform/conformtest.pl: Handle braced types on "constant" lines
10960         instead of handling "typed-constant".
10961         * conform/data/signal.h-data: Use "constant" instead of
10962         "typed-constant".
10964         * conform/conformtest.pl: Handle "optional-" at start of lines in
10965         one place rather than duplicating several cases.  Handle each
10966         format of "macro" line with initial "optional-".
10968         * conform/conformtest.pl: Only accept expected constant or
10969         optional-constant values with "==".  Parse all "constant" lines in
10970         one place.  Parse all "optional-constant" lines in one place.
10971         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10972         * conform/data/fmtmsg.h-data: Likewise.
10973         * conform/data/netinet/in.h-data: Likewise.
10974         * conform/data/tar.h-data: Likewise.
10975         * conform/data/limits.h-data: Use "==" form on "constant" and
10976         "optional-constant" lines.
10978         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10979         Use -std=c99 for XOPEN2K.
10980         (@knownproblems): Remove.
10981         (newtoken): Don't check %isknown.
10983         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10984         Do not expect macro.
10985         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10986         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10987         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10988         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10989         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10990         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10991         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10992         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10993         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10994         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10995         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10996         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10997         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10998         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10999         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11000         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11001         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11002         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11003         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11004         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11005         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11006         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11007         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11008         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11009         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11010         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11011         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11012         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11013         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11014         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11015         [XPG3] (acosh): Likewise.
11016         [XPG3] (asinh): Likewise.
11017         [XPG3] (atanh): Likewise.
11018         [XPG3] (cbrt): Likewise.
11019         [XPG3] (expm1): Likewise.
11020         [XPG3] (ilogb): Likewise.
11021         [XPG3] (log1p): Likewise.
11022         [XPG3] (logb): Likewise.
11023         [XPG3] (nextafter): Likewise.
11024         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11025         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11026         [XPG3] (remainder): Likewise.
11027         [XPG3] (rint): Likewise.
11028         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11029         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11030         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11031         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11032         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11033         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11034         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11035         [UNIX98 || XOPEN2K] (scalb): Expect.
11036         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11037         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11038         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11039         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11040         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11041         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11042         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11043         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11044         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11045         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11046         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11047         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11048         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11049         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11050         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11051         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11052         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11053         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11054         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11055         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11056         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11057         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11058         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11059         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11060         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11061         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11062         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11063         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11064         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11065         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11066         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11067         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11068         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11069         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11070         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11071         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11072         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11073         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11074         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11075         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11076         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11077         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11078         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11079         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11080         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11081         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11082         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11083         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11084         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11085         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11086         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11087         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11088         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11089         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11090         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11091         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11092         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11093         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11094         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11095         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11096         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11097         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11098         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11099         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11100         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11101         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11102         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11103         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11104         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11105         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11106         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11107         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11108         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11109         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11110         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11111         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11112         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11113         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11114         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11115         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11116         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11117         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11118         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11119         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11120         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11121         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11122         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11123         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11124         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11125         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11126         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11127         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11128         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11129         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11130         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11131         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11132         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11133         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11134         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11135         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11136         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11137         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11138         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11139         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11140         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11141         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11142         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11143         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11144         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11145         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11146         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11147         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11148         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11149         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11150         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11151         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11152         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11153         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11154         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11155         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11156         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11157         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11158         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11159         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11160         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11161         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11162         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11163         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11164         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11165         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11166         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11167         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11168         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11169         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11170         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11171         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11172         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11174         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11175         _XOPEN_SOURCE_EXTENDED for XPG4.
11177         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11179         * Makeconfig (localtime): Remove variable.
11180         (inst_localtime-file): Likewise.
11182 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11185         Update.
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11187         Update.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11189         Update.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11191         Update.
11192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11193         Update.
11194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11195         Update.
11196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11197         Update.
11198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11199         Update.
11200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11201         Update.
11203 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11205         [BZ #2550]
11206         [BZ #2570]
11207         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11208         comparisons to determine direction to adjust input.
11209         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11210         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11211         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11212         Likewise.
11213         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11214         Likewise.
11215         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11216         Likewise.
11217         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11218         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11219         Likewise.
11220         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11221         Likewise.
11222         * math/libm-test.inc (nexttoward_test): Add more tests.
11224 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11226         [BZ #14040]
11227         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11228         in version GLIBC_2.1, not GLIBC_2.0.
11229         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11230         Likewise.
11232 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11234         [BZ #13942]
11235         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11236         (1 - x) * (1 + x).
11237         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11238         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11239         * math/libm-test.inc (acos_test): Add more tests.
11240         (asin_test): Likewise.
11241         * sysdeps/i386/fpu/libm-test-ulps: Update.
11242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11244         [BZ #14034]
11245         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11246         of square root.
11247         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11248         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11249         * math/libm-test.inc (acos_test_tonearest): New function.
11250         (acos_test_towardzero): Likewise.
11251         (acos_test_downward): Likewise.
11252         (acos_test_upward): Likewise.
11253         (asin_test_tonearest): Likewise.
11254         (asin_test_towardzero): Likewise.
11255         (asin_test_downward): Likewise.
11256         (asin_test_upward): Likewise.
11257         (main): Call the new functions.
11258         * sysdeps/i386/fpu/libm-test-ulps: Update.
11259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11261         [BZ #13884]
11262         [BZ #13924]
11263         * math/e_exp10.c: Include <float.h>.
11264         (__ieee754_exp10): Handle underflow here rather than multiplying
11265         large negative argument by M_LN10.
11266         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11267         of __ieee754_expf.
11268         * math/e_exp10l.c: Include <float.h>.
11269         (__ieee754_exp10l): Handle underflow here rather than multiplying
11270         large negative argument by M_LN10l.
11271         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11272         spurious overflow exception on underflow.
11274 2012-04-29  Marek Polacek  <polacek@redhat.com>
11276         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11277         (__fortify_function): New macro.
11278         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11279         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11280         __extern_always_inline.
11281         * libio/bits/stdio2.h: Likewise.
11282         * libio/bits/stdio.h: Likewise.
11283         * string/string.h: Likewise.
11284         * string/bits/string3.h: Likewise.
11285         * include/stdio.h: Likewise.
11286         * stdlib/bits/stdlib.h: Likewise.
11287         * stdlib/stdlib.h: Likewise.
11288         * rt/bits/mqueue2.h: Likewise.
11289         * rt/mqueue.h: Likewise.
11290         * posix/bits/unistd.h: Likewise.
11291         * posix/unistd.h: Likewise.
11292         * io/bits/poll2.h: Likewise.
11293         * io/bits/fcntl2.h: Likewise.
11294         * io/fcntl.h: Likewise.
11295         * io/sys/poll.h: Likewise.
11296         * misc/bits/syslog.h: Likewise.
11297         * misc/bits/syslog-ldbl.h: Likewise.
11298         * misc/sys/syslog.h: Likewise.
11299         * socket/bits/socket2.h: Likewise.
11300         * socket/sys/socket.h: Likewise.
11301         * debug/tst-chk1.c: Likewise.
11302         * wcsmbs/bits/wchar2.h: Likewise.
11303         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11304         * wcsmbs/wchar.h: Likewise.
11306 2012-04-29  Andreas Jaeger  <aj@suse.de>
11308         * Makerules (tests): Remove enable-check-abi protection.
11309         (check-abi-warn): Remove.
11310         (check-abi-%): Remove check-abi-warn usage.
11312         * configure.in: Remove check-abi configure option.
11313         * configure: Regenerated.
11314         * config.make.in (enable-check-abi): Remove.
11316 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11318         [BZ #14033]
11319         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11320         double functions to double *_finite functions.
11322         [BZ #13941]
11323         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11324         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11325         LDBL_MIN_EXP.
11326         * stdio-common/Makefile (tests): Add tst-sprintf3.
11327         * stdio-common/tst-sprintf3.c: New file.
11329         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11330         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11332 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11334         * conform/conformtest.pl: Remove duplicate typed-constant
11335         handling.
11337 2012-04-28  David S. Miller  <davem@davemloft.net>
11339         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11340         (check-abi-%): Remove AWK script prerequisite and explicit
11341         abilist directory.
11342         (check-abi): Rewrite to just diff the symlist with the abilist.
11343         (config-tls, config-abi-config): Delete, no longer used.
11344         (update-abi-%): Remove AWK script and explicit abilist directory.
11345         (update-abi): Rewrite to simply compare and conditionally copy the
11346         symlist and the sysdep abilist file.  Remove update-abi-config
11347         checks.
11348         * abilist/ld.abilist: Remove.
11349         * abilist/libBrokenLocale.abilist: Remove.
11350         * abilist/libanl.abilist: Remove.
11351         * abilist/libcrypt.abilist: Remove.
11352         * abilist/libdl.abilist: Remove.
11353         * abilist/librt.abilist: Remove.
11354         * abilist/libthread_db.abilist: Remove.
11355         * abilist/libutil.abilist: Remove.
11356         * scripts/extract-abilist.awk: Remove.
11357         * scripts/merge-abilist.awk: Remove.
11358         * sysdeps/generic/libcidn.abilist: New file.
11359         * sysdeps/generic/libnss_compat.abilist: New file.
11360         * sysdeps/generic/libnss_db.abilist: New file.
11361         * sysdeps/generic/libnss_dns.abilist: New file.
11362         * sysdeps/generic/libnss_files.abilist: New file.
11363         * sysdeps/generic/libnss_hesiod.abilist: New file.
11364         * sysdeps/generic/libnss_nis.abilist: New file.
11365         * sysdeps/generic/libnss_nisplus.abilist: New file.
11366         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11367         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11368         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11369         file.
11370         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11371         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11372         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11373         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11374         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11375         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11376         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11377         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11378         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11379         file.
11380         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11381         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11382         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11383         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11384         file.
11385         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11386         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11387         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11388         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11389         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11390         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11391         file.
11392         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11393         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11394         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11395         file.
11396         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11397         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11398         New file.
11399         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11400         New file.
11401         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11402         New file.
11403         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11404         New file.
11405         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11406         New file.
11407         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11408         New file.
11409         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11410         New file.
11411         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11412         New file.
11413         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11414         New file.
11415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11416         New file.
11417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11418         New file.
11419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11420         New file.
11421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11422         New file.
11423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11424         file.
11425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11426         New file.
11427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11428         New file.
11429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11430         file.
11431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11432         New file.
11433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11434         New file.
11435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11436         file.
11437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11438         New file.
11439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11440         New file.
11441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11442         New file.
11443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11444         New file.
11445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11446         New file.
11447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11448         New file.
11449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11451         file.
11452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11453         New file.
11454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11455         file.
11456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11457         file.
11458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11459         file.
11460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11461         file.
11462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11463         file.
11464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11465         New file.
11466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11467         file.
11468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11469         file.
11470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11471         New file.
11472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11473         file.
11474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11476         file.
11477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11478         New file.
11479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11480         file.
11481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11482         file.
11483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11484         file.
11485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11486         file.
11487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11488         file.
11489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11490         New file.
11491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11492         file.
11493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11494         file.
11495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11496         New file.
11497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11498         file.
11499         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11500         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11501         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11502         file.
11503         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11504         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11505         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11506         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11507         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11508         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11509         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11510         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11511         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11512         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11515         file.
11516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11517         New file.
11518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11519         file.
11520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11521         file.
11522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11523         file.
11524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11525         file.
11526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11527         file.
11528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11529         New file.
11530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11531         New file.
11532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11533         file.
11534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11535         New file.
11536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11537         file.
11538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11540         file.
11541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11542         New file.
11543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11544         file.
11545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11546         file.
11547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11548         file.
11549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11550         file.
11551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11552         file.
11553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11554         New file.
11555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11556         New file.
11557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11558         file.
11559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11560         New file.
11561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11562         file.
11564 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11566         * conform/conformtest.pl: Fix typo in handling typed-constant from
11567         allow-header.
11569 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11571         * README: Cut down references to pre-2.6 Linux kernels and
11572         Linuxthreads.  Update lists of configurations in libc and ports
11573         and sort alphabetically.  Say "or newer" with Linux kernel version
11574         requirements.
11576         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11578 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11580         [BZ #887]
11581         * math/libm-test.inc (logb_test_downward): New test to expose
11582         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11583         rounding mode.
11585 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11587         [BZ #14027]
11588         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11589         to be done.
11590         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11591         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11593 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11595         * sysdeps/unix/i386/brk.S: Remove file.
11596         * sysdeps/unix/i386/dl-brk.S: Likewise.
11597         * sysdeps/unix/i386/pipe.S: Likewise.
11598         * sysdeps/unix/i386/sigreturn.S: Likewise.
11599         * sysdeps/unix/i386/syscall.S: Likewise.
11600         * sysdeps/unix/i386/vfork.S: Likewise.
11601         * sysdeps/unix/i386/wait.S: Likewise.
11603         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11604         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11606         * configure.in (arm*-none*): Do not allow without
11607         --enable-hacker-mode.
11608         (netbsd*): Remove case setting base_os.
11609         (386bsd*): Likewise.
11610         (freebsd*): Likewise.
11611         (bsdi*): Likewise.
11612         (osf*): Likewise.
11613         (sunos*): Likewise.
11614         (ultrix*): Likewise.
11615         (newsos*): Likewise.
11616         (dynix*): Likewise.
11617         (*bsd*): Likewise.
11618         (sysv*): Likewise.
11619         (isc*): Likewise.
11620         (esix*): Likewise.
11621         (sco*): Likewise.
11622         (minix*): Likewise.
11623         (irix4*): Likewise.
11624         (irix6*): Likewise.
11625         (solaris[2-9]*): Likewise.
11626         (none): Likewise.
11627         * configure: Regenerated.
11629 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11631         [BZ #11521]
11632         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11633         overflow or cancellation in calculating denominator.
11634         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11635         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11636         down expression to avoid unexpected rounding in newer GCCs.
11637         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11639 2012-04-26  David S. Miller  <davem@davemloft.net>
11641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11642         long-double compat symbols.
11643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11657 2012-04-25  David S. Miller  <davem@davemloft.net>
11659         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11660         HWCAP_* values only after the memory barriers have been defined.
11661         (atomic_full_barrier): Define.
11662         (atomic_read_barrier): Define.
11663         (atomic_write_barrier): Define.
11665 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11667         * shlib-versions: Add libgcc_s version information.
11668         * sysdeps/generic/libgcc_s.h: Remove.
11669         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11670         libgcc_s.h.
11671         * sysdeps/gnu/unwind-resume.c: Likewise.
11672         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11674 2012-04-25  David S. Miller  <davem@davemloft.net>
11676         * sysdeps/unix/sparc/brk.S: Delete.
11677         * sysdeps/unix/sparc/dl-brk.S: Delete.
11678         * sysdeps/unix/sparc/pipe.S: Delete.
11679         * sysdeps/unix/sparc/sysdep.S: Delete.
11680         * sysdeps/unix/sparc/sysdep.h: Delete.
11681         * sysdeps/unix/sparc/vfork.S: Delete.
11682         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11683         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11684         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11685         ret_ERRVAL, r0, r1, MOVE): Define.
11686         (JUMPTARGET): Remove.
11687         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11688         sysdeps/unix/sparc/sysdep.h
11689         (ENTRY, END): Remove.
11690         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11692 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11694         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11695         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11696         -DIS_IN_build.
11698         * timezone/README: Update upstream location and email address for
11699         tzcode and tzdata.
11700         * timezone/zdump.c: Update from tzcode 2012b.
11701         * timezone/zic.c: Likewise.
11703         * configure.in (libc_cv_as_needed): Remove test.
11704         * configure: Regenerated.
11705         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11706         conditional definition.
11707         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11708         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11709         * config.make.in (have-as-needed): Remove variable.
11711 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11712             Paul Pluzhnikov  <ppluzhnikov@google.com>
11714         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11715         strings correctly.
11717 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11719         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11720         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11721         * sysdeps/sh/strlen.S: Likewise.
11723 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11725         * sysdeps/unix/fork.S: Remove file.
11726         * sysdeps/unix/i386/fork.S: Likewise.
11727         * sysdeps/unix/sparc/fork.S: Likewise.
11729         * sysdeps/unix/system.c: Remove file.
11730         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11732         * sysdeps/unix/getegid.S: Remove file.
11733         * sysdeps/unix/geteuid.S: Likewise.
11735 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11737         * scripts/check-localplt.awk: New file.
11738         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11739         of diff.
11740         * scripts/data/localplt-generic.data: Add a comment.
11742         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11743         NODE when __dir_mkfile failed.
11744         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11745         Reported by Ludovic Courtès <ludo@gnu.org>.
11747 2012-04-24  Andreas Jaeger  <aj@suse.de>
11749         * Makerules (common-clean): Also remove gen-as-const-headers
11750         files.
11752 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11754         * Makerules (native-compile): Do not change working directory for
11755         build.  Use $(OUTPUT_OPTION) in command.
11756         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11758 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11760         [BZ #13886]
11761         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11762         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11763         * math/libm-test.inc (floor_test): Add more tests.
11764         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11766 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11768         * sysdeps/unix/getdents.c: Remove file.
11769         * sysdeps/unix/sysv/getdents.c: Likewise.
11770         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11772         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11773         sysdeps/unix/mman/syscalls.list.
11774         (mmap): Likewise.
11775         (mprotect): Likewise.
11776         (msync): Likewise.
11777         (munmap): Likewise.
11778         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11779         * sysdeps/unix/mman/syscalls.list: Remove.
11780         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11782         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11783         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11784         * configure: Regenerated.
11785         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11786         $(libgcc_s_suffix).
11787         * config.make.in (libgcc_s_suffix): Remove variable.
11789 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11791         * sysdeps/unix/sysv/gethostname.c: Move to ...
11792         * sysdeps/posix/gethostname.c: ... here.
11794         * sysdeps/unix/execve.S: Remove file.
11796         * sysdeps/unix/_exit.S: Remove file.
11798 2012-04-23  Andreas Jaeger  <aj@suse.de>
11800         [BZ #13739]
11801         * manual/Makefile: Remove make dist support, there's no
11802         need for a stand-alone documentation tar ball.
11803         (TEXI2DVI): Define always, it's not in Makeconfig.
11804         (dist): Removed.
11805         (tar-it): Removed.
11806         (edition): Removed.
11807         (glibc-doc-$(edition).tar): Removed
11808         (%.Z): Removed.
11809         (%.gz): Removed.
11810         (%.uu): Removed.
11811         (ETAGS): Remove, it's in Makeconfig.
11812         (move-if-change): Remove, it's in Makeconfig.
11814 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11816         [BZ #13970]
11817         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11818         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11819         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11820         (strtod_l, strtof_l, strtold_l): Remove __wur.
11821         It is not necessarily an error to ignore strtol's return value.
11822         One can reliably look at the stored endptr to decide whether
11823         the number had valid syntax.
11825 2012-04-21  Andreas Jaeger  <aj@suse.de>
11827         [BZ #13739]
11828         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11830 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11832         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11833         * sysdeps/unix/sysv/Versions: Remove file.
11835 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11837         [BZ #13927]
11838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11840 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11842         [BZ #7064]
11843         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11844         version from __vm86.
11846 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11848         * sysdeps/unix/common/lxstat.c: Remove file.
11849         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11851         * sysdeps/unix/sysv/Makefile: Remove file.
11853         * sysdeps/unix/sysv/direct.h: Remove file.
11855         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11856         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11857         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11858         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11859         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11860         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11861         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11863         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11865         * sysdeps/unix/xmknod.c: Remove file.
11866         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11868         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11870         * sysdeps/unix/sysv/i386/time.S: Remove file.
11872         * sysdeps/unix/fxstat.c: Remove file.
11873         * sysdeps/unix/xstat.c: Likewise.
11874         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11876         * sysdeps/unix/sysv/sigaction.c: Remove file.
11878         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11879         (sysdep_headers): Remove variable.
11880         [termio.h not in sysdep_headers] (generated): Likewise.
11881         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11882         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11883         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11884         * sysdeps/unix/sysv/tcflow.c: Likewise.
11885         * sysdeps/unix/sysv/tcflush.c: Likewise.
11886         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11887         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11888         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11889         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11890         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11892         * sysdeps/unix/siglist.c: Remove file.
11894         * sysdeps/unix/getppid.S: Remove file.
11896         * sysdeps/unix/mkdir.c: Remove file.
11897         * sysdeps/unix/rmdir.c: Likewise.
11899 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11901         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11902         ERR_MAX value.
11903         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11904         errlist-compat value.
11906 2012-04-18  David S. Miller  <davem@davemloft.net>
11908         * sysdeps/generic/memcopy.h (reg_char): Delete.
11909         * debug/strcat_chk.c: Use char, not reg_char.
11910         * debug/strcpy_chk.c: Likewise.
11911         * debug/strncat_chk.c: Likewise.
11912         * debug/strncpy_chk.c: Likewise.
11913         * string/memchr.c: Likewise.
11914         * string/memrchr.c: Likewise.
11915         * string/rawmemchr.c: Likewise.
11916         * string/strcat.c: Likewise.
11917         * string/strchr.c: Likewise.
11918         * string/strchrnul.c: Likewise.
11919         * string/strcmp.c: Likewise.
11920         * string/strcpy.c: Likewise.
11921         * string/strncat.c: Likewise.
11922         * string/strncmp.c: Likewise.
11923         * string/strncpy.c: Likewise.
11925 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11927         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11928         __builtin_memcopy is called when src and dest ranges are known to not
11929         overlap.
11931 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11933         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11934         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11935         fwd_align_merge macro call.
11936         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11937         bwd_align_merge macro call.
11938         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11940 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11942         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11943         bwd_align_merge macros.
11944         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11945         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11946         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11948 2012-04-18  David S. Miller  <davem@davemloft.net>
11950         * sysdeps/sparc/sparc64/memcopy.h: Delete.
11952 2012-04-18  Andreas Jaeger  <aj@suse.de>
11954         [BZ# 6794]
11955         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11956         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11957         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11959         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11960         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11961         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11963         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11964         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11965         Adjust for changed ldbl-128 files.
11967         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11968         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11969         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11971 2012-04-17  David S. Miller  <davem@davemloft.net>
11973         * sysdeps/sparc/sparc32/memcopy.h: Delete.
11975 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
11977         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11978         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11979         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11980         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11981         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11982         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11984 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11986         [BZ #6794]
11987         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11988         * math/libm-test.inc: Add ilogb errno and exception tests.
11989         * math/w_ilogb.c: New file: ilogb wrapper.
11990         * math/w_ilogbf.c: New file: ilogbf wrapper.
11991         * math/w_ilogbl.c: New file: ilogbl wrapper.
11992         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11993         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11994         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11995         exception being thrown with 0.0 as argument.
11996         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11997         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11998         exception being thrown with 0.0 as argument.
11999         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12000         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12001         exception being thrown with 0.0 as argument.
12002         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12003         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12004         exception being thrown with 0.0 as argument.
12005         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12006         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12007         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12008         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12009         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12010         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12011         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12012         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12013         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12015 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12017         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12018         with altivec.
12020 2012-04-16  Marek Polacek  <polacek@redhat.com>
12022         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12024 2012-04-16  Marek Polacek  <polacek@redhat.com>
12026         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12027         operands of fdivp instruction.
12029 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12031         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12032         * elf/tst-auditmod3b.c: Likewise.
12033         * elf/tst-auditmod4b.c: Likewise.
12034         * elf/tst-auditmod5b.c: Likewise.
12035         * elf/tst-auditmod6b.c: Likewise.
12036         * elf/tst-auditmod6c.c: Likewise.
12037         * elf/tst-auditmod7b.c: Likewise.
12038         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12039         * sysdeps/x86_64/preconfigure.in: Likewise.
12040         * sysdeps/x86_64/preconfigure: Regenerated.
12042 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12044         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12045         __ILP32__.
12047 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12049         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12050         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12052 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12054         [BZ #13973]
12055         * locale/iso-639.def: Fix gl language name. Spotted by
12056         Yaron Shahrabani.
12058 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12060         [BZ #2074]
12061         * libio/libio.h (__io_write_fn): Update comment.
12063 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12065         [BZ #2074]
12066         * stdio.texi (Hook Functions): The user provided writer function
12067         is not allowed to return -1.
12069 2012-04-11  David S. Miller  <davem@davemloft.net>
12071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12073 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12075         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12076         Add a leading slash to rtkaio.
12078 2012-04-11  Jim Meyering  <meyering@redhat.com>
12080         [BZ #11959]
12081         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12082         It is not necessarily an error to ignore fwrite's return
12083         value.  One can reliably use ferror to test for errors after
12084         the fact.
12086 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12088         * bits/types.h (__snseconds_t): New type.
12089         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12091         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12092         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12093         (__SNSECONDS_T_TYPE): Likewise.
12094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12095         (__SNSECONDS_T_TYPE): Likewise.
12096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12097         (__SNSECONDS_T_TYPE): Likewise.
12099 2012-04-10  Andreas Jaeger  <aj@suse.de>
12101         [BZ #2636]
12102         * manual/time.texi (Processor Time): Return type of times is
12103         elapsed real time since an arbitrary point in the past.
12104         (CPU Time): Move CLK_TCK from here...
12105         (Processor Time): ...to here.  Correct description.
12106         * manual/conf.texi (Constants for Sysconf): Correct description of
12107         _SC_CLK_TCK.
12109 2012-04-10  David S. Miller  <davem@davemloft.net>
12111         [BZ #13967]
12112         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12113         where the is a gap between DT_REL(A) and DT_JMPREL.
12115 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12117         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12118         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12119         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12121 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12123         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12124         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12125         (dl_main): Handle --inhibit-cache.
12126         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12127         _dl_inhibit_cache.
12128         * elf/dl-load.c (_dl_map_object): Use it.
12129         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12131 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12133         [BZ #13872]
12134         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12135         (__ieee754_powl): Saturate large exponents rather than testing for
12136         overflow of y*log2(x).
12137         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12138         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12139         exceptions.
12141         [BZ #11521]
12142         * math/s_ctan.c: Include <float.h>.
12143         (__ctan): Avoid internal overflow or cancellation in calculating
12144         denominator.
12145         * math/s_ctanf.c: Likewise.
12146         * math/s_ctanl.c: Likewise.
12147         * math/s_ctanh.c: Likewise.
12148         * math/s_ctanhf.c: Likewise.
12149         * math/s_ctanhl.c: Likewise.
12150         * math/libm-test.inc (ctan_test): Add more tests.
12151         (ctanh_test): Likewise.
12152         * sysdeps/i386/fpu/libm-test-ulps: Update.
12153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12155 2012-04-09  Andreas Jaeger  <aj@suse.de>
12157         [BZ #6894]
12158         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12159         is an optional BSD extension.
12161         [BZ #10254]
12162         * manual/stdio.texi (Opening Streams): Document additional fopen
12163         parameters.
12165 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12167         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12168         %eax without telling the compiler.
12170 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12172         [BZ # 13963]
12173         * manual/install.texi: Use sourceware.org.
12175 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12177         [BZ #13873]
12178         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12179         (__ieee754_pow): Generate overflow and underflow using huge*huge
12180         and tiny*tiny rather than just returning constant infinity or zero
12181         for large exponents.
12182         * math/libm-test.inc (pow_test): Require overflow exceptions for
12183         applicable cases of large exponents.
12185         [BZ #706]
12186         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12187         (__ieee754_pow): Use iterative multiplication algorithm only for
12188         integer exponents with absolute value below 1024.  Check for odd
12189         integer exponents when using algorithm for real exponents.
12190         * math/libm-test.inc (pow_test): Add more tests.
12191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12193 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12195         [BZ #13705]
12196         * math/libm-test.inc (exp_test): Do not allow overflow exception
12197         on underflow test.
12199 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12201         [BZ #13705]
12202         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12203         instead of __kernel_standard_f.
12205 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12207         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12208         * sysdeps/x86_64/memset_chk.S: Likewise.
12210 2012-04-08  Andreas Jaeger  <aj@suse.de>
12212         [BZ #10153]
12213         * manual/startup.texi (Environment Access): Describe return value
12214         for putenv and setenv.
12216         [BZ #6895]
12217         * manual/filesys.texi (Directory Entries): Add description for
12218         DT_LNK.
12220         [BZ #6890]
12221         * manual/filesys.texi (Directory Entries): Clarify that it's file
12222         system not operating system in the description of DT_UNKNOWN.
12224         [BZ #6578]
12225         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12227 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12229         [BZ #6649]
12230         * manual/llio.texi (Opening and Closing Files): Add cross
12231         reference to explain mode argument.
12233 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12235         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12236         * sysdeps/x86_64/memset_chk.S: Likewise.
12238 2012-04-07  David S. Miller  <davem@davemloft.net>
12240         * elf/elf.h (R_SPARC_WDISP10): Define.
12241         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12242         R_SPARC_SIZE32.
12243         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12244         R_SPARC_SIZE64 and R_SPARC_H34.
12246 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12248         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12249         conditions and remove no longer applicable assertion.
12251 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12253         * bits/byteswap.h: Include <features.h>.
12254         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12255         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12257 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12259         * bits/byteswap.h (__bswap_16): Removed.
12260         Include <bits/byteswap-16.h> to get __bswap_16.
12261         * sysdeps/i386/bits/byteswap.h: Likewise.
12262         * sysdeps/s390/bits/byteswap.h: Likewise.
12263         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12264         * bits/byteswap-16.h: New file.
12265         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12266         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12267         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12268         * string/Makefile (headers): Add bits/byteswap-16.h.
12270 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12272         [BZ #13895]
12273         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12274         extra indirection.
12275         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12276         * nss/tst-nss-static.c: New.
12278 2012-04-06  Robert Millan  <rmh@gnu.org>
12280         [BZ #6486]
12281         * manual/llio.texi (File Position Primitive): lseek
12282         refers to WHENCE when it really means OFFSET.
12284 2012-04-06  Andreas Jaeger  <aj@suse.de>
12286         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12287         strncmp declarations.
12289         * abilist/libc.abilist: Add __poll and __ppoll.
12291 2012-04-05  David S. Miller  <davem@davemloft.net>
12293         * scripts/check-local-headers.sh: Accept a host triplet in the
12294         path matched by the exclude regexp.
12296         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12297         definition.
12298         * sysdeps/powerpc/powerpc32/dl-machine.h
12299         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12300         * sysdeps/s390/s390-32/dl-machine.h
12301         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12302         * sysdeps/sparc/sparc32/dl-machine.h
12303         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12304         * sysdeps/sparc/sparc64/dl-machine.h
12305         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12307         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12308         lazy binding.
12309         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12310         undefined symbol errors.
12312         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12313         DT_NEEDED entries.
12315 2012-04-05  Michael Matz  <matz@suse.de>
12317         [BZ #13592]
12318         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12320 2012-04-05  Andreas Jaeger  <aj@suse.de>
12322         [BZ #13908]
12323         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12324         comment.
12326 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12328         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12329         which ROUND is no valid rounding mode.
12331 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12333         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12334         read again.
12335         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12337 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12339         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12340         an exception using FPU order intentionally.
12342 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12344         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12345         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12346         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12347         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12349 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12351         [BZ #12340]
12352         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12353         EINVAL when BUFLEN is too smal.
12355 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12357         [BZ #13553]
12358         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12359         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12361 2012-04-03  Andreas Jaeger  <aj@suse.de>
12363         [BZ #13938]
12364         * manual/setjmp.texi (System V contexts): Fix sentence.
12366         [BZ #13926]
12367         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12368         New macro for this case.
12369         [!__GNUC__] (__bswap_64): New inline function for this case.
12370         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12371         * bits/byteswap.h: Likewise.
12372         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12373         ull, guard with __GLIBC_HAVE_LONG_LONG.
12375         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12376         __GLIBC_HAVE_LONG_LONG.
12378         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12379         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12381 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12383         [BZ #13691]
12384         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12385         inptr and inend, rather than using last_ch.
12387 2012-04-02  David S. Miller  <davem@davemloft.net>
12389         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12390         * stdio-common/printf-parse.h (read_int): Change return type to
12391         'int', return -1 on INT_MAX overflow.
12392         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12393         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12394         overflows INT_MAX.  Check for overflow of in-format-string precision
12395         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12396         SIZE_MAX not INT_MAX for integer overflow test.
12397         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12398         skip the construct in the format string but do not record anything.
12399         * stdio-common/bug22.c: Adjust to test both width/prevision
12400         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12401         explicitly for proper errno values.
12403 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12405         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12406         CHAR_MAX.
12407         * string/test-strcmp.c [! WIDE]: Likewise.
12408         * time/tst-mktime2.c: Likewise for INT_MAX.
12409         * string/test-string.h: #include <sys/param.h> for MIN.
12411         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12412         * sysdeps/i386/init-first.c (init): Likewise.
12413         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12414         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12415         * sysdeps/sh/init-first.c (init): Likewise.
12417 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12419         * po/ru.po: Update from translation team.
12420         * po/vi.po: Likewise.
12422 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12424         * resolv/nss_dns/dns-host.c: Merge copyright years.
12426 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12428         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12429         Optimize memcpy with prefetch if
12430         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12431         src, dst pointers have unequal 16 byte alignments.
12433 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12435         [BZ #13928]
12436         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12437         from a CNAME entry and return the minimum ttl for the query.
12438         (gaih_getanswer_slice): Likewise.
12440 2012-03-30  Jeff Law  <law@redhat.com>
12442         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12443         due to long keys.
12444         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12445         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12447         * resolv/nss_dns/dns-host.c: Update copyright year.
12449 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12451         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12452         requests to save a system call.  Fix check that all bytes are sent.
12454         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12455         comments for sendmmsg.
12457 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12459         [BZ #13691]
12460         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12461         with only 1 character between 0x0041 and 0x01b0.
12462         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12463         * wcsmbs/tst-mbsnrtowcs.c: New file.
12465 2012-03-29  David S. Miller  <davem@davemloft.net>
12467         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12468         small copies by hand.
12470 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12472         [BZ #13761]
12473         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12474         _nss_compat_initgroups_dyn): Fall back to malloc/free
12475         for large group memberships.
12477 2012-03-28  David S. Miller  <davem@davemloft.net>
12479         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12480         that branches into memcpy.
12481         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12482         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12483         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12484         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12485         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12486         bits.
12487         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12488         implementation too.
12489         * sysdeps/sparc/mempcpy.S: New file.
12491         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12492         the IFUNC routine in the libc case.
12493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12495         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12496         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12497         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12498         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12499         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12500         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12501         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12502         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12504         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12505         loop to 256 bytes instead of 64 bytes and fix test signedness.
12507         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12508         * sysdeps/sparc/sparc32/Makefile: rather than here...
12509         * sysdeps/sparc/sparc64/Makefile: and here.
12511 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12513         * malloc/mallocbug.c: Avoid warnings about unused variables.
12515 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12517         [BZ #13760]
12518         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12519         in the right place. Discard and retry query if response is
12520         larger than input buffer size.
12522 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12524         [BZ #369]
12525         [BZ #2678]
12526         [BZ #3866]
12527         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12528         x for large integer exponent.
12529         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12530         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12531         sign of result as needed afterwards.
12532         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12533         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12534         result for underflowing pow the same as for overflow.
12535         (__kernel_standard_l): Handle powl overflow and underflow here
12536         rather than calling __kernel_standard.
12537         * math/libm-test.inc (pow_test): Add more tests.
12539         [BZ #3868]
12540         [BZ #13879]
12541         [BZ #13910]
12542         [BZ #13911]
12543         [BZ #13912]
12544         [BZ #13913]
12545         [BZ #13915]
12546         [BZ #13916]
12547         [BZ #13917]
12548         [BZ #13918]
12549         [BZ #13919]
12550         [BZ #13920]
12551         [BZ #13921]
12552         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12553         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12554         (__kernel_standard_l): New function.
12555         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12556         __kernel_standard.
12557         * math/w_acosl.c (__acosl): Likewise.
12558         * math/w_asinl.c (__asinl): Likewise.
12559         * math/w_atan2l.c (__atan2l): Likewise.
12560         * math/w_atanhl.c (__atanhl): Likewise.
12561         * math/w_coshl.c (__coshl): Likewise.
12562         * math/w_exp10l.c (__exp10l): Likewise.
12563         * math/w_exp2l.c (__exp2l): Likewise.
12564         * math/w_fmodl.c (__fmodl): Likewise.
12565         * math/w_hypotl.c (__hypotl): Likewise.
12566         * math/w_j0l.c (__j0l, __y0l): Likewise.
12567         * math/w_j1l.c (__j1l, __y1l): Likewise.
12568         * math/w_jnl.c (__jnl, __ynl): Likewise.
12569         * math/w_lgammal.c (__lgammal): Likewise.
12570         * math/w_log10l.c (__log10l): Likewise.
12571         * math/w_log2l.c (__log2l): Likewise.
12572         * math/w_logl.c (__logl): Likewise.
12573         * math/w_powl.c (__powl): Likewise.
12574         * math/w_remainderl.c (__remainderl): Likewise.
12575         * math/w_scalbl.c (sysv_scalbl): Likewise.
12576         * math/w_sinhl.c (__sinhl): Likewise.
12577         * math/w_sqrtl.c (__sqrtl): Likewise.
12578         * math/w_tgammal.c (__tgammal): Likewise.
12579         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12580         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12581         * math/libm-test.inc (acos_test): Add more tests.
12582         (acosh_test): Likewise.
12583         (asin_test): Likewise.
12584         (atanh_test): Likewise.
12585         (exp_test): Likewise.
12586         (exp10_test): Likewise.
12587         (exp2_test): Likewise.
12588         (expm1_test): Likewise.
12589         (lgamma_test): Likewise.
12590         (log_test): Likewise.
12591         (log10_test): Likewise.
12592         (log1p_test): Likewise.
12593         (log2_test): Likewise.
12594         (pow_test): Do not allow some spurious overflow exceptions.
12595         (sqrt_test): Add more tests.
12596         (tgamma_test): Likewise.
12597         (y0_test): Likewise.
12598         (y1_test): Likewise.
12599         (yn_test): Likewise.
12601 2012-03-27  Anton Blanchard  <anton@samba.org>
12603         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12604         MAP_HUGETLB.
12605         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12606         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12607         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12609 2012-03-27  David S. Miller  <davem@davemloft.net>
12611         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12613         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12614         have-as-vis3 check.
12616 2012-03-27  Andreas Jaeger  <aj@suse.de>
12618         * sysdeps/x86_64/elf/configure.in: Moved to ...
12619         * sysdeps/x86_64/configure.in: ... here.
12620         * sysdeps/x86_64/elf/start.S: Moved to ...
12621         * sysdeps/x86_64/start.S: ... here.
12622         * sysdeps/x86_64/elf/configure: Delete.
12624         * sysdeps/x86_64/configure.in: Merge contents from
12625         sysdeps/i386/configure.in (without i686 check).
12627         * sysdeps/i386/elf/Versions: Merge into ...
12628         * sysdeps/i386/Versions: ... this.
12629         * sysdeps/i386/elf/Versions: Delete file.
12630         * sysdeps/i386/elf/start.S: Moved to ...
12631         * sysdeps/i386/start.S: ...here.
12632         * sysdeps/i386/elf/configure.in: Merge into...
12633         * sysdeps/i386/configure.in: ...here.
12634         * sysdeps/i386/elf/configure.in: Delete file.
12635         * sysdeps/i386/elf/configure: Delete file.
12637         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12638         * debug/backtracesyms.c: ... here.
12639         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12640         * debug/backtracesymsfd.c: ... here.
12641         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12642         * sysdeps/generic/ifunc-sel.h: ... here.
12644         * sysdeps/unix/i386/start.c: Delete file.
12645         * sysdeps/unix/sparc/start.c: Delete file.
12646         * sysdeps/unix/start.c: Delete file.
12648         * sysdeps/sh/elf/configure.in: Moved to ...
12649         * sysdeps/sh/configure.in: ... here.
12650         * sysdeps/sh/elf/start.S: Moved to ...
12651         * sysdeps/sh/start.S: ... here.
12652         * sysdeps/sh/elf/configure: Delete file.
12654         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12655         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12656         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12657         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12658         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12659         * sysdeps/powerpc/powerpc64/start.S: here.
12660         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12661         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12662         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12663         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12664         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12666         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12667         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12668         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12669         * sysdeps/powerpc/powerpc32/start.S: ... here.
12670         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12671         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12672         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12674         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12675         * sysdeps/powerpc/ifunc-sel.h: ... here.
12676         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12677         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12679         * sysdeps/sparc/elf/configure.in: Moved to ...
12680         * sysdeps/sparc/configure.in: ... here.
12681         * sysdeps/sparc/elf/configure: Delete file.
12682         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12683         * sysdeps/sparc/sparc32/start.S: ... here.
12684         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12685         * sysdeps/sparc/sparc64/start.S: ... here.
12686         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12687         * sysdeps/sparc/sparc32/Makefile: ... this.
12688         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12689         * sysdeps/sparc/sparc64/Makefile: ... this.
12691         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12692         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12693         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12694         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12695         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12696         * sysdeps/s390/s390-32/setjmp.S: ... here.
12697         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12698         * sysdeps/s390/s390-32/configure.in: ... here.
12699         * sysdeps/s390/s390-32/elf/configure: Delete file.
12700         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12701         * sysdeps/s390/s390-32/start.S: ... here.
12703         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12704         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12705         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12706         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12707         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12708         * sysdeps/s390/s390-64/setjmp.S: ... here.
12709         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12710         * sysdeps/s390/s390-64/configure.in: ... here
12711         * sysdeps/s390/s390-64/elf/configure: Delete file.
12712         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12713         * sysdeps/s390/s390-64/start.S: ... here.
12714         * sysdeps/s390/s390-64/elf/configure: Delete.
12716         * configure.in: Remove support for elf directories in sysdeps.
12718         * configure: Regenerated.
12719         * sysdeps/i386/configure: Regenerated.
12720         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12721         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12722         * sysdeps/s390/s390-32/configure: Regenerated.
12723         * sysdeps/s390/s390-64/configure: Regenerated.
12724         * sysdeps/sh/configure: Regenerated.
12725         * sysdeps/sparc/configure: Regenerated.
12726         * sysdeps/x86_64/configure: Regenerated.
12728 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12733         denormal result into account.
12735 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12737         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12738         Reported by Allan McRae <allan@archlinux.org>.
12740 2012-03-23  Jeff Law  <law@redhat.com>
12742         * nss/getnssent.c (__nss_getent): Fix typo.
12744 2012-03-23  David S. Miller  <davem@davemloft.net>
12746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12748 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12750         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12751         to pad to uint64_t for each field.
12752         (dl_tls_index): Replace unsigned long with uint64_t.
12754 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12755         Paul Pluzhnikov  <ppluzhnikov@google.com>
12757         [BZ #6528]
12758         * grp/Makefile (otherlibs): Don't set it.
12759         * inet/Makefile (otherlibs): Likewise.
12760         * login/Makefile (otherlibs): Likewise.
12761         * nscd/Makefile (otherlibs): Likewise.
12762         * posix/Makefile (otherlibs): Likewise.
12763         * pwd/Makefile (otherlibs): Likewise.
12764         * rt/Makefile (otherlibs): Likewise.
12765         * sunrpc/Makefile (otherlibs): Likewise.
12766         * nss/Makefile (otherlibs): Likewise.
12767         Add libnss_files to routines and static-only-routines.
12768         ($(objpfx)getent): Remove rule.
12769         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12770         static-only-routines.
12772 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12774         [BZ #13892]
12775         * math/s_cexp.c: Include <float.h>.
12776         (__cexp): Handle exp result overflowing not necessarily
12777         overflowing both real and imaginary parts of result.
12778         * math/s_cexpf.c: Likewise.
12779         * math/s_cexpl.c: Likewise.
12780         * math/libm-test.inc (cexp_test): Add more tests.
12781         * sysdeps/i386/fpu/libm-test-ulps: Update.
12782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12784 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12786         * include/link.h (ELFW): New macro.
12787         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12788         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12790 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12792         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12793         with uint64_t.
12795 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12797         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12798         declaration.
12799         (struct La_x32_retval): Likewise.
12801 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12803         * sysdeps/x86_64/preconfigure.in: New file.
12804         * sysdeps/x86_64/preconfigure: New generated file.
12806 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12808         [BZ #13824]
12809         * math/e_exp2l.c: Include <float.h>.
12810         (__ieee754_exp2l): Handle overflow and underflow cases
12811         separately.  Only pass fractional part of argument to
12812         __ieee754_expl.
12813         * math/libm-test.inc (exp2_test): Add more tests.
12815         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12816         negating x to take absolute value.
12817         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12818         Likewise.
12819         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12820         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12821         Likewise.
12822         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12823         computing low part if x was negated.
12824         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12826 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12828         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12829         la_x32_gnu_pltexit.
12830         (pltexit): Cast int_retval to ptrdiff_t.
12831         * elf/tst-auditmod3b.c: Likewise.
12832         * elf/tst-auditmod4b.c: Likewise.
12833         * elf/tst-auditmod5b.c: Likewise.
12834         * elf/tst-auditmod6b.c: Likewise.
12835         * elf/tst-auditmod6c.c: Likewise.
12836         * elf/tst-auditmod7b.c: Likewise.
12838         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12839         and x32_gnu_pltexit.
12841         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12842         __ELF_NATIVE_CLASS.
12843         (La_x32_regs): New macro.
12844         (La_x32_retval): Likewise.
12845         (la_x32_gnu_pltenter): New function prototype.
12846         (la_x32_gnu_pltexit): Likewise.
12848 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12850         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12851         exponent.
12853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12855         * configure.in (libc_cv_cc_nofma): Check for option to disable
12856         generation of FMA instructions.
12857         * configure: Regenerate.
12858         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12859         * sysdeps/ieee754/dbl-64/Makefile: New file.
12860         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12861         Remove brandred-fma4.
12862         (CFLAGS-brandred-fma4.c): Remove.
12863         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12864         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12865         define.
12866         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12867         define.
12869 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12871         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12872         LLONG_MAX != LONG_MAX.
12873         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12874         (_fitoa_word): Likewise.
12875         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12876         LLONG_MAX != LONG_MAX.
12877         * stdio-common/_itowa.h: Include <_itoa.h>.
12878         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12879         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12880         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12881         only if not defined.
12882         (_ITOA_WORD_TYPE): Likewise.
12883         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12884         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12886 2012-03-21  David S. Miller  <davem@davemloft.net>
12888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12890 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12892         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12893         of x86_64 when setting libc_cv_slibdir, libdir and
12894         libc_cv_localedir.
12895         * sysdeps/unix/sysv/linux/configure: Regenerated.
12897 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12899         * manual/lang.texi (Old Varargs): Remove section.
12900         (How Variadic): Update menu.
12901         (va_start): Do not mention varargs.h.
12903 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12904             Joseph Myers  <joseph@codesourcery.com>
12906         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12907         link test.
12908         * configure: Regenerated.
12910 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12912         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12913         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12914         conformtest.pl
12916 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12918         * NOTES: Remove.
12919         * Makefile (files-for-dist): Remove NOTES.
12920         (NOTES): Remove rule.
12921         * README: Don't refer to NOTES.
12922         * manual/creature.texi: Don't include macros.texi.
12923         * manual/intro.texi (creature.texi): Remove comment referring to
12924         NOTES.
12926         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12927         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12928         * configure: Regenerated.
12929         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12930         LIBC_TRY_CC_OPTION.
12931         (libc_cv_as_i686): Likewise.
12932         (libc_cv_cc_avx): Likewise.
12933         (libc_cv_cc_sse2avx): Likewise.
12934         (libc_cv_cc_fma4): Likewise.
12935         (libc_cv_cc_novzeroupper): Likewise.
12936         * sysdeps/i386/configure: Regenerated.
12938         [BZ #13883]
12939         * sysdeps/i386/fpu/s_cexp.S: Remove.
12940         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12941         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12942         * math/libm-test.inc (cexp_test): Add more tests.
12943         * sysdeps/i386/fpu/libm-test-ulps: Update.
12944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12946 2012-03-21  Allan McRae  <allan@archlinux.org>
12948         * timezone/Makefile: Do not install iso3166.tab and zone.tab
12950 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12952         [BZ #13871]
12953         * math/w_exp2.c: Do not include <float.h>.
12954         (o_threshold, u_threshold): Remove.
12955         (__exp2): Calculate result before checking finiteness and calling
12956         __kernel_standard.
12957         * math/w_exp2f.c: Likewise.
12958         * math/w_exp2l.c: Likewise.
12959         * math/libm-test.inc (exp2_test): Require overflow exception for
12960         1e6 input.
12962         [BZ #3866]
12963         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12964         range of signed 64-bit integers before using fistpll.  Remove
12965         checks for whether integers fit in mantissa bits.
12966         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12967         the range of signed 32-bit integers before using fistpl.  Remove
12968         checks for whether integers fit in mantissa bits.
12969         * sysdeps/i386/fpu/e_powl.S (p64): New object.
12970         (__ieee754_powl): Test for y outside the range of signed 64-bit
12971         integers before using fistpll.  Reduce 64-bit values to 63-bit
12972         ones as needed.
12973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12974         divide-by-zero is raised for zero to large negative powers.
12975         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12976         (__ieee754_powl): Test for y outside the range of signed 64-bit
12977         integers before using fistpll.  Reduce 64-bit values to 63-bit
12978         ones as needed.
12979         * math/libm-test.inc (pow_test): Add more tests.
12981 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12983         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12984         <stdio-common/_itoa.h>.
12985         * debug/segfault.c: Likewise.
12986         * elf/dl-cache.c: Likewise.
12987         * elf/dl-minimal.c: Likewise.
12988         * elf/dl-misc.c: Likewise.
12989         * elf/dl-sysdep.c: Likewise.
12990         * elf/dl-version.c: Likewise.
12991         * elf/rtld.c: Likewise.
12992         * hurd/hurdsock.c: Likewise.
12993         * hurd/lookup-retry.c: Likewise.
12994         * malloc/malloc.c: Likewise.
12995         * malloc/mtrace.c: Likewise.
12996         * nscd/nscd_getgr_r.c: Likewise.
12997         * nscd/nscd_getpw_r.c: Likewise.
12998         * nscd/nscd_getserv_r.c: Likewise.
12999         * posix/getopt_init.c: Likewise.
13000         * posix/wordexp.c: Likewise.
13001         * stdio-common/_itoa.c: Likewise.
13002         * stdio-common/printf_fphex.c: Likewise.
13003         * stdio-common/vfprintf.c: Likewise.
13004         * string/_strerror.c: Likewise.
13005         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13006         * sysdeps/i386/i686/hp-timing.h: Likewise.
13007         * sysdeps/mach/_strerror.c: Likewise.
13008         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13009         * sysdeps/mach/hurd/sethostid.c: Likewise.
13010         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13011         * sysdeps/mach/xpg-strerror.c: Likewise.
13012         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13013         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13014         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13015         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13016         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13017         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13018         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13019         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13020         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13021         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13022         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13023         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13024         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13025         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13026         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13027         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13028         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13029         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13030         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13031         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13032         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13034         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13036         * stdio-common/_itoa.h: Moved to ...
13037         * sysdeps/generic/_itoa.h: Here.
13039         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13041         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13042         instead of "_itoa.h" and "_itowa.h".
13043         * stdio-common/vfprintf.: Likewise.
13045 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13047         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13048         <bits/wordsize.h>.
13049         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13050         (__signbit): Likwise.
13051         (llrintf): Likwise.
13052         (llrint): Likwise.
13054 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13056         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13057         __WORDSIZE != 64.
13059 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13061         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13062         OVERFLOW_EXCEPTION_OK.
13063         * math/libm-test.inc ("Philosophy"): Update comment about
13064         exception testing.
13065         (OVERFLOW_EXCEPTION): Define.
13066         (OVERFLOW_EXCEPTION_OK): Likewise.
13067         (INVALID_EXCEPTION_OK): Renumber.
13068         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13069         (IGNORE_ZERO_INF_SIGN): Likewise.
13070         (test_exceptions): Handle FE_OVERFLOW.
13071         (exp10_test): Expect overflow exceptions.
13072         (exp2_test): Likewise.
13073         (expm1_test): Likewise.
13074         (nextafter_test): Likewise.
13075         (pow_test): Likewise.
13076         (scalbn_test): Likewise.
13077         (scalbln_test): Likewise.
13079 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13081         * sysdeps/x86_64/bits/atomic.h
13082         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13083         64bit integer.
13084         (atomic_exchange_acq): Likewise.
13085         (__arch_exchange_and_add_body): Likewise.
13086         (__arch_add_body): Likewise.
13087         (atomic_add_negative): Likewise.
13088         (atomic_add_zero): Likewise.
13090 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13092         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13093         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13095 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13097         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13098         Check __x86_64__ instead of __WORDSIZE.
13100 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13102         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13104 2012-03-19  David S. Miller  <davem@davemloft.net>
13106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13108         * sysdeps/sparc/fpu/fenv_private.h: New file.
13109         * sysdeps/sparc/fpu/math_private.h: Use it.
13110         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13111         Remove.
13112         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13113         (libc_feholdexcept_setroundl): Remove.
13114         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13115         Remove.
13116         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13117         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13119 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13121         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13122         int64_t instead of long int.
13123         (INSERT_WORDS64): Likwise.
13125 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13127         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13128         _Unwind_GetCFA return to _Unwind_Ptr first.
13130 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13132         [BZ #13629]
13133         * math/s_clog.c: Include <float.h>.
13134         (__clog): Scale large or subnormal inputs.
13135         * math/s_clogf.c: Likewise.
13136         * math/s_clogl.c: Likewise.
13137         * math/s_clog10.c: Include <float.h>.
13138         (M_LOG10_2): Define.
13139         (__clog10): Scale large or subnormal inputs.
13140         * math/s_clog10f.c: Likewise.
13141         * math/s_clog10l.c: Likewise.
13142         * math/libm-test.inc (clog_test): Add more tests.
13143         (clog10_test): Likewise.
13144         * sysdeps/i386/fpu/libm-test-ulps: Update.
13145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13147         [BZ #11451]
13148         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13149         x and y.
13150         * math/libm-test.inc (atan2_test): Add another test.
13152         * Makerules (common-objdir-compile): Remove.
13153         * sysdeps/unix/Makefile (config-generated): Do not add
13154         $(unix-generated) to variable.
13155         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13156         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13157         Remove rule.
13158         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13159         Likewise.
13160         [generic bits/local_lim.h] (before-compile): Do not append to
13161         variable.
13162         [generic bits/local_lim.h] (common-generated): Likewise.
13163         [generic sys/param.h] (before-compile): Do not append to variable.
13164         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13165         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13166         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13167         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13168         include.
13169         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13170         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13171         [generic sys/param.h] ($(addprefix
13172         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13173         [generic sys/param.h] (common-generated): Do not append to
13174         variable.
13175         [generic sys/param.h] (sysdep_headers): Likewise.
13176         [generic bits/errno.h] (before-compile): Do not append to
13177         variable.
13178         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13179         rule.
13180         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13181         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13182         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13183         [generic bits/errno.h] (common-generated): Do not append to
13184         variable.
13185         [generic bits/ioctls.h] (before-compile): Do not append to
13186         variable.
13187         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13188         rule.
13189         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13190         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13191         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13192         rule.
13193         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13194         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13195         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13196         [generic bits/ioctls.h] (common-generated): Do not append to
13197         variable.
13198         [generic sys/syscall.h] (syscall.h): Remove variable.
13199         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13200         rule.
13201         [generic sys/syscall.h] (before-compile): Do not append to
13202         variable.
13203         [generic sys/syscall.h] (common-generated): Likewise.
13204         * sysdeps/unix/errnos-tmpl.c: Remove file.
13205         * sysdeps/unix/errnos.awk: Likewise.
13206         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13207         * sysdeps/unix/ioctls.awk: Likewise.
13208         * sysdeps/unix/mk-local_lim.c: Likewise.
13209         * sysdeps/unix/snarf-ioctls: Likewise.
13211 2012-03-19  Richard Henderson  <rth@twiddle.net>
13213         * sysdeps/i386/fpu/fenv_private.h: New file.
13214         * sysdeps/i386/fpu/math_private.h: Use it.
13215         (math_opt_barrier, math_force_eval): Remove.
13216         (libc_feholdexcept_setround_53bit): Remove.
13217         (libc_feupdateenv_53bit): Remove.
13218         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13219         (math_opt_barrier, math_force_eval): Remove.
13220         (libc_feholdexcept): Remove.
13221         (libc_feholdexcept_setround): Remove.
13222         (libc_fetestexcept, libc_fesetenv): Remove.
13223         (libc_feupdateenv_test): Remove.
13224         (libc_feupdateenv, libc_feholdsetround): Remove.
13225         (libc_feresetround): Remove.
13227         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13228         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13230         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13231         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13232         (libc_feupdateenv_testl): New.
13233         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13234         (libc_feupdateenv_testf): New.
13235         (libc_feupdateenv): Use libc_feupdateenv_test.
13236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13237         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13239         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13240         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13241         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13242         (libc_feresetround_noex): New.
13243         (libc_feresetround_noexf): New.
13244         (libc_feresetround_noexl): New.
13245         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13246         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13247         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13248         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13249         SET_RESTORE_ROUND.
13250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13251         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13252         (__cos): Likewise.
13253         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13254         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13255         SET_RESTORE_ROUND_NOEX.
13256         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13257         SET_RESTORE_ROUND_NOEXF.
13258         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13259         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13260         (libc_feholdsetroundf): New.
13261         (libc_feresetround, libc_feresetroundf): New.
13263         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13264         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13265         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13267         * sysdeps/generic/math_private.h: Include <fenv.h>.
13268         (default_libc_feholdexcept): New.
13269         (default_libc_feholdexcept_setround): New.
13270         (default_libc_fesetenv, default_libc_feupdateenv): New.
13271         (libc_feholdexcept): Only define if undefined.
13272         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13273         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13274         (libc_feholdexcept_setroundl): Likewise.
13275         (libc_feholdexcept_setround_53bit): Likewise.
13276         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13277         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13278         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13279         (libc_feupdateenv_53bit): Likewise.
13280         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13281         (libc_feholdexcept): Convert from macro to inline function.
13282         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13283         (libc_fesetenv, libc_feupdateenv): Likewise.
13285         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13286         not previously defined.
13287         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13288         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13289         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13290         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13291         * sysdeps/ieee754/flt-32/math_private.h: New file.
13292         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13293         math_private.h below SET_FLOAT_WORD.
13294         (__isnan, __isinf_ns, __finite): Remove.
13295         (__isnanf, __isinf_nsf, __finitef): Remove.
13297 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13301 2012-03-17  David S. Miller  <davem@davemloft.net>
13303         [BZ #6471]
13304         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13305         for 2.16.
13307 2012-03-16  David S. Miller  <davem@davemloft.net>
13309         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13310         warnings.
13312         [BZ #6471]
13313         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13314         properly.
13315         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13316         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13317         sysdep_routines when subdir is sysvipc.
13318         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13319         __getshmlba helper.
13321         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13323 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13325         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13326         [__LP64__].
13328 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13330         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13331         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13332         (__lround): Renamed to ...
13333         (__llround): This.  Replace long int with long long int.
13334         Define lround functions as aliases of llround functions.
13335         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13337 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13339         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13340         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13341         adresses to uintptr_t.  Replace "long int" and "unsigned long
13342         int" with "greg_t" on va_arg.
13344 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13346         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13347         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13349         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13350         Move e_machine check before EI_CLASS check.  Handle x32
13351         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13352         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13353         SKIP_EM_IA_64 and include
13354         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13356         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13357         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13358         (add_system_dir): New macro.
13360         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13361         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13363 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13365         [BZ #2551]
13366         [BZ #2552]
13367         [BZ #2553]
13368         [BZ #2554]
13369         [BZ #2562]
13370         [BZ #2563]
13371         [BZ #2565]
13372         [BZ #2566]
13373         [BZ #2576]
13374         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13375         (y0): Likewise.
13376         * math/w_j0f.c (j0f): Likewise.
13377         (y0f): Likewise.
13378         * math/w_j0l.c (__j0l): Likewise.
13379         (__y0l): Likewise.
13380         * math/w_j1.c (j1): Likewise.
13381         (y1): Likewise.
13382         * math/w_j1f.c (j1f): Likewise.
13383         (y1f): Likewise.
13384         * math/w_j1l.c (__j1l): Likewise.
13385         (__y1l): Likewise.
13386         * math/w_jn.c (jn): Likewise.
13387         (yn): Likewise.
13388         * math/w_jnf.c (jnf): Likewise.
13389         (ynf): Likewise.
13390         * math/w_jnl.c (__jnl): Likewise.
13391         (__ynl): Likewise.
13392         * math/libm-test.inc (j0_test): Add more tests.
13393         (j1_test): Likewise.
13394         (jn_test): Likewise.  Add trailing semicolon to existing test.
13395         (y0_test): Likewise.
13396         (y1_test): Likewise.
13397         * sysdeps/i386/fpu/libm-test-ulps: Update.
13398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13400         [BZ #13851]
13401         [BZ #13854]
13402         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13403         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13404         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13405         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13406         (__tanl): Set errno for infinite argument.
13407         * sysdeps/i386/fpu/mptan.c: Remove.
13408         * sysdeps/i386/fpu/s_tan.S: Likewise.
13409         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13410         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13411         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13412         * math/libm-test.inc (tan_test): Add more tests and enable more
13413         tests for double and long double.
13414         * sysdeps/i386/fpu/libm-test-ulps: Update.
13415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13417 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13419         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13420         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13422 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13424         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13425         * configure.in: Use it for both main tree and add-ons.
13426         * configure: Regenerated.
13428 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13430         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13432 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13434         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13435         in comment.
13437         [BZ #13851]
13438         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13439         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13440         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13441         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13442         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13443         infinite argument.
13444         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13445         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13446         != 0 for prec == 2.
13447         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13448         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13449         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13450         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13451         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13452         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13453         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13454         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13455         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13456         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13457         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13458         * math/libm-test.inc (cos_test): Add more tests and enable more
13459         tests for long double.
13460         (sin_test): Likewise.
13461         (sincos_test): Likewise.
13462         * sysdeps/i386/fpu/libm-test-ulps: Update.
13463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13465 2012-03-16  David S. Miller  <davem@davemloft.net>
13467         * sysdeps/sparc/fpu/math_private.h: New file.
13469 2012-03-15  David S. Miller  <davem@davemloft.net>
13471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13472         file.
13473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13475         file.
13476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13481         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13482         sysdep routines.
13483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13485         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13486         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13488         * sysdeps/sparc/sparc-ifunc.h: New file.
13489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13490         sparc-ifunc.h
13491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13493         Likewise.
13494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13495         Likewise.
13496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13500         Likewise.
13501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13506         Likewise.
13507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13508         Likewise.
13509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13513         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13515         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13527         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13528         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13529         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13530         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13531         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13532         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13534 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13536         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13537         scaling.
13538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13540 2012-03-15  Andreas Jaeger  <aj@suse.de>
13542         [BZ #13852]
13543         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13544         ieee754/flt-32 implementation for sin, cos and sincos.
13545         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13546         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13547         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13548         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13549         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13550         ieee754/flt-32 implementation for tan.
13552         * math/libm-test.inc (cos_test): Enable some large input tests for
13553         float as well
13554         (sin_test): Likewise.
13555         (sincos_test): Likewise.
13556         (tan_test): Add tests for large input.
13558         * sysdeps/i386/fpu/libm-test-ulps: Update.
13560 2012-03-15  Andreas Jaeger  <aj@suse.de>
13562         [BZ #13658]
13563         * math/libm-test.inc (cos_test): Add more test cases.
13564         (sin_test): Likewise.
13565         (sincos_test): Likewise.
13567 2012-03-15  Andreas Jaeger  <aj@suse.de>
13569         [BZ #13837]
13570         * math/libm-test.inc (cos_test): Add a test case for large input
13571         value.
13572         (sin_test): Likewise.
13573         (sincos_test): Likewise.
13575 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13576         Joseph Myers  <joseph@codesourcery.com>
13578         [BZ #13658]
13579         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13580         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13581         * sysdeps/i386/fpu/branred.c: Likewise.
13582         * sysdeps/i386/fpu/dosincos.c: Likewise.
13583         * sysdeps/i386/fpu/mpa.c: Likewise.
13584         * sysdeps/i386/fpu/s_cos.S: Likewise.
13585         * sysdeps/i386/fpu/s_sin.S: Likewise.
13586         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13587         * sysdeps/i386/fpu/sincos32.c: Likewise.
13589         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13590         Define.
13591         (libc_feupdateenv_53bit): Define.
13592         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13593         Define.
13594         (libc_feupdateenv_53bit): Define.
13596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13597         53 bit (without extend i386 double precision).
13599         * math/libm-test.inc (sincos_test): Add tests for large input.
13600         (sin): Likewise.
13601         (cos): Likewise.
13603         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13605 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13609 2012-03-15  David S. Miller  <davem@davemloft.net>
13611         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13612         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13613         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13614         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13627         file.
13628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13630         file.
13631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13633         file.
13634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13636         file.
13637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13639         fmin/fmax sysdep routines.
13640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13642 2012-03-14  David S. Miller  <davem@davemloft.net>
13644         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13648         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13649         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13650         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13651         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13652         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13653         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13656         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13657         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13658         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13659         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13664         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13665         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13666         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13667         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13668         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13669         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13670         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13671         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13672         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13673         routines.
13674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13675         file.
13676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13678         file.
13679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13681         file.
13682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13684         file.
13685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13687         file.
13688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13690         file.
13691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13692         file.
13693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13694         file.
13695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13696         file.
13697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13698         New file.
13699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13700         file.
13701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13702         file.
13703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13705         file.
13706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13708         file.
13709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13711         file.
13712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13714         VIS3 routines.
13716         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13717         New file.
13719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13721         * sysdeps/sparc/configure.in: New file.
13722         * sysdeps/sparc/configure: Generate.
13723         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13724         * configure: Regenerate.
13725         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13726         * config.make.in (have-as-vis3): New.
13727         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13728         available use -Av9d instead of -Av9a.
13729         * sysdeps/sparc/sparc64/Makefile: Likewise.
13730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13732         New file.
13733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13734         file.
13735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13736         New file.
13737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13738         file.
13739         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13740         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13741         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13742         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13743         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13745         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13746         fzeros/fnegs to load 0x80000000 into a float register instead of
13747         using the stack.
13748         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13750 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13753         bits/syscall.h.
13754         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13755         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13756         ($(inst_includedir)/bits/syscall.h): Remove rule.
13757         ($(objpfx)bits/syscall.d): Include instead of
13758         $(objpfx)syscall-list.d.
13759         (generated): Change syscall-list.h and syscall-list.d to
13760         bits/syscall.h and bits/syscall.d.
13762 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13764         [BZ #13846]
13765         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13767 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13769         [BZ #13841]
13770         * math/s_csqrt.c: Include <float.h>.
13771         (__csqrt): Scale large or subnormal inputs.
13772         * math/s_csqrtf.c: Likewise.
13773         * math/s_csqrtl.c: Likewise.
13774         * math/libm-test.inc (csqrt_test): Add more tests.
13775         * sysdeps/i386/fpu/libm-test-ulps: Update.
13776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13778         [BZ #13840]
13779         * math/libm-test.inc (hypot_test): Add more tests.
13781 2012-03-13  David S. Miller  <davem@davemloft.net>
13783         [BZ #13840]
13784         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13785         double-precision for the calculation instead of scaling.
13787 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13789         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13790         manipulate bits before adding and subtracting TWO52[sx].
13791         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13792         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13793         Likewise.
13794         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13796 2012-03-13  David S. Miller  <davem@davemloft.net>
13798         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13799         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13800         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13801         rtld-global-offsets.h
13802         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13804         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13805         large parameters.
13807         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13809         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13810         'err' in the ifdef scope in which it is actually used.
13812         * nss/nss_db/db-init.c: Include string.h
13814 2012-03-12  David S. Miller  <davem@davemloft.net>
13816         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13817         masking out of the most significant byte of random value used.
13818         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13819         Fix coding style in previous change.
13821         * sysdeps/unix/sysv/linux/kernel-features.h
13822         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13823         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13824         expression.
13825         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13826         later.
13828 2012-03-11  David S. Miller  <davem@davemloft.net>
13830         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13831         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13832         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13833         for 'resultvar' otherwise things get truncated on 64-bit.
13835         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13836         Fix masking out of the most significant byte of random value used.
13838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13840 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13844 2012-03-09  David S. Miller  <davem@davemloft.net>
13846         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13847         variables with appropriate CPP guards.
13848         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13849         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13850         on resulting framesize and the management of the outregs buffer for pltexit.
13851         Preserve floating point return values across _dl_call_pltexit call.
13852         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13853         framesize and the management of the outregs buffer for pltexit.
13854         Preserve floating point return values across _dl_call_pltexit
13855         call.
13856         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13857         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13858         (print_exit): Fix format string for return register value.
13860 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13862         * sunrpc/Makefile (others): Add rpcgen.
13863         ($(objpfx)rpcgen): Remove special build rule and dependency on
13864         libc.
13865         * sunrpc/rpcgen.c: New file.
13867 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13869         [BZ #13673]
13870         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13871         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13872         * sysdeps/i386/crti.S: Likewise.
13873         * sysdeps/i386/crtn.S: Likewise.
13874         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13875         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13876         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13877         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13878         * sysdeps/sh/crti.S: Likewise.
13879         * sysdeps/sh/crtn.S: Likewise.
13880         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13882         [BZ #13673]
13883         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13884         with URL.
13885         * locale/programs/locfile-kw.gperf: Likewise.
13886         * locale/programs/charmap-kw.h: Regenerated.
13887         * locale/programs/locfile-kw.h: Likewise.
13889         [BZ #13673]
13890         * intl/plural.y: Replace FSF snail mail address with URL.
13891         * intl/plural.c: Regenerated.
13893 2012-03-09  Richard Henderson  <rth@twiddle.net>
13895         * include/math_private.h: Remove file.
13896         * math/math_private.h: Move file ...
13897         * sysdeps/generic/math_private.h: ... here.
13899         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13900         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13901         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13903         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13904         and <math_private.h>.
13905         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13906         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13907         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13908         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13909         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13910         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13911         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13912         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13913         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13914         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13915         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13916         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13917         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13918         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13919         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13920         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13921         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13922         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13923         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13924         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13926         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13927         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13929         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13930         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13931         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13932         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13933         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13935         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13936         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13937         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13938         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13939         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13940         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13941         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13943         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13944         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13945         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13946         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13951         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13952         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13953         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13954         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13955         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13956         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13957         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13958         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13959         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13960         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13961         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13962         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13963         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13964         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13965         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13966         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13967         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13968         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13969         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13970         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13971         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13972         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13973         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13974         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13975         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13976         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13977         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13978         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13979         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13980         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13981         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13982         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13983         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13984         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13985         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13986         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13987         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13988         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13989         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13990         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13993         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13994         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13995         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13996         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13997         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13998         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13999         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14000         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14001         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14002         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14003         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14004         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14005         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14006         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14007         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14008         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14009         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14010         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14011         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14012         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14013         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14014         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14015         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14016         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14017         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14018         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14019         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14020         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14021         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14022         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14023         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14024         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14025         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14026         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14027         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14028         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14029         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14030         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14031         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14032         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14033         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14034         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14035         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14036         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14037         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14038         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14039         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14040         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14041         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14042         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14043         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14044         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14045         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14046         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14047         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14048         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14049         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14050         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14051         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14052         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14053         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14054         * sysdeps/ieee754/k_standard.c: Likewise.
14055         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14056         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14057         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14058         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14059         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14060         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14061         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14062         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14063         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14064         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14065         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14066         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14067         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14068         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14069         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14070         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14071         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14072         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14073         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14074         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14075         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14076         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14077         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14078         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14079         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14080         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14081         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14082         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14083         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14084         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14085         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14086         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14087         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14088         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14089         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14090         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14091         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14092         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14093         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14094         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14095         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14098         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14100         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14101         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14102         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14103         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14104         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14105         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14106         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14107         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14108         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14110         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14111         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14112         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14113         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14114         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14115         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14116         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14117         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14118         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14119         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14120         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14121         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14122         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14123         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14124         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14125         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14127         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14128         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14129         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14130         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14131         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14132         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14133         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14134         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14135         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14136         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14137         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14138         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14139         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14140         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14141         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14142         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14143         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14144         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14145         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14146         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14147         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14148         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14149         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14150         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14151         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14152         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14153         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14154         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14155         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14156         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14157         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14158         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14159         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14160         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14161         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14162         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14163         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14164         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14165         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14166         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14167         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14168         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14169         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14170         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14171         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14172         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14173         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14174         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14175         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14176         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14177         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14178         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14179         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14180         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14181         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14182         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14183         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14184         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14185         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14186         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14187         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14188         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14189         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14190         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14191         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14192         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14193         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14194         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14195         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14196         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14197         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14198         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14199         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14200         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14201         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14202         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14203         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14204         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14205         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14206         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14207         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14208         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14209         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14210         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14211         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14212         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14213         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14214         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14215         * sysdeps/ieee754/s_lib_version.c: Likewise.
14216         * sysdeps/ieee754/s_matherr.c: Likewise.
14217         * sysdeps/ieee754/s_signgam.c: Likewise.
14218         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14219         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14220         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14221         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14222         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14223         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14224         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14225         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14226         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14227         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14228         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14229         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14230         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14231         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14232         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14233         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14234         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14235         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14236         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14237         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14238         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14240 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14242         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14243         * sunrpc/rpc_main.c: Likewise.
14244         * sunrpc/rpc_svcout.c: Likewise.
14246 2012-03-09  David S. Miller  <davem@davemloft.net>
14248         * include/math_private.h: New file.
14250 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14252         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14253         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14254         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14255         from <bits/socket_type.h>.
14256         (enum __socket_type): Don't define here.
14257         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14258         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14259         bits/socket_type.h.
14261         [BZ #13566]
14262         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14263         checking __USE_GNU.
14265         * Makerules ($(inst_includedir)/%.h): New rule.
14266         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14267         (install-others): Remove variable setting.
14268         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14270 2012-03-08  Richard Henderson  <rth@twiddle.net>
14272         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14273         from macro to inline function; merge with the
14274         !__LIBC_INTERNAL_MATH_INLINES version.
14275         (__ieee754_sqrtf): Likewise.
14277         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14278         to inline function.
14279         (__rintf, __floor, __floorf): Likewise.
14281         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14282         macro to inline function.
14283         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14285         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14286         not <math/math_private.h>.
14288 2012-03-08  David S. Miller  <davem@davemloft.net>
14290         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14291         copyright year.
14292         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14294 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14296         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14297         normalization.
14298         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14299         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14301 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14303         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14304         be defined individually, they must be defined as a block.  Define
14305         S for printing a string instead of hidint the different by using a
14306         macro for adding the 'l'.
14307         * stdio-common/tst-fphex-wide.c: Adjust.
14309 2012-03-07  Marek Polacek  <polacek@redhat.com>
14311         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14313 2012-03-08  Marek Polacek  <polacek@redhat.com>
14315         [BZ #13806]
14316         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14317         * stdio-common/tst-fphex.c: Define a few macros to make the
14318         test reusable.  Use them.
14319         * stdio-common/tst-fphex-wide.c: New file.
14321 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14323         [BZ #6911]
14324         * manual/macros.texi (gnusystems): New macro.
14325         (nongnusystems): Likewise.
14326         (gnulinuxhurdsystems): Likewise.
14327         (gnuhurdsystems): Likewise..
14328         (gnulinuxsystems): Likewise.
14329         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14330         variants of the GNU system, not "GNU system".
14331         * manual/conf.texi: Likewise.
14332         * manual/errno.texi: Likewise.  Update example of errno macro
14333         expansion.
14334         * manual/filesys.texi: Likewise.
14335         (getumask): Document as specific to GNU/Hurd.
14336         * manual/install.texi: Likewise.  Reword some references to
14337         GNU/Linux.
14338         * manual/intro.texi: Likewise.
14339         * manual/io.texi: Likewise.
14340         (File Name Portability): Detail which constraints are inapplicable
14341         to all GNU systems and which are only inapplicable to GNU/Hurd.
14342         * manual/job.texi: Likewise.
14343         * manual/llio.texi: Likewise.
14344         (O_NOCTTY): Document as present on GNU/Linux.
14345         * manual/maint.texi: Likewise.
14346         * manual/memory.texi: Likewise.
14347         * manual/pattern.texi: Likewise.
14348         * manual/pipe.texi: Likewise.
14349         * manual/process.texi: Likewise.
14350         * manual/resource.texi: Likewise.
14351         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14352         child on GNU/Hurd.
14353         * manual/setjmp.texi: Likewise.
14354         * manual/signal.texi: Likewise.
14355         * manual/startup.texi: Likewise.
14356         * manual/stdio.texi: Likewise.
14357         * manual/terminal.texi: Likewise.
14358         (ONLCR): Document as POSIX.
14359         (OXTABS): Document availability on GNU/Linux as XTABS.
14360         (ONOEOT): Document availability separately from other bits.
14361         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14362         * manual/time.texi: Likewise.
14363         * manual/users.texi: Likewise.
14364         * INSTALL: Regenerated.
14365         * sysdeps/gnu/errlist.c: Regenerated.
14367         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14368         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14369         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14370         puts.
14371         * configure: Regenerated.
14373 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14375         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14376         default includes instead of AC_HEADER_CHECK.
14377         * sysdeps/i386/configure: Regenerated.
14379         [BZ #10716]
14380         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14381         * math/s_cacoshf.c (__cacoshf): Likewise.
14382         * math/s_cacoshl.c (__cacoshl): Likewise.
14383         * math/s_casinh.c (__casinh): Set signs of result from argument.
14384         * math/s_casinhf.c (__casinhf): Likewise.
14385         * math/s_casinhl.c (__casinhl): Likewise.
14386         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14387         (casinh_test): Add more tests.
14388         * sysdeps/i386/fpu/libm-test-ulps: Update.
14389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14391 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14393         * po/zh_TW.po: Update from translation team.
14395         * login/Makefile (distribute): Remove variable.
14396         * catgets/Makefile: Likewise.
14397         * mach/Makefile: Likewise.
14398         * malloc/Makefile: Likewise.
14399         * misc/Makefile: Likewise.
14400         * iconv/Makefile: Likewise.
14401         * nscd/Makefile: Likewise.
14402         * hurd/Makefile: Likewise.
14403         * manual/Makefile: Likewise.
14404         * locale/Makefile: Likewise.
14405         * intl/Makefile: Likewise.
14406         * conform/Makefile: Likewise.
14407         * nss/Makefile: Likewise.
14408         * time/Makefile: Likewise.
14409         * soft-fp/Makefile: Likewise.
14410         * dirent/Makefile: Likewise.
14411         * gmon/Makefile: Likewise.
14412         * po/Makefile: Likewise.
14413         * rt/Makefile: Likewise.
14414         * socket/Makefile: Likewise.
14415         * math/Makefile: Likewise.
14416         * signal/Makefile: Likewise.
14417         * debug/Makefile: Likewise.
14418         * elf/Makefile: Likewise.
14419         * timezone/Makefile: Likewise.
14420         * stdlib/Makefile: Likewise.
14421         * iconvdata/Makefile: Likewise.
14422         * sunrpc/Makefile: Likewise.
14423         * io/Makefile: Likewise.
14424         * argp/Makefile: Likewise.
14425         * inet/Makefile: Likewise.
14426         * hesiod/Makefile: Likewise.
14427         * grp/Makefile: Likewise.
14428         * csu/Makefile: Likewise.
14429         * wctype/Makefile: Likewise.
14430         * crypt/Makefile: Likewise.
14431         * libio/Makefile: Likewise.
14432         * string/Makefile: Likewise.
14433         * nis/Makefile: Likewise.
14434         * resolv/Makefile: Likewise.
14435         * stdio-common/Makefile: Likewise.
14436         * wcsmbs/Makefile: Likewise.
14437         * dlfcn/Makefile: Likewise.
14438         * posix/Makefile: Likewise.
14440         [BZ #6959]
14441         * timezone/Makefile: Don't install timezone files, just the programs
14442         and scripts.
14444 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14446         * nss/databases.def: Add missing gshadow entry.
14448         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14450 2012-03-06  Marek Polacek  <polacek@redhat.com>
14452         [BZ #13726]
14453         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14454         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14455         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14456         * stdio-common/tst-long-dbl-fphex.c: New file.
14458 2012-03-06  David S. Miller  <davem@davemloft.net>
14460         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14461         (set_obp_int): New function.
14462         (get_obp_int): New function.
14463         (__get_clockfreq_via_dev_openprom): Likewise.
14464         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14465         Avoid unused variable warnings on 'val' and use builtin_expect.
14466         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14467         __builtin_expect.
14468         (INLINE_CLONE_SYSCALL): Likewise.
14470 2012-03-05  David S. Miller  <davem@davemloft.net>
14472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14474 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14478         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14479         only for |x| >= 40.
14480         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14482 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14484         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14485         Replace gettimeofday with __vdso_gettimeofday.
14487         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14488         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14489         __vdso_clock_gettime and __vdso_getcpu.
14491         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14492         time with __vdso_time.
14494 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14496         * manual/lang.texi (size_t): Note types to which size_t may be
14497         equivalent with the GNU C Library, but do not describe when
14498         differences between them are significant.
14500 2012-03-05  Andreas Jaeger  <aj@suse.de>
14502         * sysdeps/i386/fpu/libm-test-ulps: Update.
14504 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14506         [BZ #3976]
14507         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14508         (__ieee754_pow): Save and restore rounding mode and use
14509         round-to-nearest for main computations.
14510         * math/libm-test.inc (pow_test_tonearest): New function.
14511         (pow_test_towardzero): Likewise.
14512         (pow_test_downward): Likewise.
14513         (pow_test_upward): Likewise.
14514         (main): Call the new functions.
14515         * sysdeps/i386/fpu/libm-test-ulps: Update.
14516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14518         [BZ #3976]
14519         * math/libm-test.inc (cosh_test_tonearest): New function.
14520         (cosh_test_towardzero): Likewise.
14521         (cosh_test_downward): Likewise.
14522         (cosh_test_upward): Likewise.
14523         (sinh_test_tonearest): Likewise.
14524         (sinh_test_towardzero): Likewise.
14525         (sinh_test_downward): Likewise.
14526         (sinh_test_upward): Likewise.
14527         (main): Call the new functions.
14528         * sysdeps/i386/fpu/libm-test-ulps: Update.
14529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14531 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14533         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14534         default stack guard is set in last bytes.
14535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14537 2012-03-05  Kees Cook  <keescook@chromium.org>
14539         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14541         [BZ #13656]
14542         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14543         possibly allocate from heap instead of stack.
14544         * stdio-common/bug-vfprintf-nargs.c: New file.
14545         * stdio-common/Makefile (tests): Add nargs overflow test.
14547 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14551 2012-03-03  Marek Polacek  <polacek@redhat.com>
14553         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14554         * math/math_private.h: Likewise.
14555         * stdlib/tst-strtod.c: Likewise.
14556         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14557         * sysdeps/x86_64/bits/atomic.h: Likewise.
14559 2012-03-02  David S. Miller  <davem@davemloft.net>
14561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14565         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14566         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14567         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14568         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14570 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14572         [BZ #13792]
14573         * manual/examples/README: New file, says the example source files
14574         can be used under GPL>=2.
14575         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14576         line containing just "*/".
14577         * manual/examples/add.c: Add copyright header (GPL>=2).
14578         * manual/examples/argp-ex1.c: Likewise.
14579         * manual/examples/argp-ex2.c: Likewise.
14580         * manual/examples/argp-ex3.c: Likewise.
14581         * manual/examples/argp-ex4.c: Likewise.
14582         * manual/examples/atexit.c: Likewise.
14583         * manual/examples/db.c: Likewise.
14584         * manual/examples/dir.c: Likewise.
14585         * manual/examples/dir2.c: Likewise.
14586         * manual/examples/execinfo.c: Likewise.
14587         * manual/examples/filecli.c: Likewise.
14588         * manual/examples/filesrv.c: Likewise.
14589         * manual/examples/fmtmsgexpl.c: Likewise.
14590         * manual/examples/genpass.c: Likewise.
14591         * manual/examples/inetcli.c: Likewise.
14592         * manual/examples/inetsrv.c: Likewise.
14593         * manual/examples/isockad.c: Likewise.
14594         * manual/examples/longopt.c: Likewise.
14595         * manual/examples/memopen.c: Likewise.
14596         * manual/examples/memstrm.c: Likewise.
14597         * manual/examples/mkfsock.c: Likewise.
14598         * manual/examples/mkisock.c: Likewise.
14599         * manual/examples/mygetpass.c: Likewise.
14600         * manual/examples/pipe.c: Likewise.
14601         * manual/examples/popen.c: Likewise.
14602         * manual/examples/rprintf.c: Likewise.
14603         * manual/examples/search.c: Likewise.
14604         * manual/examples/select.c: Likewise.
14605         * manual/examples/setjmp.c: Likewise.
14606         * manual/examples/sigh1.c: Likewise.
14607         * manual/examples/sigusr.c: Likewise.
14608         * manual/examples/stpcpy.c: Likewise.
14609         * manual/examples/strdupa.c: Likewise.
14610         * manual/examples/strftim.c: Likewise.
14611         * manual/examples/strncat.c: Likewise.
14612         * manual/examples/subopt.c: Likewise.
14613         * manual/examples/swapcontext.c: Likewise.
14614         * manual/examples/termios.c: Likewise.
14615         * manual/examples/testopt.c: Likewise.
14616         * manual/examples/testpass.c: Likewise.
14617         * manual/examples/timeval_subtract.c: Likewise.
14619         [BZ #13792]
14620         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14621         function to ...
14622         * manual/timeval_subtract.c.texi: ... here, new file.
14624 2012-03-02  David S. Miller  <davem@davemloft.net>
14626         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14628 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14630         [BZ #3976]
14631         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14632         (__sin): Save and restore rounding mode and use round-to-nearest
14633         for all computations.
14634         (__cos): Save and restore rounding mode and use round-to-nearest
14635         for all computations.
14636         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14637         <fenv.h>.
14638         (tan): Save and restore rounding mode and use round-to-nearest for
14639         all computations.
14640         * math/libm-test.inc (cos_test_tonearest): New function.
14641         (cos_test_towardzero): Likewise.
14642         (cos_test_downward): Likewise.
14643         (cos_test_upward): Likewise.
14644         (sin_test_tonearest): Likewise.
14645         (sin_test_towardzero): Likewise.
14646         (sin_test_downward): Likewise.
14647         (sin_test_upward): Likewise.
14648         (tan_test_tonearest): Likewise.
14649         (tan_test_towardzero): Likewise.
14650         (tan_test_downward): Likewise.
14651         (tan_test_upward): Likewise.
14652         (main): Call the new functions.
14653         * sysdeps/i386/fpu/libm-test-ulps: Update.
14654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14656         [BZ #10135]
14657         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14658         small n, then large n, before computing and testing k+n.
14659         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14660         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14661         Likewise.
14662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14663         Likewise.
14664         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14665         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14666         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14667         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14668         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14669         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14670         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14671         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14672         * math/libm-test.inc (scalbn_test): Add more tests.
14673         (scalbln_test): Likewise.
14675         * manual/filesys.texi (mode_t): Describe constraints on size and
14676         signedness, not exact equivalence to a particular type.
14677         (ino_t): Likewise.
14678         (ino64_t): Likewise.
14679         (dev_t): Likewise.
14680         (nlink_t): Likewise.
14681         (blkcnt_t): Likewise.
14682         (blkcnt64_t): Likewise.
14683         * manual/llio.texi (off_t): Likewise.
14685         [BZ #3976]
14686         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14687         (__ieee754_exp): Save and restore rounding mode and use
14688         round-to-nearest for all computations.
14689         * math/libm-test.inc (exp_test_tonearest): New function.
14690         (exp_test_towardzero): Likewise.
14691         (exp_test_downward): Likewise.
14692         (exp_test_upward): Likewise.
14693         (main): Call the new functions.
14694         * sysdeps/i386/fpu/libm-test-ulps: Update.
14695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14697 2012-03-01  Chris Demetriou  <cgd@google.com>
14699         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14700         have predictable order.
14702 2012-03-01  David S. Miller  <davem@davemloft.net>
14704         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14706         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14707         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14708         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14709         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14711         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14712         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14713         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14715         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14716         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14717         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14718         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14719         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14723         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14724         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14725         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14727         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14728         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14729         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14730         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14731         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14732         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14733         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14734         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14735         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14736         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14737         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14738         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14740         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14741         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14742         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14743         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14744         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14745         * sysdeps/sparc/elf/configure: Regenerated.
14747 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14749         * configure.in (AS, LD): Require binutils 2.20 or later.
14750         * configure: Regenerated.
14751         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14752         as required minimum version.
14753         * INSTALL: Regenerated.
14755         [BZ #2541]
14756         [BZ #4108]
14757         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14758         before squaring exponent.
14759         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14760         bottom long double and 27 bits of top long double before squaring
14761         exponent.
14762         * math/libm-test.inc (erfc_test): Add more tests.
14763         * sysdeps/i386/fpu/libm-test-ulps: Update.
14764         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14767 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14769         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14770         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14771         containing bit-fields.
14772         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14773         * soft-fp/single.h (_FP_UNION_S): Likewise.
14774         * soft-fp/double.h (_FP_UNION_D): Likewise.
14776 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14778         [BZ #13786]
14779         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14780         not include ../strcmp.S.
14781         [USE_AS_STRNCASECMP_L]: Likewise.
14782         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14783         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14784         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14785         (__strncasecmp_l_ia32): Define as alias to
14786         __strncasecmp_l_nonascii.
14788         [BZ #5794]
14789         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14790         * sysdeps/i386/fpu/libm-test-ulps: Update.
14791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14793         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796 2012-02-29  Jeff Law  <law@redhat.com>
14798         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14799         out of bounds read.
14801 2012-02-29  Marek Polacek  <polacek@redhat.com>
14803         [BZ #13706]
14804         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14805         * elf/Makefile: Add rules to run tst-unused-dep.out.
14807 2012-02-28  David S. Miller  <davem@davemloft.net>
14809         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14810         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14811         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14812         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14813         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14814         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14816 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14818         * math/libm-test.inc (llround_test): Move one test from
14819         lround_test.  Use TEST_f_L in moved test.
14820         (lround_test): Move misplaced test to llround_test.  Add testcase
14821         from bug 2561.
14823 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14825         * sysdeps/x86_64/fpu/e_expf.S: New file.
14826         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14828 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14830         [BZ #13637]
14831         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14832         of remain_len that may cause incomplete multi-byte character and
14833         false match.
14834         * posix/bug-regex33.c: New file.
14835         * posix/Makefile (tests): Add bug-regex33.
14837 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14839         * manual/macros.texi: New file.
14840         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14841         * manual/libc.texinfo: Include macros.texi.
14842         * manual/creatute.texi: Likewise.
14843         * manual/install.texi: Likewise.
14844         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14845         @glibcadj{} in references to the GNU C Library.
14846         * manual/charset.texi: Likewise.
14847         * manual/conf.texi: Likewise.
14848         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14849         when not using those macros.
14850         * manual/creature.texi: Likewise.
14851         * manual/crypt.texi: Likewise.
14852         * manual/errno.texi: Likewise.
14853         * manual/filesys.texi: Likewise.
14854         * manual/header.texi: Likewise.
14855         * manual/install.texi: Likewise.
14856         * manual/intro.texi: Likewise.
14857         * manual/io.texi: Likewise.
14858         * manual/job.texi: Likewise.
14859         * manual/lang.texi: Likewise.
14860         * manual/libc.texiinfo: Likewise.
14861         * manual/llio.texi: Likewise.
14862         * manual/locale.texi: Likewise.
14863         * manual/maint.texi: Likewise.
14864         * manual/math.texi: Likewise.
14865         * manual/memory.texi: Likewise.
14866         * manual/message.texi: Likewise.
14867         * manual/nss.texi: Likewise.
14868         * manual/pattern.texi: Likewise.
14869         * manual/process.texi: Likewise.
14870         * manual/resource.texi: Likewise.
14871         * manual/search.texi: Likewise.
14872         * manual/setjmp.texi: Likewise.
14873         * manual/signal.texi: Likewise.
14874         * manual/socket.texi: Likewise.
14875         * manual/startup.texi: Likewise.
14876         * manual/stdio.texi: Likewise.
14877         * manual/string.texi: Likewise.
14878         * manual/sysinfo.texi: Likewise.
14879         * manual/syslog.texi: Likewise.
14880         * manual/terminal.texi: Likewise.
14881         * manual/time.texi: Likewise.
14882         * manual/users.texi: Likewise.
14883         * INSTALL: Regenerated.
14884         * NOTES: Regenerated.
14885         * sysdeps/gnu/errlist.c: Regenerated.
14887 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14889         * include/dirent.h: Include <dirstream.h> before
14890         <dirent/dirent.h>.
14892 2012-02-28  David S. Miller  <davem@davemloft.net>
14894         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14895         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14896         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14897         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14899 2012-02-27  David S. Miller  <davem@davemloft.net>
14901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14903         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14904         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14907         frame pointer instead of stack pointer relative arg slot.
14908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14909         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14910         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14912 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14914         [BZ #3992]
14915         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14917 2012-02-27  David S. Miller  <davem@davemloft.net>
14919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14923         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14924         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14925         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14926         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14928 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14930         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14931         later.  Allow versions 5-9.
14932         * configure: Regenerated.
14933         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14934         required minimum version and 4.6 as recommended version.  Do not
14935         mention bugs in GCC 2.7 and 2.8.
14936         * INSTALL: Regenerated.
14938 2012-02-27  David S. Miller  <davem@davemloft.net>
14940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14944         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14945         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14946         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14947         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14949         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14950         manipulate bits before adding and subtracting TWO112[sx].
14951         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14953 2012-02-27  Roland McGrath  <roland@hack.frob.com>
14955         [BZ #13775]
14956         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14957         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14958         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14959         being in POSIX, because they are in 1003.1-2008.
14961         * rt/tst-aio.c: Include <fcntl.h>.
14962         * rt/tst-aio7.c: Likewise.
14963         * rt/tst-aio64.c: Likewise.
14965         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14967 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14969         * manual/install.texi (--with-headers): Describe headers as
14970         interface headers, not private headers.
14971         (Specific advice for GNU/Linux systems): Describe use of headers
14972         from "make headers_install", not private headers from older
14973         kernels.
14974         * INSTALL: Regenerated.
14975         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14976         Change to 2.6.19.
14977         * sysdeps/unix/sysv/linux/configure: Regenerated.
14979         * manual/llio.texi (fclean): Remove documentation.
14981         * manual/Makefile (libc-texi-generated): New variable.  Include
14982         version.texi.
14983         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14984         $(libc-texi-generated), not duplicated list of files.
14985         (version.texi, stamp-version): New rules.
14986         (realclean): Remove $(libc-texi-generated), not individual files
14987         from that list.  Do not remove dir-add.texinfo.
14988         * manual/libc.texinfo: Comment out uses of edition numbers and
14989         references to printed manual.  Remove last-updated dates.
14990         (EDITION): Comment out.
14991         (ISBN): Likewise.
14992         (VERSION, UPDATED): Remove.
14993         (version.texi): Include.
14995 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
14997         * sysdeps/posix/spawni.c: Include <signal.h>.
14998         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14999         * sysdeps/pthread/aio_fsync.c: Likewise.
15001 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15003         * conform/Makefile (tests): Run only when not cross-compiling and
15004         when fast-check is not defined.
15006         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15007         * conform/data/limits.h-data: Fixes for POSIX2008.
15008         * conform/run-conformtest.sh: Run all tests.
15009         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15010         headers.
15011         * include/bits/dlfcn.h: Likewise.
15012         * include/langinfo.h: Likewise.
15013         * include/monetary.h: Likewise.
15014         * include/sys/poll.h: Likewise.
15016         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15017         for __USE_GNU.
15018         * posix/spawn.h: Define __need_sigset_t.
15019         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15020         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15021         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15022         to get sigevent_t only.
15023         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15024         only for __USE_GNU.
15025         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15026         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15027         process_vm_writev only for __USE_GNU.
15028         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15030         * conform/Makefile: For now ignore errors from run-conformtest.
15031         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15032         POSIX to avoid namespace pollution.  Don't prepend headers.
15033         * conform/data/aio.h-data: Fixes for POSIX testing.
15034         * conform/data/fcntl.h-data: Likewise.
15035         * conform/data/glob.h-data: Likewise.
15036         * conform/data/grp.h-data: Likewise.
15037         * conform/data/pthread.h-data: Likewise.
15038         * conform/data/pwd.h-data: Likewise.
15039         * conform/data/signal.h-data: Likewise.
15040         * conform/data/spawn.h-data: Likewise.
15041         * conform/data/stdio.h-data: Likewise.
15042         * conform/data/stdlib.h-data: Likewise.
15043         * conform/data/stropts.h-data: Likewise.
15044         * conform/data/sys/mman.h-data: Likewise.
15045         * conform/data/sys/stat.h-data: Likewise.
15046         * conform/data/sys/types.h-data: Likewise.
15047         * conform/data/sys/wait.h-data: Likewise.
15048         * conform/data/time.h-data: Likewise.
15049         * conform/data/unistd.h-data: Likewise.
15050         * conform/data/utime.h-data: Likewise.
15052         * io/sys/stat.h: fchmod was always in POSIX.
15053         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15054         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15055         * rt/aio.h: Define __need_timespec before including <time.h>.
15056         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15057         struct.  Add forward declaration of pthread_attr_t and use it in
15058         sigevent.
15059         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15060         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15061         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15062         always remove CLK_TCK definition.
15064 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15066         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15068 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15070         * conform/run-conformtest.sh: New file.
15071         * conform/Makefile: Run run-conformtest for tests.
15072         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15073         support.
15075         * conform/data/uchar.h-data: New file.
15076         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15077         * conform/data/arpa/inet.h-data: Likewise.
15078         * conform/data/assert.h-data: Likewise.
15079         * conform/data/complex.h-data: Likewise.
15080         * conform/data/cpio.h-data: Likewise.
15081         * conform/data/ctype.h-data: Likewise.
15082         * conform/data/dirent.h-data: Likewise.
15083         * conform/data/dlfcn.h-data: Likewise.
15084         * conform/data/errno.h-data: Likewise.
15085         * conform/data/fcntl.h-data: Likewise.
15086         * conform/data/float.h-data: Likewise.
15087         * conform/data/fmtmsg.h-data: Likewise.
15088         * conform/data/fnmatch.h-data: Likewise.
15089         * conform/data/ftw.h-data: Likewise.
15090         * conform/data/glob.h-data: Likewise.
15091         * conform/data/grp.h-data: Likewise.
15092         * conform/data/iconv.h-data: Likewise.
15093         * conform/data/inttypes.h-data: Likewise.
15094         * conform/data/langinfo.h-data: Likewise.
15095         * conform/data/libgen.h-data: Likewise.
15096         * conform/data/limits.h-data: Likewise.
15097         * conform/data/locale.h-data: Likewise.
15098         * conform/data/math.h-data: Likewise.
15099         * conform/data/monetary.h-data: Likewise.
15100         * conform/data/mqueue.h-data: Likewise.
15101         * conform/data/ndbm.h-data: Likewise.
15102         * conform/data/net/if.h-data: Likewise.
15103         * conform/data/netdb.h-data: Likewise.
15104         * conform/data/netinet/in.h-data: Likewise.
15105         * conform/data/nl_types.h-data: Likewise.
15106         * conform/data/poll.h-data: Likewise.
15107         * conform/data/pthread.h-data: Likewise.
15108         * conform/data/pwd.h-data: Likewise.
15109         * conform/data/regex.h-data: Likewise.
15110         * conform/data/sched.h-data: Likewise.
15111         * conform/data/search.h-data: Likewise.
15112         * conform/data/semaphore.h-data: Likewise.
15113         * conform/data/setjmp.h-data: Likewise.
15114         * conform/data/signal.h-data: Likewise.
15115         * conform/data/spawn.h-data: Likewise.
15116         * conform/data/stdarg.h-data: Likewise.
15117         * conform/data/stdio.h-data: Likewise.
15118         * conform/data/stdlib.h-data: Likewise.
15119         * conform/data/string.h-data: Likewise.
15120         * conform/data/strings.h-data: Likewise.
15121         * conform/data/stropts.h-data: Likewise.
15122         * conform/data/sys/ipc.h-data: Likewise.
15123         * conform/data/sys/mman.h-data: Likewise.
15124         * conform/data/sys/msg.h-data: Likewise.
15125         * conform/data/sys/resource.h-data: Likewise.
15126         * conform/data/sys/select.h-data: Likewise.
15127         * conform/data/sys/sem.h-data: Likewise.
15128         * conform/data/sys/shm.h-data: Likewise.
15129         * conform/data/sys/socket.h-data: Likewise.
15130         * conform/data/sys/stat.h-data: Likewise.
15131         * conform/data/sys/statvfs.h-data: Likewise.
15132         * conform/data/sys/time.h-data: Likewise.
15133         * conform/data/sys/timeb.h-data: Likewise.
15134         * conform/data/sys/times.h-data: Likewise.
15135         * conform/data/sys/types.h-data: Likewise.
15136         * conform/data/sys/uio.h-data: Likewise.
15137         * conform/data/sys/un.h-data: Likewise.
15138         * conform/data/sys/utsname.h-data: Likewise.
15139         * conform/data/sys/wait.h-data: Likewise.
15140         * conform/data/syslog.h-data: Likewise.
15141         * conform/data/tar.h-data: Likewise.
15142         * conform/data/termios.h-data: Likewise.
15143         * conform/data/utime.h-data: Likewise.
15144         * conform/data/utmpx.h-data: Likewise.
15145         * conform/data/varargs.h-data: Likewise.
15146         * conform/data/wchar.h-data: Likewise.
15147         * conform/data/wctype.h-data: Likewise.
15148         * conform/data/wordexp.h-data: Likewise.
15150         * include/stropts.h: New file.
15151         * include/uchar.h: New file.
15152         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15153         * include/assert.h: Likewise.
15154         * include/ctype.h: Likewise.
15155         * include/dirent.h: Likewise.
15156         * include/dlfcn.h: Likewise.
15157         * include/fcntl.h: Likewise.
15158         * include/fnmatch.h: Likewise.
15159         * include/glob.h: Likewise.
15160         * include/grp.h: Likewise.
15161         * include/libio.h: Likewise.
15162         * include/locale.h: Likewise.
15163         * include/math.h: Likewise.
15164         * include/net/if.h: Likewise.
15165         * include/netdb.h: Likewise.
15166         * include/netinet/in.h: Likewise.
15167         * include/pthread.h: Likewise.
15168         * include/pwd.h: Likewise.
15169         * include/regex.h: Likewise.
15170         * include/sched.h: Likewise.
15171         * include/search.h: Likewise.
15172         * include/setjmp.h: Likewise.
15173         * include/signal.h: Likewise.
15174         * include/stdio.h: Likewise.
15175         * include/stdlib.h: Likewise.
15176         * include/string.h: Likewise.
15177         * include/sys/cdefs.h: Likewise.
15178         * include/sys/mman.h: Likewise.
15179         * include/sys/msg.h: Likewise.
15180         * include/sys/resource.h: Likewise.
15181         * include/sys/select.h: Likewise.
15182         * include/sys/socket.h: Likewise.
15183         * include/sys/stat.h: Likewise.
15184         * include/sys/statvfs.h: Likewise.
15185         * include/sys/time.h: Likewise.
15186         * include/sys/times.h: Likewise.
15187         * include/sys/uio.h: Likewise.
15188         * include/sys/utsname.h: Likewise.
15189         * include/sys/wait.h: Likewise.
15190         * include/termios.h: Likewise.
15191         * include/time.h: Likewise.
15192         * include/ulimit.h: Likewise.
15193         * include/unistd.h: Likewise.
15194         * include/utime.h: Likewise.
15195         * include/wchar.h: Likewise.
15196         * include/wctype.h: Likewise.
15197         * include/wordexp.h: Likewise.
15199         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15201         * time/time.h: TIME_UTC must be a macro.
15202         Make timespec_get available for ISO C11 only as well.
15204 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15206         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15207         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15209 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15211         * configure.in: Use -o not -a in test for unsupported multi-arch.
15213 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15215         * manual/texinfo.tex: Update to version 2012-01-19.16.
15217 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15219         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15221 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15223         [BZ #13738]
15224         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15225         * manual/fdl-1.3.texi: New file.
15226         * manual/fdl-1.1.texi: File removed.
15228         [BZ #13738]
15229         * manual/libc.texinfo (FDL_VERSION): New @set.
15230         Use it for mention of FDL in cover text.
15231         (Documentation License): Use it in @include file name.
15233 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15234             Roland McGrath  <roland@hack.frob.com>
15236         [BZ #5461]
15237         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15238         not LONG_LONG_MAX and LONG_LONG_MIN.
15239         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15240         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15241         name.
15242         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15244 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15246         [BZ #2547]
15247         [BZ #11365]
15248         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15249         manipulate bits before adding and subtracting TWO23[sx].
15250         * math/libm-test.inc (nearbyint_test): Add more tests.
15252 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15254         [BZ #2548]
15255         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15256         bits before adding and subtracting TWO23[sx].
15257         * math/libm-test.inc (rint_test): Add more tests.
15258         (rint_test_tonearest): Likewise.
15259         (rint_test_towardzero): Likewise.
15260         (rint_test_downward): Likewise.
15261         (rint_test_upward: Likewise.
15263 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15265         [BZ #10110]
15266         * include/stdc-predef.h: New file.  Extracted from features.h.
15267         * include/features.h: Include stdc-predef.h.
15268         * Makefile (headers): Add stdc-predef.h.
15269         * CONFORMANCE (Compiler limitations): Update.
15271 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15273         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15275 2012-02-21  David S. Miller  <davem@davemloft.net>
15277         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15278         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15280 2012-02-20  David S. Miller  <davem@davemloft.net>
15282         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15283         using a normal save/restore sequence, rather than allocating a
15284         dummy stack frame just to store a frame pointer and restore.
15285         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15287 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15289         * manual/install.texi: Fix stray word in line-wrapped comment.
15291 2012-02-20  David S. Miller  <davem@davemloft.net>
15293         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15294         both binutils and gcc support GOTDATA.
15296         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15297         "rd %pc" in the PIC register setup sequences.
15299         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15300         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15301         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15302         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15303         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15305         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15306         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15308         (SYSCALL_ERROR_HANDLER): Likewise.
15309         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15310         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15312         (SYSCALL_ERROR_HANDLER): Likewise.
15314         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15315         (HAVE_GCC_GOTDATA): New.
15316         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15317         relocation support in both binutils and gcc.
15318         * sysdeps/sparc/elf/configure: Regenerate.
15320         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15321         * sysdeps/sparc/sparc32/elf/configure: Delete.
15322         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15323         * sysdeps/sparc/sparc64/elf/configure: Delete.
15324         * sysdeps/sparc/elf/configure.in: New file.
15325         * sysdeps/sparc/elf/configure: Generate.
15327         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15328         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15329         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15330         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15331         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15333 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15335         * manual/install.texi: Do not mention specific glibc version
15336         numbers.
15337         * manual/libc.texinfo (VERSION, UPDATED): Update.
15338         (@copying): Use @copyright{} and range of years.
15340 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15342         [BZ #13695]
15343         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15344         [crti.S not in sysdirs] (generated): Do not append.
15345         [crti.S not in sysdirs] (omit-deps): Likewise.
15346         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15347         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15348         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15349         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15350         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15351         Likewise.
15352         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15353         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15354         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15355         * csu/defs.awk: Remove file.
15356         * sysdeps/generic/initfini.c: Likewise.
15357         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15358         variable.
15359         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15360         Likewise.
15362 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15364         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15365         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15366         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15367         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15368         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15369         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15370         <bits/epoll.h>.
15371         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15372         (__EPOLL_PACKED): Define to empty if not defined by
15373         <bits/epoll.h>.
15374         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15376         bits/epoll.h.
15378 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15380         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15381         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15382         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15383         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15384         <bits/timerfd.h>.
15385         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15387         bits/timerfd.h.
15389 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15391         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15392         in C locale.
15393         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15394         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15395         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15398 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15400         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15401         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15403 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15405         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15406         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15407         defined.
15408         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15409         Likewise.
15410         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15411         entry for 2.16.
15413 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15415         * math/w_acos.c: Use non-signaling floating-point comparisons.
15416         * math/w_acosf.c: Likewise.
15417         * math/w_acosh.c: Likewise.
15418         * math/w_acoshf.c: Likewise.
15419         * math/w_acoshl.c: Likewise.
15420         * math/w_acosl.c: Likewise.
15421         * math/w_asin.c: Likewise.
15422         * math/w_asinf.c: Likewise.
15423         * math/w_asinl.c: Likewise.
15424         * math/w_atanh.c: Likewise.
15425         * math/w_atanhf.c: Likewise.
15426         * math/w_atanhl.c: Likewise.
15427         * math/w_exp2.c: Likewise.
15428         * math/w_exp2f.c: Likewise.
15429         * math/w_exp2l.c: Likewise.
15430         * math/w_j0.c: Likewise.
15431         * math/w_j0f.c: Likewise.
15432         * math/w_j0l.c: Likewise.
15433         * math/w_j1.c: Likewise.
15434         * math/w_j1f.c: Likewise.
15435         * math/w_j1l.c: Likewise.
15436         * math/w_jn.c: Likewise.
15437         * math/w_jnf.c: Likewise.
15438         * math/w_log.c: Likewise.
15439         * math/w_log10.c: Likewise.
15440         * math/w_log10f.c: Likewise.
15441         * math/w_log10l.c: Likewise.
15442         * math/w_log2.c: Likewise.
15443         * math/w_log2f.c: Likewise.
15444         * math/w_log2l.c: Likewise.
15445         * math/w_logf.c: Likewise.
15446         * math/w_logl.c: Likewise.
15447         * math/w_sqrt.c: Likewise.
15448         * math/w_sqrtf.c: Likewise.
15449         * math/w_sqrtl.c: Likewise.
15450         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15451         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15452         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15453         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15454         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15456 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15458         [BZ #9739]
15459         * manual/string.texi (strnlen): Use correct parameter name in
15460         equivalent expression.
15462 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15464         [BZ #11174]
15465         * manual/users.texi (seteuid): Consistently use neweuid for
15466         argument name.
15468 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15470         [BZ #13704]
15471         * manual/nss.texi (Services in the NSS configuration): Correct
15472         list of services in example configuration file.
15474 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15476         [BZ #11322]
15477         * manual/arith.texi: Remove statements about negative zero
15478         behaving identically to zero.
15480 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15482         [BZ #5993]
15483         * manual/install.texi: Do not document upgrading from libc5.
15485 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15487         [BZ #4596]
15488         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15490 2012-02-18  David S. Miller  <davem@davemloft.net>
15492         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15493         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15494         %o7 across the call.
15495         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15496         instead.
15497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15498         SETUP_PIC_REG_LEAF.
15499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15500         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15501         * sysdeps/sparc/crtn.S: Likewise.
15503 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15505         * aout/Makefile: Remove.
15507 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15509         [BZ #13058]
15510         * manual/examples/argp-ex1.c (main): Format definition in GNU
15511         style.
15512         * manual/examples/argp-ex2.c (main): Likewise.
15513         * manual/examples/argp-ex3.c (main): Likewise.
15514         * manual/examples/argp-ex4.c (main): Likewise.
15515         * manual/examples/longopt.c (main): Use new-style prototype
15516         definition.
15517         * manual/examples/strncat.c (main): Specify return type and use
15518         (void) for arguments.
15519         * manual/examples/subopt.c (main): Use char **argv argument.
15521 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15523         [BZ #5077]
15524         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15525         rounding modes.
15527 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15529         [BZ #6907]
15530         * manual/string.texi (strchr): Change when strchrnul is
15531         recommended.
15533 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15535         [BZ #174]
15536         * manual/locale.texi (setlocale): Document LOCPATH.
15538 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15540         [BZ #10210]
15541         * manual/process.texi (execle): Move @dots{} before last argument.
15543 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15545         [BZ #12047]
15546         * manual/charset.texi (Generic Charset Conversion): Fix typo
15547         (LC_TYPE -> LC_CTYPE).
15549 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15551         [BZ #5805]
15552         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15553         (scalbnf): Likewise.
15554         (scalbnl): Likewise.
15555         (scalbln): Likewise.
15556         (scalblnf): Likewise.
15557         (scalblnl): Likewise.
15558         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15559         (vwarnx): Likewise.
15560         (verr): Likewise.
15561         (verrx): Likewise.
15562         * manual/filesys.texi (telldir): Use braces around return type.
15563         * manual/llio.texi (mmap): Add space after comma.
15564         (mmap64): Likewise.
15565         * manual/math.texi (jn): Use @var{} on parameter names.
15566         (jnf): Likewise.
15567         (jnl): Likewise.
15568         (yn): Likewise.
15569         (ynf): Likewise.
15570         (ynl): Likewise.
15571         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15572         line.
15573         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15574         "...".
15575         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15576         (sched_get_priority_max): Likewise.
15577         * manual/signal.texi (sigvec): Add space after comma.
15578         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15579         names.
15580         (if_indextoname): Likewise.
15581         (if_freenameindex): Likewise.
15582         (sendto): Use ',' instead of '.' in prototype.
15583         * manual/startup.texi (syscall): Use @dots{} instead of literal
15584         "...".
15585         * manual/stdio.texi (__fpending): Separate initial words of
15586         paragraph from @deftypefun line.
15587         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15588         "...".
15589         (vsyslog): Use @var{} on parameter names.
15590         * manual/terminal.texi (stty): Use @var{} on parameter names.
15591         * manual/users.texi (getutmp): Use @var{} on parameter names.
15592         (getutmpx): Likewise.
15594 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15596         [BZ #6884]
15597         * manual/stdio.texi (fopen): Fix typos in description of
15598         ",ccs=STRING".
15600 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15602         [BZ #4026]
15603         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15604         get clock_id definition.
15606 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15608         [BZ #4822]
15609         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15610         (madvise): Cast every argument to void on its own.
15612 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15614         [BZ #9902]
15615         * manual/startup.texi (Exit Status): Fix typo.
15617 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15619         [BZ #10140]
15620         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15621         * manual/examples/argp-ex2.c: Likewise.
15622         * manual/examples/argp-ex3.c: Likewise.
15624 2012-02-16  Richard Henderson  <rth@redhat.com>
15626         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15627         * sysdeps/s390/s390-32/initfini.c: Remove.
15628         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15629         * sysdeps/s390/s390-64/initfini.c: Remove.
15631 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15633         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15634         compiler output for sysdeps/generic/initfini.c.
15635         * sysdeps/sh/elf/initfini.c: Remove file.
15637 2012-02-16  David S. Miller  <davem@davemloft.net>
15639         [BZ #11494]
15640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15642         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15643         * sysdeps/sparc/crti.S: New file.
15644         * sysdeps/sparc/crtn.S: New file.
15645         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15646         * sysdeps/sparc/sparc64/Makefile: Likewise.
15648 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15650         [BZ #3335]
15651         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15653 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15655         [BZ #4822]
15656         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15658         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15659         (write, read, close): Likewise.
15660         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15662 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15664         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15665         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15666         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15667         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15668         <bits/signalfd.h>.
15669         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15671         bits/signalfd.h.
15673 2012-02-14  Marek Polacek  <polacek@redhat.com>
15675         * sysdeps/x86_64/crti.S: New file.
15676         * sysdeps/x86_64/crtn.S: New file.
15677         * sysdeps/x86_64/elf/initfini.c: Remove file.
15679 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15681         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15682         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15683         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15684         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15685         <bits/inotify.h>.
15686         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15688         bits/inotify.h.
15690 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15692         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15693         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15694         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15695         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15696         <bits/eventfd.h>.
15697         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15699         bits/eventfd.h.
15701 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15703         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15704         __feraiseexcept instead of feraiseexcept.
15706         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15707         nanosleep invocations.
15708         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15709         strings, and add error checking for a nanosleep invocations.
15711 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15713         Replace FSF snail mail address with URLs, as per GNU coding standards.
15714         Most of the snail mail addresses were wrong anyway, and omitting
15715         them makes the source code easier to maintain.  Almost all of the
15716         changes are to license notices and to locale LC_IDENTIFICATION
15717         addresses, except for this one:
15718         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15719         not its snail mail address.
15721 2012-02-09  Richard Henderson  <rth@twiddle.net>
15723         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15724         of kernel-features.h.
15726         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15728 2012-02-08  Marek Polacek  <polacek@redhat.com>
15730         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15731         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15732         * sysdeps/gnu/_G_config.h: Likewise.
15733         * sysdeps/generic/_G_config.h: Likewise.
15735 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15737         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15738         tests.
15739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741         * sysdeps/powerpc/powerpc32/crti.S: New file.
15742         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15743         * sysdeps/powerpc/powerpc64/crti.S: New file.
15744         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15746         * Makeconfig (have-initfini): Don't set.
15747         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15748         * configure.in (nopic_initfini): Don't substitute.
15749         * config.h.in (HAVE_INITFINI): Don't #undef.
15750         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15751         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15753 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15755         Support crti.S and crtn.S provided directly by architectures.
15756         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15757         [crti.S in sysdirs] (omit-deps): Likewise.
15758         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15759         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15760         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15761         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15762         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15763         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15764         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15765         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15766         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15767         compiler output for sysdeps/generic/initfini.c.
15768         * sysdeps/i386/elf/Makefile: Remove file.
15769         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15771 2012-02-07  Marek Polacek  <polacek@redhat.com>
15773         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15774         * sysdeps/gnu/_G_config.h: Likewise.
15775         * sysdeps/mach/hurd/_G_config.h: Likewise.
15777 2012-02-07  Marek Polacek  <polacek@redhat.com>
15779         * math/Makefile (tests): Add tst-CMPLX2.
15780         * math/tst-CMPLX2.c: New file.
15782 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15784         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15786         * math/libm-test.inc (jn_test): Add missing L suffix.
15788 2012-02-06  Marek Polacek  <polacek@redhat.com>
15790         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15791         * sysdeps/i386/fpu/e_powf.S: Likewise.
15792         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15793         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15794         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15795         * sysdeps/i386/fpu/e_pow.S: Likewise.
15796         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15797         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15798         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15799         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15800         * sysdeps/i386/fpu/e_log2.S: Likewise.
15801         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15802         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15803         * sysdeps/i386/fpu/e_powl.S: Likewise.
15804         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15805         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15806         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15807         * sysdeps/i386/fpu/e_logl.S: Likewise.
15808         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15809         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15810         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15811         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15812         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15813         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15814         * sysdeps/i386/fpu/e_log.S: Likewise.
15815         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15816         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15817         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15818         * sysdeps/i386/fpu/e_logf.S: Likewise.
15819         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15820         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15821         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15822         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15823         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15824         * sysdeps/i386/fpu/e_log10.S: Likewise.
15825         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15826         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15827         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15828         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15829         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15830         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15831         * sysdeps/i386/asm-syntax.h: Likewise.
15832         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15833         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15834         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15835         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15836         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15837         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15838         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15839         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15840         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15841         * sysdeps/powerpc/sysdep.h: Likewise.
15842         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15843         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15845 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15847         [BZ #411]
15848         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15850 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15852         * sysdeps/i386/sysdep.h: Include <features.h>.
15853         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15854         version.
15856 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15858         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15859         Define.
15860         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15861         LOAD_PIC_REG_STR.
15863 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15865         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15866         (SETUP_PIC_REG): Use GET_PC_THUNK.
15867         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15868         macro.
15870 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15872         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15873         for non-PIC compilation.
15874         (SETUP_PIC_REG): Add .p2align directive.
15875         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15876         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15877         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15878         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15879         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15880         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15881         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15889         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15890         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15891         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15892         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15893         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15894         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15895         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15896         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15897         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15898         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15899         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15901         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15902         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15903         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15904         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15905         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15906         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15907         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15908         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15909         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15910         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15911         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15912         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15913         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15914         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15915         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15917 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15919         * math/tst-CMPLX.c: Include <stdio.h>.
15921 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15923         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15924         float.
15925         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15926         * sysdeps/sparc/bits/mathdef.h: Likewise.
15928 2012-01-31  Marek Polacek  <polacek@redhat.com>
15930         * libio/libio.h: Don't define _PARAMS.
15931         * locale/programs/config.h: Don't define PARAMS.
15932         * stdlib/strtol_l.c: Likewise.
15933         (__strtol_l): Remove PARAMS from the prototype.
15935 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15937         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15938         names.  Just use the correct names.  Remove unnecessary wrapper
15939         functions.
15940         * malloc/arena.c: Likewise.
15941         * malloc/hooks.c: Likewise.
15943         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15944         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15945         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15947 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
15949         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15950         into tail calls.
15951         (update_get_addr): New function.
15952         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15953         GET_ADDR_MODULE parameter.
15955 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15957         * crypt/cert.c: Remove __STDC__ conditionals.
15958         * crypt/crypt-entry.c: Likewise.
15959         * crypt/crypt_util.c: Likewise.
15960         * libio/filedoalloc.c: Likewise.
15961         * libio/fileops.c: Likewise.
15962         * libio/genops.c: Likewise.
15963         * libio/iofclose.c: Likewise.
15964         * libio/iofdopen.c: Likewise.
15965         * libio/iofopen.c: Likewise.
15966         * libio/iofopen64.c: Likewise.
15967         * libio/iogetdelim.c: Likewise.
15968         * libio/iopopen.c: Likewise.
15969         * libio/obprintf.c: Likewise.
15970         * libio/oldfileops.c: Likewise.
15971         * libio/oldiofclose.c: Likewise.
15972         * libio/oldiofdopen.c: Likewise.
15973         * libio/oldiofopen.c: Likewise.
15974         * libio/oldiopopen.c: Likewise.
15975         * libio/wfiledoalloc.c: Likewise.
15976         * libio/wgenops.c: Likewise.
15977         * locale/programs/xmalloc.c: Likewise.
15978         * misc/syslog.c: Likewise.
15979         * stdio-common/xbug.c: Likewise.
15980         * string/memchr.c: Likewise.
15981         * string/memcmp.c: Likewise.
15982         * string/memrchr.c: Likewise.
15983         * string/rawmemchr.c: Likewise.
15984         * sysdeps/posix/getcwd.c: Likewise.
15985         * time/strftime_l.c: Likewise.
15987 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15989         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15990         * config.make.in (config-cflags-sse2avx): Define.
15991         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15992         Fix typo.
15994 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
15996         * scripts/config.guess: Update from upstream config git repository.
15997         * scripts/config.sub: Likewise.
15999 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16001         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16002         (EM_NUM): Update.
16003         (R_TILEPRO_*, R_TILEGX_*): New macros.
16005         * scripts/firstversions.awk: Fix bug in version range handling.
16007         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16009         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16011         * include/sys/epoll.h: New file.
16012         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16013         libc_hidden_def.
16015 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16017         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16018         Avoid unnecessary __WORDSIZE == 64 test.
16019         (fmaxf): Use VEX format if possible.
16020         (fmax): Likewise.
16021         (fminf): Likewise.
16022         (fmin): Likewise.
16024         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16025         * math/math_private.h: Remove libc_fegetround* and
16026         libc_fesetround*.
16027         * sysdeps/i386/configure.in: Check for -msse2avx.
16028         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16029         also if SSE2AVX is defined.
16030         Remove libc_fegetround* and libc_fesetround*.
16031         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16032         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16033         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16034         of HAS_YMM_USABLE.
16035         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16036         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16037         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16038         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16039         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16041         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16043 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16045         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16046         size is not set.
16047         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16049 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16051         [BZ #13618]
16052         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16053         relocation.
16054         * Makeconfig (libm): Define.
16055         * elf/Makefile: Add rules to build and run tst-relsort1.
16056         * elf/tst-relsort1.c: New file.
16057         * elf/tst-relsort1mod1.c: New file.
16058         * elf/tst-relsort1mod2.c: New file.
16060 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16062         * math/s_ldexp.c: Remove __STDC__ conditionals.
16063         * math/s_ldexpf.c: Likewise.
16064         * math/s_ldexpl.c: Likewise.
16065         * math/s_nextafter.c: Likewise.
16066         * math/s_nexttowardf.c: Likewise.
16067         * math/s_significand.c: Likewise.
16068         * math/s_significandf.c: Likewise.
16069         * math/s_significandl.c: Likewise.
16070         * math/w_jnl.c: Likewise.
16071         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16072         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16073         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16074         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16075         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16077         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16078         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16079         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16080         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16081         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16082         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16083         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16084         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16085         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16086         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16087         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16088         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16089         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16090         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16091         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16092         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16093         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16094         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16095         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16096         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16097         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16098         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16099         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16100         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16101         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16102         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16103         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16104         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16105         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16106         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16107         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16108         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16109         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16110         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16111         * sysdeps/ieee754/k_standard.c: Likewise.
16112         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16113         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16114         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16115         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16116         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16117         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16118         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16119         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16120         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16121         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16122         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16123         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16124         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16125         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16126         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16127         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16128         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16129         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16130         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16131         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16132         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16133         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16134         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16135         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16136         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16137         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16139         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16140         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16141         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16142         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16143         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16144         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16145         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16147         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16148         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16149         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16150         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16151         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16152         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16153         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16154         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16155         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16156         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16157         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16158         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16159         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16160         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16161         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16162         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16163         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16164         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16165         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16166         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16167         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16168         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16169         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16170         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16171         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16172         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16173         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16174         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16175         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16176         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16177         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16178         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16179         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16180         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16181         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16182         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16183         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16184         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16185         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16186         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16187         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16188         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16189         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16190         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16191         * sysdeps/ieee754/s_matherr.c: Likewise.
16192         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16193         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16194         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16195         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16197 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16199         * crypt/md5.h: Remove __STDC__ conditionals.
16200         * libio/libioP.h: Likewise.
16201         * locale/programs/config.h: Likewise.
16202         * sysdeps/generic/sysdep.h: Likewise.
16203         * sysdeps/i386/asm-syntax.h: Likewise.
16204         * sysdeps/s390/asm-syntax.h: Likewise.
16205         * sysdeps/unix/sysdep.h: Likewise.
16206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16209 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16211         * libio/libio.h: Remove __STDC__ conditionals.
16212         * malloc/obstack.h: Likewise.
16213         * math/complex.h: Likewise.
16214         * math/math.h: Likewise.
16215         * sysdeps/generic/_G_config.h: Likewise.
16216         * sysdeps/gnu/_G_config.h: Likewise.
16217         * sysdeps/mach/hurd/_G_config.h: Likewise.
16218         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16219         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16220         * sysdeps/sparc/bits/mathdef.h: Likewise.
16222 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16224         [BZ #13583]
16225         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16226         Clean up HAS_* macros.
16227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16228         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16229         possible.
16230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16231         HAS_AVX.
16232         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16233         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16234         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16235         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16236         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16238 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16240         * elf/tst-unique3.cc (gets): Remove declaration.
16241         * elf/tst-unique3lib.cc (gets): Likewise.
16242         * elf/tst-unique3lib2.cc (gets): Likewise.
16243         * elf/tst-unique4.cc (gets): Likewise.
16245 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16247         * include/stdio.h: Add C++ protection.  Add gets declarations and
16248         definitions.
16249         * debug/tst-chk1.c: Don't declare gets here.
16250         * stdio-common/tst-gets.c: Likewise.
16252 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16254         * posix/glob: Remove directory.
16256 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16258         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16260 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16262         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16263         of the non-standard EPFNOSUPPORT.
16265 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16267         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16268         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16269         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16271 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16273         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16275 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16277         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16278         transient errors.
16279         * nscd/grpcache.c (cache_addgr): Likewise.
16280         * nscd/hstcache.c (cache_addhst): Likewise.
16281         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16282         * nscd/pwdcache.c (cache_addpw): Likewise.
16283         * nscd/servicescache.c (cache_addserv): Likewise.
16285 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16287         * malloc/malloc.c: Various cleanups.
16288         * malloc/hooks.c: Likewise.
16290         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16291         * stdlib/bug-fmtmsg1.c: New file.
16293         * stdlib/fmtmsg.c (init): Add missing unlock.
16294         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16296 2012-01-12  Marek Polacek  <polacek@redhat.com>
16298         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16299         and _GNU_SOURCE.
16301 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16303         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16304         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16305         macro to ensure uniqueness of label name.
16306         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16307         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16309 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16311         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16313         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16314         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16315         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16316         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16318 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16320         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16322         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16323         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16324         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16326         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16328         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16329         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16330         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16331         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16333         * math/bits/math-finite.h: Add ldexp support.
16335 2012-01-10  Marek Polacek  <polacek@redhat.com>
16337         * locale/programs/localedef.h (show_archive_content): Add noreturn
16338         attribute.
16340 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16342         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16344 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16346         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16348         * io/Makefile (headers): Add bits/poll2.h.
16350 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16353         typo #include statement.
16355 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16357         * include/sys/cdefs.h: Define __attribute_alloc_size.
16358         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16359         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16360         * elf/pldd.c: Likewise.
16361         * iconv/iconv_charmap.c: Likewise.
16362         * iconv/iconvconfig.c: Likewise.
16363         * iconv/strtab.c: Likewise.
16364         * locale/programs/locale.c: Likewise.
16365         * locale/programs/localedef.h: Likewise.
16366         * locale/programs/simple-hash.c: Likewise.
16367         * nscd/nscd.h: Likewise.
16368         * nss/makedb.c: Likewise.
16369         * sysdeps/generic/ldconfig.h: Likewise.
16370         * locale/programs/localedef.c: Remove xmalloc prototype.
16371         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16373 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16375         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16376         appropriate.
16378 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16380         * math/Makefile (tests): Add tst-CMPLX.
16381         * math/tst-CMPLX.c: New file.
16383         * math/complex.h (CMPLXL): Fix typo.
16385         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16386         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16387         GLIBC_2.16.
16388         * debug/tst-chk1.c: Add poll and ppoll tests.
16389         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16390         * include/sys/poll.h: Add hidden proto for ppoll.
16391         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16392         * sysdeps/mach/hurd/ppoll.c: Likewise.
16393         * io/ppoll.c: Likewise.
16394         * debug/poll_chk.c: New file.
16395         * debug/ppoll_chk.c: New file.
16396         * include/bits/poll2.h: New file.
16397         * io/bits/poll2.h: New file.
16399         [BZ #1350]
16400         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16402         * configure.in: static is always set to yes.  Remove.
16403         * config.make.in: Don't set build-static.
16404         * Makeconfig: Remove use of build-static.
16405         * dlfcn/Makefile: Likewise.
16406         * elf/Makefile: Likewise.
16407         * math/Makefile: Likewise.
16408         * misc/Makefile: Likewise.
16409         * nptl/Makefile: Likewise.
16410         * sysdeps/mach/hurd/Makefile: Likewise.
16412         * configure.in: PWD_P is not used anymore.
16413         * config.make.in: Remove PWD_P entry.
16415         * configure.in: Remove last remnants of RANLIB.
16416         No need to check for signed size_t anymore.
16417         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16418         and IA-64.
16419         Remove __builtin_expect test because we require at least gcc 3.4.
16420         * aclocal.m4: Likewise.
16422         * wcsmbs/mbrtoc16.c: Implement using towc function.
16423         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16424         * wcsmbs/wcsmbsload.c: Likewise.
16425         * iconv/gconv_simple.c: Likewise.
16426         * iconv/gconv_int.h: Likewise.
16427         * iconv/gconv_builtin.h: Likewise.
16428         * iconv/iconv_prog.c: Remove CHAR16 handling.
16430         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16432         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16434         * configure.in: Remove --with-elf and --enable-bounded options.
16435         Dont set base_machine for ia64.  More non-ELF conditions removed.
16436         Remove testing and setting of leading underscore information.
16437         * config.make.in (build-bounded): Set to no.
16438         * config.h.in: Remove NO_UNDERSCORES entry.
16439         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16440         them.
16441         * csu/start.c: Remove !NO_UNDERSCORE code.
16442         * locale/localeinfo.h: Likewise.
16443         * sysdeps/generic/machine-gmon.h: Likewise.
16444         * sysdeps/generic/sysdep.h: Likewise.
16445         * sysdeps/i386/sysdep.h: Likewise.
16446         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16447         * sysdeps/mach/sysdep.h: Likewise.
16448         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16449         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16450         * sysdeps/sh/sysdep.h: Likewise.
16451         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16452         * sysdeps/unix/i386/sysdep.S: Likewise.
16453         * sysdeps/unix/sparc/start.c: Likewise.
16454         * sysdeps/unix/sparc/sysdep.S: Likewise.
16455         * sysdeps/unix/sparc/sysdep.h: Likewise.
16456         * sysdeps/unix/start.c: Likewise.
16457         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16458         * sysdeps/x86_64/sysdep.h: Likewise.
16460 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16462         [BZ #13553]
16463         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16464         for non-gcc.
16465         * argp/argp-fmtstream.h: Use const instead __const.
16466         * argp/argp.h: Likewise.
16467         * assert/assert.h: Likewise.
16468         * bits/fenv.h: Likewise.
16469         * bits/sched.h: Likewise.
16470         * bits/sigset.h: Likewise.
16471         * bits/sigthread.h: Likewise.
16472         * catgets/nl_types.h: Likewise.
16473         * conform/data/pthread.h-data: Likewise.
16474         * crypt/crypt-private.h: Likewise.
16475         * crypt/crypt.h: Likewise.
16476         * crypt/crypt_util.c: Likewise.
16477         * ctype/ctype.h: Likewise.
16478         * debug/execinfo.h: Likewise.
16479         * debug/mbsnrtowcs_chk.c: Likewise.
16480         * debug/mbsrtowcs_chk.c: Likewise.
16481         * debug/wcsnrtombs_chk.c: Likewise.
16482         * debug/wcsrtombs_chk.c: Likewise.
16483         * debug/wcstombs_chk.c: Likewise.
16484         * dirent/dirent.h: Likewise.
16485         * dlfcn/dlfcn.h: Likewise.
16486         * elf/neededtest4.c: Likewise.
16487         * grp/grp.h: Likewise.
16488         * gshadow/gshadow.h: Likewise.
16489         * iconv/gconv.h: Likewise.
16490         * iconv/gconv_int.h: Likewise.
16491         * iconv/gconv_simple.c: Likewise.
16492         * iconv/iconv.h: Likewise.
16493         * iconv/loop.c: Likewise.
16494         * iconv/skeleton.c: Likewise.
16495         * include/aio.h: Likewise.
16496         * include/aliases.h: Likewise.
16497         * include/argz.h: Likewise.
16498         * include/arpa/inet.h: Likewise.
16499         * include/assert.h: Likewise.
16500         * include/dirent.h: Likewise.
16501         * include/dlfcn.h: Likewise.
16502         * include/execinfo.h: Likewise.
16503         * include/fcntl.h: Likewise.
16504         * include/fenv.h: Likewise.
16505         * include/glob.h: Likewise.
16506         * include/grp.h: Likewise.
16507         * include/libintl.h: Likewise.
16508         * include/mntent.h: Likewise.
16509         * include/netdb.h: Likewise.
16510         * include/pwd.h: Likewise.
16511         * include/rpc/netdb.h: Likewise.
16512         * include/sched.h: Likewise.
16513         * include/search.h: Likewise.
16514         * include/shadow.h: Likewise.
16515         * include/signal.h: Likewise.
16516         * include/stdio.h: Likewise.
16517         * include/stdlib.h: Likewise.
16518         * include/string.h: Likewise.
16519         * include/sys/socket.h: Likewise.
16520         * include/sys/stat.h: Likewise.
16521         * include/sys/statfs.h: Likewise.
16522         * include/sys/statvfs.h: Likewise.
16523         * include/sys/syslog.h: Likewise.
16524         * include/sys/time.h: Likewise.
16525         * include/sys/uio.h: Likewise.
16526         * include/time.h: Likewise.
16527         * include/unistd.h: Likewise.
16528         * include/utmp.h: Likewise.
16529         * include/wchar.h: Likewise.
16530         * include/wctype.h: Likewise.
16531         * inet/aliases.h: Likewise.
16532         * inet/arpa/inet.h: Likewise.
16533         * inet/netinet/ether.h: Likewise.
16534         * inet/netinet/in.h: Likewise.
16535         * intl/libintl.h: Likewise.
16536         * io/bits/fcntl2.h: Likewise.
16537         * io/fcntl.h: Likewise.
16538         * io/ftw.h: Likewise.
16539         * io/sys/poll.h: Likewise.
16540         * io/sys/stat.h: Likewise.
16541         * io/sys/statfs.h: Likewise.
16542         * io/sys/statvfs.h: Likewise.
16543         * io/utime.h: Likewise.
16544         * libio/bits/stdio.h: Likewise.
16545         * libio/bits/stdio2.h: Likewise.
16546         * libio/libio.h: Likewise.
16547         * libio/libioP.h: Likewise.
16548         * libio/stdio.h: Likewise.
16549         * locale/lc-ctype.c: Likewise.
16550         * locale/locale.h: Likewise.
16551         * login/utmp.h: Likewise.
16552         * malloc/arena.c: Likewise.
16553         * malloc/malloc.c: Likewise.
16554         * malloc/malloc.h: Likewise.
16555         * malloc/mcheck.c: Likewise.
16556         * malloc/mtrace.c: Likewise.
16557         * math/bits/mathcalls.h: Likewise.
16558         * math/fenv.h: Likewise.
16559         * math/math_private.h: Likewise.
16560         * misc/bits/error.h: Likewise.
16561         * misc/bits/syslog.h: Likewise.
16562         * misc/err.h: Likewise.
16563         * misc/error.h: Likewise.
16564         * misc/fstab.h: Likewise.
16565         * misc/mntent.h: Likewise.
16566         * misc/regexp.h: Likewise.
16567         * misc/search.h: Likewise.
16568         * misc/sgtty.h: Likewise.
16569         * misc/sys/mman.h: Likewise.
16570         * misc/sys/syslog.h: Likewise.
16571         * misc/sys/uio.h: Likewise.
16572         * misc/sys/xattr.h: Likewise.
16573         * misc/ttyent.h: Likewise.
16574         * nis/rpcsvc/ypclnt.h: Likewise.
16575         * nss/nss.h: Likewise.
16576         * posix/bits/unistd.h: Likewise.
16577         * posix/fnmatch.h: Likewise.
16578         * posix/glob.h: Likewise.
16579         * posix/sched.h: Likewise.
16580         * posix/spawn.h: Likewise.
16581         * posix/sys/wait.h: Likewise.
16582         * posix/unistd.h: Likewise.
16583         * posix/wordexp.h: Likewise.
16584         * pwd/pwd.h: Likewise.
16585         * resolv/netdb.h: Likewise.
16586         * resource/sys/resource.h: Likewise.
16587         * rt/aio.h: Likewise.
16588         * rt/bits/mqueue2.h: Likewise.
16589         * rt/mqueue.h: Likewise.
16590         * shadow/shadow.h: Likewise.
16591         * signal/signal.h: Likewise.
16592         * socket/send.c: Likewise.
16593         * socket/sendto.c: Likewise.
16594         * socket/sys/socket.h: Likewise.
16595         * stdio-common/printf.h: Likewise.
16596         * stdlib/bits/stdlib.h: Likewise.
16597         * stdlib/fmtmsg.h: Likewise.
16598         * stdlib/monetary.h: Likewise.
16599         * stdlib/stdlib.h: Likewise.
16600         * stdlib/ucontext.h: Likewise.
16601         * streams/stropts.h: Likewise.
16602         * string/argz.h: Likewise.
16603         * string/bits/string2.h: Likewise.
16604         * string/string.h: Likewise.
16605         * string/strings.h: Likewise.
16606         * sunrpc/rpc/auth.h: Likewise.
16607         * sunrpc/rpc/auth_des.h: Likewise.
16608         * sunrpc/rpc/clnt.h: Likewise.
16609         * sunrpc/rpc/netdb.h: Likewise.
16610         * sunrpc/rpc/pmap_clnt.h: Likewise.
16611         * sunrpc/rpc/xdr.h: Likewise.
16612         * sysdeps/generic/inttypes.h: Likewise.
16613         * sysdeps/generic/net/if.h: Likewise.
16614         * sysdeps/generic/sys/swap.h: Likewise.
16615         * sysdeps/gnu/net/if.h: Likewise.
16616         * sysdeps/gnu/utmpx.h: Likewise.
16617         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16618         * sysdeps/i386/i486/bits/string.h: Likewise.
16619         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16620         * sysdeps/s390/bits/string.h: Likewise.
16621         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16622         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16623         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16624         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16625         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16626         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16627         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16628         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16629         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16630         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16631         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16632         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16633         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16634         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16635         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16636         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16637         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16638         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16639         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16640         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16641         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16642         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16643         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16644         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16645         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16646         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16647         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16648         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16649         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16650         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16651         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16652         * sysvipc/sys/ipc.h: Likewise.
16653         * sysvipc/sys/msg.h: Likewise.
16654         * sysvipc/sys/sem.h: Likewise.
16655         * sysvipc/sys/shm.h: Likewise.
16656         * termios/termios.h: Likewise.
16657         * time/sys/time.h: Likewise.
16658         * time/time.h: Likewise.
16659         * wcsmbs/bits/wchar2.h: Likewise.
16660         * wcsmbs/uchar.h: Likewise.
16661         * wcsmbs/wchar.h: Likewise.
16662         * wctype/wctype.h: Likewise.
16664         [BZ #13551]
16665         * Makeconfig: Remove all but ELF support including AIX support.
16666         * Makerules: Likewise.
16667         * config.h.in: Likewise.
16668         * config.make.in: Likewise.
16669         * configure: Likewise.
16670         * configure.in: Likewise.
16671         * csu/Makefile: Likewise.
16672         * csu/version.c: Likewise.
16673         * debug/Makefile: Likewise.
16674         * dlfcn/Makefile: Likewise.
16675         * elf/Makefile: Likewise.
16676         * extra-lib.mk: Likewise.
16677         * iconv/Makefile: Likewise.
16678         * include/libc-symbols.h: Likewise.
16679         * include/shlib-compat.h: Likewise.
16680         * resolv/Makefile: Likewise.
16681         * resolv/res_libc.c: Likewise.
16682         * rt/Makefile: Likewise.
16683         * sysdeps/i386/asm-syntax.h: Likewise.
16684         * sysdeps/i386/sysdep.h: Likewise.
16685         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16686         * sysdeps/mach/sysdep.h: Likewise.
16687         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16688         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16689         * sysdeps/s390/asm-syntax.h: Likewise.
16690         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16692         * sysdeps/sh/sysdep.h: Likewise.
16693         * sysdeps/unix/sparc/sysdep.h: Likewise.
16694         * sysdeps/wordsize-32/divdi3.c: Likewise.
16695         * sysdeps/x86_64/sysdep.h: Likewise.
16697         * argp/Versions: Remove _argp_unlock_xxx.
16699         [BZ #13559]
16700         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16701         * abilist/libBrokenLocale.abilist: Likewise.
16702         * abilist/libanl.abilist: Likewise.
16703         * abilist/libc.abilist: Likewise.
16704         * abilist/libcrypt.abilist: Likewise.
16705         * abilist/libdl.abilist: Likewise.
16706         * abilist/libm.abilist: Likewise.
16707         * abilist/libnsl.abilist: Likewise.
16708         * abilist/libpthread.abilist: Likewise.
16709         * abilist/libresolv.abilist: Likewise.
16710         * abilist/librt.abilist: Likewise.
16711         * abilist/libthread_db.abilist: Likewise.
16712         * abilist/libutil.abilist: Likewise.
16713         * abilist/libnss_db.abilist: New file.
16715         * scripts/abilist.awk: Add support for indirect functions.
16717         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16719         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16721         * shlib-versions: Remove entries for ports architectures.
16723         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16724         files in ports.
16725         * elf/stackguard-macros.h: Remove support for IA-64.
16726         * elf/tst-auditmod1.c: Likewise.
16727         * sysdeps/generic/ldsodefs.h: Likewise.
16729         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16730         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16731         configure files.
16733         [BZ #13552]
16734         * configure.in: Remove --enable-omitfp support.
16735         * FAQ.in: Adjust.
16736         * config.make.in: Likewise.
16737         * Makeconfig: Likewise.
16738         * manual/install.texi: Likewise.
16740         In case anyone cares, the IA-64 architecture could move to ports.
16741         * sysdeps/ia64/*: Removed.
16742         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16743         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16745         [BZ #13555]
16746         * configure.in: Remove entries for unsupported architectures.
16748         [BZ #13533]
16749         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16750         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16751         routines.
16752         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16753         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16754         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16755         fall back to using wcrtomb.
16756         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16757         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16758         renaming.
16759         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16760         * wcsmbs/tst-c16c32-1.c: New file.
16762         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16763         local variable.
16765         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16767         * elf/tst-unique3.cc: Add explicit declaration of gets.
16768         * elf/tst-unique3lib.cc: Likewise.
16769         * elf/tst-unique3lib2.cc: Likewise.
16770         * elf/tst-unique4.cc: Likewise.
16772         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16774 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16776         [BZ #13566]
16777         * assert/assert.h (static_assert): Don't define for C++.
16778         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16779         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16781 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16783         * iconv/loop.c (single loop): Fix assertion in storing of
16784         remaining bytes.
16786         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16788 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16790         * posix/getconf.c: Update copyright year.
16791         * nss/getent.c: Likewise.
16792         * nss/makedb.c: Likewise.
16793         * iconv/iconvconfig.c: Likewise.
16794         * iconv/iconv_prog.c: Likewise.
16795         * elf/ldconfig.c: Likewise.
16796         * elf/pldd.c: Likewise.
16797         * elf/sotruss.ksh: Likewise.
16798         * catgets/gencat.c: Likewise.
16799         * csu/version.c: Likewise.
16800         * elf/ldd.bash.in: Likewise.
16801         * elf/sprof.c (print_version): Likewise.
16802         * locale/programs/locale.c: Likewise.
16803         * locale/programs/localedef.c: Likewise.
16804         * login/programs/pt_chown.c: Likewise.
16805         * nscd/nscd.c (print_version): Likewise.
16806         * debug/xtrace.sh: Likewise.
16807         * malloc/memusage.sh: Likewise.
16808         * malloc/mtrace.pl: Likewise.
16809         * debug/catchsegv.sh: Likewise.
16811 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16813         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16814         pure attribute.
16816 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16818         [BZ #13533]
16819         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16820         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16821         transformations.
16822         * iconv/gconv_int.h: Likewise.
16823         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16824         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16825         from libc for GLIBC_2.16.
16826         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16827         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16828         * wcsmbs/uchar.h: Really define mbstate_t.
16829         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16830         * wcsmbs/c16rtomb.c: New file.
16831         * wcsmbs/mbrtoc16.c: New file.
16832         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16833         for C/POSIX locale.
16834         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16835         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16837         * wcsmbs/wchar.h: Add missing __restrict.
16839 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16841         [BZ #13532]
16842         * time/Makefile (routines): Add timespec_get.
16843         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16844         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16845         timespec for ISO C11.
16846         * time/timespec_get.c: New file.
16847         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16848         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16850         [BZ #13531]
16851         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16852         * stdlib/stdlib.h: Declare aligned_alloc.
16853         * Versions.def: Add GLIBC_2.16 for libc.
16854         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16856         [BZ 13527]
16857         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16858         ISO C11.
16860         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16861         code.
16863         [BZ #13528]
16864         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16866         [BZ #13529]
16867         * assert/assert.h (static_assert): Define.
16869         * version.h: Update for 2.16 development version.
16871         [BZ #13526]
16872         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16873         _ISOC11_SOURCE.
16875         * version.h (RELEASE): Bump for 2.15 release.
16876         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16878         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16879         Patch by Marek Polacek <mpolacek@redhat.com>.
16881         * bits/byteswap.h: Protect long long constants with __extension__.
16882         * sysdeps/i386/bits/byteswap.h: Likewise.
16883         * sysdeps/ia64/bits/byteswap.h: Likewise.
16884         * sysdeps/s390/bits/byteswap.h: Likewise.
16885         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16887 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16889         [BZ #13540]
16890         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16891         destination buffer.
16892         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16894 2011-12-23  Marek Polacek  <polacek@redhat.com>
16896         * elf/dl-addr.c (determine_info): Add inline keyword.
16897         * elf/tst-auditmod4b.c (check_avx): Likewise.
16898         * elf/tst-auditmod6b.c (check_avx): Likewise.
16899         * elf/tst-auditmod6c.c (check_avx): Likewise.
16900         * elf/tst-auditmod7b.c (check_avx): Likewise.
16902 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16904         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16905         !__SSE_MATH__.
16907 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16909         [BZ #13540]
16910         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16911         processing for last bytes.
16913 2011-08-06  Bruno Haible  <bruno@clisp.org>
16915         [BZ #13061]
16916         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16917         U+0385, not to U+1FEE.
16919         [BZ #13062]
16920         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16921         entry for U+00A5 U+0301.
16923 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16925         [BZ #13166]
16926         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16927         buffer for the output is too small.
16929         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16930         optimization.
16932         [BZ #13185]
16933         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16934         SSE flags if possible.
16936 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16938         [BZ #13540]
16939         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16940         processing for last bytes.
16942 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16944         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16945         (syscall-list-default-options, syscall-list-default-condition)
16946         (syscall-list-includes): Define.
16947         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16948         list of ABIs and options and #if conditions for each ABI.  Do not
16949         handle common syscalls between ABIs specially.
16950         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16951         Remove.
16952         (syscall-list-variants, syscall-list-32bit-options)
16953         (syscall-list-32bit-condition, syscall-list-64bit-options)
16954         (syscall-list-64bit-condition): Define.
16955         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16956         (syscall-list-variants, syscall-list-32bit-options)
16957         (syscall-list-32bit-condition, syscall-list-64bit-options)
16958         (syscall-list-64bit-condition): Define.
16959         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16960         Remove.
16961         (syscall-list-variants, syscall-list-32bit-options)
16962         (syscall-list-32bit-condition, syscall-list-64bit-options)
16963         (syscall-list-64bit-condition): Define.
16964         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16965         Remove.
16966         (syscall-list-variants, syscall-list-32bit-options)
16967         (syscall-list-32bit-condition, syscall-list-64bit-options)
16968         (syscall-list-64bit-condition): Define.
16970 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16972         * locale/iso-639.def: Add brx entry.
16974         [BZ #13328]
16975         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16976         Proposed by Mariusz_Cukr <marcukr@op.pl>.
16978         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16979         __feraiseexcept_renamed.
16981 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16983         [BZ #13538]
16984         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16985         EPOLLET with unsigned values.
16986         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16987         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16989         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16990         to large cancellation.
16991         * math/s_cacoshf.c: Likewise.
16992         * math/s_cacoshl.c: Likewise.
16994 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
16996         [BZ #13305]
16997         [BZ #12786]
16998         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16999         * math/s_cacoshf.c: Likewise.
17000         * math/s_cacoshl.c: Likewise.
17002 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17004         [BZ #13439]
17005         * iconv/gconv.h: Define __GCONV_SWAP.
17006         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17007         * iconvdata/utf-16.c: Likewise.
17008         * iconvdata/utf-32.c: Likewise.
17010 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17012         [BZ #13524]
17013         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17014         numerator after shifting it by one limb.
17016 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17018         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17019         under [__USE_EXTERN_INLINES].
17021 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17023         [BZ #13446]
17024         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17026 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17028         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17029         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17030         optimized code.
17031         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17032         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17033         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17034         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17035         for strncasecmp/strncasecmp_l compilation.
17036         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17037         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17039 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17041         [BZ #13484]
17042         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17043         of __asm__.
17045 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17047         [BZ #13506]
17048         * time/tzfile.c (__tzfile_read): Check values from file header.
17050 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17052         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17053         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17054         * powerpc/powerpc32/dl-start.S: Likewise.
17055         * powerpc/powerpc32/elf/start.S: Likewise.
17056         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17057         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17058         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17059         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17060         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17061         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17062         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17063         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17064         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17065         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17066         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17067         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17068         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17069         * powerpc/powerpc32/memset.S: Likewise.
17070         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17071         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17072         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17073         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17074         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17075         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17076         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17077         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17078         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17079         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17080         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17081         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17082         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17084 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17086         * math/libm-test.inc: Added more nearbyint tests.
17087         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17088         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17089         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17090         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17092 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17094         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17095         FD_CLOEXEC.
17097 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17099         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17100         Add wcscpy-ssse3 wcscpy-c.
17101         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17102         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17103         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17104         * sysdeps/x86_64/wcschr.S: New file.
17105         * sysdeps/x86_64/wcsrchr.S: New file.
17106         * string/test-strcmp.c: Remove checking of wcscmp function for
17107         wrong alignments.
17108         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17109         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17110         wcsrchr-sse2 wcsrchr-c.
17111         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17112         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17113         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17114         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17115         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17116         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17117         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17118         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17119         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17120         * wcsmbc/wcschr.c (WCSCHR): New macro.
17122 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17124         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17125         * wcsmbs/test-wcsrchr.c: New file.
17126         * string/test-strrchr.c: Add wcsrchr support.
17127         (WIDE): New macro.
17128         * wcsmbs/test-wcscpy.c: New file.
17129         * string/test-strcpy.c: Add wcscpy support.
17130         (WIDE): New macro.
17132 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17134         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17135         the inner loop.
17137 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17139         [BZ #13472]
17140         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17142 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17144         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17145         Minor optimizations.
17147         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17148         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17149         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17151 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17153         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17154         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17155         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17156         for gcc to avoid warnings.
17157         * inet/Makefile (tests): Add tst-checks.
17158         * inet/tst-checks.c: New file.
17160         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17161         warning.
17163         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17164         __wmemcmp_sse2.
17166         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17167         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17169         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17171 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17173         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17174         problem.
17176         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17178 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17180         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17181         conditional on GCC version.
17182         (__arch_compare_and_exchange_val_8_acq)
17183         (__arch_compare_and_exchange_val_16_acq)
17184         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17185         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17186         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17188 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17190         * sysdeps/sh/backtrace.c: New file.
17192 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17194         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17195         parenthesis.
17197 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17199         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17200         falling back to utime.
17202 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17204         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17205         expectations for float.
17207 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17209         * locale/weight.h (findidx): Add parameter len.
17210         * locale/weightwc.h (findidx): Likewise.
17211         * posix/fnmatch_loop.c (FCT): Adjust caller.
17212         * posix/regcomp.c (build_equiv_class): Likewise.
17213         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17214         * posix/regexec.c (check_node_accept_bytes): Likewise.
17215         * string/strcoll_l.c (STRCOLL): Likewise.
17216         * string/strxfrm_l.c (STRXFRM): Likewise.
17218 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17220         * Makefile.in: Remove CVSOPT handling.
17221         * configure.in: Remove use of AC_REVISION.
17222         * iconvdata/Makefile (distribute): No need to filter out CVS.
17223         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17224         handling.
17226 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17228         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17229         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17230         [USE_AS_STRNCASECMP_L]: Likewise.
17231         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17232         NO_TLS_DIRECT_SEG_REFS.
17233         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17234         Fix argument offsets for non-PIC.
17235         [USE_AS_STRNCASECMP_L]: Likewise.
17236         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17237         NO_TLS_DIRECT_SEG_REFS.
17239 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17241         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17242         O_CLOEXEC.
17243         * locale/loadlocale.c (_nl_load_locale): Likewise.
17245 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17247         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17248         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17249         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17250         (SYSCALL_GETTIME): Set errno on error.
17252         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17253         count references to noai6ai_cached.
17255 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17257         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17259         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17260         FD_CLOEXEC for /proc/self/maps.
17262         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17263         FD_CLOEXEC for /proc/meminfo.
17265         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17266         gai.conf.
17268         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17269         FD_CLOEXEC for given file.
17271         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17273         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17274         FD_CLOEXEC for /etc/hosts.
17275         (_gethtent): Likewise.
17277         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17279         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17280         cancellation and set FD_CLOEXEC for /etc/netgroup.
17282         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17283         reading /etc/publickey.
17285         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17286         allow cancellation when reading /etc/group.
17288         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17289         cancellation.
17290         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17292         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17293         when using data file.
17295         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17297         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17298         (write_nis_obj): Use "c" and "e" in fopen.
17300         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17302         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17304         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17306         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17308         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17309         locale.alias.
17311         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17313         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17315         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17317         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17318         file parsing and set FD_CLOEXEC.
17320 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17322         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17324 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17326         * malloc/arena.c (arena_get2): Don't call reused_arena when
17327         _int_new_arena failed.
17329 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17331         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17332         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17333         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17334         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17336         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17337         to compile strcasecmp and strncasecmp.
17338         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17339         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17341         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17343 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17345         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17346         locale-defines.sym to gen-as-const-headers.
17347         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17348         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17349         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17350         to compile strcasecmp and strncasecmp.
17351         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17352         strcasecmp_l and strncasecmp_l.
17353         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17354         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17355         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17356         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17357         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17358         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17359         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17360         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17361         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17362         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17363         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17365 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17367         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17368         result of SYSDEP_GETTIME_CPU to retval.
17369         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17370         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17372         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17373         variable.
17375         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17376         mantissa words.
17377         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17379         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17380         from unused variable.
17382         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17383         DWARF definitions.
17384         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17385         for assembling.
17387         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17388         over namespaces.
17390         * sunrpc/rpc_prot.c (rejected): Fix case value.
17392         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17393         unsigned long long int to avoid warnings in shift.
17395         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17396         of use of trans.
17397         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17398         variable tmp.
17400         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17401         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17402         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17404         * nis/nis_table.c (nis_list): Use variable of correct type for
17405         result of __follow_path call.
17407 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17409         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17410         of math functions ceil, trunc, floor, round, and sqrt, when
17411         avaliable on the platform.
17412         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17413         name clash.
17414         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17415         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17416         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17418 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17420         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17421         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17423 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17425         * include/unistd.h: Fix __readlink return type.
17426         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17428 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17430         * stdlib/ucontext.h: Undo last change for makecontext.
17432 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17434         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17436         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17437         * setjmp/setjmp.h: Mark functions as non-leaf.
17438         * setjmp/bits/setjmp2.h: Likewise.
17439         * stdlib/ucontext.h: Likewise.
17441 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17443         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17444         (reused_arena): Don't check arena limit.
17445         (arena_get2): Atomically check arena limit.
17447 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17449         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17450         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17452         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17453         instructions.
17455 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17457         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17458         handler when locking.
17460         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17461         Fix size of allocated buffer.
17463 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17465         [BZ #10103]
17466         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17467         declarations for long double functions.
17468         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17470         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17472 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17474         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17475         installed.
17477         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17478         is disabled.
17480 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17482         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17484 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17486         * include/alloca.h (stackinfo_alloca_round): Define.
17487         (extend_alloca): Use it.
17488         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17489         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17490         here.
17492         * scripts/check-local-headers.sh: Ignore libaudit.h.
17494         * nscd/Makefile (extra-objs): Make recursively expanded.
17496 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17498         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17499         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17501         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17502         * posix/tst-rfc3484-2.c: Likewise.
17503         * posix/tst-rfc3484-3.c: Likewise.
17505         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17506         process_vm_writev.
17507         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17508         process_vm_writev.
17509         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17510         process_vm_writev from libc using GLIBC_2.15 version.
17512         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17514 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17516         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17517         stack usage.
17519 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17521         [BZ #13367]
17522         * nss/getent.c (initgroups_keys): Show error message in case no group
17523         names are given.
17525         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17526         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17527         __bump_nl_timestamp.
17528         * nscd/connections (nscd_init): When host database is served open
17529         netlink socket and request notification about configuration changes.
17530         (main_loop_poll): Track netlink file descriptor and bump timestamp
17531         in case data becomes available.
17532         (main_loop_epoll): Likewise.
17533         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17534         (database_pers_head): Add extra_data fileds.
17535         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17536         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17537         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17538         Adjust caller.
17539         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17540         in6ai data, call __free_in6ai.
17541         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17542         Add -DHAVE_NETLINK.
17543         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17544         interface information.  Reuse previous data if netlink timestamp
17545         is not changed.
17546         (__bump_nl_timestamp): New function.
17547         (__free_in6ai): New function.
17549 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17551         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17552         close_not_cancel_no_status here.
17553         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17555 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17557         [BZ #13276]
17558         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17559         return value.
17561         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17562         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17563         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17565 2011-07-03  Andreas Jaeger  <aj@suse.de>
17567         [BZ #10709]
17568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17569         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17570         * math/libm-test.inc (sin_test): Add test case.
17572 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17574         [BZ #13337]
17575         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17576         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17578         * elf/chroot_canon.c (chroot_canon): Cleanups.
17580         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17582         [BZ #13335]
17583         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17584         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17586         * string/test-strchr.c: Make usable for strchrnul testing.
17587         * string/test-strchrnul.c: New file.
17588         * string/Makefile (strop-tests): Add strchrnul.
17590         * po/it.po: Update from translation team.
17591         * po/es.po: Likewise.
17593 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17595         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17596         the three constants needed as parameters.  Drop the others.
17597         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17598         __m128i_strloadu_tolower.
17599         Create and initialize variable zero and use it in all the places
17600         where _mm_setzero_si128 was used.
17602         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17603         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17604         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17605         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17606         anymore.
17607         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17608         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17609         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17610         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17611         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17612         __mpranred, __mptan.
17613         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17614         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17615         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17616         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17617         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17618         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17619         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17620         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17621         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17623 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17625         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17626         redefine if SHARED.
17627         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17629         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17630         wide char related routines to wcsmbs subdir.
17632 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17634         [BZ #13344]
17635         * misc/sys/cdefs.h (__THROWNL): Define.
17636         * posix/unistd.h: Use __THREADNL instead of __THREAD
17637         for memory synchronization functions.
17639 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17641         [BZ #13349]
17642         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17643         doesn't exist.
17644         * manual/stdio.texi (Obstack Streams): Node removed.
17646 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17648         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17649         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17650         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17652         * math/math_private.h (math_force_eval): Allow non-addressable
17653         arguments.
17654         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17656 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17658         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17659         file is not needed.
17661         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17662         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17663         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17664         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17665         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17666         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17667         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17668         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17669         Add AVX variants.
17670         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17671         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17672         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17673         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17674         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17675         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17676         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17677         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17678         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17679         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17680         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17681         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17682         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17683         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17684         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17685         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17686         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17687         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17688         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17690         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17691         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17694         place.  Use VEX encoding when compiling for AVX.
17696 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17698         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17699         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17701         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17703 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17705         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17706         useless if() expression.
17707         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17708         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17709         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17710         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17711         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17712         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17713         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17714         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17715         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17716         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17717         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17718         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17719         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17720         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17721         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17722         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17723         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17724         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17725         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17727         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17729 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17731         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17732         condition.
17733         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17735 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17737         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17738         .text section.  Avoid duplicate constants.
17739         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17741         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17743         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17747         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17748         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17749         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17750         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17751         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17752         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17753         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17754         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17755         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17756         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17757         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17759         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17760         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17761         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17762         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17763         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17764         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17765         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17766         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17767         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17768         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17769         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17770         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17771         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17772         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17773         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17774         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17775         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17776         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17777         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17778         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17779         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17780         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17781         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17782         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17783         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17785 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17787         * sysdeps/x86_64/dla.h: Move to ...
17788         * sysdeps/x86_64/fpu/dla.h: ...here.
17789         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17790         situations.  Use __builtin_fma only for gcc 4.6 and up.
17792         * config.make.in: Add have-mfma4 entry.
17793         * configure.in: Substitute libc_cv_cc_fma4.
17794         * math/Makefile (dbl-only-routines): Add sincostab.
17795         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17796         Use __sincostab not sincos.
17797         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17798         name is a macro.
17799         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17800         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17801         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17803         using __copysign.
17804         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17805         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17806         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17807         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17808         and __inv.
17809         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17810         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17811         __copysign.
17812         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17813         define aliases when function name is a macro.
17814         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17815         sysdeps/ieee754/dbl-64/sincos.tbl.
17816         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17817         fma4-enabled routines.
17818         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17819         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17820         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17821         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17822         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17823         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17824         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17825         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17826         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17827         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17828         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17829         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17830         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17831         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17832         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17833         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17834         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17835         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17836         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17837         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17838         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17839         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17840         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17841         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17842         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17843         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17844         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17845         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17846         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17847         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17849         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17850         rename.
17851         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17852         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17853         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17854         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17855         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17856         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17857         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17858         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17860 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17862         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17864 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17866         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17868         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17869         prediction.
17870         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17872         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17873         Remove unused variable magic_bits.
17874         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17876         * string/strnlen.c: Define and use STRNLEN macro.
17877         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17878         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17879         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17880         * wcsmbs/wcslen.c: Define and use WCSLEN.
17881         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17882         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17883         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17884         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17885         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17886         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17887         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17889 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17892         strnlen-sse2-no-bsf.
17893         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17894         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17895         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17896         Add strnlen support.
17897         (USE_AS_STRNLEN): New macro.
17898         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17899         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17900         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17901         * sysdeps/x86_64/wcslen.S: New file.
17903 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17905         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17906         XMM-moves are used for copying on small sizes.
17908 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17910         * wcsmbs/Makefile (strop-tests): Add wcschr.
17911         * wcsmbs/test-wcschr.c: New file.
17912         * string/test-strchr.c: Update.
17913         Add wcschr support.
17914         (WIDE): New macro.
17916 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17918         * wcsmbs/Makefile (strop-tests): Add wcslen.
17919         * wcsmbs/test-wcslen.c: New file.
17920         * string/test-strlen.c: Update.
17921         Add wcslen support.
17922         (WIDE): New macro.
17924 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17926         * po/it.po: Update from translation team.
17928 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17930         * sysdeps/x86_64/wcscmp.S: Update.
17931         Fix wrong comparison semantics.
17932         wcscmp shall use signed comparison not unsigned.
17933         Don't use substraction to avoid overflow bug.
17934         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17935         * wcsmbc/wcscmp.c: Likewise.
17936         * string/test-strcmp.c: Likewise.
17937         Add new tests to check cases with negative values.
17939 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17941         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17942         * sysdeps/x86_64/dla.h: ...here.  New file.
17943         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17945         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17946         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17947         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17948         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17949         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17950         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17951         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17953 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
17955         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17956         __ynl_finite aliases.
17958 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17962         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17963         define DLA_FMA.
17964         [DLA_FMA] (EMULV): Use DLA_FMA.
17965         [DLA_FMA] (MUL12): Use EMULV.
17966         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17967         that are not needed.
17968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17970         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17971         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17973         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17974         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17976 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
17978         * math/s_nan.c: Undef __nan.
17979         * math/s_nanf.c: Undef __nanf.
17980         * math/s_nanl.c: Undef __nanl.
17981         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17982         "math_private.h".
17984 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17986         * math/s_catan.c: Add branch predictions.
17987         * math/s_catanf.c: Likewise.
17988         * math/s_catanh.c: Likewise.
17989         * math/s_catanhf.c: Likewise.
17990         * math/s_catanhl.c: Likewise.
17991         * math/s_catanl.c: Likewise.
17992         * math/s_cexp.c: Likewise.
17993         * math/s_cexpf.c: Likewise.
17994         * math/s_cexpl.c: Likewise.
17995         * math/s_clog.c: Likewise.
17996         * math/s_clog10.c: Likewise.
17997         * math/s_clog10f.c: Likewise.
17998         * math/s_clog10l.c: Likewise.
17999         * math/s_clogf.c: Likewise.
18000         * math/s_clogl.c: Likewise.
18001         * math/s_csqrt.c: Likewise.
18002         * math/s_csqrtf.c: Likewise.
18003         * math/s_csqrtl.c: Likewise.
18004         * math/s_ctanf.c: Likewise.
18005         * math/s_ctanh.c: Likewise.
18006         * math/s_ctanhf.c: Likewise.
18007         * math/s_ctanhl.c: Likewise.
18008         * math/s_ctanl.c: Likewise.
18010         * math/math_private.h: Define __nan, __nanf, __nanl.
18011         * math/s_cacosh.c: Include <math_private.h>.
18012         * math/s_cacoshl.c: Likewise.
18013         * math/s_casinh.c: Likewise.
18014         * math/s_casinhf.c: Likewise.
18015         * math/s_casinhl.c: Likewise.
18016         * math/s_ccos.c: Rely entire on ccosh.
18017         * math/s_ccosf.c: Rely entire on ccoshf.
18018         * math/s_ccosl.c: Rely entirely on ccoshl.
18019         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18020         Remove tests for FE_INVALID.
18021         * math/s_ccoshf.c: Likewise.
18022         * math/s_ccoshl.c: Likewise.
18023         * math/s_csin.c: Likewise.
18024         * math/s_csinf.c: Likewise.
18025         * math/s_csinh.c Likewise.
18026         * math/s_csinhf.c: Likewise.
18027         * math/s_csinhl.c: Likewise.
18028         * math/s_csinl.c: Likewise.
18029         * math/s_ctan.c: Likewise.
18030         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18031         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18032         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18034 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18037         compilation problems.
18039         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18040         __builtin_expect.
18042 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18044         * sysdeps/i386/configure.in: Test for -mfma4 option.
18045         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18046         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18047         COMMON_CPUID_INDEX_80000001.
18048         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18049         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18050         use it if FMA3 is not supported.
18051         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18053         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18054         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18056 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18058         [BZ #12892]
18059         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18060         it would create a cycle with a link time dependency.
18062 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18064         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18065         instruction.
18066         * string/Makefile (strop-tests): Add rawmemchr.
18067         * string/test-rawmemchr.c: New file.
18069         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18070         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18071         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18072         when compiling str{,n}casecmp and when AVX is available.  Hook up
18073         new optimized code in initializers.
18075 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18077         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18078         __feraiseexcept instead of feraiseexcept.
18080 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18082         * math/math_private.h: Define defaults for libc_fetestexcept and
18083         libc_feupdateenv.
18084         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18085         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18086         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18087         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18088         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18089         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18090         libc_fetestexcept and libc_feupdateenv.
18092         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18093         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18094         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18095         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18096         libc_feholdexcept_setround.
18098         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18099         Add s_nearbyint-c and s_nearbyintf-c.
18100         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18101         nearbyintf inlines.
18102         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18103         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18104         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18105         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18107         * math/math_private.h: Define defaults for libc_fegetround,
18108         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18109         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18110         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18111         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18112         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18113         standard functions.
18114         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18115         Remove comments and hacks for old compiler versions.
18116         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18117         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18118         libc_feholdexceptl.
18120 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18122         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18123         (__feraiseexcept_renamed): Add __NTH.
18124         (feraiseexcept): Add __NTH.  Rename local variables to fix
18125         namespace violations.
18127 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18129         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18131         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18133         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18134         recently added interfaces.
18135         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18137         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18138         about macro parameter expansion.
18140         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18141         __NO_MATH_INLINES is defined.  Cleanups.
18143         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18144         and __floorf is target has SSE4.1.
18145         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18146         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18147         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18148         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18150         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18151         name.
18152         (floorf): Likewise.
18154         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18156 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18158         * misc/sys/cdefs.h: Fix last change.
18160         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18161         database lookup.
18163 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18165         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18167         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18168         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18169         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18170         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18171         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18172         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18173         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18174         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18175         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18176         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18177         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18178         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18179         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18180         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18181         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18182         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18183         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18184         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18185         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18186         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18187         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18188         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18190         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18191         ceil, ceilf, floor, floorf.
18193         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18194         Perform IRELATIVE relocations last.
18196         * elf/do-rel.h: Add another parameter nrelative, replacing the
18197         local variable with the same name.  Change name of the function
18198         to end in Rel or Rela (uppercase).
18199         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18200         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18201         elf_dynamic_do_##reloc function.
18203 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18205         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18206         is sufficient, at least on modern CPUs.
18208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18210         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18211         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18213         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18214         __expl_finite.
18215         * math/bits/math-finite.h: Add entries for exp.
18216         * math/e_expl.c: Add __*_finite alias.
18217         * sysdeps/i386/fpu/e_exp.S: Likewise.
18218         * sysdeps/i386/fpu/e_expf.S: Likewise.
18219         * sysdeps/i386/fpu/e_expl.c: Likewise.
18220         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18221         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18222         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18223         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18224         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18225         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18226         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18228         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18229         is sufficient, at least on modern CPUs.
18231         * ctype/ctype-info.c (__ctype_init): Define.
18232         * include/ctype.h (__ctype_init): Declare.
18233         (__ctype_b_loc): The variable is always initialized.
18234         (__ctype_toupper_loc): Likewise.
18235         (__ctype_tolower_loc): Likewise.
18236         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18237         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18239 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18241         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18243         * configure.in: Also look in $cxxmachine/include for C++ system
18244         headers.
18246 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18248         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18249         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18250         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18251         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18252         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18253         (USE_AS_WMEMCMP): New macro.
18254         Fixing indents.
18255         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18256         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18257         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18258         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18260         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18261         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18262         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18263         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18264         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18265         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18266         (USE_AS_WMEMCMP): New macro.
18267         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18268         * sysdeps/string/test-memcmp.c: Update.
18269         Fix simple_wmemcmp.
18270         Add new tests.
18271         * wcsmbs/wmemcmp.c: Update.
18272         (WMEMCMP): New macro.
18273         Fix overflow bug.
18275 2011-10-12  Andreas Jaeger  <aj@suse.de>
18277         [BZ #13268]
18278         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18280 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18282         * libio/iofwide.c (do_length): Avoid warning.
18284         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18286 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18288         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18290         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18291         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18292         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18293         * sysdeps/i386/i686/fpu/e_log.S: New file.
18294         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18295         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18297         * ctype/ctype.h: Add support for inlined isXXX functions when
18298         compiling C++ code.
18300 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18302         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18304         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18306 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18308         [BZ #13291]
18309         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18311 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18313         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18314         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18315         feraiseexcept.
18317         * sysdeps/x86_64/memrchr.S: Check for zero size.
18319         * string/stratcliff.c: Add memrchr tests.
18321 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18324         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18325         rawmemchr-sse2 rawmemchr-sse2-bsf.
18326         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18327         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18328         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18329         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18330         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18331         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18332         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18333         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18334         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18335         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18336         * string/memrchr.c (MEMRCHR): New macro.
18338 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18340         Add integration with gcc's -ffinite-math-only and optimize wrapper
18341         functions in libm.
18342         * Versions.def: Define GLIBC_2.15 version for libm.
18343         * math/Makefile (headers): Add bits/math-finite.h.
18344         * math/bits/math-finite.h: New file.
18345         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18346         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18347         * math/e_acoshl.c: Add __*_finite alias.
18348         * math/e_acosl.c: Likewise.
18349         * math/e_asinl.c: Likewise.
18350         * math/e_atan2l.c: Likewise.
18351         * math/e_atanhl.c: Likewise.
18352         * math/e_coshl.c: Likewise.
18353         * math/e_exp10.c: Likewise.
18354         * math/e_exp10f.c: Likewise.
18355         * math/e_exp10l.c: Likewise.
18356         * math/e_exp2l.c: Likewise.
18357         * math/e_fmodl.c: Likewise.
18358         * math/e_gammal_r.c: Likewise.
18359         * math/e_hypotl.c: Likewise.
18360         * math/e_j0l.c: Likewise.
18361         * math/e_j1l.c: Likewise.
18362         * math/e_jnl.c: Likewise.
18363         * math/e_lgammal_r.c: Likewise.
18364         * math/e_log10l.c: Likewise.
18365         * math/e_log2l.c: Likewise.
18366         * math/e_logl.c: Likewise.
18367         * math/e_powl.c: Likewise.
18368         * math/e_sinhl.c: Likewise.
18369         * math/e_sqrtl.c: Likewise.
18370         * math/e_scalb.c: Completely rewritten and optimized.
18371         * math/e_scalbf.c: Likewise.
18372         * math/e_scalbl.c: Likewise.
18373         * math/w_acos.c: Likewise.
18374         * math/w_acosf.c: Likewise.
18375         * math/w_acosl.c: Likewise.
18376         * math/w_acosh.c: Likewise.
18377         * math/w_acoshf.c: Likewise.
18378         * math/w_acoshl.c: Likewise.
18379         * math/w_asin.c: Likewise.
18380         * math/w_asinf.c: Likewise.
18381         * math/w_asinl.c: Likewise.
18382         * math/w_atan2.c: Likewise.
18383         * math/w_atan2f.c: Likewise.
18384         * math/w_atan2l.c: Likewise.
18385         * math/w_atanh.c: Likewise.
18386         * math/w_atanhf.c: Likewise.
18387         * math/w_atanhl.c: Likewise.
18388         * math/w_exp10.c: Likewise.
18389         * math/w_exp10f.c: Likewise.
18390         * math/w_exp10l.c: Likewise.
18391         * math/w_fmod.c: Likewise.
18392         * math/w_fmodf.c: Likewise.
18393         * math/w_fmodl.c: Likewise.
18394         * math/w_j0.c: Likewise.
18395         * math/w_j0f.c: Likewise.
18396         * math/w_j0l.c: Likewise.
18397         * math/w_j1.c: Likewise.
18398         * math/w_j1f.c: Likewise.
18399         * math/w_j1l.c: Likewise.
18400         * math/w_jn.c: Likewise.
18401         * math/w_jnf.c: Likewise.
18402         * math/w_log.c: Likewise.
18403         * math/w_logf.c: Likewise.
18404         * math/w_logl.c: Likewise.
18405         * math/w_log10.c: Likewise.
18406         * math/w_log10f.c: Likewise.
18407         * math/w_log10l.c: Likewise.
18408         * math/w_log2.c: Likewise.
18409         * math/w_log2f.c: Likewise.
18410         * math/w_log2l.c: Likewise.
18411         * math/w_pow.c: Likewise.
18412         * math/w_powf.c: Likewise.
18413         * math/w_powl.c: Likewise.
18414         * math/w_remainder.c: Likewise.
18415         * math/w_remainderf.c: Likewise.
18416         * math/w_remainderl.c: Likewise.
18417         * math/w_scalb.c: Likewise.
18418         * math/w_scalbf.c: Likewise.
18419         * math/w_scalbl.c: Likewise.
18420         * math/w_sqrt.c: Likewise.
18421         * math/w_sqrtf.c: Likewise.
18422         * math/w_sqrtl.c: Likewise.
18423         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18424         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18425         used.
18426         * math/math_private.h: Declare __kernel_standard_f.
18427         * math/w_cosh.c: Remove cruft and optimize a bit.
18428         * math/w_coshf.c: Likewise.
18429         * math/w_coshl.c: Likewise.
18430         * math/w_exp2.c: Likewise.
18431         * math/w_exp2f.c: Likewise.
18432         * math/w_exp2l.c: Likewise.
18433         * math/w_hypot.c: Likewise.
18434         * math/w_hypotf.c: Likewise.
18435         * math/w_hypotl.c: Likewise.
18436         * math/w_lgamma.c: Likewise.
18437         * math/w_lgamma_r.c: Likewise.
18438         * math/w_lgammaf.c: Likewise.
18439         * math/w_lgammaf_r.c: Likewise.
18440         * math/w_lgammal.c: Likewise.
18441         * math/w_lgammal_r.c: Likewise.
18442         * math/w_sinh.c: Likewise.
18443         * math/w_sinhf.c: Likewise.
18444         * math/w_sinhl.c: Likewise.
18445         * math/w_tgamma.c: Likewise.
18446         * math/w_tgammaf.c: Likewise.
18447         * math/w_tgammal.c: Likewise.
18448         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18449         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18450         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18451         Minor optimizations.  Pretty printing.  Remove cruft.
18452         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18453         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18454         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18455         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18456         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18457         * sysdeps/i386/fpu/e_asin.S: Likewise.
18458         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18459         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18460         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18461         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18462         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18463         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18464         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18465         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18466         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18467         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18468         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18469         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18470         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18471         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18472         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18473         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18474         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18475         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18476         * sysdeps/i386/fpu/e_log.S: Likewise.
18477         * sysdeps/i386/fpu/e_log10.S: Likewise.
18478         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18479         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18480         * sysdeps/i386/fpu/e_log2.S: Likewise.
18481         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18482         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18483         * sysdeps/i386/fpu/e_logf.S: Likewise.
18484         * sysdeps/i386/fpu/e_logl.S: Likewise.
18485         * sysdeps/i386/fpu/e_pow.S: Likewise.
18486         * sysdeps/i386/fpu/e_powf.S: Likewise.
18487         * sysdeps/i386/fpu/e_powl.S: Likewise.
18488         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18489         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18490         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18491         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18492         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18493         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18494         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18495         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18496         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18497         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18498         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18500         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18501         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18502         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18503         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18504         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18505         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18506         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18507         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18508         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18509         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18510         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18511         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18512         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18513         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18514         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18515         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18516         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18517         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18518         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18519         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18520         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18521         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18522         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18523         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18524         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18525         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18526         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18527         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18528         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18529         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18530         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18531         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18532         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18533         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18534         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18535         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18536         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18537         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18538         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18539         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18540         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18541         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18542         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18543         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18544         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18545         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18546         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18547         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18548         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18549         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18550         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18551         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18552         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18553         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18554         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18555         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18556         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18557         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18558         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18561         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18563         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18564         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18565         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18566         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18567         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18569         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18570         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18571         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18572         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18573         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18574         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18575         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18576         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18577         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18578         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18579         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18580         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18581         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18582         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18583         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18584         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18585         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18586         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18587         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18588         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18589         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18590         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18591         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18592         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18593         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18594         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18595         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18596         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18597         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18598         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18599         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18600         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18601         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18602         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18603         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18604         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18605         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18606         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18607         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18608         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18609         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18610         (__isnanf): Likewise.
18611         (__isinf_ns): Likewise.
18612         (__isinf_nsf): Likewise.
18613         (__finite): Likewise.
18614         (__finitef): Likewise.
18615         (__ieee754_sqrt): Define as macro.
18616         (__ieee754_sqrtf): Define as macro.
18617         (__ieee754_sqrtl): Define as macro.
18618         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18619         inlined copy.
18620         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18621         __FINITE_MATH_ONLY__ consistent.
18622         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18624 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18626         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18627         of rawmemchr.
18629         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18631 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18633         * po/ja.po: Update from translation team.
18635 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18637         * locale/programs/locarchive.c (prepare_address_space): New function.
18638         (create_archive, enlarge_archive, open_archive): Use it.
18640         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18641         inside [SHARED], where it is used.
18643         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18645         * nss/getent.c (netgroup_keys): Remove unused variable.
18646         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18648 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18650         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18651         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18653         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18654         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18655         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18656         * math/Makefile (libm-calls): Add s_isinf_ns.
18657         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18658         * math/multc3.c: Likewise.
18659         * math/s_casin.c: Likewise.
18660         * math/s_casinf.c: Likewise.
18661         * math/s_casinl.c: Likewise.
18662         * math/s_ccos.c: Likewise.
18663         * math/s_ccosf.c: Likewise.
18664         * math/s_ccosl.c: Likewise.
18665         * math/s_ctan.c: Likewise.
18666         * math/s_ctanf.c: Likewise.
18667         * math/s_ctanh.c: Likewise.
18668         * math/s_ctanhf.c: Likewise.
18669         * math/s_ctanhl.c: Likewise.
18670         * math/s_ctanl.c: Likewise.
18671         * math/w_fmod.c: Likewise.
18672         * math/w_fmodf.c: Likewise.
18673         * math/w_fmodl.c: Likewise.
18674         * math/w_remainder.c: Likewise.
18675         * math/w_remainderf.c: Likewise.
18676         * math/w_remainderl.c: Likewise.
18677         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18678         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18679         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18680         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18681         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18682         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18683         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18684         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18686         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18687         of the number.
18688         * stdio-common/printf_fphex.c: Likewise.
18689         * stdio-common/printf_size.c: Likewise.
18691         * math/e_exp10.c: Include math_private.h using <...> not "...".
18692         * math/e_exp10f.c: Likewise.
18693         * math/e_exp10l.c: Likewise.
18694         * math/e_exp2l.c: Likewise.
18695         * math/e_j0l.c: Likewise.
18696         * math/e_j1l.c: Likewise.
18697         * math/e_jnl.c: Likewise.
18698         * math/e_lgammal_r.c: Likewise.
18699         * math/e_rem_pio2l.c: Likewise.
18700         * math/e_scalb.c: Likewise.
18701         * math/e_scalbf.c: Likewise.
18702         * math/e_scalbl.c: Likewise.
18703         * math/k_cosl.c: Likewise.
18704         * math/k_sinl.c: Likewise.
18705         * math/k_tanl.c: Likewise.
18706         * math/s_cacoshf.c: Likewise.
18707         * math/s_catan.c: Likewise.
18708         * math/s_catanf.c: Likewise.
18709         * math/s_catanh.c: Likewise.
18710         * math/s_catanhf.c: Likewise.
18711         * math/s_catanhl.c: Likewise.
18712         * math/s_catanl.c: Likewise.
18713         * math/s_ccosh.c: Likewise.
18714         * math/s_ccoshf.c: Likewise.
18715         * math/s_ccoshl.c: Likewise.
18716         * math/s_cexp.c: Likewise.
18717         * math/s_cexpf.c: Likewise.
18718         * math/s_cexpl.c: Likewise.
18719         * math/s_clog.c: Likewise.
18720         * math/s_clog10.c: Likewise.
18721         * math/s_clog10f.c: Likewise.
18722         * math/s_clog10l.c: Likewise.
18723         * math/s_clogf.c: Likewise.
18724         * math/s_clogl.c: Likewise.
18725         * math/s_csin.c: Likewise.
18726         * math/s_csinf.c: Likewise.
18727         * math/s_csinh.c: Likewise.
18728         * math/s_csinhf.c: Likewise.
18729         * math/s_csinhl.c: Likewise.
18730         * math/s_csinl.c: Likewise.
18731         * math/s_csqrt.c: Likewise.
18732         * math/s_csqrtf.c: Likewise.
18733         * math/s_csqrtl.c: Likewise.
18734         * math/s_ctan.c: Likewise.
18735         * math/s_ctanf.c: Likewise.
18736         * math/s_ctanh.c: Likewise.
18737         * math/s_ctanhf.c: Likewise.
18738         * math/s_ctanhl.c: Likewise.
18739         * math/s_ctanl.c: Likewise.
18740         * math/s_ldexp.c: Likewise.
18741         * math/s_ldexpf.c: Likewise.
18742         * math/s_ldexpl.c: Likewise.
18743         * math/s_significand.c: Likewise.
18744         * math/s_significandf.c: Likewise.
18745         * math/s_significandl.c: Likewise.
18746         * math/w_acos.c: Likewise.
18747         * math/w_acosf.c: Likewise.
18748         * math/w_acosh.c: Likewise.
18749         * math/w_acoshf.c: Likewise.
18750         * math/w_acoshl.c: Likewise.
18751         * math/w_acosl.c: Likewise.
18752         * math/w_asin.c: Likewise.
18753         * math/w_asinf.c: Likewise.
18754         * math/w_asinl.c: Likewise.
18755         * math/w_atan2.c: Likewise.
18756         * math/w_atan2f.c: Likewise.
18757         * math/w_atan2l.c: Likewise.
18758         * math/w_atanh.c: Likewise.
18759         * math/w_atanhf.c: Likewise.
18760         * math/w_atanhl.c: Likewise.
18761         * math/w_cosh.c: Likewise.
18762         * math/w_coshf.c: Likewise.
18763         * math/w_coshl.c: Likewise.
18764         * math/w_dremf.c: Likewise.
18765         * math/w_exp10.c: Likewise.
18766         * math/w_exp10f.c: Likewise.
18767         * math/w_exp10l.c: Likewise.
18768         * math/w_exp2.c: Likewise.
18769         * math/w_exp2f.c: Likewise.
18770         * math/w_fmod.c: Likewise.
18771         * math/w_fmodf.c: Likewise.
18772         * math/w_fmodl.c: Likewise.
18773         * math/w_hypot.c: Likewise.
18774         * math/w_hypotf.c: Likewise.
18775         * math/w_hypotl.c: Likewise.
18776         * math/w_j0.c: Likewise.
18777         * math/w_j0f.c: Likewise.
18778         * math/w_j0l.c: Likewise.
18779         * math/w_j1.c: Likewise.
18780         * math/w_j1f.c: Likewise.
18781         * math/w_j1l.c: Likewise.
18782         * math/w_jn.c: Likewise.
18783         * math/w_jnf.c: Likewise.
18784         * math/w_jnl.c: Likewise.
18785         * math/w_lgamma.c: Likewise.
18786         * math/w_lgamma_r.c: Likewise.
18787         * math/w_lgammaf.c: Likewise.
18788         * math/w_lgammaf_r.c: Likewise.
18789         * math/w_lgammal.c: Likewise.
18790         * math/w_lgammal_r.c: Likewise.
18791         * math/w_log.c: Likewise.
18792         * math/w_log10.c: Likewise.
18793         * math/w_log10f.c: Likewise.
18794         * math/w_log10l.c: Likewise.
18795         * math/w_log2.c: Likewise.
18796         * math/w_log2f.c: Likewise.
18797         * math/w_log2l.c: Likewise.
18798         * math/w_logf.c: Likewise.
18799         * math/w_logl.c: Likewise.
18800         * math/w_pow.c: Likewise.
18801         * math/w_powf.c: Likewise.
18802         * math/w_powl.c: Likewise.
18803         * math/w_remainder.c: Likewise.
18804         * math/w_remainderf.c: Likewise.
18805         * math/w_remainderl.c: Likewise.
18806         * math/w_scalb.c: Likewise.
18807         * math/w_scalbf.c: Likewise.
18808         * math/w_scalbl.c: Likewise.
18809         * math/w_sinh.c: Likewise.
18810         * math/w_sinhf.c: Likewise.
18811         * math/w_sinhl.c: Likewise.
18812         * math/w_sqrt.c: Likewise.
18813         * math/w_sqrtf.c: Likewise.
18814         * math/w_sqrtl.c: Likewise.
18815         * math/w_tgamma.c: Likewise.
18816         * math/w_tgammaf.c: Likewise.
18817         * math/w_tgammal.c: Likewise.
18819         * po/ja.po: Update from translation team.
18821 2011-09-29  Andreas Jaeger  <aj@suse.de>
18823         [BZ #13179]
18824         * sunrpc/netname.c (netname2host): Fix logic.
18826         [BZ #6779]
18827         [BZ #6783]
18828         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18829         correctly.
18830         * math/w_remainder.c (__remainder): Likewise.
18831         * math/w_remainderf.c (__remainderf): Likewise.
18832         * math/libm-test.inc (remainder_test): Add test cases.
18834 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18836         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18837         sdiv_qrnnd.
18839 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18841         * string/test-memcmp.c: Avoid unncessary #defines.
18842         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18844 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18846         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18847         Use new sse2 version for core i3 - i7 as it's faster
18848         than sse42 version.
18849         (bit_Prefer_PMINUB_for_stringop): New.
18850         * sysdeps/x86_64/rawmemchr.S: Update.
18851         Replace with faster SSE2 version.
18852         * sysdeps/x86_64/memrchr.S: New file.
18853         * sysdeps/x86_64/memchr.S: Update.
18854         Replace with faster SSE2 version.
18856 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18858         * elf/dl-load.c (lose): Add cast to avoid warning.
18860 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18862         * po/ca.po: Update from translation team.
18864         * inet/getnetgrent_r.c: Hook up nscd.
18865         * nscd/Makefile (routines): Add nscd_netgroup.
18866         (nscd-modules): Add netgroupcache.
18867         (CFLAGS-netgroupcache.c): Define.
18868         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18869         (cache_search): Add const to second parameter.
18870         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18871         INNETGR.
18872         (dbs): Add netgrdb entry.
18873         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18874         (verify_persistent_db): Handle netgrdb.
18875         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18876         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18877         GETFDNETGR.
18878         (netgroup_response_header): Define.
18879         (innetgroup_response_header): Define.
18880         (datahead): Add netgroup_response_header and innetgroup_response_header
18881         elements.
18882         * nscd/nscd.conf: Add entries for netgroup cache.
18883         * nscd/nscd.h (dbtype): Add netgrdb.
18884         (_PATH_NSCD_NETGROUP_DB): Define.
18885         (netgroup_iov_disabled): Declare.
18886         (xmalloc, xcalloc, xrealloc): Move declarations here.
18887         (cache_search): Adjust prototype.
18888         Add netgroup-related prototypes.
18889         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18890         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18891         (__nscd_innetgr): Declare.
18892         * nscd/selinux.c (perms): Use access_vector_t as element type and
18893         add netgroup-related initializers.
18894         * nscd/netgroupcache.c: New file.
18895         * nscd/nscd_netgroup.c: New file.
18896         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18897         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18898         For four parameters use innetgr.
18899         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18900         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18901         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18902         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18904         * nscd/connections.c (register_traced_file): Don't register file
18905         for disabled databases.
18907 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18909         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18911         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18912         from tree and freeing node.
18914 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18916         * nss/nsswitch.c (__nss_database_lookup): Handle
18917         nss_parse_service_list out of memory case.
18919 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18921         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18922         out of memory case.
18924 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18926         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18927         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18928         pass it down.
18929         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18930         elf_machine_rela, elf_machine_lazy_rel.
18931         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18932         (ELF_DYNAMIC_DO_REL): Likewise.
18933         (ELF_DYNAMIC_DO_RELA): Likewise.
18934         (ELF_DYNAMIC_RELOCATE): Likewise.
18935         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18936         to ELF_DYNAMIC_DO_REL.
18937         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18938         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18939         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18940         elf_machine_rela.
18941         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18942         skip_ifunc, don't call ifunc function if non-zero.
18943         (elf_machine_rela): Likewise.
18944         (elf_machine_lazy_rel): Likewise.
18945         (elf_machine_lazy_rela): Likewise.
18946         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18947         (elf_machine_lazy_rel): Likewise.
18948         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18949         Likewise.
18950         (elf_machine_lazy_rel): Likewise.
18951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18952         Likewise.
18953         (elf_machine_lazy_rel): Likewise.
18954         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18955         (elf_machine_lazy_rel): Likewise.
18956         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18957         (elf_machine_lazy_rel): Likewise.
18958         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18959         (elf_machine_lazy_rel): Likewise.
18960         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18961         (elf_machine_lazy_rel): Likewise.
18962         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18963         (elf_machine_lazy_rel): Likewise.
18964         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18965         (elf_machine_lazy_rel): Likewise.
18967 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
18969         * nss/nss_files/files-init.c (_nss_files_init): Use static
18970         initialization for all the *_traced_file variables.
18972 2011-09-28  Andreas Schwab  <schwab@redhat.com>
18974         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18976 2011-09-27  Roland McGrath  <roland@hack.frob.com>
18978         [BZ #13226]
18979         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18981 2011-09-27  Andreas Schwab  <schwab@redhat.com>
18983         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18984         Reread the line before reparsing it.
18986 2011-09-26  Andreas Schwab  <schwab@redhat.com>
18988         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18990 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
18991             Maxim Kuvyrkov  <maxim@codesourcery.com>
18992             Joseph Myers  <joseph@codesourcery.com>
18994         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18995         if needed for __stack_chk_guard.
18997 2011-09-19  Roland McGrath  <roland@hack.frob.com>
18999         * sysdeps/posix/spawni.c (script_execute): Always define it.
19000         It will be optimized away if unused.
19001         (maybe_script_execute): New function.
19002         (__spawni): Call it.
19004         * Makerules: Don't include tls.make.
19005         (config-tls): Always set to thread.
19006         * tls.make.c: File removed.
19008 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19010         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19011         * config.make.in (CPPFLAGS-config): New substituted variable.
19013 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19015         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19017         [BZ #13192]
19018         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19019         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19021 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19023         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19024         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19025         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19026         (CALL_FAIL): Likewise.
19027         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19028         (CALL_FAIL): Macro removed.
19029         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19031 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19033         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19034         for __FINITE_MATH_ONLY__ == 1.
19036 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19038         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19039         __ieee754_sqrt instead of sqrt.
19040         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19041         __ieee754_sqrtf instead of sqrtf.
19042         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19043         __floorf instead of floorf.
19044         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19045         __floorf, __truncf instead of floorf, truncf.
19047 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19049         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19051         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19052         __extern_always_inline.
19053         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19054         32-bit.
19056 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19058         * elf/rtld.c (dl_main): Also relocate in dependency order when
19059         doing symbol dependency testing.
19061 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19063         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19064         Always define `refsym'.
19066 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19068         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19069         (__FD_ELT): Renamed from __FDELT.
19070         * misc/bits/select2.h (__FD_ELT): Likewise.
19071         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19072         __FD_MASK instead of __FDELT, __FDMASK.
19073         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19074         Likewise.
19075         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19076         Likewise.
19078         * elf/Makefile (gen-ldd): Fix pattern.
19080         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19081         (init_tls): Likewise.
19083 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19085         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19087 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19089         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19090         `struct cmsghdr *' instead of `void *'.
19091         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19092         Likewise.
19094 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19096         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19097         if non-absolute.
19098         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19099         ldd_rewrite_script.
19101 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19103         * configure.in: Remove --with-tls option.
19104         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19105         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19106         out in case it is missing.
19107         * sysdeps/ia64/elf/configure.in: Likewise.
19108         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19109         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19110         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19111         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19112         * sysdeps/sh/elf/configure.in: Likewise.
19113         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19114         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19115         * sysdeps/x86_64/elf/configure.in: Likewise.
19116         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19117         * sysdeps/mach/hurd/tls.h: Likewise.
19119         [BZ #13067]
19120         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19122         [BZ #13090]
19123         * configure.in: Fix use of AC_INIT.
19125         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19127 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19129         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19130         __set_errno.
19131         * malloc/hooks.c: Likewise.
19133         [BZ #11929]
19134         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19135         variables statically.
19136         (narenas): Initialize.
19137         (list_lock): Initialize.
19138         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19139         initializtion of main_arena and list_lock.  Small cleanups.
19140         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19141         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19142         Add initializers to main_arena and mp_.
19143         (malloc_state): Remove pagesize member.  Change all users to use
19144         GLRO(dl_pagesize).
19146         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19147         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19148         is always initialized.
19150         * malloc/malloc.c: Removed unused configurations and dead code.
19151         * malloc/arena.c: Likewise.
19152         * malloc/hooks.c: Likewise.
19153         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19155         * include/tls.h: Removed.  USE___THREAD must always be defined.
19156         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19157         * elf/dl-libc.c: Likewise.
19158         * elf/dl-tsd.c: Likewise.
19159         * include/errno.h: Likewise.
19160         * include/netdb.h: Likewise.
19161         * include/resolv.h: Likewise.
19162         * inet/herrno-loc.c: Likewise.
19163         * inet/herrno.c: Likewise.
19164         * malloc/arena.c: Likewise.
19165         * malloc/hooks.c: Likewise.
19166         * malloc/malloc.c: Likewise.
19167         * resolv/res-state.c: Likewise.
19168         * resolv/res_libc.c: Likewise.
19169         * sysdeps/i386/dl-machine.h: Likewise.
19170         * sysdeps/ia64/dl-machine.h: Likewise.
19171         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19172         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19173         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19174         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19175         * sysdeps/sh/dl-machine.h: Likewise.
19176         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19177         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19178         * sysdeps/unix/i386/sysdep.S: Likewise.
19179         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19180         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19185         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19187         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19189         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19190         * sysdeps/x86_64/dl-machine.h: Likewise.
19191         * tls.make.c: Likewise.
19193         * configure.in: Remove --with-__thread option.  Make tests for
19194         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19195         tls_model attribute fail if no support is available.  Remove
19196         USE_IN_LIBIO.
19197         * Makeconfig: Adjust for dropped configure option.  All features are
19198         now mandatory.
19199         * Makerules: Likewise.
19200         * Versions.def: Likewise.
19201         * argp/argp-fmtstream.c: Likewise.
19202         * argp/argp-fmtstream.h: Likewise.
19203         * argp/argp-help.c: Likewise.
19204         * assert/assert.c: Likewise.
19205         * config.h.in: Likewise.
19206         * config.make.in: Likewise.
19207         * configure: Likewise.
19208         * configure.in: Likewise.
19209         * csu/Versions: Likewise.
19210         * csu/init.c: Likewise.
19211         * elf/tst-audit2.c: Likewise.
19212         * elf/tst-tls10.c: Likewise.
19213         * elf/tst-tls10.h: Likewise.
19214         * elf/tst-tls11.c: Likewise.
19215         * elf/tst-tls12.c: Likewise.
19216         * elf/tst-tls14.c: Likewise.
19217         * elf/tst-tlsmod11.c: Likewise.
19218         * elf/tst-tlsmod12.c: Likewise.
19219         * elf/tst-tlsmod13.c: Likewise.
19220         * elf/tst-tlsmod13a.c: Likewise.
19221         * elf/tst-tlsmod14a.c: Likewise.
19222         * elf/tst-tlsmod15b.c: Likewise.
19223         * elf/tst-tlsmod16a.c: Likewise.
19224         * elf/tst-tlsmod16b.c: Likewise.
19225         * elf/tst-tlsmod7.c: Likewise.
19226         * elf/tst-tlsmod8.c: Likewise.
19227         * elf/tst-tlsmod9.c: Likewise.
19228         * gmon/gmon.c: Likewise.
19229         * grp/fgetgrent_r.c: Likewise.
19230         * grp/putgrent.c: Likewise.
19231         * hurd/fopenport.c: Likewise.
19232         * include/libc-symbols.h: Likewise.
19233         * include/tls.h: Likewise.
19234         * intl/gettextP.h: Likewise.
19235         * intl/loadinfo.h: Likewise.
19236         * locale/global-locale.c: Likewise.
19237         * locale/localeinfo.h: Likewise.
19238         * mach/devstream.c: Likewise.
19239         * malloc/arena.c: Likewise.
19240         * malloc/set-freeres.c: Likewise.
19241         * misc/err.c: Likewise.
19242         * misc/getttyent.c: Likewise.
19243         * misc/mntent_r.c: Likewise.
19244         * posix/getopt.c: Likewise.
19245         * posix/wordexp.c: Likewise.
19246         * pwd/fgetpwent_r.c: Likewise.
19247         * resolv/Versions: Likewise.
19248         * resolv/res_hconf.c: Likewise.
19249         * shadow/fgetspent_r.c: Likewise.
19250         * shadow/putspent.c: Likewise.
19251         * stdio-common/printf_fphex.c: Likewise.
19252         * stdio-common/tmpfile.c: Likewise.
19253         * stdlib/abort.c: Likewise.
19254         * stdlib/fmtmsg.c: Likewise.
19255         * sunrpc/auth_unix.c: Likewise.
19256         * sunrpc/clnt_perr.c: Likewise.
19257         * sunrpc/clnt_tcp.c: Likewise.
19258         * sunrpc/clnt_udp.c: Likewise.
19259         * sunrpc/clnt_unix.c: Likewise.
19260         * sunrpc/openchild.c: Likewise.
19261         * sunrpc/svc_simple.c: Likewise.
19262         * sunrpc/svc_tcp.c: Likewise.
19263         * sunrpc/svc_udp.c: Likewise.
19264         * sunrpc/svc_unix.c: Likewise.
19265         * sunrpc/xdr.c: Likewise.
19266         * sunrpc/xdr_array.c: Likewise.
19267         * sunrpc/xdr_rec.c: Likewise.
19268         * sunrpc/xdr_ref.c: Likewise.
19269         * sunrpc/xdr_stdio.c: Likewise.
19271 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19273         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19275 2011-07-03  Andreas Jaeger  <aj@suse.de>
19277         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19278         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19279         regenerate with gen-libm-tests.pl.
19281 2010-05-12  Petr Baudis  <pasky@suse.cz>
19283         [BZ #11589]
19284         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19285         around j0() zero points by switching to j1().
19286         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19287         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19288         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19289         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19291 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19293         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19294         instead of 0.
19295         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19296         instead of 0.                              .
19297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19298         Patch in part by Pavel Roskin <proski@gnu.org>.
19300         [BZ #13138]
19301         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19302         realloc.
19303         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19304         Free memory block if necessary.
19306         [BZ #12847]
19307         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19308         be NULL.  Don't lock in this case.
19310 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19312         * elf/elf.h (ELFOSABI_GNU): New macro.
19313         (ELFOSABI_LINUX): Define to that.
19315 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19317         * string/strncat.c (strncat): Undef the symbol in case it has been
19318         defined in bits/string.h.
19320 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19322         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19324         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19325         link map.
19327 2011-08-17  Andreas Jaeger  <aj@suse.de>
19329         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19331 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19332             Ian Lance Taylor  <iant@google.com>
19334         * math/libm-test.inc (lround_test): New testcase.
19335         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19337 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19339         * Makefile: Remove support for automatic cvs check-ins.
19340         * Makerules: Likewise.
19341         * config.make.in: Likewise.
19342         * configure.in: Likewise.
19343         * intl/Makefile: Likewise.
19344         * locale/Makefile: Likewise.
19345         * po/Makefile: Likewise.
19346         * posix/Makefile: Likewise.
19347         * sysdeps/gnu/Makefile: Likewise.
19348         * sysdeps/mach/hurd/Makefile: Likewise.
19349         * sysdeps/sparc/sparc32/Makefile: Likewise.
19351         [BZ #13118]
19352         * posix/Makefile (bug-regex32-ENV): Define.
19353         Patch by John Stanley <jpsinthemix@verizon.net>.
19355         * misc/Makefile (headers): Add bits/select2.h.
19356         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19357         * misc/bits/select2.h: New file.
19358         * include/bits/select2.h: New file.
19359         * debug/Makefile (routines): Add fdelt_chk.
19360         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19361         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19362         FD_ISSET.
19363         * debug/fdelt_chk.c: New file.
19365         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19366         * wcsmbs/test-wmemcmp.c: Likewise.
19367         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19368         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19370 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19372         * string/Makefile (strop-tests): Add memcmp.
19373         * string/test-wmemcmp.c: New file.
19374         * string/test-memcmp.c: Add wmemcmp support.
19376 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19378         [BZ #13153]
19379         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19380         2011-07-19 change.
19382         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19383         garbage value in a __mach_port_mod_refs call in the cases of the
19384         task-self and thread-self ports.
19386 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19388         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19390 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19392         * elf/dl-load.c (lose): Check for non-null L.
19394 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19396         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19398         * elf/dl-libc.c (dlerror_run): Pass back error code from
19399         dl_catch_error.
19401         [BZ #13123]
19402         * elf/dl-load.c (lose): Free l_origin if it is valid.
19404         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19405         names.
19406         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19407         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19408         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19409         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19410         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19411         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19413 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19415         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19416         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19417         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19418         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19419         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19420         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19421         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19422         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19423         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19424         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19426 2011-08-15  Alan Modra  <amodra@gmail.com>
19428         [BZ #13092]
19429         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19430         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19431         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19432         ppc_mcount to static-only-routines.
19433         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19434         __mcount_internal.
19435         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19436         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19438 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19440         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19441         for finite and infinity parameters.
19443 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19445         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19446         and add nop instructions for throughput optimization.
19447         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19449 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19451         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19452         aligned copy for power7 with vector-scalar instructions.
19453         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19455 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19458         AVX check.
19460 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19462         [BZ #13144]
19463         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19464         last change.
19466 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19468         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19469         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19470         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19471         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19472         clock_gettime.
19474 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19476         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19477         Forgot to demangle the pointer.
19479         * sysdeps/i386/sysdep.h: Define atom_text_section.
19480         * sysdeps/x86_64/sysdep.h: Likewise.
19481         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19482         section with atom_text_section.
19483         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19484         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19485         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19487         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19489         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19490         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19491         already be defined.  Change to take two parameters and don't assign
19492         result to variable.  Adjust all users.
19493         Define INTERNAL_GETTIME if not already defined.
19494         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19495         call.
19496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19497         HAVE_CLOCK_GETTIME_VSYSCALL.
19498         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19500         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19501         gettimeofday vsyscall, just use time.
19503 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19505         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19506         <errno.h>.
19508 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19510         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19511         syscall on x86-64.
19512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19513         syscall.
19514         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19515         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19516         syscall if possible.
19518 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19520         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19521         e_ident.  Don't pass to find_mapsXX.
19522         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19524 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19527         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19528         * sysdeps/x86_64/multiarch/strchr.S: Update.
19529         Check bit_slow_BSF bit.
19530         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19531         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19532         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19534 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19536         [BZ #13134]
19537         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19538         before glibc 2.15.
19539         (tryshell): Define.
19540         (__spawni): Change last parameter to be flag.  Test
19541         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19542         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19543         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19544         * posix/spawni.c: Likewise.
19545         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19546         * posix/spawnp.c: Likewise.  Change normal version to use
19547         SPAWN_XFLAGS_USE_PATH.
19548         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19549         SPAWN_XFLAGS_TRY_SHELL.
19551         [BZ #13150]
19552         * posix/glob.h: Remove gcc 1.x support.
19554         [BZ #13068]
19555         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19557 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19560         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19561         strrchr-sse2-bsf
19562         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19563         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19564         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19565         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19566         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19567         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19569 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19571         * sysdeps/x86_64/wcscmp.S: New file.
19573         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19574         wcscmp-c wcscmp-sse2
19575         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19576         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19577         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19578         * wcsmbs/wcscmp.c: Allow renaming.
19580 2011-09-05  David S. Miller  <davem@davemloft.net>
19582         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19583         stack slot, rather than the struct return pointer slot.
19584         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19585         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19587         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19589 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19591         * po/ja.po: Update from translation team.
19593         [BZ #13144]
19594         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19595         kernel in 64-bit binaries.
19597 2011-09-01  David S. Miller  <davem@davemloft.net>
19599         * elf/elf.h (HWCAP_SPARC_*): Move to..
19600         * sysdeps/sparc/sysdep.h: this new file and add new values.
19601         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19602         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19603         _DL_HWCAP_COUNT to 24.
19604         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19605         entries.
19606         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19607         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19608         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19609         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19610         instead of magic constants.
19611         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19613 2011-08-31  David S. Miller  <davem@davemloft.net>
19615         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19616         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19617         Reimplement to do errno handling inline.
19618         (SYSCALL_ERROR_HANDLER): New macro.
19619         (__SYSCALL_STRING): Do not do errno handling in asm.
19620         (__CLONE_SYSCALL_STRING): Delete.
19621         (__INTERNAL_SYSCALL_STRING): Delete.
19622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19623         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19624         (PSEUDO): Reimplement to do errno handling inline.
19625         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19626         (SYSCALL_ERROR_HANDLER): New macro.
19627         (__SYSCALL_STRING): Do not do errno handling in asm.
19628         (__CLONE_SYSCALL_STRING): Delete.
19629         (__INTERNAL_SYSCALL_STRING): Delete.
19630         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19631         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19632         i386.
19633         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19634         (inline_syscall*): Add 'err' argument.
19635         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19636         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19637         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19638         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19640         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19641         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19643 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19645         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19647 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19649         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19650         directive.
19652 2011-08-24  David S. Miller  <davem@davemloft.net>
19654         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19656 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19658         * elf/Makefile: Add rules to build and run unload8 test.
19659         * elf/unload8.c: New file.
19660         * elf/unload8mod1.c: New file.
19661         * elf/unload8mod1x.c: New file.
19662         * elf/unload8mod2.c: New file.
19663         * elf/unload8mod3.c: New file.
19665         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19666         it wasn't used.
19668 2011-08-23  David S. Miller  <davem@davemloft.net>
19670         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19671         subtract stack bias.
19672         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19673         %sp not %fp in calculations.
19674         (_JMPBUF_UNWINDS_ADJ): Likewise.
19676         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19677         (aio_suspend): Call it to force an exception region around the
19678         AIO_MISC_WAIT() invocation.
19680 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19682         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19683         backslash.
19685 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19687         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19688         protection macro.
19689         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19690         and <dl-machine.h>.
19691         (Elf64_FuncDesc): Remove.
19693 2011-08-22  David S. Miller  <davem@davemloft.net>
19695         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19696         sigaltstack check, add missing cfi directives.
19697         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19698         missing cfi directives, and sigaltstack handling.
19700 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19702         [BZ #11724]
19703         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19704         object is seen twice.
19705         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19707         * elf/Makefile (distribute): Add tst-initorder2.c.
19708         (tests): Add tst-initorder2.
19709         (modules-names): Add tst-initorder2a tst-initorder2b
19710         tst-initorder2c tst-initorder2d.  Add rules to build them.
19711         ($(objpfx)tst-initorder2.out): New rule.
19712         * elf/tst-initorder2.c: New file.
19713         * elf/tst-initorder2.exp: New file.
19715 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19717         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19719         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19720         dependencies back to end of function.
19722         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19723         $(elfobjdir)/ld.so.
19725 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19727         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19728         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19729         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19730         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19731         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19732         of __vdso_gettimeofday.
19733         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19734         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19735         attribute_hidden.
19736         (_libc_vdso_platform_setup): Remove initialization of
19737         __vdso_gettimeofday and __vdso_time.
19739 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19741         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19742         and fgetc_unlocked.
19743         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19744         getc_unlocked.
19746         * elf/dl-open.c (add_to_global): Report additions to the global scope
19747         for LD_DEBUG=scopes.
19748         (dl_open_worker): Also print scope of newly loaded dependencies.
19749         (_dl_show_scope): Indicate if there is no scope.
19751         [BZ #13114]
19752         * stdio-common/Makefile (tests): Add bug24.
19753         * stdio-common/bug24.c: New file.
19755 2011-08-19  Andreas Jaeger  <aj@suse.de>
19757         [BZ #13114]
19758         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19759         non-existant file when using close-on-exec mode.
19761 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19763         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19764         the very first instruction.
19766         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19767         the CFI state in the end.
19768         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19769         inclusion of dl-trampoline.h.
19770         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19772 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19774         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19775         expectations for long double.
19777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19778         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19780 2011-08-14  David S. Miller  <davem@davemloft.net>
19782         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19783         artificual limit depends upon the system page size.
19785 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19787         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19788         * resolv/Makefile: Define CFLAGS-libresolv.
19790 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19792         * nss/makedb.c (compute_tables): Make variables used in nested
19793         function static.
19795 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19797         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19798         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19799         if buffer was too small.
19801         * elf/pldd.c (main): Attach to all threads in the process.
19802         Rewrite /proc handling to use *at functions.
19804 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19806         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19807         specifies first scope to show.
19808         (dl_open_worker): Update callers.  Move printing scope of new
19809         object to before the relocation.
19810         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19811         * sysdeps/generic/ldsodefs.h: Update declaration.
19813         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19814         string for the scope number.
19816 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19818         * nscd/servicescache.c (cache_addserv): Make sure written is always
19819         initialized.
19821 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19823         * sysdeps/i386/i486/bits/atomic.h
19824         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19825         statement expression, so as to suppress "set but not used" warning.
19826         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19828         * string/strncat.c (STRNCAT): Use prototype definition.
19830         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19831         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19832         -Iprograms here.
19833         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19834         (localedef-modules): Add localedef.
19835         (locale-modules): Add locale.
19837         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19838         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19839         to avoid a warning.
19841 2011-08-14  David S. Miller  <davem@davemloft.net>
19843         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19844         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19846 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19848         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19849         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19850         * elf/rtld.c (dl_main): Set l_name of vDSO.
19851         Call _dl_show_scope when DL_DEBUG_SCOPES.
19852         (process_dl_debug): Recognize scopes flag and also set it for all.
19853         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19854         Declare _dl_show_scope.
19856         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19857         (do_dlopen): Pass caller_dlopen to dl_open.
19858         (__libc_dlopen_mode): Initialize caller_dlopen.
19860         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19861         of libc.  Make tolower call locale-independent.  Optimize a bit by
19862         using isdigit instead of isalnum.
19863         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19865 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19867         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19868         was a dependency or dynamically loaded.
19870 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19872         * intl/l10nflist.c: Allow architecture-specific pop function.
19873         * sysdeps/x86_64/l10nflist.c: New file.
19875         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19876         classification.
19878 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19880         * include/dirent.h: Add libc_hidden_proto for scandirat and
19881         scandirat64.  Don't declare __scandirat64.
19882         * dirent/scandirat.c: Add libc_hidden_def.
19883         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19884         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19886 2011-08-10  David S. Miller  <davem@davemloft.net>
19888         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19889         enum.
19890         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19891         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19892         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19894 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19896         * Versions.def [libc]: Add GLIBC_2.15.
19897         * dirent/Makefile (routines): Add scandirat and scandirat64.
19898         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19899         GLIBC_2.15.
19900         * dirent/dirent.h: Declare scandirat and scandirat64.
19901         * dirent/scandirat.c: New file.
19902         * dirent/scandirat64.c: New file.
19903         * sysdeps/wordsize-64/scandirat.c: New file.
19904         * sysdeps/wordsize-64/scandirat64.c: New file.
19905         * dirent/opendir.c: Define opendirat.
19906         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19907         using scandirat.
19908         * dirent/scandir64.c: Adjust for scandir.c change.
19909         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19910         __scandirat64, and __scandir_cancel_handler.
19911         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19912         additional parameter and use openat instead of open (outside of ld.so).
19913         Add new __opendir as wrapper around __opendirat.
19914         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19915         here without requiring old scandirat implementation.
19917 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19919         * dirent/scandir.c (cancel_handler): Renamed to
19920         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19921         defined.  Adjust users.
19922         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19923         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19925 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19927         * string/test-string.h (IMPL): Use __STRING to expand name and then
19928         stringify it.
19930         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19931         of cleanups.
19933 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19935         * string/Makefile: Update.
19936         (strop-tests): Append strncat.
19937         * string/test-wcscmp.c: New file.
19938         New comprehensive test for wcscmp.
19939         * string/test-strcmp.c: Update.
19940         (WIDE): New define.
19942 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19944         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19945         line.
19947 2011-07-26  Andreas Schwab  <schwab@redhat.com>
19949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19950         encoding to ACE if AI_IDN.
19952 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
19954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19955         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19957 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19959         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19960         Fix overflow bug in strncat.
19961         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19963         * string/test-strncat.c: Update.
19964         Add new tests for checking overflow bugs.
19966 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19968         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19969         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19970         * sysdeps/i386/i686/multiarch/strcat.S: New file.
19971         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19973         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19974         * sysdeps/i386/i686/multiarch/strncat.S: New file.
19975         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19976         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19978         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19979         (USE_AS_STRCAT): Define.
19980         Add strcat and strncat support.
19981         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19983 2011-07-25  Andreas Schwab  <schwab@redhat.com>
19985         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19986         __n bigger than INT_MAX+1.
19987         (__strncmp_g): Likewise.
19989 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
19991         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19992         * libio/stido.h: Likewise.
19994         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19995         (AF_NFC): Define.
19996         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19997         (AF_NFC): Define.
19999         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20000         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20001         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20002         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20003         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20005         [BZ #13021]
20006         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20007         installed.
20009         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20010         typo.
20011         (_dl_x86_64_save_sse): Likewise.
20013 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20016         OSXSAVE.
20017         (_dl_x86_64_save_sse): Likewise.
20019         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20021         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20023 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20025         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20026         change.
20027         (_dl_x86_64_save_sse): Use correct AVX check.
20029 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20031         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20032         bug in strncpy/strncat.
20033         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20035 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20037         * string/tester.c (test_strcat): Add tests for different alignments
20038         of source and destination.
20039         (test_strncat): Likewise.
20041 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20043         [BZ #12852]
20044         * posix/glob.c (glob): Check passed in values before using them in
20045         expressions to avoid some overflows.
20046         (glob_in_dir): Likewise.
20048         [BZ #13007]
20049         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20050         check for AVX enablement so that we don't crash with old kernels and
20051         new hardware.
20052         * elf/tst-audit4.c: Add same checks here.
20053         * elf/tst-audit6.c: Likewise.
20055         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20057 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20059         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20061 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20063         * po/cs.po: Update from translation team.
20064         * po/bg.po: Likewise.
20066 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20068         * misc/sys/cdefs.h: Add support for const attribute.
20069         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20070         to gnu_dev_{major,minor,makedev} functions.
20072 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20074         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20076 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20078         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20079         strlen results.
20081 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20084         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20085         register in order to avoid conflicts with the soft frame pointer
20086         being held in r11 when necessary.
20087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20088         (INTERNAL_VSYSCALL_NCS): Likewise.
20090 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20092         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20093         * elf/dl-fini.c (_dl_fini): Adjust caller.
20094         * elf/dl-close.c (_dl_close_worker): Likewise.
20095         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20097 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20099         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20100         "aux_cache->nlibs < 0".
20102         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20103         in the reload-count case.
20105 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20108         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20109         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20110         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20111         * sysdeps/x86_64/multiarch/strcat.S: New file.
20112         * sysdeps/x86_64/multiarch/strncat.S: New file.
20113         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20114         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20115         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20116         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20117         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20118         (USE_AS_STRCAT): Define.
20119         Add strcat and strncat support.
20120         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20121         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20122         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20123         * string/strncat.c: Update.
20124         (USE_AS_STRNCAT): Define.
20125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20126         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20127         and i7.
20128         * sysdeps/x86_64/multiarch/init-arch.h
20129         (bit_Prefer_PMINUB_for_stringop): New.
20130         (index_Prefer_PMINUB_for_stringop): Likewise.
20131         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20132         bit_Prefer_PMINUB_for_stringop.
20134 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20136         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20137         buffer64.
20138         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20139         of casting of buffer.
20140         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20141         buffer32 and buffer64.
20142         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20143         writes instead of casting of buffer.
20144         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20145         buffer32.
20146         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20147         casting of buffer.
20149 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20151         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20153 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20155         * nscd/nscd.c (termination_handler): Don't do anything for a database
20156         if it has not yet been initialized.
20158 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20160         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20162 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20164         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20166 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20168         * po/nl.po: Update from translation team.
20169         * po/sv.po: Likewise.
20171 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20173         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20174         now disallowed by GCC.
20176         * configure.in (use-default-link): Default to yes if a test -shared
20177         link meets our qualifications.
20178         * configure: Regenerated.
20180         * config.make.in (output-format): New variable.
20181         * configure.in: Check for ld --print-output-format support.
20182         * configure: Regenerated.
20183         * Makerules ($(common-objpfx)format.lds)
20184         [$(output-format) != unknown]: Just use $(output-format),
20185         instead of the linker-script munging.
20187 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20189         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20190         of $(common-objpfx)shlib.lds.
20191         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20193         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20194         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20196         * configure.in (-z relro check): Adjust test code to add a large
20197         writable data section after it.
20198         * configure: Regenerated.
20200 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20202         * configure.in (-z relro check): Fix test code to make the variable
20203         truly const.
20204         * configure: Regenerated.
20206 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20208         * nscd/nscd.h (struct traced_file): Define.
20209         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20210         elements.  Add traced_files.
20211         (inotify_fd): Declare.
20212         (register_traced_file): Declare.
20213         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20214         (inotify_fd): Export.
20215         (resolv_conf_descr): Remove.
20216         (nscd_init): Move inotify descriptor creation to main.
20217         Don't register files for notification here.
20218         (register_traced_file): New function.
20219         (invalidate_cache): Don't use reset_res to determine whether to call
20220         res_init, go through the list of registered files.
20221         (main_loop_poll): The inotify descriptors are now stored in the
20222         structures for the traced files.
20223         (main_loop_epoll): Likewise
20224         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20225         to __nss_disable_nscd.
20226         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20227         for a database anymore.  Check the records for all the registered
20228         files instead.
20229         * nss/Makefile (libnss_files-routines): Add files-init.
20230         (libnss_db-routines): Add db-init.
20231         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20232         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20233         * nss/nss_db/db-init.c: New file.
20234         * nss/nss_files/files-init.c: New file.
20235         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20236         __nss_lookup_function.
20237         (__nss_lookup_function): Call nss_load_library.
20238         (nss_load_all_libraries): New function.
20239         (__nss_disable_nscd): Take parameter with callback function for files
20240         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20241         used for the cached services.
20242         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20243         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20244         options for features to all the files in nscd.
20246         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20248 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20250         * csu/elf-init.c (__libc_csu_init): Comment typo.
20252 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20254         * po/pl.po: Update from translation team.
20255         * po/ja.po: Likewise.
20256         * po/ru.po: Likewise.
20257         * po/ko.po: Likewise.
20258         * po/fr.po: Likewise.
20260 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20262         * configure.in (.ctors/.dtors header and trailer check):
20263         Use an empirical test on a built program.
20264         * configure: Regenerated.
20266         * configure.in (-z relro check): Use an empirical test on a built DSO.
20267         Detect, but do not require, on ia64.
20268         * configure: Regenerated.
20270         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20271         Update tests that use readelf to use $READELF instead.
20272         * configure: Regenerated.
20274 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20276         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20277         if the result is not used.
20279 2011-07-05  Andreas Jaeger  <aj@suse.de>
20281         [BZ#9696]
20282         * stdlib/tst-strtod.c: Add testcase.
20284 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20286         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20287         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20288         The latter has a higher limit.  Take additional parameter to pass to
20289         the new function.
20290         (__pathconf): Pass file to __statfs_link_max.
20291         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20292         __statfs_link_max.
20293         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20294         __statfs_link_max.
20296         [BZ #12868]
20297         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20298         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20299         Handle Lustre.
20300         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20301         (__statfs_filesize_max): Likewise.
20302         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20304 2011-07-05  Andreas Jaeger  <aj@suse.de>
20306         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20308 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20310         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20311         `status' variable.
20312         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20313         Likewise.
20315 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20317         * Makefile (strop-tests): Add strncat.
20318         * string/test-strncat.c: New file.
20320 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20322         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20324 2011-06-21  Andreas Jaeger  <aj@suse.de>
20326         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20327         Copy rule from iconvdata/Makefile.
20329 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20331         [BZ #12922]
20332         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20333         but no long options are defined, just return 'W'.
20335 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20337         [BZ #9696]
20338         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20340 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20342         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20343         netgroups to read.
20344         (innetgr): Likewise.
20346 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20348         * config.make.in (install_root): Default to $(DESTDIR).
20350 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20352         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20354 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20356         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20358         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20359         containing directory rather than embedding absolute directory names.
20361         * scripts/check-local-headers.sh: Rewritten using awk.
20362         Match by word, not by line.  Print error messages for matches.
20363         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20365         * Makerules [shlib-lds-flags empty]:
20366         ($(common-objpfx)libc_pic.opts): New target.
20367         ($(common-objpfx)libc_pic.os.clean): New target.
20368         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20370         * config.make.in (OBJCOPY): New variable.
20371         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20372         * configure: Regenerated.
20374         * config.make.in (use-default-link): New variable.
20375         * configure.in (use_default_link): Grok --with-default-link to set it.
20376         * configure: Regenerated.
20377         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20378         (shlib-lds, shlib-lds-flags): Define to empty.
20380         * Makerules (shlib-lds): New variable.
20381         (shlib-lds-flags): New variable.
20382         (build-shlib, build-moduile, build-module-asneeded): Use it.
20383         ($(common-objpfx)libc.so): Use $(shlib-lds).
20384         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20385         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20387         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20388         DT_FLAGS/DT_FLAGS_1 with zero flags.
20390         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20391         linker script munging.
20393 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20395         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20396         as 128-bit value.
20397         * crypt/sha512.c (sha512_process_block): Perform total addition using
20398         128-bit if possible.
20399         (__sha512_finish_ctx): Likewise.
20400         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20401         as 64-bit value.
20402         * crypt/sha256.c (SWAP64): Define.
20403         (sha256_process_block): Perform total addition using 64-bit if
20404         possible.
20405         (__sha256_finish_ctx): Likewise.
20407 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20409         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20410         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20411         * nscd/hstcache.c (cache_addhst): Likewise.
20412         * nscd/grpcache.c (cache_addgr): Likewise.
20413         * nscd/aicache.c (addhstaiX): Likewise
20414         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20416 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20418         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20419         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20420         * nscd/hstcache.c (cache_addhst): Likewise.
20421         * nscd/grpcache.c (cache_addgr): Likewise.
20422         * nscd/aicache.c (addhstaiX): Likewise
20424 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20426         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20427         domain only when needed.
20429 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20432         is always restored.
20434 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20436         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20437         are re-adding the entry.
20438         * nscd/servicescache.c (cache_addserv): Likewise.
20440 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20442         * sysdeps/generic/dl-irel.h: fix protection against multiple
20443         inclusions.
20444         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20446 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20448         [BZ #12935]
20449         * malloc/memusage.sh: Fix quoting in message.
20450         * debug/xtrace.sh: Likewise.
20452         * configure.in: Remove support for --experimental-malloc option, make
20453         it the default.
20454         * config.make.in: Likewise.
20455         * malloc/Makefile: Likewise.
20457 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20459         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20460         two-byte characters.
20462 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20464         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20465         AC_CACHE_CHECK invocation.
20466         * configure: Regenerated.
20468         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20470 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20472         [BZ #12350]
20473         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20474         bit from old_res_options.
20476         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20478         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20479         value type for setfct.
20481 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20483         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20484         __gettimeofday instead of gettimeofday.
20486 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20488         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20490 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20492         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20494         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20495         info.
20497 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20500         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20501         strcpy-sse2-unaligned strncpy-sse2-unaligned
20502         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20503         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20504         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20505         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20506         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20507         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20508         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20509         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20510         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20511         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20512         (STRCPY): Support SSE2 and SSSE3 versions.
20514 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20516         [BZ #12874]
20517         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20518         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20519         kernels which artificially limit size of requests.
20521 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20524         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20525         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20526         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20527         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20528         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20529         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20530         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20531         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20532         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20533         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20534         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20535         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20536         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20537         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20539         Enable unaligned load optimization for Intel Core i3, i5 and i7
20540         processors.
20541         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20542         Define.
20543         (index_Fast_Unaligned_Load): Define.
20544         (HAS_FAST_UNALIGNED_LOAD): Define.
20546 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20548         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20550 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20552         [BZ #12907]
20553         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20554         until it is clear that the information is realy needed.
20555         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20557 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20561 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20563         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20564         /sys/devices/system/cpu/online if it is usable.
20566         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20567         reading the information from the /proc filesystem to once a second.
20569 2011-06-21  Andreas Jaeger  <aj@suse.de>
20571         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20572         NULL after inclusion of kernel headers.
20574 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20576         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20577         calls to internal_setent.
20579         [BZ #12885]
20580         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20581         addresses using gethostbyname4_r ignore IPv4 addresses.
20583         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20584         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20586         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20588 2011-06-20  David S. Miller  <davem@davemloft.net>
20590         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20591         inclusions.
20592         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20594         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20595         (elf_irel): Use it.
20596         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20597         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20598         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20599         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20600         * sysdeps/x86_64/dl-irel.h: Likewise.
20602         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20603         * elf/dl-sym.c: Likewise.
20605 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20607         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20608         need to dereference resplen2.
20610 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20612         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20614 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20616         * Makeconfig: Define vardbdir and inst_vardbdir.
20617         * nss/Makefile: Add rules to install db-Makefile.
20619         * nss/nss_db/db-XXX.c: Cleanup.
20621         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20622         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20623         GLIBC_PRIVATE.
20624         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20625         * nss/makedb.c: Implement -g option to specify that value strings
20626         are generated and should not be added to table iterated over for
20627         get*ent calls.
20628         * nss/nss_db/db-initgroups.c: New file.
20630         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20631         interface.
20633         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20634         (internal_getgrouplist): Adjust to name change.
20635         Update use_initgroups_entry if this is not the first call.
20636         * nss/databases.def: Add initgroups entry.
20638         * nss/makedb.c (compute_tables): Check result of multiple hash table
20639         sizes to minimize maximum chain length.
20641 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20643         * Versions.def: Add entry for libnss_db.
20644         * shlib-versions: Likewise.
20645         * nss/Makefile: Add rules to build libnss_db.
20646         * nss/Versions: Add libnss_db information.  Organize libnss_files
20647         entries better.
20648         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20649         makedb progra.  Some minor improvements to generate smaller files.
20650         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20651         here from...
20652         * nss/makedb.c: ...here.
20653         Improve database format to be smaller and require less memory at
20654         runtime.
20655         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20656         db anymore.
20657         * nss/nss_db/db-netgrp.c: Likewise.
20658         * nss/nss_db/db-open.c: Likewise.
20659         * nss/nss_files/flies-XXX.x: Adjust comments.
20660         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20661         * nss/nss_files/files-grp.c: Likewise.
20662         * nss/nss_files/files-hosts.c: Likewise.
20663         * nss/nss_files/files-network.c: Likewise.
20664         * nss/nss_files/files-proto.c: Likewise.
20665         * nss/nss_files/files-pwd.c: Likewise.
20666         * nss/nss_files/files-rpc.c: Likewise.
20667         * nss/nss_files/files-service.c: Likewise.
20668         * nss/nss_files/files-sgrp.c: Likewise.
20669         * nss/nss_files/files-spwd.c: Likewise.
20670         * nss/nss_db/db-alias.c: Removed.
20671         * nss/nss_db/dummy-db.h: Removed.
20673 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20675         * nss/makedb.c: Rewritten to not use database library.
20676         * nss/Makefile: Update to build new makedb program.
20678 2011-06-14  Andreas Jaeger  <aj@suse.de>
20680         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20681         memset declaration.
20683 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20686         tmpbuf.
20688 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20690         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20691         * elf/Makefile ($(objpfx)ld.so): Likewise.
20693         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20694         Don't list ld.so twice in dependencies.
20696         * posix/bug-regex31.c: Include <stdlib.h>.
20698         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20700         * nis/nss_compat/compat-spwd.c
20701         (getspent_next_nss_netgr): Remove unused variable.
20702         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20704         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20705         nonmembers" output to use the right array.
20707         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20709         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20711         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20712         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20713         * catgets/gencat.c (read_input_file): Likewise.
20714         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20716         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20717         variable definition inside #if's controlling its use.
20719         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20721         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20723         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20725         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20726         unreachable code.
20728         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20730         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20731         * configure: Regenerated.
20733         * Makerules: Revert last change.
20734         * elf/Makefile: Likewise.
20736 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20738         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20739         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20740         (reloc-link): Likewise.
20742 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20744         * elf/Makefile: Add rules to build pldd.
20745         * elf/pldd.c: New file.
20746         * elf/pldd-xx.c: New file.
20748 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20750         * version.h: Update for 2.15 development version.
20752 2011-06-07  David S. Miller  <davem@davemloft.net>
20754         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20755         ifuncs.
20756         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20757         elf_machine_lazy_rel): Likewise.
20758         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20759         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20760         elf_machine_lazy_rel): Likewise.
20761         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20762         dl_hwcap via passed in argument.
20763         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20764         Likewise.
20766 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20768         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20770 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20772         [BZ #12849]
20773         * manual/fdl-1.1.texi: New file, verbatim from:
20774         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20775         * manual/lgpl-2.1.texi: New file, verbatim from:
20776         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20777         * manual/Makefile (licenses): New variable, list those new file names.
20778         (texis): Use it.
20779         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20781         * manual/fdl.texi: File removed.
20782         * manual/lesser.texi: File removed.
20783         * manual/libc.texinfo (Copying, Documentation License):
20784         Use new @include file names, put @appendix directive before @include.
20786 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20788         [BZ #12841]
20789         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20790         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20791         (mq_open): Add __NTH.
20793 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20796         Assume Intel Core i3/i5/i7 processor if AVX is available.
20798 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20801         typo.
20803 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20805         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20806         memory.  Use alloca_account.  Fix memory leak when retrying.
20808 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20810         * version.h (RELEASE): Bump for 2.14 release.
20811         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20813         * config.make.in (RANLIB): Remove entry.
20815 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20817         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20818         (libc.pot): Work around missing support for .ksh extension in xgettext.
20820         [BZ #12684]
20821         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20822         if both request failed.
20823         (send_dg): In case of server errors clear resplen or *resplen2.
20825         [BZ #12454]
20826         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20827         when there are multiple maps.
20828         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20829         (_dl_fini): Remove test here.
20831         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20833 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20835         [BZ #12350]
20836         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20837         bit from old_res_options.
20838         (gaih_inet): Likewise.
20840         [BZ #11099]
20841         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20842         as signed.
20844         * resolv/res_init.c (res_setoptions): Make the code more compact.
20846         [BZ #11558]
20847         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20848         set RES_USEVC.
20850         [BZ #11634]
20851         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20853         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20855         [BZ #11781]
20856         * malloc/malloc.h: Declare malloc hook variables as volatile.
20858         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20859         in last patch.
20861         [BZ #11799]
20862         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20863         raise in the comment.
20864         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20865         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20866         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20868 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20870         [BZ #12811]
20871         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20872         grow the buffers more if it already has to be sufficient.
20873         (build_wcs_upper_buffer): Likewise.
20874         * posix/regexec.c (check_matching): Likewise.
20875         (clean_state_log_if_needed): Likewise.
20876         (extend_buffers): Don't enlarge buffers beyond size of the input
20877         buffer.
20878         Patches mostly by Emil Wojak <emil@wojak.eu>.
20879         * posix/bug-regex32.c: New file.
20880         * posix/Makefile (tests): Add bug-regex32.
20882         * locale/findlocale.c (_nl_find_locale): Return right away if
20883         _nl_explode_name failed.
20884         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20886         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20888         * debug/xtrace.sh: Unify messages.
20889         * malloc/memusage.sh: Likewise.
20891         [BZ #12813]
20892         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20893         time symbol from vDSO.  Substitute with vsyscall if not available.
20894         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20895         __vdso_time.
20897         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20898         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20899         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20900         Add sendmmsg and internal_sendmmsg.
20901         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20902         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20903         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20905         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20906         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20907         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20909 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20911         [BZ #12813]
20912         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20913         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20914         available.
20915         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20916         __vdso_getcpu.
20918         [BZ #12814]
20919         * iconvdata/Makefile (tests): Add bug-iconv9.
20920         * iconvdata/bug-iconv9.c: New file.
20922 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20924         [BZ #12814]
20925         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20927 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20929         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20930         (struct user_regs_struct): Change intcs field back to cs.
20932 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20934         * po/ja.po: Update from translation team.
20936 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20938         [BZ #12795]
20939         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20940         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20942 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20944         * stdlib/longlong.h: Update from GCC.
20946 2011-05-23  Andreas Schwab  <schwab@redhat.com>
20948         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20949         parameter name.
20950         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20951         Add parameter name.
20952         (__sysconf): Pass it down.
20954 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
20956         [BZ #12671]
20957         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20958         some situations.
20959         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20960         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20961         add in in __libc_use_alloca calls.  Adjust callers.
20962         (glob): Use malloc in some situations.
20964         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20965         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20966         pltexit.
20968 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
20970         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20971         and CLOCK_BOOTTIME_ALARM.
20973         [BZ #12782]
20974         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20975         is returned.
20977         * string/_strerror.c (__strerror_r): Print negative errors as signed
20978         numbers.
20980         [BZ #12777]
20981         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20982         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20983         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20985         * configure.in: Fix typo in redirection and correct removal of test
20986         files in two cases.
20988         [BZ #12788]
20989         * locale/setlocale.c (new_composite_name): Fix test to check for
20990         identical name of all categories.
20992         [BZ #12792]
20993         * libio/filedoalloc.c (local_isatty): New function.
20994         (_IO_file_doallocate): Use local_isatty.
20995         * stdio-common/perror.c (perror): In case a new stream is used
20996         forward the stream error.
20997         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20998         error flag.
21000 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21002         [BZ #11869]
21003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21004         alloca.
21005         * include/alloca.h (extend_alloca_account): Define.
21007         [BZ #11857]
21008         * posix/regex.h: Fix comments with documentation of user-accessible
21009         fields after compilation and describe correct free'ing of pattern
21010         after re_compile_pattern.
21011         Patch by Reuben Thomas <rrt@sc3d.org>.
21013 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21015         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21016         and -mno-altivec to prevent the compiler from using Altivec and/or
21017         VSX instructions when the corresponding registers are not available.
21019 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21021         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21023 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21025         * libio/freopen.c (freopen): Use __dup2, not dup2.
21026         * libio/freopen64.c (freopen64): Likewise.
21028 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21030         [BZ #12775]
21031         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21032         * math/Makefile (tests): Add test-powl.
21033         (CFLAGS-test-powl.c): Define.
21034         * math/test-powl.c: New file.
21036 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21038         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21040 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21042         [BZ #11837]
21043         * iconvdata/gb18030.c: Update to GB18020-2005.
21045 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21047         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21048         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21049         Patch by Aharon Robbins <arnold@skeeve.com>.
21051         [BZ #11892]
21052         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21053         on the stack.
21055         [BZ #11895]
21056         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21057         through underflows.
21059         [BZ #12766]
21060         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21061         point to strings before performing equality test for error_one_per_line
21062         mode.
21064         [BZ #11697]
21065         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21067         [BZ #11820]
21068         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21069         (struct user_fpregs_struct): Avoid __uint*_t types.
21071         [BZ #6420]
21072         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21073         symbol info.  Use it instead of calling _dl_addr locally.
21074         (lock_and_info): New function.
21075         (tr_freehook): Call lock_and_info and pass symbol info as additional
21076         parameter to tr_where.
21077         (tr_mallochook): Likewise.
21078         (tr_reallochook): Likewise.
21079         (tr_memalignhook): Likewise.
21081         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21082         used and couldn't be at all thread-safe.
21084 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21086         * libio/freopen.c (freopen): Don't close old file descriptor
21087         before the new one is opened.  Instead dup the new file descriptor
21088         to the old one after the new stream is created.
21089         * libio/freopen64.c (freopen64): Likewise.
21090         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21091         * libio/fileops.c (_IO_new_file_close_it): Handle new
21092         _IO_FLAGS2_NOCLOSE flag.
21093         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21094         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21095         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21096         _IO_FLAGS2_NOCLOSE flag.
21097         * include/unistd.h: Add hidden_proto for dup3.
21098         Define __have_dup3.
21099         * io/dup3.c: Define hidden symbol.
21100         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21102         [BZ #7101]
21103         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21104         when an incomplete long option is used.
21105         * posix/tst-getopt_long1.c: New file.
21106         * posix/Makefile (tests): Add tst-getopt_long1.
21108         [BZ #10138]
21109         * scripts/config.guess: Update from autoconf-2.68.
21110         * scripts/config.sub: Likewise.
21112         [BZ #10157]
21113         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21114         tests into ...
21115         (has_cpuclock): ...this.  New function.
21116         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21117         macro here based on has_cpuclock code.
21119         [BZ #10149]
21120         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21121         First byte (not low byte) is now always NUL.
21122         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21124         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21125         Use non-cancelable interfaces.
21127         [BZ #9809]
21128         * locale/iso-639.def: Add entry for Sorani.
21130         [BZ #11901]
21131         * include/stdlib.h: Move include protection to the right place.
21132         Define abort_msg_s.  Declare __abort_msg with it.
21133         * stdlib/abort.c (__abort_msg): Adjust type.
21134         * assert/assert.c (__assert_fail_base): New function.  Majority
21135         of code from __assert_fail.  Allocate memory for __abort_msg with
21136         mmap.
21137         (__assert_fail): Now call __assert_fail_base.
21138         * assert/assert-perr.c: Remove bulk of implementation.  Use
21139         __assert_fail_base.
21140         * include/assert.hL Declare __assert_fail_base.
21141         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21142         mmap.
21143         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21145 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21147         [BZ #11952]
21148         [BZ #12453]
21149         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21150         until all modules are registered in the DTV.
21151         * elf/Makefile: Add rules to build and run tst-tls19.
21152         * elf/tst-tls19.c: New file.
21153         * elf/tst-tls19mod1.c: New file.
21154         * elf/tst-tls19mod2.c: New file.
21155         * elf/tst-tls19mod3.c: New file.
21156         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21158         [BZ #12083]
21159         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21160         correctly.
21162         [BZ #12601]
21163         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21164         two-byte sequence errors.
21165         * iconvdata/Makefile (tests): Add bug-iconv8.
21166         * iconvdata/bug-iconv8.c: New file.
21168         [BZ #12626]
21169         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21170         buf2 definition.
21172         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21174         [BZ #12432]
21175         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21176         (dummy_getcfa): New function.
21177         (init): Get _Unwind_GetCFA address, use dummy if not found.
21178         (backtrace_helper): In recursion check, also check whether CFA changes.
21179         (__backtrace): Completely initialize arg.
21181         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21182         storing incomplete byte sequence in state object.  Avoid testing for
21183         guaranteed too small input if we know there is enough data available.
21185 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21187         * Makeconfig (+link-pie): Indent.
21188         * Rules (binaries-pie): Define if $(have-fpie) and
21189         $(build-shared).
21190         (binaries-shared): Also filter out $(binaries-pie).
21191         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21192         * nscd/Makefile (others-pie): Add nscd.
21193         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21194         ($(objpfx)nscd): Remove command override.
21195         * login/Makefile (others-pie): Add pt_chown.
21196         ($(objpfx)pt_chown): Remove command override.
21197         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21198         remove command overrides.
21200 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21202         * libio/tst_putwc.c: Fix error messages.
21204         [BZ #12724]
21205         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21206         currently writing and seek to current position when not.
21207         * libio/Makefile (tests): Add bug-fclose1.
21208         * libio/bug-fclose1.c: New file.
21210 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21212         [BZ #12511]
21213         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21214         don't set DF_1_NODELETE here.
21215         (do_lookup_x): When entering new entry test for copy relocation
21216         and if necessary set DF_1_NODELETE flag.
21217         * elf/tst-unique4.cc: New file.
21218         * elf/tst-unique4.h: New file.
21219         * elf/tst-unique4lib.cc: New file.
21220         * elf/Makefile: Add rules to build and run tst-unique4.
21221         Patch by Piotr Bury <pbury@goahead.com>.
21223 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21225         [BZ #12052]
21226         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21228         [BZ #12625]
21229         * misc/mntent_r.c (addmntent): Flush the stream after the output
21231         [BZ #12393]
21232         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21233         (is_trusted_path_normalize): Skip initial colon.  Append slash
21234         to empty buffer.  Duplicate is_trusted_path code but allow
21235         constructed patch to be prefix.
21236         (is_dst): Allow $ORIGIN followed by /.
21237         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21238         Correct testing of result of is_trusted_path_normalize
21239         (decompose_rpath): Fix warning.
21241 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21243         [BZ #11257]
21244         * grp/initgroups.c (internal_getgrouplist): When we found the service
21245         list through the initgroups entry in nsswitch.conf do not always
21246         continue on a successful lookup.  Don't always use the
21247         __nss_group_database value if it is set.
21248         * nss/nsswitch.conf (initgroups): Change action for successful db
21249         lookup to continue for compatibility.
21251 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21253         [BZ #11532]
21254         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21255         and CP774 modules.
21256         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21257         and CP774 modules.
21258         * iconvdata/tst-tables.sh: Likewise.
21259         * iconvdata/cp770.c: New file.
21260         * iconvdata/cp771.c: New file.
21261         * iconvdata/cp772.c: New file.
21262         * iconvdata/cp773.c: New file.
21263         * iconvdata/cp774.c: New file.
21264         * iconvdata/testdata/CP770: New file.
21265         * iconvdata/testdata/CP770..UTF8: New file.
21266         * iconvdata/testdata/CP771: New file.
21267         * iconvdata/testdata/CP771..UTF8: New file.
21268         * iconvdata/testdata/CP772: New file.
21269         * iconvdata/testdata/CP772..UTF8: New file.
21270         * iconvdata/testdata/CP773: New file.
21271         * iconvdata/testdata/CP773..UTF8: New file.
21272         * iconvdata/testdata/CP774: New file.
21273         * iconvdata/testdata/CP774..UTF8: New file.
21275         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21276         END CHARMAP line.
21277         * iconvdata/gen-8bit-gap.sh: Likewise.
21278         * iconvdata/gen-8bit.sh: Likewise.
21280         * locale/iso-639.def: Add ary entry.
21282         [BZ #11258]
21283         * locale/C-translit.h.in: Add U20A1 transliteration.
21285         [BZ #12178]
21286         * locale/iso-639.def: Add wae entry.
21287         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21289         [BZ #12545]
21290         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21291         for n.
21293         [BZ #12711]
21294         * locale/C-translit.h.in: Add entry for U20B9.
21295         Patch by pravin.d.s@gmail.com.
21297 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21299         [BZ #12713]
21300         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21301         ENAMETOOLONG use generic getcwd.
21302         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21303         in rtld.  Use *stat64.
21304         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21305         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21306         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21307         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21308         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21309         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21310         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21311         __fstatat64 macros.
21312         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21313         * dirent/rewinddir.c: Add libc_hidden_def.
21314         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21315         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21317         * include/dirent.h (__alloc_dir): Add flags parameter.
21318         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21319         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21320         __alloc_dir.
21321         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21322         from fdopendir if O_CLOEXEC is already set.
21324 2011-03-15  Alan Modra  <amodra@gmail.com>
21326         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21327         l_tls_firstbyte_offset non-zero.  Save padding offset in
21328         l_tls_firstbyte_offset for later use.
21329         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21330         freeing static tls block.
21332 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21334         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21335         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21336         being defined by the kernel headers.
21338 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21340         [BZ #12734]
21341         * resolv/resolv.h: Define RES_NOTLDQUERY.
21342         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21343         no-tld-query and set RES_NOTLDQUERY.
21344         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21345         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21346         modern BIND to search name as TLD unless forbidden.
21348 2011-05-07  Petr Baudis  <pasky@suse.cz>
21349             Ulrich Drepper  <drepper@gmail.com>
21351         [BZ #12393]
21352         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21353         (is_trusted_path): ...to here.
21354         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21355         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21356         using is_trusted_path_normalize() in setuid scripts.
21358 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21360         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21361         __BEGIN/__END_DECLS.
21363 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21365         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21366         NSS_STATUS_NOTFOUND if no record was found.
21368 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21370         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21371         (headers-not-in-tirpc): Remove rpc/netdb.h
21372         * resolv/netdb.h: Revert last change.
21374 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21376         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21377         circular dependency between libgcc.a and libc.a.
21379 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21381         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21382         * nis/Makefile: Don't install rpcsvc/*.
21383         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21384         instead of <rpc/types.h>.
21385         (MAXHOSTNAMELEN): Define.
21387 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21389         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21391 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21393         [BZ #12714]
21394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21395         gethostbyname4_r when IPv6 results are possible.
21397 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21399         [BZ #12723]
21400         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21401         _PC_PIPE_BUF handling.
21403 2011-04-30  Bruno Haible  <bruno@clisp.org>
21405         [BZ #12717]
21406         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21407         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21408         to 'int'.
21409         * inet/getnameinfo.c (getnameinfo): Likewise.
21411 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21413         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21414         to groups setting in database lookup.
21415         * nss/nsswitch.conf: Add initgroups entry.
21417 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21419         [BZ #12685]
21420         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21421         mode string.
21422         Patch by Eric Blake <eblake@redhat.com>.
21424 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21426         * sunrpc/Makefile (need-export-routines): Add svc_run.
21427         (routines): Remove svc_run.
21428         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21429         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21430         * sunrpc/svc_run.c (svc_run): Likewise.
21431         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21433 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21435         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21436         problem in reallocation in last patch.
21438 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21440         * sunrpc/Makefile: Move inclusion of Rules.
21442 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21444         * nss/nss_files/files-initgroups.c: New file.
21445         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21446         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21447         _nss_files_initgroups_dyn.
21449 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21451         * elf/elf.h (R_ARM_IRELATIVE): Define.
21453 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21455         * po/ru.po: Update from translation team.
21457 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21459         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21460         dependencies.
21462 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21464         [BZ #12653]
21465         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21466         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21467         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21468         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21469         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21471 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21473         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21474         differing bytes.
21475         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21476         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21477         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21479 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21481         [BZ #12420]
21482         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21483         storing it.
21484         * stdlib/bug-getcontext.c: New file.
21485         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21487 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21489         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21490         instructions into .machine "z9-109".
21491         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21492         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21494 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21496         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21497         between environment variables and auxiliary vector.
21499 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21501         * Makefile: Add rules to build linkobj/libc.so.
21502         * include/libc-symbols.h: Define libc_hidden_nolink.
21503         * include/rpc/auth.h: Mark functions which are to be hidden.
21504         * include/rpc/auth_des.h: Likewise.
21505         * include/rpc/auth_unix.h: Likewise.
21506         * include/rpc/clnt.h: Likewise.
21507         * include/rpc/des_crypt.h: Likewise.
21508         * include/rpc/key_prot.h: Likewise.
21509         * include/rpc/pmap_clnt.h: Likewise.
21510         * include/rpc/pmap_prot.h: Likewise.
21511         * include/rpc/pmap_rmt.h: Likewise.
21512         * include/rpc/rpc_msg.h: Likewise.
21513         * include/rpc/svc.h: Likewise.
21514         * include/rpc/svc_auth.h: Likewise.
21515         * include/rpc/xdr.h: Likewise.
21516         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21517         * nss/Makefile: Likewise.
21518         * sunrpc/Makefile: Don't install headers.  Build library with normal
21519         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21520         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21521         for the compat linking library.  Remove use of INTDEF/INTUSE.
21522         * sunrpc/auth_none.c: Likewise.
21523         * sunrpc/auth_unix.c: Likewise.
21524         * sunrpc/authdes_prot.c: Likewise.
21525         * sunrpc/authuxprot.c: Likewise.
21526         * sunrpc/clnt_gen.c: Likewise.
21527         * sunrpc/clnt_perr.c: Likewise.
21528         * sunrpc/clnt_raw.c: Likewise.
21529         * sunrpc/clnt_simp.c: Likewise.
21530         * sunrpc/clnt_tcp.c: Likewise.
21531         * sunrpc/clnt_udp.c: Likewise.
21532         * sunrpc/clnt_unix.c: Likewise.
21533         * sunrpc/des_crypt.c: Likewise.
21534         * sunrpc/des_soft.c: Likewise.
21535         * sunrpc/get_myaddr.c: Likewise.
21536         * sunrpc/key_call.c: Likewise.
21537         * sunrpc/key_prot.c: Likewise.
21538         * sunrpc/netname.c: Likewise.
21539         * sunrpc/pm_getmaps.c: Likewise.
21540         * sunrpc/pm_getport.c: Likewise.
21541         * sunrpc/pmap_clnt.c: Likewise.
21542         * sunrpc/pmap_prot.c: Likewise.
21543         * sunrpc/pmap_prot2.c: Likewise.
21544         * sunrpc/pmap_rmt.c: Likewise.
21545         * sunrpc/publickey.c: Likewise.
21546         * sunrpc/rpc_cmsg.c: Likewise.
21547         * sunrpc/rpc_common.c: Likewise.
21548         * sunrpc/rpc_dtable.c: Likewise.
21549         * sunrpc/rpc_prot.c: Likewise.
21550         * sunrpc/rpc_thread.c: Likewise.
21551         * sunrpc/rtime.c: Likewise.
21552         * sunrpc/svc.c: Likewise.
21553         * sunrpc/svc_auth.c: Likewise.
21554         * sunrpc/svc_authux.c: Likewise.
21555         * sunrpc/svc_raw.c: Likewise.
21556         * sunrpc/svc_run.c: Likewise.
21557         * sunrpc/svc_simple.c: Likewise.
21558         * sunrpc/svc_tcp.c: Likewise.
21559         * sunrpc/svc_udp.c: Likewise.
21560         * sunrpc/svc_unix.c: Likewise.
21561         * sunrpc/svcauth_des.c: Likewise.
21562         * sunrpc/xcrypt.c: Likewise.
21563         * sunrpc/xdr.c: Likewise.
21564         * sunrpc/xdr_array.c: Likewise.
21565         * sunrpc/xdr_float.c: Likewise.
21566         * sunrpc/xdr_intXX_t.c: Likewise.
21567         * sunrpc/xdr_mem.c: Likewise.
21568         * sunrpc/xdr_rec.c: Likewise.
21569         * sunrpc/xdr_ref.c: Likewise.
21570         * sunrpc/xdr_sizeof.c: Likewise.
21571         * sunrpc/xdr_stdio.c: Likewise.
21573 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21575         [BZ #12650]
21576         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21577         * sysdeps/ia64/dl-tls.h: Likewise.
21578         * sysdeps/powerpc/dl-tls.h: Likewise.
21579         * sysdeps/s390/dl-tls.h: Likewise.
21580         * sysdeps/sh/dl-tls.h: Likewise.
21581         * sysdeps/sparc/dl-tls.h: Likewise.
21582         * sysdeps/x86_64/dl-tls.h: Likewise.
21583         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21585 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21587         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21588         rpath element also skip the following colon.
21589         (expand_dynamic_string_token): Add is_path parameter and pass
21590         down to DL_DST_REQUIRED and _dl_dst_substitute.
21591         (decompose_rpath): Call expand_dynamic_string_token with
21592         non-zero is_path.  Ignore empty rpaths.
21593         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21594         with zero is_path.
21596 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21599         Make cancelable.
21601 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21603         [BZ #12655]
21604         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21605         Patch by Filipe David Manana <fdmanana@apache.org>.
21607 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21609         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21610         Maintain aligned stack.
21611         (CHECK_RSP): Remove unused macro.
21613 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21615         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21616         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21618 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21620         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21622         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21624 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21626         [BZ #12518]
21627         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21628         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21629         * sysdeps/x86_64/memmove.c: New file.
21630         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21631         (memcpy): Renamed to ...
21632         (__new_memcpy): This.
21633         (memcpy): Provide GLIBC_2_14 memcpy.
21634         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21635         (memcpy): Provide GLIBC_2_2_5 memcpy.
21637 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21639         [BZ #12631]
21640         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21642 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21644         * misc/syncfs.c: New file.
21645         * misc/Makefile (routines): Add syncfs.
21646         * posix/unistd.h: Declare syncfs.
21647         * sysdeps/unix/syscalls.list: Add syncfs.
21649 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21651         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21652         open_by_handle_at.
21653         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21654         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21656         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21658         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21659         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21661 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21663         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21664         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21665         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21666         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21667         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21669         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21671         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21672         sync_file_range.c with -fexceptions.
21673         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21674         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21675         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21676         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21677         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21678         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21680         sync_file_range as cancellation point
21681         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21682         now a wrapper around __call_sync_file_range with cancellation handling.
21683         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21684         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21685         function name to __call_sync_file_range.
21686         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21687         Add call_sync_file_range.
21689 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21692         bits/timex.h.
21694 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21696         * iconv/iconv.h: Fix typo in comment.
21697         * io/fcntl.h: Likewise.
21698         * libio/stdio.h: Likewise.
21699         * posix/spawn.h: Likewise.
21700         * posix/unistd.h: Likewise.
21701         * stdlib/stdlib.h: Likewise.
21702         * time/time.h: Likewise.
21703         * wcsmbs/wchar.h: Likewise.
21705         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21706         open_by_handle): Add.
21707         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21708         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21709         Augment a few comments.
21710         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21712         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21714         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21715         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21716         open_by_handle.
21718         * io/fcntl.h (AT_EMPTY_PATH): Define.
21720 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21722         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21723         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21724         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21725         to...
21726         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21727         * Versions.def: Add GLIBC_2.14.
21728         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21729         Export.
21731 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21733         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21734         round counter.
21735         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21737 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21739         [BZ #12597]
21740         * string/test-strncmp.c (do_page_test): New function.
21741         (check2): Likewise.
21742         (test_main): Call check2.
21743         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21745 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21747         [BZ #12587]
21748         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21749         Handle cache information in CPU leaf 4.
21750         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21752 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21754         [BZ #12583]
21755         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21756         character representation.
21757         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21759 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21761         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21762         END(__isnan) to END(__isnanf) to match function entry point/label
21763         EALIGN(__isnanf,...).
21765 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21767         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21769 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21771         [BZ #12510]
21772         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21773         copy from the symbol referenced in the relocation to initialize the
21774         used variable.
21775         Patch by Piotr Bury <pbury@goahead.com>.
21776         * elf/Makefile: Add rules to build and tst-unique3.
21777         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21778         * elf/tst-unique3.cc: New file.
21779         * elf/tst-unique3.h: New file.
21780         * elf/tst-unique3lib.cc: New file.
21781         * elf/tst-unique3lib2.cc: New file.
21783         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21785 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21787         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21788         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21789         to _start.
21791 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21793         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21794         to-be-loaded object along a path to loader is ld.so.
21796 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21797             Ulrich Drepper  <drepper@gmail.com>
21799         * sysdeps/x86_64/memset.S: After aligning destination, code
21800         branches to different locations depending on the value of
21801         misalignment, when multiarch is enabled. Fix this.
21803 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21805         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21806         Set _x86_64_preferred_memory_instruction for AMD processsors.
21807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21808         Set bit_Prefer_SSE_for_memop for AMD processors.
21810 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21812         * libio/fmemopen.c (fmemopen): Optimize a bit.
21814 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21816         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21818 2011-03-03  Roland McGrath  <roland@redhat.com>
21820         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21822 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21824         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21825         __bzero_ultra1 instead of __memset_ultra1.
21827 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21828             Ulrich Drepper  <drepper@gmail.com>
21830         [BZ #12509]
21831         * include/link.h (struct link_map): Add l_orig_initfini.
21832         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21833         returning unsuccessfully.
21834         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21835         close of a file loaded at startup, restore the original l_initfini
21836         list.
21837         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21838         list, store the pointer.
21839         * elf/Makefile ($(objpfx)noload-mem): New rule.
21840         (noload-ENV): Define.
21841         (tests): Add $(objpfx)noload-mem.
21842         * elf/noload.c: Include <memcheck.h>.
21843         (main): Call mtrace.  Close all opened handles.
21845 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21847         [BZ #12454]
21848         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21849         dependencies are missing.
21851 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21853         Fix __if_freereq crash: Unlike the generic version which uses free,
21854         Hurd needs munmap.
21855         * sysdeps/mach/hurd/ifreq.h: New file.
21857 2011-01-27  Petr Baudis  <pasky@suse.cz>
21858             Ulrich Drepper  <drepper@gmail.com>
21860         [BZ 12445]#
21861         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21862         to extend_alloca().
21863         * stdio-common/bug23.c: New file.
21864         * stdio-common/Makefile (tests): Add bug23.
21866 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21867             Ulrich Drepper  <drepper@gmail.com>
21869         [BZ #12489]
21870         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21871         before performing relro protection.  At old place add assertion
21872         to make sure nothing changed.
21874 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21875             Glauber de Oliveira Costa  <glommer@gmail.com>
21877         * elf/elf.h: Add new ARM TLS relocs.
21879 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21882         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21883         cast from r3.
21884         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21885         'tests' variable.
21886         * sysdeps/wordsize-64/tst-writev.c: New file.
21888 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21890         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21891         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21892         insns in _dl_start to prevent a TOC reference before relocs are
21893         resolved.
21895 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21897         [BZ #12469]
21898         * Makeconfig: Remove RANLIB definition.
21899         * Makerules: Don't use RANLIB.
21900         * aclocal.m4: Remove ranlib test.
21901         * configure.in: No need to check for ranlib.
21902         * elf/rtld-Rules: Don't use RANLIB.
21904 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21906         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21907         protection macro.
21908         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21909         inclusion protection macro.
21911         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21912         SIGRTMIN and SIGRTMAX and print information in that case only when
21913         SIGRTMIN is defined.
21915 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21917         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21918         arginfo fn returning -1.
21920         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21921         and thousands string is zero terminated.
21923 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21926         sysdeps/unix/sysv/linux/bits/socket.h.
21928 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21930         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21931         (__CPU_COUNT): Remove old macros.
21932         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21933         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21934         (__CPU_ALLOC, __CPU_FREE): Add macros.
21935         (__sched_cpualloc, __sched_cpufree): Add declarations.
21937 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21939         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21940         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21941         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21942         (readdhstai): Return value of addhstaiX call.
21943         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21944         (addgrbyX): Return value returned by cache_addgr.
21945         (readdgrbyname): Return value returned by addgrbyX.
21946         (readdgrbygid): Likewise.
21947         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21948         (addpwbyX): Return value returned by cache_addpw.
21949         (readdpwbyname): Return value returned by addhstbyX.
21950         (readdpwbyuid): Likewise.
21951         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21952         (addservbyX): Return value returned by cache_addserv.
21953         (readdservbyname): Return value returned by addservbyX:
21954         (readdservbyport): Likewise.
21955         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21956         (addhstbyX): Return value returned by cache_addhst.
21957         (readdhstbyname): Return value returned by addhstbyX.
21958         (readdhstbyaddr): Likewise.
21959         (readdhstbynamev6): Likewise.
21960         (readdhstbyaddrv6): Likewise.
21961         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21962         (readdinitgroups): Return value returned by addinitgroupsX.
21963         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21964         (prune_cache): Keep track of timeout value of re-added entries.
21965         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21966         * nscd/nscd.h: Adjust prototypes of readd* functions.
21968 2011-02-04  Roland McGrath  <roland@redhat.com>
21970         * nis/nis_server.c (nis_servstate): Use the right name for 0.
21971         (nis_stats): Likewise.
21972         * nis/nis_modify.c (nis_modify): Likewise.
21973         * nis/nis_remove.c (nis_remove): Likewise.
21974         * nis/nis_add.c (nis_add): Likewise.
21976         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21978         * posix/fnmatch_loop.c: Add some consts.
21980         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21982 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
21984         [BZ #12460]
21985         * config.make.in (config-cflags-novzeroupper): Define.
21986         * configure.in: Substitute libc_cv_cc_novzeroupper.
21987         * elf/Makefile (AVX-CFLAGS): Define.
21988         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21989         (CFLAGS-tst-auditmod4a.c): Likewise.
21990         (CFLAGS-tst-auditmod4b.c): Likewise.
21991         (CFLAGS-tst-auditmod6b.c): Likewise.
21992         (CFLAGS-tst-auditmod6c.c): Likewise.
21993         (CFLAGS-tst-auditmod7b.c): Likewise.
21994         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21996 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
21998         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21999         function to the callback.
22000         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22002 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22004         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22005         of errno.
22007 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22009         [BZ #11724]
22010         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22011         of constructors.
22012         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22013         of destructors.
22014         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22016         [BZ #11724]
22017         * elf/Makefile: Add rules to build and run new test.
22018         * elf/tst-initorder.c: New file.
22019         * elf/tst-initorder.exp: New file.
22020         * elf/tst-initordera1.c: New file.
22021         * elf/tst-initordera2.c: New file.
22022         * elf/tst-initordera3.c: New file.
22023         * elf/tst-initordera4.c: New file.
22024         * elf/tst-initorderb1.c: New file.
22025         * elf/tst-initorderb2.c: New file.
22026         * elf/tst-order-a1.c: New file.
22027         * elf/tst-order-a2.c: New file.
22028         * elf/tst-order-a3.c: New file.
22029         * elf/tst-order-a4.c: New file.
22030         * elf/tst-order-b1.c: New file.
22031         * elf/tst-order-b2.c: New file.
22032         * elf/tst-order-main.c: New file.
22033         New test case by George Gensure <werkt0@gmail.com>.
22035 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22038         decoding ACE if AI_CANONIDN.
22040 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22042         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22044 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22046         * version.h (RELEASE): Bump for 2.13 release.
22047         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22049         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22051         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22052         MADV_NOHUGEPAGE.
22053         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22054         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22055         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22056         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22057         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22058         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22060         * posix/getconf.c: Update copyright year.
22061         * catgets/gencat.c: Likewise.
22062         * csu/version.c: Likewise.
22063         * debug/catchsegv.sh: Likewise.
22064         * debug/xtrace.sh: Likewise.
22065         * elf/ldconfig.c: Likewise.
22066         * elf/ldd.bash.in: Likewise.
22067         * elf/sprof.c (print_version): Likewise.
22068         * iconv/iconv_prog.c: Likewise.
22069         * iconv/iconvconfig.c: Likewise.
22070         * locale/programs/locale.c: Likewise.
22071         * locale/programs/localedef.c: Likewise.
22072         * malloc/memusage.sh: Likewise.
22073         * malloc/mtrace.pl: Likewise.
22074         * nscd/nscd.c (print_version): Likewise.
22075         * nss/getent.c: Likewise.
22077         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22078         PF_CAIF, and PF_ALG.
22079         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22081 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22083         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22084         (modules-names): Use them.
22085         (ifunc-test-modules, ifunc-pie-tests): Define.
22086         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22087         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22088         (test-extras): Likewise.
22089         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22090         $(compile-command.c).
22091         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22092         (all-built-dso): Define.
22093         (check-textrel.out, check-execstack.out): Depend on it.
22095         * configure.in: Don't override --enable-multi-arch.
22097 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22099         [BZ #6812]
22100         * nscd/hstcache.c (tryagain): Define.
22101         (cache_addhst): Return tryagain not notfound for temporary errors.
22102         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22103         failed.
22105 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22107         [BZ #10563]
22108         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22109         to make the syscall.
22110         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22112         [BZ #12378]
22113         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22114         and fall back to matching as normal character if the string ends before
22115         the matching ']' is found.  This is what POSIX requires.
22116         * posix/testfnm.c: Adjust test result.
22117         * posix/globtest.sh: Adjust test result.  Add new test.
22118         * posix/tst-fnmatch.input: Likewise.
22119         * posix/tst-fnmatch2.c: Add new test.
22121 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22123         * elf/Makefile (check-execstack): Revert last change.  Depend on
22124         check-execstack.h.
22125         (check-execstack.h): New target.
22126         (generated): Add check-execstack.h.
22127         * elf/check-execstack.c: Include "check-execstack.h".
22128         (main): Revert last change.
22129         (handle_file): Return zero if GNU_STACK is absent and
22130         DEFAULT_STACK_PERMS doesn't include PF_X.
22132 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22134         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22135         in child fails because the descriptor is already closed.
22136         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22137         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22138         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22140         [BZ #12397]
22141         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22142         syscall.
22144         [BZ #10484]
22145         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22146         temporary buffer used to handle multi lookups locally.
22147         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22149 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22151         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22152         loader is ld.so.
22154 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22156         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22157         alignment for SSE2.
22159 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22161         [BZ #12394]
22162         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22163         characters.  When rounding increased number of integer digits recompute
22164         number of groups.
22165         * stdio-common/tst-grouping.c: New file.
22166         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22168 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22170         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22171         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22173         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22174         void.
22175         * bits/select.h: Likewise.
22177 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22179         * po/ja.po: Update from translation team.
22181 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22183         [BZ #11155]
22184         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22185         implementation just like for lxstat, fxstatat, et al.
22187 2010-12-27  Jim Meyering  <meyering@redhat.com>
22189         [BZ #12348]
22190         * posix/regexec.c (build_trtable): Return failure indication upon
22191         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22193 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22195         [BZ #12201]
22196         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22197         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22198         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22199         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22201         [BZ #12207]
22202         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22204         [BZ #12204]
22205         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22206         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22208 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22210         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22211         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22212         script has SORT_BY_INIT_PRIORITY.
22213         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22214         NO_CTORS_DTORS_SECTIONS is defined.
22215         * elf/soinit.c: Likewise.
22216         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22217         NO_CTORS_DTORS_SECTIONS is defined.
22218         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22219         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22220         * sysdeps/sh/init-first.c: Likewise.
22221         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22223 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22225         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22226         always use the slow path.
22228 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22230         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22231         similar rule which adds the sysdep directories to the header search in
22232         order to pick up the correct platform stackinfo.h.
22233         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22234         perform test if it is, otherwise return successfully without testing.
22235         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22236         DEFAULT_STACK_PERMS define in stackinfo.h.
22237         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22238         defined in stackinfo.h.
22239         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22240         DEFAULT_STACK_PERMS defined in stackinfo.h.
22241         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22242         * sysdeps/ia64/stackinfo.h: Likewise.
22243         * sysdeps/s390/stackinfo.h: Likewise.
22244         * sysdeps/sh/stackinfo.h: Likewise.
22245         * sysdeps/sparc/stackinfo.h: Likewise.
22246         * sysdeps/x86_64/stackinfo.h: Likewise.
22247         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22248         PF_X for powerpc64.  Retain PF_X for powerpc32.
22250 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22252         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22253         accurately.
22254         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22255         GETDENTS_64BIT_ALIGNED.
22257 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22259         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22261 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22263         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22264         _GNU_SOURCE.
22266         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22267         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22268         Remove __restrict.
22269         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22270         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22272 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22274         [BZ #11655]
22275         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22276         are initialized.
22278 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22280         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22282 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22284         * po/it.po: Update from translation team.
22286 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22289         unused codes.
22291 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22293         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22295 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22297         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22298         specially.
22299         (gaih_getanswer_slice): Likewise.
22301 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22305 2010-05-31  Petr Baudis  <pasky@suse.cz>
22307         [BZ #11149]
22308         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22309         silently even in the chroot mode.
22311 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22313         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22314         last patch a bit.  Pretty printing
22316 2010-05-31  Petr Baudis <pasky@suse.cz>
22318         [BZ #10085]
22319         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22320         initialization of skip_initgroups_dyn.
22322 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22324         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22325         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22327 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22329         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22331 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22333         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22334         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22335         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22336         ($(objpfx)tst-fnmatch-mem): New rule.
22337         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22338         * posix/tst-fnmatch.c (main): Call mtrace.
22340 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22343         Support Intel processor model 6 and model 0x2c.
22345 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22347         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22348           signed comparison.
22350 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22352         [BZ #12205]
22353         * string/test-strncasecmp.c (check_result): New function.
22354         (do_one_test): Use it.
22355         (check1): New function.
22356         (test_main): Use it.
22357         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22358         Support strcasecmp and strncasecmp.
22360 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22362         [BZ #12194]
22363         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22364         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22366 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22368         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22369         IFUNC support.
22370         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22371         memset-x86-64.
22372         * sysdeps/x86_64/multiarch/bzero.S: New file.
22373         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22374         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22375         * sysdeps/x86_64/multiarch/memset.S: New file.
22376         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22378         Set bit_Prefer_SSE_for_memop for Intel processors.
22379         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22380         Define.
22381         (index_Prefer_SSE_for_memop): Define.
22382         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22384 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22386         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22387         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22389 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22391         [BZ #12191]
22392         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22393         (__x86_64_raw_data_cache_size_half): Likewise.
22394         (__x86_64_raw_shared_cache_size): Likewise.
22395         (__x86_64_raw_shared_cache_size_half): Likewise.
22397         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22398         (__x86_64_raw_data_cache_size_half): Likewise.
22399         (__x86_64_raw_shared_cache_size): Likewise.
22400         (__x86_64_raw_shared_cache_size_half): Likewise.
22401         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22402         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22403         and __x86_64_raw_shared_cache_size_half.  Round
22404         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22405         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22406         to multiple of 256 bytes.
22408 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22410         [BZ #12167]
22411         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22412         of inacessible symlinks.  Verify result of symlink before returning it.
22413         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22414         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22416 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22418         * math/math.h (isinf): Fix typo in comment.
22420 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22422         * po/da.po: Update from translation team.
22424 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22426         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22427         is added to the list.
22429 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22430             Ulrich Drepper  <drepper@gmail.com>
22432         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22433         the global list here.  Move code to...
22434         (_dl_add_to_namespace_list): ...here.  New function.
22435         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22436         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22437         * elf/dl-load.c (lose): Don't remove the element from the list.
22438         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22439         (_dl_map_object): Likewise.
22441 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22443         [BZ #12159]
22444         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22445         into all bytes of SSE register.
22446         Patch by Richard Li <richardpku@gmail.com>.
22448 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22450         [BZ #12140]
22451         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22452         perturbing.
22454 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22456         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22457         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22458         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22459         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22461         submachine.
22462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22464 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22466         * include/dlfcn.h (__RTLD_SECURE): Define.
22467         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22468         mode & __RTLD_SECURE instead.
22469         (open_path): Rename preloaded parameter to secure.
22470         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22471         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22472         * elf/dl-deps.c (openaux): Likewise.
22473         * elf/rtld.c (struct map_args): Remove is_preloaded.
22474         (map_doit): Don't use it.
22475         (dl_main): Likewise.
22476         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22477         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22479 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22481         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22482         (sysd-rules-targets): Remove duplicates.
22483         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22484         rtld-%.$o dependency.
22486 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22488         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22489         _dl_map_object do it.
22491 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22493         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22494         fast fma builtins, define the macros in the C99 standard.
22495         (FP_FAST_FMAF): Likewise.
22496         (FP_FAST_FMAL): Likewise.
22497         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22499         * bits/mathdef.h: Update copyright year.
22500         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22502 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22504         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22505         builtins, define the macros in the C99 standard.
22506         (FP_FAST_FMAF): Likewise.
22507         (FP_FAST_FMAL): Likewise.
22508         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22509         multiply/add.
22510         (FP_FAST_FMAF): Likewise.
22512 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22514         [BZ #3268]
22515         * math/libm-test.inc (fma_test): Some new testcases.
22516         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22517         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22518         y and infinite z.  Do multiplication by C already in long double.
22519         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22521         y and infinite z.  Do bitwise or of inexact bit into u.d.
22522         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22523         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22524         * sysdeps/i386/fpu/s_fma.S: Removed.
22525         * sysdeps/i386/fpu/s_fmal.S: Removed.
22527 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22529         [BZ #3268]
22530         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22531         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22532         computation is not scheduled after fetestexcept.  Fix value
22533         of minimum denormal long double.
22535 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22537         [BZ #3268]
22538         * math/libm-test.inc (fma_test): Add some more tests.
22539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22540         correctly.
22542 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22544         * scripts/data/localplt-s390-linux-gnu.data: New file.
22545         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22547 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22549         [BZ #3268]
22550         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22551         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22552         instead of dbl-64.
22553         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22554         inlines.
22555         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22557         if one of x and y is very large and the other is subnormal.
22558         * sysdeps/s390/fpu/s_fmaf.c: New file.
22559         * sysdeps/s390/fpu/s_fma.c: New file.
22560         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22561         * sysdeps/powerpc/fpu/s_fma.S: New file.
22562         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22563         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22564         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22566 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22568         [BZ #3268]
22569         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22570         fma tests.
22571         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22572         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22573         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22574         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22575         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22576         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22577         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22579 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22581         [BZ #12078]
22582         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22583         * posix/bug-regex31.input: Add test case.
22585 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22587         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22588         * posix/bug-regex31.input: New file.
22590         [BZ #12078]
22591         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22592         (parse_sub_exp): Fix last change, use postorder.
22594         * posix/bug-regex31.c: New file.
22595         * posix/Makefile: Add rules to build and run bug-regex31.
22597         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22599         [BZ #12078]
22600         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22602         [BZ #12108]
22603         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22604         to have entries in sys_siglist.
22606         [BZ #12093]
22607         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22608         be NULL.
22610 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22612         [BZ #3268]
22613         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22614         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22615         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22616         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22617         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22618         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22619         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22620         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22621         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22622         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22623         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22624         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22625         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22626         * math/ftestexcept.c (fetestexcept): Likewise.
22627         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22628         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22629         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22630         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22631         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22632         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22633         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22635 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22637         [BZ #12107]
22638         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22639         newline.
22641 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22643         * string/bug-strstr1.c: New file.
22644         * string/Makefile: Add rules to build and run bug-strstr1.
22646 2010-10-05  Eric Blake  <eblake@redhat.com>
22648         [BZ #12092]
22649         * string/str-two-way.h (two_way_long_needle): Always clear memory
22650         when skipping input due to the shift table.
22652 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22654         [BZ #12005]
22655         * malloc/mcheck.c: Handle large requests.
22657         [BZ #12077]
22658         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22659         for strncmp and strncasecmp.
22660         * string/stratcliff.c: Add tests for strcmp and strncmp.
22661         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22663 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22665         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22666         __set_fpscr.
22668 2010-09-30  Andreas Jaeger  <aj@suse.de>
22670         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22671         (CGROUP_SUPER_MAGIC): Define.
22672         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22673         Handle btrfs and cgroup file systems.
22674         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22675         Likewise.
22677 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22679         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22680         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22682 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22684         [BZ #12067]
22685         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22686         trying to locate the ELF header.
22688 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22690         [BZ #11611]
22691         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22692         Mask out sign-bit copies when constructing f_fsid.
22694 2010-09-24  Petr Baudis <pasky@suse.cz>
22696         * debug/stack_chk_fail_local.c: Add missing licence exception.
22697         * debug/warning-nop.c: Likewise.
22699 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22701         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22702         implementing getdents64 using getdents syscall, set d_type if
22703         __ASSUME_GETDENTS32_D_TYPE.
22705 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22707         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22708         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22710 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22712         [BZ #12037]
22713         * posix/unistd.h: Undo change of feature selection for ftruncate from
22714         2010-01-11.
22716 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22718         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22719         detection.
22721 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22723         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22724         fanotify_mark.
22725         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22727 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22729         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22730         variables after CHECK_SP call.
22731         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22733 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22734             Ulrich Drepper  <drepper@redhat.com>
22736         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22737         re-relocationg ld.so.
22738         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22739         _dl_init_paths call.
22740         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22741         here anymore.
22743 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22745         * resolv/res_init.c (__res_vinit): Count the default server we added.
22747 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22748             Ulrich Drepper  <drepper@redhat.com>
22750         [BZ #11968]
22751         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22752         (____longjmp_chk): Use %ebx for saving value across system call.
22753         Add unwind info.
22755 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22757         * manual/Makefile: Don't mix pattern rules with normal rules.
22759 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22761         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22762         operation.
22763         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22764         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22765         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22766         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22767         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22768         Likewise.
22770 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22772         [BZ #11979]
22773         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22774         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22776 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22778         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22779         * sysdeps/x86_64/addmul_1.S: Likewise.
22780         * sysdeps/x86_64/lshift.S: Likewise.
22781         * sysdeps/x86_64/mul_1.S: Likewise.
22782         * sysdeps/x86_64/rshift.S: Likewise.
22783         * sysdeps/x86_64/sub_n.S: Likewise.
22784         * sysdeps/x86_64/submul_1.S: Likewise.
22786 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22788         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22789         Define __sched_param instead of SCHED_* and sched_param when
22790         <bits/sched.h> is included with __need_schedparam defined.
22791         * bits/sched.h [__need_schedparam]
22792         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22793         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22794         (__defined_schedparam): Define to 1.
22795         (__sched_param): New structure, identical to sched_param.
22796         (__need_schedparam): Undefine.
22798 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22800         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22801         (epoll_create1): Declare.
22803         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22805 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22807         [BZ #7066]
22808         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22809         shifting retval into place.
22811 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22813         * nis/rpcsvc/nis.h: Update copyright notice.
22814         * nis/rpcsvc/nis.x: Likewise.
22815         * nis/rpcsvc/nis_callback.h: Likewise.
22816         * nis/rpcsvc/nis_callback.x: Likewise.
22817         * nis/rpcsvc/nis_object.x: Likewise.
22818         * nis/rpcsvc/nis_tags.h: Likewise.
22819         * nis/rpcsvc/yp.h: Likewise.
22820         * nis/rpcsvc/yp.x: Likewise.
22821         * nis/rpcsvc/ypupd.h: Likewise.
22822         * nis/yp_xdr.c: Likewise.
22823         * nis/ypupdate_xdr.c: Likewise.
22825         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22826         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22827         (pmap_getport): Use __libc_rpc_getport.
22828         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22829         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22830         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22832 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22835         fanotify_mark.
22837 2010-08-27  Roland McGrath  <roland@redhat.com>
22839         * sysdeps/i386/i686/multiarch/Makefile
22840         (CFLAGS-varshift.c): New variable.
22842 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22844         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22845         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22847         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22849         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22851 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22853         * sysdeps/x86_64/strlen.S: Unroll the loop.
22854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22855         strlen-sse2 strlen-sse2-bsf.
22856         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22857         __strlen_no_bsf if bit_Slow_BSF is set.
22858         (__strlen_sse42): Removed.
22859         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22860         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22862 2010-08-25  Roland McGrath  <roland@redhat.com>
22864         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22865         * sysdeps/x86_64/multiarch/varshift.c: New file.
22866         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22867         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22868         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22869         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22871 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22874         strlen-sse2 strlen-sse2-bsf.
22875         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22876         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22877         (__strlen_sse2): Removed.
22878         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22879         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22881         bit_Slow_BSF for Atom.
22882         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22883         (index_Slow_BSF): Define.
22884         (HAS_SLOW_BSF): Define.
22886 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22888         [BZ #10851]
22889         * resolv/res_init.c (__res_vinit): When no server address at all
22890         is given default to loopback.
22892 2010-08-24  Roland McGrath  <roland@redhat.com>
22894         * configure.in: Remove config-name.h generation.
22895         * configure: Regenerated.
22896         * config-name.in: File removed.
22897         * scripts/config-uname.sh: New file.
22898         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22899         ($(objdir)config-name.h): New target.
22901         * sunrpc/rpc_parse.h: Avoid nested comment.
22903 2010-08-24  Richard Henderson  <rth@redhat.com>
22904             Ulrich Drepper  <drepper@redhat.com>
22905             H.J. Lu  <hongjiu.lu@intel.com>
22907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22909         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22910         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22911         _mm_alignr_epi8 with _mm_loadu_si128.
22912         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22913         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22914         (__m128i_shift_right): Removed.
22915         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22916         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22917         * sysdeps/x86_64/multiarch/varshift.h: New file.
22918         * sysdeps/x86_64/multiarch/varshift.S: New file.
22920 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22922         * configure.in: Move assembler checks to before sysdep dir checking.
22924 2010-08-20  Petr Baudis  <pasky@suse.cz>
22926         * LICENSES: Sync the sunrpc license.
22928 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22930         * sunrpc/auth_des.c: Update copyright notice once again.
22931         * sunrpc/auth_none.c: Likewise.
22932         * sunrpc/auth_unix.c: Likewise.
22933         * sunrpc/authdes_prot.c: Likewise.
22934         * sunrpc/authuxprot.c: Likewise.
22935         * sunrpc/bindrsvprt.c: Likewise.
22936         * sunrpc/clnt_gen.c: Likewise.
22937         * sunrpc/clnt_perr.c: Likewise.
22938         * sunrpc/clnt_raw.c: Likewise.
22939         * sunrpc/clnt_simp.c: Likewise.
22940         * sunrpc/clnt_tcp.c: Likewise.
22941         * sunrpc/clnt_udp.c: Likewise.
22942         * sunrpc/clnt_unix.c: Likewise.
22943         * sunrpc/des_crypt.c: Likewise.
22944         * sunrpc/des_soft.c: Likewise.
22945         * sunrpc/get_myaddr.c: Likewise.
22946         * sunrpc/getrpcport.c: Likewise.
22947         * sunrpc/key_call.c: Likewise.
22948         * sunrpc/key_prot.c: Likewise.
22949         * sunrpc/openchild.c: Likewise.
22950         * sunrpc/pm_getmaps.c: Likewise.
22951         * sunrpc/pm_getport.c: Likewise.
22952         * sunrpc/pmap_clnt.c: Likewise.
22953         * sunrpc/pmap_prot.c: Likewise.
22954         * sunrpc/pmap_prot2.c: Likewise.
22955         * sunrpc/pmap_rmt.c: Likewise.
22956         * sunrpc/rpc/auth.h: Likewise.
22957         * sunrpc/rpc/auth_unix.h: Likewise.
22958         * sunrpc/rpc/clnt.h: Likewise.
22959         * sunrpc/rpc/des_crypt.h: Likewise.
22960         * sunrpc/rpc/key_prot.h: Likewise.
22961         * sunrpc/rpc/netdb.h: Likewise.
22962         * sunrpc/rpc/pmap_clnt.h: Likewise.
22963         * sunrpc/rpc/pmap_prot.h: Likewise.
22964         * sunrpc/rpc/pmap_rmt.h: Likewise.
22965         * sunrpc/rpc/rpc.h: Likewise.
22966         * sunrpc/rpc/rpc_des.h: Likewise.
22967         * sunrpc/rpc/rpc_msg.h: Likewise.
22968         * sunrpc/rpc/svc.h: Likewise.
22969         * sunrpc/rpc/svc_auth.h: Likewise.
22970         * sunrpc/rpc/types.h: Likewise.
22971         * sunrpc/rpc/xdr.h: Likewise.
22972         * sunrpc/rpc_clntout.c: Likewise.
22973         * sunrpc/rpc_cmsg.c: Likewise.
22974         * sunrpc/rpc_common.c: Likewise.
22975         * sunrpc/rpc_cout.c: Likewise.
22976         * sunrpc/rpc_dtable.c: Likewise.
22977         * sunrpc/rpc_hout.c: Likewise.
22978         * sunrpc/rpc_main.c: Likewise.
22979         * sunrpc/rpc_parse.c: Likewise.
22980         * sunrpc/rpc_parse.h: Likewise.
22981         * sunrpc/rpc_prot.c: Likewise.
22982         * sunrpc/rpc_sample.c: Likewise.
22983         * sunrpc/rpc_scan.c: Likewise.
22984         * sunrpc/rpc_scan.h: Likewise.
22985         * sunrpc/rpc_svcout.c: Likewise.
22986         * sunrpc/rpc_tblout.c: Likewise.
22987         * sunrpc/rpc_util.c: Likewise.
22988         * sunrpc/rpc_util.h: Likewise.
22989         * sunrpc/rpcinfo.c: Likewise.
22990         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22991         * sunrpc/rpcsvc/key_prot.x: Likewise.
22992         * sunrpc/rpcsvc/klm_prot.x: Likewise.
22993         * sunrpc/rpcsvc/mount.x: Likewise.
22994         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22995         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22996         * sunrpc/rpcsvc/rex.x: Likewise.
22997         * sunrpc/rpcsvc/rstat.x: Likewise.
22998         * sunrpc/rpcsvc/rusers.x: Likewise.
22999         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23000         * sunrpc/rpcsvc/spray.x: Likewise.
23001         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23002         * sunrpc/rtime.c: Likewise.
23003         * sunrpc/svc.c: Likewise.
23004         * sunrpc/svc_auth.c: Likewise.
23005         * sunrpc/svc_authux.c: Likewise.
23006         * sunrpc/svc_raw.c: Likewise.
23007         * sunrpc/svc_run.c: Likewise.
23008         * sunrpc/svc_simple.c: Likewise.
23009         * sunrpc/svc_tcp.c: Likewise.
23010         * sunrpc/svc_udp.c: Likewise.
23011         * sunrpc/svc_unix.c: Likewise.
23012         * sunrpc/svcauth_des.c: Likewise.
23013         * sunrpc/xcrypt.c: Likewise.
23014         * sunrpc/xdr.c: Likewise.
23015         * sunrpc/xdr_array.c: Likewise.
23016         * sunrpc/xdr_float.c: Likewise.
23017         * sunrpc/xdr_mem.c: Likewise.
23018         * sunrpc/xdr_rec.c: Likewise.
23019         * sunrpc/xdr_ref.c: Likewise.
23020         * sunrpc/xdr_sizeof.c: Likewise.
23021         * sunrpc/xdr_stdio.c: Likewise.
23023         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23024         handling.
23026 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23028         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23030 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23032         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23033         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23034         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23035         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23036         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23037         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23038         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23039         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23040         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23041         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23042         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23043         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23044         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23045         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23047 2010-07-26  Anton Blanchard  <anton@samba.org>
23049         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23050         * malloc/arena.c (heap_trim): Likewise.
23052 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23054         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23055         here.  Not...
23056         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23057         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23059 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23061         * sysdeps/i386/elf/Makefile: New file.
23063 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23065         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23066         from fanotify_init.
23067         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23068         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23070 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23072         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23073         of strncasecmp_l.
23074         * sysdeps/multiarch/strcmp.S: Likewise.
23076 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23078         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23079         strncase_l-nonascii.
23080         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23081         Add strncase_l-ssse3.
23082         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23083         * sysdeps/x86_64/strcmp.S: Likewise.
23084         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23085         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23086         * sysdeps/x86_64/strncase.S: New file.
23087         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23088         * sysdeps/x86_64/strncase_l.S: New file.
23089         * string/Makefile (strop-tests): Add strncasecmp.
23090         * string/test-strncasecmp.c: New file.
23092         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23093         warning.
23095         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23096         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23098 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23100         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23102 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23104         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23105         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23106         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23108 2010-05-01  Alan Modra  <amodra@gmail.com>
23110         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23111         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23112         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23113         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23114         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23115         tidying.  Don't tail-call __sigjmp_save for static lib.
23116         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23117         save location.
23118         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23119         (CALL_MCOUNT): Add eh info, and nop after bl.
23120         (TAIL_CALL_SYSCALL_ERROR): New macro.
23121         (PSEUDO_RET): Use it.
23122         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23123         Correct save location of integer regs and cr.
23124         (_dl_profile_resolve): Correct cr save location.  Delete nops
23125         after bl when SHARED.  Reduce cfi size a little by better
23126         placement of cfi directives.
23127         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23128         make a stack frame.  Instead use parm save area as a temp.
23129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23130         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23132         Don't make a stack frame for parent, use parm save area.
23133         Increase child stack frame to 112 bytes.  Don't save unused reg,
23134         and adjust reg usage.  Set up cfi on error recovery and
23135         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23137         (__makecontext): Add dummy nop after jump to exit.
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23139         Use correct parm save area and cr save, reduce stack frame.
23140         Correct cfi for possible PSEUDO_RET frame setup.
23141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23142         Branch to local label emitted by PSEUDO_RET rather than
23143         __syscall_error.
23145 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23147         [BZ #11904]
23148         * locale/programs/locale.c (print_assignment): New function.
23149         (show_locale_vars): Use it.
23151 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23153         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23154         field.
23155         (struct statfs64): Likewise.
23156         (_STATFS_F_FLAGS): Define.
23157         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23158         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23159         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23160         (ST_VALID): Define locally.
23161         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23162         __statvfs_getflags, use the provided value.
23163         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23164         __ASSUME_STATFS_F_FLAGS.
23166         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23168         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23169         Add sys/fanotify.h.
23170         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23171         fanotify_mask for GLIBC_2.13.
23172         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23173         fanotify_init and fanotify_mark.
23174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23175         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23177         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23178         Add prlimit.
23179         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23180         prlimit64 for GLIBC_2.13.
23181         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23182         prlimit64.
23183         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23184         syscall.
23185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23186         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23187         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23188         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23189         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23190         add prlimit alias.
23191         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23193         [BZ #11903]
23194         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23195         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23197         * nss/Makefile: Add rules to build and run tst-nss-test1.
23198         * shlib-versions: Add entry for libnss_test1.
23199         * nss/nss_test1.c: New file.
23200         * nss/tst-nss-test1.c: New file.
23202         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23203         (__nss_configure_lookup): Set appropriate entry in
23204         __nss_configure_lookup to true.
23205         * nss/nsswitch.h: Define enum with indeces of databases in
23206         databases and __nss_database_custom arrays.  Declare
23207         __nss_database_custom.
23208         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23209         to avoid using nscd when custom rules are installed.
23210         * nss/getXXbyYY_r.c: Likewise.
23211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23213         * nss/nss_files/files-parse.c: Whitespace fixes.
23215 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23217         [BZ #11883]
23218         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23219         * posix/fnmatch_loop.c: Likewise.
23221 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23223         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23224         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23225         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23226         * Versions.def [GLIBC_2.13]: Add.
23228 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23230         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23231         Also fail if tpwd after pwuid call is NULL.
23233 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23235         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23236         when converting to ms.
23238 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23240         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23241         EOPNOTSUPP errors with ENOTTY.
23242         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23243         EOPNOTSUPP errors with ENOTTY.
23245 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23247         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23248         Add strcasecmp_l-ssse3.
23249         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23250         strcasecmp.
23251         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23252         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23253         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23255 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23257         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23259         * string/Makefile (strop-tests): Add strcasecmp.
23260         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23261         strcasecmp_l-nonascii.
23262         (gen-as-const-headers): Add locale-defines.sym.
23263         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23264         * sysdeps/x86_64/strcasecmp.S: New file.
23265         * sysdeps/x86_64/strcasecmp_l.S: New file.
23266         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23267         * sysdeps/x86_64/locale-defines.sym: New file.
23268         * string/test-strcasecmp.c: New file.
23270         * string/test-strcasestr.c: Test both ends of the range of characters.
23271         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23273 2010-07-29  Roland McGrath  <roland@redhat.com>
23275         [BZ #11856]
23276         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23278 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23280         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23281         for ld.so.
23283 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23285         * manual/memory.texi (Malloc Tunable Parameters): Document
23286         M_PERTURB.
23288 2010-07-26  Roland McGrath  <roland@redhat.com>
23290         [BZ #11840]
23291         * configure.in (-fgnu89-inline check): Set and substitute
23292         gnu89_inline, not libc_cv_gnu89_inline.
23293         * configure: Regenerated.
23294         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23296 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23298         * string/test-strnlen.c: New file.
23299         * string/Makefile (strop-tests): Add strnlen.
23300         * string/tester.c (test_strnlen): Add a few more test cases.
23301         * string/tst-strlen.c: Better error reporting.
23303         * sysdeps/x86_64/strnlen.S: New file.
23305 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23307         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23308         lower-latency instructions.
23310 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23312         * string/test-strcasestr.c: New file.
23313         * string/test-strstr.c: New file.
23314         * string/Makefile (strop-tests): Add strstr and strcasestr.
23315         * string/str-two-way.h: Don't undefine MAX.
23316         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23318 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23320         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23321         strcasestr-nonascii.
23322         (CFLAGS-strcasestr-nonascii.c): Define.
23323         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23324         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23325         Remove unused attribute.
23327 2010-07-20  Roland McGrath  <roland@redhat.com>
23329         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23330         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23331         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23332         like LD_HWCAP_MASK can disable hwcaps.
23334 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23336         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23338 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23340         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23341         call in strcasestr.
23342         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23343         __strcasestr_sse42_nonascii.
23344         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23345         strcasestr-nonascii.c.
23346         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23348 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23350         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23351         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23352         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23353         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23355 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23357         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23358         fcntl.
23360 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23362         [BZ #11577]
23363         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23364         dl_signal_cerror.
23366 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23368         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23369         _PC_PIPE_BUF using F_GETPIPE_SZ.
23371 2010-07-05  Roland McGrath  <roland@redhat.com>
23373         * manual/arith.texi (Rounding Functions): Fix rint description
23374         implicit in round description.
23376 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23378         * elf/Makefile: Fix linking for a few tests to make recent linker
23379         happy.
23381 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23383         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23384         $(common-objpfx)libc_nonshared.a.
23386 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23388         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23389         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23390         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23391         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23392         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23393         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23394         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23395         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23410         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23411         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23412         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23413         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23414         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23415         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23416         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23417         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23418         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23419         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23420         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23421         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23437 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23439         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23440         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23441         * string/memmove.c (memmove): Renamed to ...
23442         (MEMMOVE): ...this.  Default to memmove.
23443         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23444         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23445         (END_CHK): Define.
23446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23447         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23448         mempcpy-ssse3-back memmove-ssse3-back.
23449         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23451         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23452         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23453         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23454         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23455         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23456         * sysdeps/x86_64/multiarch/memmove.c: New file.
23457         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23458         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23459         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23460         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23461         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23462         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23463         Define.
23464         (index_Fast_Copy_Backward): Define.
23465         (HAS_ARCH_FEATURE): Define.
23466         (HAS_FAST_REP_STRING): Define.
23467         (HAS_FAST_COPY_BACKWARD): Define.
23469 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23471         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23472         Restore proper fallback handling.
23474 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23476         [BZ #11701]
23477         * posix/group_member.c (__group_member): Correct checking loop.
23479         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23480         OOM in getpwuid_r correctly.  Return error number when the caller
23481         should return, otherwise -1.
23482         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23483         call returning > 0 value.
23484         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23486 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23488         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23489         libc_nonshared.a from targets in modules-names.
23491 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23493         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23494         requires it.
23496 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23498         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23499         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23500         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23501         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23503 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23505         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23507 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23509         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23510         and F_GETPIPE_SZ.
23511         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23512         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23515         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23516         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23518 2010-06-14  Roland McGrath  <roland@redhat.com>
23520         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23522 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23524         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23525         __REDIRECT followed by __THROW.
23526         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23527         * posix/getopt.h (getopt): Likewise.
23529 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23531         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23532         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23533         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23534         in AT_FLAGS.
23535         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23536         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23538 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23540         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23542 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23544         [BZ #11640]
23545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23546         Properly check family and model.
23548 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23550         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23552 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23554         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23556 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23558         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23559         symbol reference.
23561 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23563         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23564         symbol reference.
23566 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23568         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23569         and internal_recvmmsg.
23570         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23571         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23572         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23573         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23575         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23576         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23577         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23579 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23581         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23583 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23585         POWER7 optimizations.
23586         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23587         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23589 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23591         * version.h: Update for 2.13 development version.
23593 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23595         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23596         exceptions.  Return 0.
23598 2010-05-07  Roland McGrath  <roland@redhat.com>
23600         * elf/ldconfig.c (main): Add a const.
23602 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23604         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23605         (args_options): Add no-idn option.
23606         (ahosts_keys_int): Add idn_flags to ai_flags.
23607         (parse_option): Handle 'i' option to clear idn_flags.
23609         * malloc/malloc.c (_int_free): Possible race in the most recently
23610         added check.  Only act on the data if no current modification
23611         happened.
23613 See ChangeLog.17 for earlier changes.