Add x32 support to dynamic linker audit
[glibc.git] / ChangeLog
blob33bb4f89d0b91cc88d41b5909ff5ddcaad50a467
1 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4         la_x32_gnu_pltexit.
5         (pltexit): Cast int_retval to ptrdiff_t.
6         * elf/tst-auditmod3b.c: Likewise.
7         * elf/tst-auditmod4b.c: Likewise.
8         * elf/tst-auditmod5b.c: Likewise.
9         * elf/tst-auditmod6b.c: Likewise.
10         * elf/tst-auditmod6c.c: Likewise.
11         * elf/tst-auditmod7b.c: Likewise.
13         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14         and x32_gnu_pltexit.
16         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17         __ELF_NATIVE_CLASS.
18         (La_x32_regs): New macro.
19         (La_x32_retval): Likewise.
20         (la_x32_gnu_pltenter): New function prototype.
21         (la_x32_gnu_pltexit): Likewise.
23 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
25         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26         exponent.
28         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30         * configure.in (libc_cv_cc_nofma): Check for option to disable
31         generation of FMA instructions.
32         * configure: Regenerate.
33         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34         * sysdeps/ieee754/dbl-64/Makefile: New file.
35         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36         Remove brandred-fma4.
37         (CFLAGS-brandred-fma4.c): Remove.
38         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40         define.
41         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42         define.
44 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47         LLONG_MAX != LONG_MAX.
48         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49         (_fitoa_word): Likewise.
50         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51         LLONG_MAX != LONG_MAX.
52         * stdio-common/_itowa.h: Include <_itoa.h>.
53         (_itowa_word): Use _ITOA_WORD_TYPE on value.
54         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
55         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
56         only if not defined.
57         (_ITOA_WORD_TYPE): Likewise.
58         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61 2012-03-21  David S. Miller  <davem@davemloft.net>
63         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68         of x86_64 when setting libc_cv_slibdir, libdir and
69         libc_cv_localedir.
70         * sysdeps/unix/sysv/linux/configure: Regenerated.
72 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74         * manual/lang.texi (Old Varargs): Remove section.
75         (How Variadic): Update menu.
76         (va_start): Do not mention varargs.h.
78 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79             Joseph Myers  <joseph@codesourcery.com>
81         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82         link test.
83         * configure: Regenerated.
85 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
87         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
88         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
89         conformtest.pl
91 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
93         * NOTES: Remove.
94         * Makefile (files-for-dist): Remove NOTES.
95         (NOTES): Remove rule.
96         * README: Don't refer to NOTES.
97         * manual/creature.texi: Don't include macros.texi.
98         * manual/intro.texi (creature.texi): Remove comment referring to
99         NOTES.
101         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
102         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
103         * configure: Regenerated.
104         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
105         LIBC_TRY_CC_OPTION.
106         (libc_cv_as_i686): Likewise.
107         (libc_cv_cc_avx): Likewise.
108         (libc_cv_cc_sse2avx): Likewise.
109         (libc_cv_cc_fma4): Likewise.
110         (libc_cv_cc_novzeroupper): Likewise.
111         * sysdeps/i386/configure: Regenerated.
113         [BZ #13883]
114         * sysdeps/i386/fpu/s_cexp.S: Remove.
115         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
116         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
117         * math/libm-test.inc (cexp_test): Add more tests.
118         * sysdeps/i386/fpu/libm-test-ulps: Update.
119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
121 2012-03-21  Allan McRae  <allan@archlinux.org>
123         * timezone/Makefile: Do not install iso3166.tab and zone.tab
125 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
127         [BZ #13871]
128         * math/w_exp2.c: Do not include <float.h>.
129         (o_threshold, u_threshold): Remove.
130         (__exp2): Calculate result before checking finiteness and calling
131         __kernel_standard.
132         * math/w_exp2f.c: Likewise.
133         * math/w_exp2l.c: Likewise.
134         * math/libm-test.inc (exp2_test): Require overflow exception for
135         1e6 input.
137         [BZ #3866]
138         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
139         range of signed 64-bit integers before using fistpll.  Remove
140         checks for whether integers fit in mantissa bits.
141         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
142         the range of signed 32-bit integers before using fistpl.  Remove
143         checks for whether integers fit in mantissa bits.
144         * sysdeps/i386/fpu/e_powl.S (p64): New object.
145         (__ieee754_powl): Test for y outside the range of signed 64-bit
146         integers before using fistpll.  Reduce 64-bit values to 63-bit
147         ones as needed.
148         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
149         divide-by-zero is raised for zero to large negative powers.
150         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
151         (__ieee754_powl): Test for y outside the range of signed 64-bit
152         integers before using fistpll.  Reduce 64-bit values to 63-bit
153         ones as needed.
154         * math/libm-test.inc (pow_test): Add more tests.
156 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
158         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
159         <stdio-common/_itoa.h>.
160         * debug/segfault.c: Likewise.
161         * elf/dl-cache.c: Likewise.
162         * elf/dl-minimal.c: Likewise.
163         * elf/dl-misc.c: Likewise.
164         * elf/dl-sysdep.c: Likewise.
165         * elf/dl-version.c: Likewise.
166         * elf/rtld.c: Likewise.
167         * hurd/hurdsock.c: Likewise.
168         * hurd/lookup-retry.c: Likewise.
169         * malloc/malloc.c: Likewise.
170         * malloc/mtrace.c: Likewise.
171         * nscd/nscd_getgr_r.c: Likewise.
172         * nscd/nscd_getpw_r.c: Likewise.
173         * nscd/nscd_getserv_r.c: Likewise.
174         * posix/getopt_init.c: Likewise.
175         * posix/wordexp.c: Likewise.
176         * stdio-common/_itoa.c: Likewise.
177         * stdio-common/printf_fphex.c: Likewise.
178         * stdio-common/vfprintf.c: Likewise.
179         * string/_strerror.c: Likewise.
180         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
181         * sysdeps/i386/i686/hp-timing.h: Likewise.
182         * sysdeps/mach/_strerror.c: Likewise.
183         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
184         * sysdeps/mach/hurd/sethostid.c: Likewise.
185         * sysdeps/mach/hurd/xmknodat.c: Likewise.
186         * sysdeps/mach/xpg-strerror.c: Likewise.
187         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
188         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
189         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
190         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
191         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
192         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
193         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
194         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
195         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
196         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
197         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
198         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
199         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
200         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
201         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
202         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
203         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
204         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
205         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
206         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
207         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
209         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
211         * stdio-common/_itoa.h: Moved to ...
212         * sysdeps/generic/_itoa.h: Here.
214         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
216         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
217         instead of "_itoa.h" and "_itowa.h".
218         * stdio-common/vfprintf.: Likewise.
220 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
222         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
223         <bits/wordsize.h>.
224         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
225         (__signbit): Likwise.
226         (llrintf): Likwise.
227         (llrint): Likwise.
229 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
231         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
232         __WORDSIZE != 64.
234 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
236         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
237         OVERFLOW_EXCEPTION_OK.
238         * math/libm-test.inc ("Philosophy"): Update comment about
239         exception testing.
240         (OVERFLOW_EXCEPTION): Define.
241         (OVERFLOW_EXCEPTION_OK): Likewise.
242         (INVALID_EXCEPTION_OK): Renumber.
243         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
244         (IGNORE_ZERO_INF_SIGN): Likewise.
245         (test_exceptions): Handle FE_OVERFLOW.
246         (exp10_test): Expect overflow exceptions.
247         (exp2_test): Likewise.
248         (expm1_test): Likewise.
249         (nextafter_test): Likewise.
250         (pow_test): Likewise.
251         (scalbn_test): Likewise.
252         (scalbln_test): Likewise.
254 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
256         * sysdeps/x86_64/bits/atomic.h
257         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
258         64bit integer.
259         (atomic_exchange_acq): Likewise.
260         (__arch_exchange_and_add_body): Likewise.
261         (__arch_add_body): Likewise.
262         (atomic_add_negative): Likewise.
263         (atomic_add_zero): Likewise.
265 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
267         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
268         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
270 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
272         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
273         Check __x86_64__ instead of __WORDSIZE.
275 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
277         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
279 2012-03-19  David S. Miller  <davem@davemloft.net>
281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
283         * sysdeps/sparc/fpu/fenv_private.h: New file.
284         * sysdeps/sparc/fpu/math_private.h: Use it.
285         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
286         Remove.
287         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
288         (libc_feholdexcept_setroundl): Remove.
289         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
290         Remove.
291         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
292         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
294 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
296         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
297         int64_t instead of long int.
298         (INSERT_WORDS64): Likwise.
300 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
302         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
303         _Unwind_GetCFA return to _Unwind_Ptr first.
305 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
307         [BZ #13629]
308         * math/s_clog.c: Include <float.h>.
309         (__clog): Scale large or subnormal inputs.
310         * math/s_clogf.c: Likewise.
311         * math/s_clogl.c: Likewise.
312         * math/s_clog10.c: Include <float.h>.
313         (M_LOG10_2): Define.
314         (__clog10): Scale large or subnormal inputs.
315         * math/s_clog10f.c: Likewise.
316         * math/s_clog10l.c: Likewise.
317         * math/libm-test.inc (clog_test): Add more tests.
318         (clog10_test): Likewise.
319         * sysdeps/i386/fpu/libm-test-ulps: Update.
320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
322         [BZ #11451]
323         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
324         x and y.
325         * math/libm-test.inc (atan2_test): Add another test.
327         * Makerules (common-objdir-compile): Remove.
328         * sysdeps/unix/Makefile (config-generated): Do not add
329         $(unix-generated) to variable.
330         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
331         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
332         Remove rule.
333         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
334         Likewise.
335         [generic bits/local_lim.h] (before-compile): Do not append to
336         variable.
337         [generic bits/local_lim.h] (common-generated): Likewise.
338         [generic sys/param.h] (before-compile): Do not append to variable.
339         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
340         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
341         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
342         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
343         include.
344         [generic sys/param.h] (sys/param.h-includes): Remove variable.
345         [generic sys/param.h] (sys/param.h-includes): Remove rule.
346         [generic sys/param.h] ($(addprefix
347         $(common-objpfx),$(sys/param.h-includes))): Likewise.
348         [generic sys/param.h] (common-generated): Do not append to
349         variable.
350         [generic sys/param.h] (sysdep_headers): Likewise.
351         [generic bits/errno.h] (before-compile): Do not append to
352         variable.
353         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
354         rule.
355         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
356         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
357         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
358         [generic bits/errno.h] (common-generated): Do not append to
359         variable.
360         [generic bits/ioctls.h] (before-compile): Do not append to
361         variable.
362         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
363         rule.
364         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
365         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
366         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
367         rule.
368         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
369         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
370         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
371         [generic bits/ioctls.h] (common-generated): Do not append to
372         variable.
373         [generic sys/syscall.h] (syscall.h): Remove variable.
374         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
375         rule.
376         [generic sys/syscall.h] (before-compile): Do not append to
377         variable.
378         [generic sys/syscall.h] (common-generated): Likewise.
379         * sysdeps/unix/errnos-tmpl.c: Remove file.
380         * sysdeps/unix/errnos.awk: Likewise.
381         * sysdeps/unix/ioctls-tmpl.c: Likewise.
382         * sysdeps/unix/ioctls.awk: Likewise.
383         * sysdeps/unix/mk-local_lim.c: Likewise.
384         * sysdeps/unix/snarf-ioctls: Likewise.
386 2012-03-19  Richard Henderson  <rth@twiddle.net>
388         * sysdeps/i386/fpu/fenv_private.h: New file.
389         * sysdeps/i386/fpu/math_private.h: Use it.
390         (math_opt_barrier, math_force_eval): Remove.
391         (libc_feholdexcept_setround_53bit): Remove.
392         (libc_feupdateenv_53bit): Remove.
393         * sysdeps/x86_64/fpu/math_private.h: Likewise.
394         (math_opt_barrier, math_force_eval): Remove.
395         (libc_feholdexcept): Remove.
396         (libc_feholdexcept_setround): Remove.
397         (libc_fetestexcept, libc_fesetenv): Remove.
398         (libc_feupdateenv_test): Remove.
399         (libc_feupdateenv, libc_feholdsetround): Remove.
400         (libc_feresetround): Remove.
402         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
403         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
405         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
406         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
407         (libc_feupdateenv_testl): New.
408         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
409         (libc_feupdateenv_testf): New.
410         (libc_feupdateenv): Use libc_feupdateenv_test.
411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
412         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
414         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
415         (libc_feholdsetroundf, libc_feholdsetroundl): New.
416         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
417         (libc_feresetround_noex): New.
418         (libc_feresetround_noexf): New.
419         (libc_feresetround_noexl): New.
420         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
421         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
422         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
423         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
424         SET_RESTORE_ROUND.
425         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
427         (__cos): Likewise.
428         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
429         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
430         SET_RESTORE_ROUND_NOEX.
431         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
432         SET_RESTORE_ROUND_NOEXF.
433         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
434         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
435         (libc_feholdsetroundf): New.
436         (libc_feresetround, libc_feresetroundf): New.
438         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
439         (libc_feholdexcept_setround_53bit): Convert from macro to function.
440         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
442         * sysdeps/generic/math_private.h: Include <fenv.h>.
443         (default_libc_feholdexcept): New.
444         (default_libc_feholdexcept_setround): New.
445         (default_libc_fesetenv, default_libc_feupdateenv): New.
446         (libc_feholdexcept): Only define if undefined.
447         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
448         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
449         (libc_feholdexcept_setroundl): Likewise.
450         (libc_feholdexcept_setround_53bit): Likewise.
451         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
452         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
453         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
454         (libc_feupdateenv_53bit): Likewise.
455         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
456         (libc_feholdexcept): Convert from macro to inline function.
457         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
458         (libc_fesetenv, libc_feupdateenv): Likewise.
460         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
461         not previously defined.
462         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
463         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
464         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
465         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
466         * sysdeps/ieee754/flt-32/math_private.h: New file.
467         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
468         math_private.h below SET_FLOAT_WORD.
469         (__isnan, __isinf_ns, __finite): Remove.
470         (__isnanf, __isinf_nsf, __finitef): Remove.
472 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
476 2012-03-17  David S. Miller  <davem@davemloft.net>
478         [BZ #6471]
479         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
480         for 2.16.
482 2012-03-16  David S. Miller  <davem@davemloft.net>
484         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
485         warnings.
487         [BZ #6471]
488         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
489         properly.
490         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
491         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
492         sysdep_routines when subdir is sysvipc.
493         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
494         __getshmlba helper.
496         * sysdeps/sparc/fpu/libm-test/ulps: Update.
498 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
500         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
501         [__LP64__].
503 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
505         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
506         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
507         (__lround): Renamed to ...
508         (__llround): This.  Replace long int with long long int.
509         Define lround functions as aliases of llround functions.
510         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
512 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
514         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
515         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
516         adresses to uintptr_t.  Replace "long int" and "unsigned long
517         int" with "greg_t" on va_arg.
519 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
521         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
522         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
524         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
525         Move e_machine check before EI_CLASS check.  Handle x32
526         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
527         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
528         SKIP_EM_IA_64 and include
529         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
531         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
532         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
533         (add_system_dir): New macro.
535         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
536         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
538 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
540         [BZ #2551]
541         [BZ #2552]
542         [BZ #2553]
543         [BZ #2554]
544         [BZ #2562]
545         [BZ #2563]
546         [BZ #2565]
547         [BZ #2566]
548         [BZ #2576]
549         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
550         (y0): Likewise.
551         * math/w_j0f.c (j0f): Likewise.
552         (y0f): Likewise.
553         * math/w_j0l.c (__j0l): Likewise.
554         (__y0l): Likewise.
555         * math/w_j1.c (j1): Likewise.
556         (y1): Likewise.
557         * math/w_j1f.c (j1f): Likewise.
558         (y1f): Likewise.
559         * math/w_j1l.c (__j1l): Likewise.
560         (__y1l): Likewise.
561         * math/w_jn.c (jn): Likewise.
562         (yn): Likewise.
563         * math/w_jnf.c (jnf): Likewise.
564         (ynf): Likewise.
565         * math/w_jnl.c (__jnl): Likewise.
566         (__ynl): Likewise.
567         * math/libm-test.inc (j0_test): Add more tests.
568         (j1_test): Likewise.
569         (jn_test): Likewise.  Add trailing semicolon to existing test.
570         (y0_test): Likewise.
571         (y1_test): Likewise.
572         * sysdeps/i386/fpu/libm-test-ulps: Update.
573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
575         [BZ #13851]
576         [BZ #13854]
577         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
578         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
579         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
580         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
581         (__tanl): Set errno for infinite argument.
582         * sysdeps/i386/fpu/mptan.c: Remove.
583         * sysdeps/i386/fpu/s_tan.S: Likewise.
584         * sysdeps/i386/fpu/s_tanl.S: Likewise.
585         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
586         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
587         * math/libm-test.inc (tan_test): Add more tests and enable more
588         tests for double and long double.
589         * sysdeps/i386/fpu/libm-test-ulps: Update.
590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
592 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
594         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
595         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
597 2012-03-16  Roland McGrath  <roland@hack.frob.com>
599         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
600         * configure.in: Use it for both main tree and add-ons.
601         * configure: Regenerated.
603 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
605         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
607 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
609         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
610         in comment.
612         [BZ #13851]
613         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
614         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
615         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
616         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
617         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
618         infinite argument.
619         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
620         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
621         != 0 for prec == 2.
622         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
623         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
624         * sysdeps/i386/fpu/s_cosl.S: Likewise.
625         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
626         * sysdeps/i386/fpu/s_sinl.S: Likewise.
627         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
628         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
629         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
630         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
631         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
632         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
633         * math/libm-test.inc (cos_test): Add more tests and enable more
634         tests for long double.
635         (sin_test): Likewise.
636         (sincos_test): Likewise.
637         * sysdeps/i386/fpu/libm-test-ulps: Update.
638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
640 2012-03-16  David S. Miller  <davem@davemloft.net>
642         * sysdeps/sparc/fpu/math_private.h: New file.
644 2012-03-15  David S. Miller  <davem@davemloft.net>
646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
647         file.
648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
650         file.
651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
654         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
655         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
657         sysdep routines.
658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
660         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
661         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
663         * sysdeps/sparc/sparc-ifunc.h: New file.
664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
665         sparc-ifunc.h
666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
668         Likewise.
669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
670         Likewise.
671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
675         Likewise.
676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
681         Likewise.
682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
683         Likewise.
684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
689         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
690         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
691         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
701         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
702         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
703         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
704         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
705         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
706         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
707         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
709 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
711         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
712         scaling.
713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
715 2012-03-15  Andreas Jaeger  <aj@suse.de>
717         [BZ #13852]
718         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
719         ieee754/flt-32 implementation for sin, cos and sincos.
720         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
721         * sysdeps/i386/fpu/s_cosf.S: Likewise.
722         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
723         * sysdeps/i386/fpu/s_sinf.S: Likewise.
724         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
725         ieee754/flt-32 implementation for tan.
727         * math/libm-test.inc (cos_test): Enable some large input tests for
728         float as well
729         (sin_test): Likewise.
730         (sincos_test): Likewise.
731         (tan_test): Add tests for large input.
733         * sysdeps/i386/fpu/libm-test-ulps: Update.
735 2012-03-15  Andreas Jaeger  <aj@suse.de>
737         [BZ #13658]
738         * math/libm-test.inc (cos_test): Add more test cases.
739         (sin_test): Likewise.
740         (sincos_test): Likewise.
742 2012-03-15  Andreas Jaeger  <aj@suse.de>
744         [BZ #13837]
745         * math/libm-test.inc (cos_test): Add a test case for large input
746         value.
747         (sin_test): Likewise.
748         (sincos_test): Likewise.
750 2012-03-15  Andreas Jaeger  <aj@suse.de>,
751         Joseph Myers  <joseph@codesourcery.com>
753         [BZ #13658]
754         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
755         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
756         * sysdeps/i386/fpu/branred.c: Likewise.
757         * sysdeps/i386/fpu/dosincos.c: Likewise.
758         * sysdeps/i386/fpu/mpa.c: Likewise.
759         * sysdeps/i386/fpu/s_cos.S: Likewise.
760         * sysdeps/i386/fpu/s_sin.S: Likewise.
761         * sysdeps/i386/fpu/s_sincos.S: Likewise.
762         * sysdeps/i386/fpu/sincos32.c: Likewise.
764         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
765         Define.
766         (libc_feupdateenv_53bit): Define.
767         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
768         Define.
769         (libc_feupdateenv_53bit): Define.
771         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
772         53 bit (without extend i386 double precision).
774         * math/libm-test.inc (sincos_test): Add tests for large input.
775         (sin): Likewise.
776         (cos): Likewise.
778         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
780 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
784 2012-03-15  David S. Miller  <davem@davemloft.net>
786         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
787         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
788         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
789         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
800         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
802         file.
803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
805         file.
806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
808         file.
809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
811         file.
812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
814         fmin/fmax sysdep routines.
815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
817 2012-03-14  David S. Miller  <davem@davemloft.net>
819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
823         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
824         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
825         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
826         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
831         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
832         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
833         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
834         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
835         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
836         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
837         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
838         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
839         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
840         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
841         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
842         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
843         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
844         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
845         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
846         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
847         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
848         routines.
849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
850         file.
851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
853         file.
854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
856         file.
857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
859         file.
860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
862         file.
863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
865         file.
866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
867         file.
868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
869         file.
870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
871         file.
872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
873         New file.
874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
875         file.
876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
877         file.
878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
880         file.
881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
883         file.
884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
886         file.
887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
889         VIS3 routines.
891         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
892         New file.
894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
896         * sysdeps/sparc/configure.in: New file.
897         * sysdeps/sparc/configure: Generate.
898         * configure.in (libc_cv_sparc_as_vis3): Substitute.
899         * configure: Regenerate.
900         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
901         * config.make.in (have-as-vis3): New.
902         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
903         available use -Av9d instead of -Av9a.
904         * sysdeps/sparc/sparc64/Makefile: Likewise.
905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
907         New file.
908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
909         file.
910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
911         New file.
912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
913         file.
914         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
915         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
916         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
917         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
918         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
920         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
921         fzeros/fnegs to load 0x80000000 into a float register instead of
922         using the stack.
923         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
925 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
928         bits/syscall.h.
929         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
930         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
931         ($(inst_includedir)/bits/syscall.h): Remove rule.
932         ($(objpfx)bits/syscall.d): Include instead of
933         $(objpfx)syscall-list.d.
934         (generated): Change syscall-list.h and syscall-list.d to
935         bits/syscall.h and bits/syscall.d.
937 2012-03-14  Roland McGrath  <roland@hack.frob.com>
939         [BZ #13846]
940         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
942 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #13841]
945         * math/s_csqrt.c: Include <float.h>.
946         (__csqrt): Scale large or subnormal inputs.
947         * math/s_csqrtf.c: Likewise.
948         * math/s_csqrtl.c: Likewise.
949         * math/libm-test.inc (csqrt_test): Add more tests.
950         * sysdeps/i386/fpu/libm-test-ulps: Update.
951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953         [BZ #13840]
954         * math/libm-test.inc (hypot_test): Add more tests.
956 2012-03-13  David S. Miller  <davem@davemloft.net>
958         [BZ #13840]
959         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
960         double-precision for the calculation instead of scaling.
962 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
964         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
965         manipulate bits before adding and subtracting TWO52[sx].
966         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
967         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
968         Likewise.
969         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
971 2012-03-13  David S. Miller  <davem@davemloft.net>
973         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
974         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
975         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
976         rtld-global-offsets.h
977         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
979         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
980         large parameters.
982         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
984         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
985         'err' in the ifdef scope in which it is actually used.
987         * nss/nss_db/db-init.c: Include string.h
989 2012-03-12  David S. Miller  <davem@davemloft.net>
991         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
992         masking out of the most significant byte of random value used.
993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
994         Fix coding style in previous change.
996         * sysdeps/unix/sysv/linux/kernel-features.h
997         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
998         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
999         expression.
1000         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1001         later.
1003 2012-03-11  David S. Miller  <davem@davemloft.net>
1005         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1006         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1007         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1008         for 'resultvar' otherwise things get truncated on 64-bit.
1010         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1011         Fix masking out of the most significant byte of random value used.
1013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1015 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
1017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1019 2012-03-09  David S. Miller  <davem@davemloft.net>
1021         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1022         variables with appropriate CPP guards.
1023         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1024         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
1025         on resulting framesize and the management of the outregs buffer for pltexit.
1026         Preserve floating point return values across _dl_call_pltexit call.
1027         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1028         framesize and the management of the outregs buffer for pltexit.
1029         Preserve floating point return values across _dl_call_pltexit
1030         call.
1031         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1032         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1033         (print_exit): Fix format string for return register value.
1035 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
1037         * sunrpc/Makefile (others): Add rpcgen.
1038         ($(objpfx)rpcgen): Remove special build rule and dependency on
1039         libc.
1040         * sunrpc/rpcgen.c: New file.
1042 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1044         [BZ #13673]
1045         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1046         * stdio-common/bug-vfprintf-nargs.c: Likewise.
1047         * sysdeps/i386/crti.S: Likewise.
1048         * sysdeps/i386/crtn.S: Likewise.
1049         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1050         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1051         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1052         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1053         * sysdeps/sh/crti.S: Likewise.
1054         * sysdeps/sh/crtn.S: Likewise.
1055         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1057         [BZ #13673]
1058         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1059         with URL.
1060         * locale/programs/locfile-kw.gperf: Likewise.
1061         * locale/programs/charmap-kw.h: Regenerated.
1062         * locale/programs/locfile-kw.h: Likewise.
1064         [BZ #13673]
1065         * intl/plural.y: Replace FSF snail mail address with URL.
1066         * intl/plural.c: Regenerated.
1068 2012-03-09  Richard Henderson  <rth@twiddle.net>
1070         * include/math_private.h: Remove file.
1071         * math/math_private.h: Move file ...
1072         * sysdeps/generic/math_private.h: ... here.
1074         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1075         * sysdeps/powerpc/fpu/math_private.h: Likewise.
1076         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1078         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1079         and <math_private.h>.
1080         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1081         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1082         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1083         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1084         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1085         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1086         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1087         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1088         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1089         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1091         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1092         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1093         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1094         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1095         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1096         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1097         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1098         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1099         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1101         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1102         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1104         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1105         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1106         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1110         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1112         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1113         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1114         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1115         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1116         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1117         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1118         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1120         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1121         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1122         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1123         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1124         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1125         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1126         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1127         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1128         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1129         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1130         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1131         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1132         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1133         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1134         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1135         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1136         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1137         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1138         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1139         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1140         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1141         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1142         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1143         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1144         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1145         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1146         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1147         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1148         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1149         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1150         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1151         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1152         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1153         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1154         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1157         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1158         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1159         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1160         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1161         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1162         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1163         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1164         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1165         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1167         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1168         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1169         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1170         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1171         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1172         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1173         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1174         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1175         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1176         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1177         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1178         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1179         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1180         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1181         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1182         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1183         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1184         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1185         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1186         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1187         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1188         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1189         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1190         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1191         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1192         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1193         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1194         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1195         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1196         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1197         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1198         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1199         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1200         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1201         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1202         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1203         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1204         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1205         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1206         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1207         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1208         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1209         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1210         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1211         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1212         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1213         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1214         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1215         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1216         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1217         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1218         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1219         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1220         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1221         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1222         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1223         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1224         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1225         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1226         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1227         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1228         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1229         * sysdeps/ieee754/k_standard.c: Likewise.
1230         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1231         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1232         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1233         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1234         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1235         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1236         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1237         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1238         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1239         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1240         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1241         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1242         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1243         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1244         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1245         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1246         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1247         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1248         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1258         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1261         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1262         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1263         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1265         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1266         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1267         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1268         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1269         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1270         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1271         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1272         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1273         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1274         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1275         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1276         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1277         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1278         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1279         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1280         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1281         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1282         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1283         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1284         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1285         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1286         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1287         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1288         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1289         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1290         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1291         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1292         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1296         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1303         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1307         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1308         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1317         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1318         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1319         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1320         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1321         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1322         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1323         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1325         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1328         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1331         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1343         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1344         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1345         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1347         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1348         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1349         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1350         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1351         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1352         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1353         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1354         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1355         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1356         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1357         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1358         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1359         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1360         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1361         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1362         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1363         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1364         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1365         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1366         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1367         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1368         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1369         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1370         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1371         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1372         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1373         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1374         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1376         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1377         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1378         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1379         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1380         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1381         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1382         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1383         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1384         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1385         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1386         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1387         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1389         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1390         * sysdeps/ieee754/s_lib_version.c: Likewise.
1391         * sysdeps/ieee754/s_matherr.c: Likewise.
1392         * sysdeps/ieee754/s_signgam.c: Likewise.
1393         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1394         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1395         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1396         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1397         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1398         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1399         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1400         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1401         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1402         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1403         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1404         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1405         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1406         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1407         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1408         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1409         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1410         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1411         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1415 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1417         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1418         * sunrpc/rpc_main.c: Likewise.
1419         * sunrpc/rpc_svcout.c: Likewise.
1421 2012-03-09  David S. Miller  <davem@davemloft.net>
1423         * include/math_private.h: New file.
1425 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1427         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1428         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1429         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1430         from <bits/socket_type.h>.
1431         (enum __socket_type): Don't define here.
1432         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1434         bits/socket_type.h.
1436         [BZ #13566]
1437         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1438         checking __USE_GNU.
1440         * Makerules ($(inst_includedir)/%.h): New rule.
1441         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1442         (install-others): Remove variable setting.
1443         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1445 2012-03-08  Richard Henderson  <rth@twiddle.net>
1447         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1448         from macro to inline function; merge with the
1449         !__LIBC_INTERNAL_MATH_INLINES version.
1450         (__ieee754_sqrtf): Likewise.
1452         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1453         to inline function.
1454         (__rintf, __floor, __floorf): Likewise.
1456         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1457         macro to inline function.
1458         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1460         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1461         not <math/math_private.h>.
1463 2012-03-08  David S. Miller  <davem@davemloft.net>
1465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1466         copyright year.
1467         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1469 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
1471         * resolv/gai_misc.c (handle_requests): Fix struct timespec
1472         normalization.
1473         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1474         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1476 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
1478         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
1479         be defined individually, they must be defined as a block.  Define
1480         S for printing a string instead of hidint the different by using a
1481         macro for adding the 'l'.
1482         * stdio-common/tst-fphex-wide.c: Adjust.
1484 2012-03-07  Marek Polacek  <polacek@redhat.com>
1486         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1488 2012-03-08  Marek Polacek  <polacek@redhat.com>
1490         [BZ #13806]
1491         * stdio-common/Makefile (tests): Add tst-fphex-wide.
1492         * stdio-common/tst-fphex.c: Define a few macros to make the
1493         test reusable.  Use them.
1494         * stdio-common/tst-fphex-wide.c: New file.
1496 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
1498         [BZ #6911]
1499         * manual/macros.texi (gnusystems): New macro.
1500         (nongnusystems): Likewise.
1501         (gnulinuxhurdsystems): Likewise.
1502         (gnuhurdsystems): Likewise..
1503         (gnulinuxsystems): Likewise.
1504         * manual/charset.texi: Use new macros or @theglibc{} to refer to
1505         variants of the GNU system, not "GNU system".
1506         * manual/conf.texi: Likewise.
1507         * manual/errno.texi: Likewise.  Update example of errno macro
1508         expansion.
1509         * manual/filesys.texi: Likewise.
1510         (getumask): Document as specific to GNU/Hurd.
1511         * manual/install.texi: Likewise.  Reword some references to
1512         GNU/Linux.
1513         * manual/intro.texi: Likewise.
1514         * manual/io.texi: Likewise.
1515         (File Name Portability): Detail which constraints are inapplicable
1516         to all GNU systems and which are only inapplicable to GNU/Hurd.
1517         * manual/job.texi: Likewise.
1518         * manual/llio.texi: Likewise.
1519         (O_NOCTTY): Document as present on GNU/Linux.
1520         * manual/maint.texi: Likewise.
1521         * manual/memory.texi: Likewise.
1522         * manual/pattern.texi: Likewise.
1523         * manual/pipe.texi: Likewise.
1524         * manual/process.texi: Likewise.
1525         * manual/resource.texi: Likewise.
1526         (RUSAGE_CHILDREN): Remove statement about specifying a particular
1527         child on GNU/Hurd.
1528         * manual/setjmp.texi: Likewise.
1529         * manual/signal.texi: Likewise.
1530         * manual/startup.texi: Likewise.
1531         * manual/stdio.texi: Likewise.
1532         * manual/terminal.texi: Likewise.
1533         (ONLCR): Document as POSIX.
1534         (OXTABS): Document availability on GNU/Linux as XTABS.
1535         (ONOEOT): Document availability separately from other bits.
1536         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1537         * manual/time.texi: Likewise.
1538         * manual/users.texi: Likewise.
1539         * INSTALL: Regenerated.
1540         * sysdeps/gnu/errlist.c: Regenerated.
1542         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1543         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1544         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
1545         puts.
1546         * configure: Regenerated.
1548 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
1550         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1551         default includes instead of AC_HEADER_CHECK.
1552         * sysdeps/i386/configure: Regenerated.
1554         [BZ #10716]
1555         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1556         * math/s_cacoshf.c (__cacoshf): Likewise.
1557         * math/s_cacoshl.c (__cacoshl): Likewise.
1558         * math/s_casinh.c (__casinh): Set signs of result from argument.
1559         * math/s_casinhf.c (__casinhf): Likewise.
1560         * math/s_casinhl.c (__casinhl): Likewise.
1561         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1562         (casinh_test): Add more tests.
1563         * sysdeps/i386/fpu/libm-test-ulps: Update.
1564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1566 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
1568         * po/zh_TW.po: Update from translation team.
1570         * login/Makefile (distribute): Remove variable.
1571         * catgets/Makefile: Likewise.
1572         * mach/Makefile: Likewise.
1573         * malloc/Makefile: Likewise.
1574         * misc/Makefile: Likewise.
1575         * iconv/Makefile: Likewise.
1576         * nscd/Makefile: Likewise.
1577         * hurd/Makefile: Likewise.
1578         * manual/Makefile: Likewise.
1579         * locale/Makefile: Likewise.
1580         * intl/Makefile: Likewise.
1581         * conform/Makefile: Likewise.
1582         * nss/Makefile: Likewise.
1583         * time/Makefile: Likewise.
1584         * soft-fp/Makefile: Likewise.
1585         * dirent/Makefile: Likewise.
1586         * gmon/Makefile: Likewise.
1587         * po/Makefile: Likewise.
1588         * rt/Makefile: Likewise.
1589         * socket/Makefile: Likewise.
1590         * math/Makefile: Likewise.
1591         * signal/Makefile: Likewise.
1592         * debug/Makefile: Likewise.
1593         * elf/Makefile: Likewise.
1594         * timezone/Makefile: Likewise.
1595         * stdlib/Makefile: Likewise.
1596         * iconvdata/Makefile: Likewise.
1597         * sunrpc/Makefile: Likewise.
1598         * io/Makefile: Likewise.
1599         * argp/Makefile: Likewise.
1600         * inet/Makefile: Likewise.
1601         * hesiod/Makefile: Likewise.
1602         * grp/Makefile: Likewise.
1603         * csu/Makefile: Likewise.
1604         * wctype/Makefile: Likewise.
1605         * crypt/Makefile: Likewise.
1606         * libio/Makefile: Likewise.
1607         * string/Makefile: Likewise.
1608         * nis/Makefile: Likewise.
1609         * resolv/Makefile: Likewise.
1610         * stdio-common/Makefile: Likewise.
1611         * wcsmbs/Makefile: Likewise.
1612         * dlfcn/Makefile: Likewise.
1613         * posix/Makefile: Likewise.
1615         * timezone/Makefile: Don't install timezone files, just the programs
1616         and scripts.
1618 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
1620         * nss/databases.def: Add missing gshadow entry.
1622         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
1624 2012-03-06  Marek Polacek  <polacek@redhat.com>
1626         [BZ #13726]
1627         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1628         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1629         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1630         * stdio-common/tst-long-dbl-fphex.c: New file.
1632 2012-03-06  David S. Miller  <davem@davemloft.net>
1634         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1635         (set_obp_int): New function.
1636         (get_obp_int): New function.
1637         (__get_clockfreq_via_dev_openprom): Likewise.
1638         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1639         Avoid unused variable warnings on 'val' and use builtin_expect.
1640         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1641         __builtin_expect.
1642         (INLINE_CLONE_SYSCALL): Likewise.
1644 2012-03-05  David S. Miller  <davem@davemloft.net>
1646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1648 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
1650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1652         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1653         only for |x| >= 40.
1654         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1656 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1658         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1659         Replace gettimeofday with __vdso_gettimeofday.
1661         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1662         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1663         __vdso_clock_gettime and __vdso_getcpu.
1665         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1666         time with __vdso_time.
1668 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1670         * manual/lang.texi (size_t): Note types to which size_t may be
1671         equivalent with the GNU C Library, but do not describe when
1672         differences between them are significant.
1674 2012-03-05  Andreas Jaeger  <aj@suse.de>
1676         * sysdeps/i386/fpu/libm-test-ulps: Update.
1678 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1680         [BZ #3976]
1681         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1682         (__ieee754_pow): Save and restore rounding mode and use
1683         round-to-nearest for main computations.
1684         * math/libm-test.inc (pow_test_tonearest): New function.
1685         (pow_test_towardzero): Likewise.
1686         (pow_test_downward): Likewise.
1687         (pow_test_upward): Likewise.
1688         (main): Call the new functions.
1689         * sysdeps/i386/fpu/libm-test-ulps: Update.
1690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1692         [BZ #3976]
1693         * math/libm-test.inc (cosh_test_tonearest): New function.
1694         (cosh_test_towardzero): Likewise.
1695         (cosh_test_downward): Likewise.
1696         (cosh_test_upward): Likewise.
1697         (sinh_test_tonearest): Likewise.
1698         (sinh_test_towardzero): Likewise.
1699         (sinh_test_downward): Likewise.
1700         (sinh_test_upward): Likewise.
1701         (main): Call the new functions.
1702         * sysdeps/i386/fpu/libm-test-ulps: Update.
1703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1705 2012-03-05  Tom de Vries  <tom@codesourcery.com>
1707         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1708         default stack guard is set in last bytes.
1709         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1711 2012-03-05  Kees Cook  <keescook@chromium.org>
1713         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1715         [BZ #13656]
1716         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1717         possibly allocate from heap instead of stack.
1718         * stdio-common/bug-vfprintf-nargs.c: New file.
1719         * stdio-common/Makefile (tests): Add nargs overflow test.
1721 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
1723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1725 2012-03-03  Marek Polacek  <polacek@redhat.com>
1727         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1728         * math/math_private.h: Likewise.
1729         * stdlib/tst-strtod.c: Likewise.
1730         * sysdeps/i386/i486/bits/atomic.h: Likewise.
1731         * sysdeps/x86_64/bits/atomic.h: Likewise.
1733 2012-03-02  David S. Miller  <davem@davemloft.net>
1735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1739         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1740         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1741         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1742         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1744 2012-03-02  Roland McGrath  <roland@hack.frob.com>
1746         [BZ #13792]
1747         * manual/examples/README: New file, says the example source files
1748         can be used under GPL>=2.
1749         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1750         line containing just "*/".
1751         * manual/examples/add.c: Add copyright header (GPL>=2).
1752         * manual/examples/argp-ex1.c: Likewise.
1753         * manual/examples/argp-ex2.c: Likewise.
1754         * manual/examples/argp-ex3.c: Likewise.
1755         * manual/examples/argp-ex4.c: Likewise.
1756         * manual/examples/atexit.c: Likewise.
1757         * manual/examples/db.c: Likewise.
1758         * manual/examples/dir.c: Likewise.
1759         * manual/examples/dir2.c: Likewise.
1760         * manual/examples/execinfo.c: Likewise.
1761         * manual/examples/filecli.c: Likewise.
1762         * manual/examples/filesrv.c: Likewise.
1763         * manual/examples/fmtmsgexpl.c: Likewise.
1764         * manual/examples/genpass.c: Likewise.
1765         * manual/examples/inetcli.c: Likewise.
1766         * manual/examples/inetsrv.c: Likewise.
1767         * manual/examples/isockad.c: Likewise.
1768         * manual/examples/longopt.c: Likewise.
1769         * manual/examples/memopen.c: Likewise.
1770         * manual/examples/memstrm.c: Likewise.
1771         * manual/examples/mkfsock.c: Likewise.
1772         * manual/examples/mkisock.c: Likewise.
1773         * manual/examples/mygetpass.c: Likewise.
1774         * manual/examples/pipe.c: Likewise.
1775         * manual/examples/popen.c: Likewise.
1776         * manual/examples/rprintf.c: Likewise.
1777         * manual/examples/search.c: Likewise.
1778         * manual/examples/select.c: Likewise.
1779         * manual/examples/setjmp.c: Likewise.
1780         * manual/examples/sigh1.c: Likewise.
1781         * manual/examples/sigusr.c: Likewise.
1782         * manual/examples/stpcpy.c: Likewise.
1783         * manual/examples/strdupa.c: Likewise.
1784         * manual/examples/strftim.c: Likewise.
1785         * manual/examples/strncat.c: Likewise.
1786         * manual/examples/subopt.c: Likewise.
1787         * manual/examples/swapcontext.c: Likewise.
1788         * manual/examples/termios.c: Likewise.
1789         * manual/examples/testopt.c: Likewise.
1790         * manual/examples/testpass.c: Likewise.
1791         * manual/examples/timeval_subtract.c: Likewise.
1793         [BZ #13792]
1794         * manual/time.texi (Elapsed Time): Move timeval_subtract example
1795         function to ...
1796         * manual/timeval_subtract.c.texi: ... here, new file.
1798 2012-03-02  David S. Miller  <davem@davemloft.net>
1800         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1802 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
1804         [BZ #3976]
1805         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1806         (__sin): Save and restore rounding mode and use round-to-nearest
1807         for all computations.
1808         (__cos): Save and restore rounding mode and use round-to-nearest
1809         for all computations.
1810         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1811         <fenv.h>.
1812         (tan): Save and restore rounding mode and use round-to-nearest for
1813         all computations.
1814         * math/libm-test.inc (cos_test_tonearest): New function.
1815         (cos_test_towardzero): Likewise.
1816         (cos_test_downward): Likewise.
1817         (cos_test_upward): Likewise.
1818         (sin_test_tonearest): Likewise.
1819         (sin_test_towardzero): Likewise.
1820         (sin_test_downward): Likewise.
1821         (sin_test_upward): Likewise.
1822         (tan_test_tonearest): Likewise.
1823         (tan_test_towardzero): Likewise.
1824         (tan_test_downward): Likewise.
1825         (tan_test_upward): Likewise.
1826         (main): Call the new functions.
1827         * sysdeps/i386/fpu/libm-test-ulps: Update.
1828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1830         [BZ #10135]
1831         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1832         small n, then large n, before computing and testing k+n.
1833         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1834         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1835         Likewise.
1836         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1837         Likewise.
1838         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1839         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1840         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1841         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1842         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1843         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1844         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1845         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1846         * math/libm-test.inc (scalbn_test): Add more tests.
1847         (scalbln_test): Likewise.
1849         * manual/filesys.texi (mode_t): Describe constraints on size and
1850         signedness, not exact equivalence to a particular type.
1851         (ino_t): Likewise.
1852         (ino64_t): Likewise.
1853         (dev_t): Likewise.
1854         (nlink_t): Likewise.
1855         (blkcnt_t): Likewise.
1856         (blkcnt64_t): Likewise.
1857         * manual/llio.texi (off_t): Likewise.
1859         [BZ #3976]
1860         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1861         (__ieee754_exp): Save and restore rounding mode and use
1862         round-to-nearest for all computations.
1863         * math/libm-test.inc (exp_test_tonearest): New function.
1864         (exp_test_towardzero): Likewise.
1865         (exp_test_downward): Likewise.
1866         (exp_test_upward): Likewise.
1867         (main): Call the new functions.
1868         * sysdeps/i386/fpu/libm-test-ulps: Update.
1869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1871 2012-03-01  Chris Demetriou  <cgd@google.com>
1873         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1874         have predictable order.
1876 2012-03-01  David S. Miller  <davem@davemloft.net>
1878         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1880         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1881         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1882         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1883         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1885         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1886         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1887         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1889         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1890         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1891         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1892         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1893         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1897         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1898         * sysdeps/sparc/fpu/libm-test-ulps: to here.
1899         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1901         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1902         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1903         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1904         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1905         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1906         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1907         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1908         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1909         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1910         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1911         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1912         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1914         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1915         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1917         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1918         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1919         * sysdeps/sparc/elf/configure: Regenerated.
1921 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
1923         * configure.in (AS, LD): Require binutils 2.20 or later.
1924         * configure: Regenerated.
1925         * manual/install.texi (Tools for Compilation): Give binutils 2.20
1926         as required minimum version.
1927         * INSTALL: Regenerated.
1929         [BZ #2541]
1930         [BZ #4108]
1931         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1932         before squaring exponent.
1933         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1934         bottom long double and 27 bits of top long double before squaring
1935         exponent.
1936         * math/libm-test.inc (erfc_test): Add more tests.
1937         * sysdeps/i386/fpu/libm-test-ulps: Update.
1938         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1941 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1943         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1944         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1945         containing bit-fields.
1946         * soft-fp/extended.h (_FP_UNION_E): Likewise.
1947         * soft-fp/single.h (_FP_UNION_S): Likewise.
1948         * soft-fp/double.h (_FP_UNION_D): Likewise.
1950 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1952         [BZ #13786]
1953         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1954         not include ../strcmp.S.
1955         [USE_AS_STRNCASECMP_L]: Likewise.
1956         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1957         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1958         * sysdeps/i386/i686/multiarch/strncase_l-c.c
1959         (__strncasecmp_l_ia32): Define as alias to
1960         __strncasecmp_l_nonascii.
1962         [BZ #5794]
1963         * math/libm-test.inc (expm1_test): Add test for bug 5794.
1964         * sysdeps/i386/fpu/libm-test-ulps: Update.
1965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1967         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1970 2012-02-29  Jeff Law  <law@redhat.com>
1972         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1973         out of bounds read.
1975 2012-02-29  Marek Polacek  <polacek@redhat.com>
1977         [BZ #13706]
1978         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1979         * elf/Makefile: Add rules to run tst-unused-dep.out.
1981 2012-02-28  David S. Miller  <davem@davemloft.net>
1983         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1984         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1985         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1986         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1987         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1988         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1990 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1992         * math/libm-test.inc (llround_test): Move one test from
1993         lround_test.  Use TEST_f_L in moved test.
1994         (lround_test): Move misplaced test to llround_test.  Add testcase
1995         from bug 2561.
1997 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
1999         * sysdeps/x86_64/fpu/e_expf.S: New file.
2000         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2002 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
2004         [BZ #13637]
2005         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2006         of remain_len that may cause incomplete multi-byte character and
2007         false match.
2008         * posix/bug-regex33.c: New file.
2009         * posix/Makefile (tests): Add bug-regex33.
2011 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
2013         * manual/macros.texi: New file.
2014         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2015         * manual/libc.texinfo: Include macros.texi.
2016         * manual/creatute.texi: Likewise.
2017         * manual/install.texi: Likewise.
2018         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2019         @glibcadj{} in references to the GNU C Library.
2020         * manual/charset.texi: Likewise.
2021         * manual/conf.texi: Likewise.
2022         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
2023         when not using those macros.
2024         * manual/creature.texi: Likewise.
2025         * manual/crypt.texi: Likewise.
2026         * manual/errno.texi: Likewise.
2027         * manual/filesys.texi: Likewise.
2028         * manual/header.texi: Likewise.
2029         * manual/install.texi: Likewise.
2030         * manual/intro.texi: Likewise.
2031         * manual/io.texi: Likewise.
2032         * manual/job.texi: Likewise.
2033         * manual/lang.texi: Likewise.
2034         * manual/libc.texiinfo: Likewise.
2035         * manual/llio.texi: Likewise.
2036         * manual/locale.texi: Likewise.
2037         * manual/maint.texi: Likewise.
2038         * manual/math.texi: Likewise.
2039         * manual/memory.texi: Likewise.
2040         * manual/message.texi: Likewise.
2041         * manual/nss.texi: Likewise.
2042         * manual/pattern.texi: Likewise.
2043         * manual/process.texi: Likewise.
2044         * manual/resource.texi: Likewise.
2045         * manual/search.texi: Likewise.
2046         * manual/setjmp.texi: Likewise.
2047         * manual/signal.texi: Likewise.
2048         * manual/socket.texi: Likewise.
2049         * manual/startup.texi: Likewise.
2050         * manual/stdio.texi: Likewise.
2051         * manual/string.texi: Likewise.
2052         * manual/sysinfo.texi: Likewise.
2053         * manual/syslog.texi: Likewise.
2054         * manual/terminal.texi: Likewise.
2055         * manual/time.texi: Likewise.
2056         * manual/users.texi: Likewise.
2057         * INSTALL: Regenerated.
2058         * NOTES: Regenerated.
2059         * sysdeps/gnu/errlist.c: Regenerated.
2061 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2063         * include/dirent.h: Include <dirstream.h> before
2064         <dirent/dirent.h>.
2066 2012-02-28  David S. Miller  <davem@davemloft.net>
2068         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2069         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2070         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2071         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2073 2012-02-27  David S. Miller  <davem@davemloft.net>
2075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2077         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2078         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2081         frame pointer instead of stack pointer relative arg slot.
2082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2083         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2084         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2086 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
2088         [BZ #3992]
2089         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2091 2012-02-27  David S. Miller  <davem@davemloft.net>
2093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2097         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2098         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2099         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2100         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2102 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
2104         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2105         later.  Allow versions 5-9.
2106         * configure: Regenerated.
2107         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2108         required minimum version and 4.6 as recommended version.  Do not
2109         mention bugs in GCC 2.7 and 2.8.
2110         * INSTALL: Regenerated.
2112 2012-02-27  David S. Miller  <davem@davemloft.net>
2114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2118         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2119         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2120         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2121         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2123         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2124         manipulate bits before adding and subtracting TWO112[sx].
2125         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2127 2012-02-27  Roland McGrath  <roland@hack.frob.com>
2129         [BZ #13775]
2130         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2131         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2132         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2133         being in POSIX, because they are in 1003.1-2008.
2135         * rt/tst-aio.c: Include <fcntl.h>.
2136         * rt/tst-aio7.c: Likewise.
2137         * rt/tst-aio64.c: Likewise.
2139         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2141 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
2143         * manual/install.texi (--with-headers): Describe headers as
2144         interface headers, not private headers.
2145         (Specific advice for GNU/Linux systems): Describe use of headers
2146         from "make headers_install", not private headers from older
2147         kernels.
2148         * INSTALL: Regenerated.
2149         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2150         Change to 2.6.19.
2151         * sysdeps/unix/sysv/linux/configure: Regenerated.
2153         * manual/llio.texi (fclean): Remove documentation.
2155         * manual/Makefile (libc-texi-generated): New variable.  Include
2156         version.texi.
2157         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2158         $(libc-texi-generated), not duplicated list of files.
2159         (version.texi, stamp-version): New rules.
2160         (realclean): Remove $(libc-texi-generated), not individual files
2161         from that list.  Do not remove dir-add.texinfo.
2162         * manual/libc.texinfo: Comment out uses of edition numbers and
2163         references to printed manual.  Remove last-updated dates.
2164         (EDITION): Comment out.
2165         (ISBN): Likewise.
2166         (VERSION, UPDATED): Remove.
2167         (version.texi): Include.
2169 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
2171         * sysdeps/posix/spawni.c: Include <signal.h>.
2172         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2173         * sysdeps/pthread/aio_fsync.c: Likewise.
2175 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
2177         * conform/Makefile (tests): Run only when not cross-compiling and
2178         when fast-check is not defined.
2180         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2181         * conform/data/limits.h-data: Fixes for POSIX2008.
2182         * conform/run-conformtest.sh: Run all tests.
2183         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2184         headers.
2185         * include/bits/dlfcn.h: Likewise.
2186         * include/langinfo.h: Likewise.
2187         * include/monetary.h: Likewise.
2188         * include/sys/poll.h: Likewise.
2190         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2191         for __USE_GNU.
2192         * posix/spawn.h: Define __need_sigset_t.
2193         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2194         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2195         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
2196         to get sigevent_t only.
2197         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2198         only for __USE_GNU.
2199         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2200         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2201         process_vm_writev only for __USE_GNU.
2202         * termios/termios.h: Declare tcgetsid also for POSIX2008.
2204         * conform/Makefile: For now ignore errors from run-conformtest.
2205         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
2206         POSIX to avoid namespace pollution.  Don't prepend headers.
2207         * conform/data/aio.h-data: Fixes for POSIX testing.
2208         * conform/data/fcntl.h-data: Likewise.
2209         * conform/data/glob.h-data: Likewise.
2210         * conform/data/grp.h-data: Likewise.
2211         * conform/data/pthread.h-data: Likewise.
2212         * conform/data/pwd.h-data: Likewise.
2213         * conform/data/signal.h-data: Likewise.
2214         * conform/data/spawn.h-data: Likewise.
2215         * conform/data/stdio.h-data: Likewise.
2216         * conform/data/stdlib.h-data: Likewise.
2217         * conform/data/stropts.h-data: Likewise.
2218         * conform/data/sys/mman.h-data: Likewise.
2219         * conform/data/sys/stat.h-data: Likewise.
2220         * conform/data/sys/types.h-data: Likewise.
2221         * conform/data/sys/wait.h-data: Likewise.
2222         * conform/data/time.h-data: Likewise.
2223         * conform/data/unistd.h-data: Likewise.
2224         * conform/data/utime.h-data: Likewise.
2226         * io/sys/stat.h: fchmod was always in POSIX.
2227         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2228         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2229         * rt/aio.h: Define __need_timespec before including <time.h>.
2230         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2231         struct.  Add forward declaration of pthread_attr_t and use it in
2232         sigevent.
2233         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2234         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2235         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2236         always remove CLK_TCK definition.
2238 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
2240         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2242 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
2244         * conform/run-conformtest.sh: New file.
2245         * conform/Makefile: Run run-conformtest for tests.
2246         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
2247         support.
2249         * conform/data/uchar.h-data: New file.
2250         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2251         * conform/data/arpa/inet.h-data: Likewise.
2252         * conform/data/assert.h-data: Likewise.
2253         * conform/data/complex.h-data: Likewise.
2254         * conform/data/cpio.h-data: Likewise.
2255         * conform/data/ctype.h-data: Likewise.
2256         * conform/data/dirent.h-data: Likewise.
2257         * conform/data/dlfcn.h-data: Likewise.
2258         * conform/data/errno.h-data: Likewise.
2259         * conform/data/fcntl.h-data: Likewise.
2260         * conform/data/float.h-data: Likewise.
2261         * conform/data/fmtmsg.h-data: Likewise.
2262         * conform/data/fnmatch.h-data: Likewise.
2263         * conform/data/ftw.h-data: Likewise.
2264         * conform/data/glob.h-data: Likewise.
2265         * conform/data/grp.h-data: Likewise.
2266         * conform/data/iconv.h-data: Likewise.
2267         * conform/data/inttypes.h-data: Likewise.
2268         * conform/data/langinfo.h-data: Likewise.
2269         * conform/data/libgen.h-data: Likewise.
2270         * conform/data/limits.h-data: Likewise.
2271         * conform/data/locale.h-data: Likewise.
2272         * conform/data/math.h-data: Likewise.
2273         * conform/data/monetary.h-data: Likewise.
2274         * conform/data/mqueue.h-data: Likewise.
2275         * conform/data/ndbm.h-data: Likewise.
2276         * conform/data/net/if.h-data: Likewise.
2277         * conform/data/netdb.h-data: Likewise.
2278         * conform/data/netinet/in.h-data: Likewise.
2279         * conform/data/nl_types.h-data: Likewise.
2280         * conform/data/poll.h-data: Likewise.
2281         * conform/data/pthread.h-data: Likewise.
2282         * conform/data/pwd.h-data: Likewise.
2283         * conform/data/regex.h-data: Likewise.
2284         * conform/data/sched.h-data: Likewise.
2285         * conform/data/search.h-data: Likewise.
2286         * conform/data/semaphore.h-data: Likewise.
2287         * conform/data/setjmp.h-data: Likewise.
2288         * conform/data/signal.h-data: Likewise.
2289         * conform/data/spawn.h-data: Likewise.
2290         * conform/data/stdarg.h-data: Likewise.
2291         * conform/data/stdio.h-data: Likewise.
2292         * conform/data/stdlib.h-data: Likewise.
2293         * conform/data/string.h-data: Likewise.
2294         * conform/data/strings.h-data: Likewise.
2295         * conform/data/stropts.h-data: Likewise.
2296         * conform/data/sys/ipc.h-data: Likewise.
2297         * conform/data/sys/mman.h-data: Likewise.
2298         * conform/data/sys/msg.h-data: Likewise.
2299         * conform/data/sys/resource.h-data: Likewise.
2300         * conform/data/sys/select.h-data: Likewise.
2301         * conform/data/sys/sem.h-data: Likewise.
2302         * conform/data/sys/shm.h-data: Likewise.
2303         * conform/data/sys/socket.h-data: Likewise.
2304         * conform/data/sys/stat.h-data: Likewise.
2305         * conform/data/sys/statvfs.h-data: Likewise.
2306         * conform/data/sys/time.h-data: Likewise.
2307         * conform/data/sys/timeb.h-data: Likewise.
2308         * conform/data/sys/times.h-data: Likewise.
2309         * conform/data/sys/types.h-data: Likewise.
2310         * conform/data/sys/uio.h-data: Likewise.
2311         * conform/data/sys/un.h-data: Likewise.
2312         * conform/data/sys/utsname.h-data: Likewise.
2313         * conform/data/sys/wait.h-data: Likewise.
2314         * conform/data/syslog.h-data: Likewise.
2315         * conform/data/tar.h-data: Likewise.
2316         * conform/data/termios.h-data: Likewise.
2317         * conform/data/utime.h-data: Likewise.
2318         * conform/data/utmpx.h-data: Likewise.
2319         * conform/data/varargs.h-data: Likewise.
2320         * conform/data/wchar.h-data: Likewise.
2321         * conform/data/wctype.h-data: Likewise.
2322         * conform/data/wordexp.h-data: Likewise.
2324         * include/stropts.h: New file.
2325         * include/uchar.h: New file.
2326         * include/aio.h: Changes to allow conformtest.pl to use the headers.
2327         * include/assert.h: Likewise.
2328         * include/ctype.h: Likewise.
2329         * include/dirent.h: Likewise.
2330         * include/dlfcn.h: Likewise.
2331         * include/fcntl.h: Likewise.
2332         * include/fnmatch.h: Likewise.
2333         * include/glob.h: Likewise.
2334         * include/grp.h: Likewise.
2335         * include/libio.h: Likewise.
2336         * include/locale.h: Likewise.
2337         * include/math.h: Likewise.
2338         * include/net/if.h: Likewise.
2339         * include/netdb.h: Likewise.
2340         * include/netinet/in.h: Likewise.
2341         * include/pthread.h: Likewise.
2342         * include/pwd.h: Likewise.
2343         * include/regex.h: Likewise.
2344         * include/sched.h: Likewise.
2345         * include/search.h: Likewise.
2346         * include/setjmp.h: Likewise.
2347         * include/signal.h: Likewise.
2348         * include/stdio.h: Likewise.
2349         * include/stdlib.h: Likewise.
2350         * include/string.h: Likewise.
2351         * include/sys/cdefs.h: Likewise.
2352         * include/sys/mman.h: Likewise.
2353         * include/sys/msg.h: Likewise.
2354         * include/sys/resource.h: Likewise.
2355         * include/sys/select.h: Likewise.
2356         * include/sys/socket.h: Likewise.
2357         * include/sys/stat.h: Likewise.
2358         * include/sys/statvfs.h: Likewise.
2359         * include/sys/time.h: Likewise.
2360         * include/sys/times.h: Likewise.
2361         * include/sys/uio.h: Likewise.
2362         * include/sys/utsname.h: Likewise.
2363         * include/sys/wait.h: Likewise.
2364         * include/termios.h: Likewise.
2365         * include/time.h: Likewise.
2366         * include/ulimit.h: Likewise.
2367         * include/unistd.h: Likewise.
2368         * include/utime.h: Likewise.
2369         * include/wchar.h: Likewise.
2370         * include/wctype.h: Likewise.
2371         * include/wordexp.h: Likewise.
2373         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2375         * time/time.h: TIME_UTC must be a macro.
2376         Make timespec_get available for ISO C11 only as well.
2378 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
2380         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2381         Reported by Peng Haitao <penght@cn.fujitsu.com>.
2383 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2385         * configure.in: Use -o not -a in test for unsupported multi-arch.
2387 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2389         * manual/texinfo.tex: Update to version 2012-01-19.16.
2391 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2393         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2395 2012-02-24  Roland McGrath  <roland@hack.frob.com>
2397         [BZ #13738]
2398         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2399         * manual/fdl-1.3.texi: New file.
2400         * manual/fdl-1.1.texi: File removed.
2402         [BZ #13738]
2403         * manual/libc.texinfo (FDL_VERSION): New @set.
2404         Use it for mention of FDL in cover text.
2405         (Documentation License): Use it in @include file name.
2407 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2408             Roland McGrath  <roland@hack.frob.com>
2410         [BZ #5461]
2411         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2412         not LONG_LONG_MAX and LONG_LONG_MIN.
2413         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2414         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
2415         name.
2416         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2418 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2420         [BZ #2547]
2421         [BZ #11365]
2422         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2423         manipulate bits before adding and subtracting TWO23[sx].
2424         * math/libm-test.inc (nearbyint_test): Add more tests.
2426 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2428         [BZ #2548]
2429         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2430         bits before adding and subtracting TWO23[sx].
2431         * math/libm-test.inc (rint_test): Add more tests.
2432         (rint_test_tonearest): Likewise.
2433         (rint_test_towardzero): Likewise.
2434         (rint_test_downward): Likewise.
2435         (rint_test_upward: Likewise.
2437 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2439         [BZ #10110]
2440         * include/stdc-predef.h: New file.  Extracted from features.h.
2441         * include/features.h: Include stdc-predef.h.
2442         * Makefile (headers): Add stdc-predef.h.
2443         * CONFORMANCE (Compiler limitations): Update.
2445 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2447         * manual/libc.texinfo (VERSION, UPDATED): Revert.
2449 2012-02-21  David S. Miller  <davem@davemloft.net>
2451         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2452         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2454 2012-02-20  David S. Miller  <davem@davemloft.net>
2456         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2457         using a normal save/restore sequence, rather than allocating a
2458         dummy stack frame just to store a frame pointer and restore.
2459         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2461 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2463         * manual/install.texi: Fix stray word in line-wrapped comment.
2465 2012-02-20  David S. Miller  <davem@davemloft.net>
2467         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2468         both binutils and gcc support GOTDATA.
2470         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2471         "rd %pc" in the PIC register setup sequences.
2473         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2474         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2475         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2476         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2477         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2479         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2480         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2482         (SYSCALL_ERROR_HANDLER): Likewise.
2483         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2484         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2486         (SYSCALL_ERROR_HANDLER): Likewise.
2488         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2489         (HAVE_GCC_GOTDATA): New.
2490         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2491         relocation support in both binutils and gcc.
2492         * sysdeps/sparc/elf/configure: Regenerate.
2494         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2495         * sysdeps/sparc/sparc32/elf/configure: Delete.
2496         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2497         * sysdeps/sparc/sparc64/elf/configure: Delete.
2498         * sysdeps/sparc/elf/configure.in: New file.
2499         * sysdeps/sparc/elf/configure: Generate.
2501         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2502         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2503         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2504         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2505         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2507 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2509         * manual/install.texi: Do not mention specific glibc version
2510         numbers.
2511         * manual/libc.texinfo (VERSION, UPDATED): Update.
2512         (@copying): Use @copyright{} and range of years.
2514 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2516         [BZ #13695]
2517         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2518         [crti.S not in sysdirs] (generated): Do not append.
2519         [crti.S not in sysdirs] (omit-deps): Likewise.
2520         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2521         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2522         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2523         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2524         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2525         Likewise.
2526         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2527         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2528         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2529         * csu/defs.awk: Remove file.
2530         * sysdeps/generic/initfini.c: Likewise.
2531         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2532         variable.
2533         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2534         Likewise.
2536 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2538         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2539         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2540         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2541         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2542         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2543         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2544         <bits/epoll.h>.
2545         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2546         (__EPOLL_PACKED): Define to empty if not defined by
2547         <bits/epoll.h>.
2548         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2550         bits/epoll.h.
2552 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2554         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2555         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2556         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2557         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2558         <bits/timerfd.h>.
2559         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2561         bits/timerfd.h.
2563 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2565         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2566         in C locale.
2567         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2568         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2569         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
2574         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2575         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2577 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
2579         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2580         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2581         defined.
2582         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2585         entry for 2.16.
2587 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
2589         * math/w_acos.c: Use non-signaling floating-point comparisons.
2590         * math/w_acosf.c: Likewise.
2591         * math/w_acosh.c: Likewise.
2592         * math/w_acoshf.c: Likewise.
2593         * math/w_acoshl.c: Likewise.
2594         * math/w_acosl.c: Likewise.
2595         * math/w_asin.c: Likewise.
2596         * math/w_asinf.c: Likewise.
2597         * math/w_asinl.c: Likewise.
2598         * math/w_atanh.c: Likewise.
2599         * math/w_atanhf.c: Likewise.
2600         * math/w_atanhl.c: Likewise.
2601         * math/w_exp2.c: Likewise.
2602         * math/w_exp2f.c: Likewise.
2603         * math/w_exp2l.c: Likewise.
2604         * math/w_j0.c: Likewise.
2605         * math/w_j0f.c: Likewise.
2606         * math/w_j0l.c: Likewise.
2607         * math/w_j1.c: Likewise.
2608         * math/w_j1f.c: Likewise.
2609         * math/w_j1l.c: Likewise.
2610         * math/w_jn.c: Likewise.
2611         * math/w_jnf.c: Likewise.
2612         * math/w_log.c: Likewise.
2613         * math/w_log10.c: Likewise.
2614         * math/w_log10f.c: Likewise.
2615         * math/w_log10l.c: Likewise.
2616         * math/w_log2.c: Likewise.
2617         * math/w_log2f.c: Likewise.
2618         * math/w_log2l.c: Likewise.
2619         * math/w_logf.c: Likewise.
2620         * math/w_logl.c: Likewise.
2621         * math/w_sqrt.c: Likewise.
2622         * math/w_sqrtf.c: Likewise.
2623         * math/w_sqrtl.c: Likewise.
2624         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2625         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2626         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2627         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2628         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2630 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2632         [BZ #9739]
2633         * manual/string.texi (strnlen): Use correct parameter name in
2634         equivalent expression.
2636 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2638         [BZ #11174]
2639         * manual/users.texi (seteuid): Consistently use neweuid for
2640         argument name.
2642 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2644         [BZ #13704]
2645         * manual/nss.texi (Services in the NSS configuration): Correct
2646         list of services in example configuration file.
2648 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
2650         [BZ #11322]
2651         * manual/arith.texi: Remove statements about negative zero
2652         behaving identically to zero.
2654 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2656         [BZ #5993]
2657         * manual/install.texi: Do not document upgrading from libc5.
2659 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2661         [BZ #4596]
2662         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2664 2012-02-18  David S. Miller  <davem@davemloft.net>
2666         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2667         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2668         %o7 across the call.
2669         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2670         instead.
2671         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2672         SETUP_PIC_REG_LEAF.
2673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2674         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2675         * sysdeps/sparc/crtn.S: Likewise.
2677 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
2679         * aout/Makefile: Remove.
2681 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
2683         [BZ #13058]
2684         * manual/examples/argp-ex1.c (main): Format definition in GNU
2685         style.
2686         * manual/examples/argp-ex2.c (main): Likewise.
2687         * manual/examples/argp-ex3.c (main): Likewise.
2688         * manual/examples/argp-ex4.c (main): Likewise.
2689         * manual/examples/longopt.c (main): Use new-style prototype
2690         definition.
2691         * manual/examples/strncat.c (main): Specify return type and use
2692         (void) for arguments.
2693         * manual/examples/subopt.c (main): Use char **argv argument.
2695 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2697         [BZ #5077]
2698         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2699         rounding modes.
2701 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
2703         [BZ #6907]
2704         * manual/string.texi (strchr): Change when strchrnul is
2705         recommended.
2707 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
2709         [BZ #174]
2710         * manual/locale.texi (setlocale): Document LOCPATH.
2712 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2714         [BZ #10210]
2715         * manual/process.texi (execle): Move @dots{} before last argument.
2717 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
2719         [BZ #12047]
2720         * manual/charset.texi (Generic Charset Conversion): Fix typo
2721         (LC_TYPE -> LC_CTYPE).
2723 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
2725         [BZ #5805]
2726         * manual/arith.texi (scalbn): Use @var{} on parameter names.
2727         (scalbnf): Likewise.
2728         (scalbnl): Likewise.
2729         (scalbln): Likewise.
2730         (scalblnf): Likewise.
2731         (scalblnl): Likewise.
2732         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2733         (vwarnx): Likewise.
2734         (verr): Likewise.
2735         (verrx): Likewise.
2736         * manual/filesys.texi (telldir): Use braces around return type.
2737         * manual/llio.texi (mmap): Add space after comma.
2738         (mmap64): Likewise.
2739         * manual/math.texi (jn): Use @var{} on parameter names.
2740         (jnf): Likewise.
2741         (jnl): Likewise.
2742         (yn): Likewise.
2743         (ynf): Likewise.
2744         (ynl): Likewise.
2745         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2746         line.
2747         * manual/resource.texi (ulimit): Use @dots{} instead of literal
2748         "...".
2749         (sched_get_priority_min): Remove semicolon on @deftypefun line.
2750         (sched_get_priority_max): Likewise.
2751         * manual/signal.texi (sigvec): Add space after comma.
2752         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2753         names.
2754         (if_indextoname): Likewise.
2755         (if_freenameindex): Likewise.
2756         (sendto): Use ',' instead of '.' in prototype.
2757         * manual/startup.texi (syscall): Use @dots{} instead of literal
2758         "...".
2759         * manual/stdio.texi (__fpending): Separate initial words of
2760         paragraph from @deftypefun line.
2761         * manual/syslog.texi (syslog): Use @dots{} instead of literal
2762         "...".
2763         (vsyslog): Use @var{} on parameter names.
2764         * manual/terminal.texi (stty): Use @var{} on parameter names.
2765         * manual/users.texi (getutmp): Use @var{} on parameter names.
2766         (getutmpx): Likewise.
2768 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2770         [BZ #6884]
2771         * manual/stdio.texi (fopen): Fix typos in description of
2772         ",ccs=STRING".
2774 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
2776         [BZ #4026]
2777         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2778         get clock_id definition.
2780 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
2782         [BZ #4822]
2783         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2784         (madvise): Cast every argument to void on its own.
2786 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2788         [BZ #9902]
2789         * manual/startup.texi (Exit Status): Fix typo.
2791 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2793         [BZ #10140]
2794         * manual/examples/argp-ex1.c: Include <stdlib.h>.
2795         * manual/examples/argp-ex2.c: Likewise.
2796         * manual/examples/argp-ex3.c: Likewise.
2798 2012-02-16  Richard Henderson  <rth@redhat.com>
2800         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2801         * sysdeps/s390/s390-32/initfini.c: Remove.
2802         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2803         * sysdeps/s390/s390-64/initfini.c: Remove.
2805 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2807         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2808         compiler output for sysdeps/generic/initfini.c.
2809         * sysdeps/sh/elf/initfini.c: Remove file.
2811 2012-02-16  David S. Miller  <davem@davemloft.net>
2813         [BZ #11494]
2814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2816         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2817         * sysdeps/sparc/crti.S: New file.
2818         * sysdeps/sparc/crtn.S: New file.
2819         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2820         * sysdeps/sparc/sparc64/Makefile: Likewise.
2822 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
2824         [BZ #3335]
2825         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2827 2012-02-15  Roland McGrath  <roland@hack.frob.com>
2829         [BZ #4822]
2830         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2832         * mach/devstream.c (cookie_io_functions_t): Macro removed.
2833         (write, read, close): Likewise.
2834         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2836 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
2838         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2839         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2840         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2841         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2842         <bits/signalfd.h>.
2843         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2845         bits/signalfd.h.
2847 2012-02-14  Marek Polacek  <polacek@redhat.com>
2849         * sysdeps/x86_64/crti.S: New file.
2850         * sysdeps/x86_64/crtn.S: New file.
2851         * sysdeps/x86_64/elf/initfini.c: Remove file.
2853 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2855         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2856         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2857         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2858         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2859         <bits/inotify.h>.
2860         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2861         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2862         bits/inotify.h.
2864 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2866         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2867         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2868         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2869         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2870         <bits/eventfd.h>.
2871         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2873         bits/eventfd.h.
2875 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
2877         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2878         __feraiseexcept instead of feraiseexcept.
2880         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2881         nanosleep invocations.
2882         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2883         strings, and add error checking for a nanosleep invocations.
2885 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
2887         Replace FSF snail mail address with URLs, as per GNU coding standards.
2888         Most of the snail mail addresses were wrong anyway, and omitting
2889         them makes the source code easier to maintain.  Almost all of the
2890         changes are to license notices and to locale LC_IDENTIFICATION
2891         addresses, except for this one:
2892         * manual/libc.texinfo: In "Published by", give the FSF's URL,
2893         not its snail mail address.
2895 2012-02-09  Richard Henderson  <rth@twiddle.net>
2897         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2898         of kernel-features.h.
2900         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2902 2012-02-08  Marek Polacek  <polacek@redhat.com>
2904         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2905         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2906         * sysdeps/gnu/_G_config.h: Likewise.
2907         * sysdeps/generic/_G_config.h: Likewise.
2909 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
2911         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2912         tests.
2913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2915         * sysdeps/powerpc/powerpc32/crti.S: New file.
2916         * sysdeps/powerpc/powerpc32/crtn.S: New file.
2917         * sysdeps/powerpc/powerpc64/crti.S: New file.
2918         * sysdeps/powerpc/powerpc64/crtn.S: New file.
2920         * Makeconfig (have-initfini): Don't set.
2921         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2922         * configure.in (nopic_initfini): Don't substitute.
2923         * config.h.in (HAVE_INITFINI): Don't #undef.
2924         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2925         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2927 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
2929         Support crti.S and crtn.S provided directly by architectures.
2930         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2931         [crti.S in sysdirs] (omit-deps): Likewise.
2932         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2933         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2934         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2935         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2936         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2937         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2938         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2939         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2940         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2941         compiler output for sysdeps/generic/initfini.c.
2942         * sysdeps/i386/elf/Makefile: Remove file.
2943         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2945 2012-02-07  Marek Polacek  <polacek@redhat.com>
2947         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2948         * sysdeps/gnu/_G_config.h: Likewise.
2949         * sysdeps/mach/hurd/_G_config.h: Likewise.
2951 2012-02-07  Marek Polacek  <polacek@redhat.com>
2953         * math/Makefile (tests): Add tst-CMPLX2.
2954         * math/tst-CMPLX2.c: New file.
2956 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
2958         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2960         * math/libm-test.inc (jn_test): Add missing L suffix.
2962 2012-02-06  Marek Polacek  <polacek@redhat.com>
2964         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2965         * sysdeps/i386/fpu/e_powf.S: Likewise.
2966         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2967         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2968         * sysdeps/i386/fpu/e_acosh.S: Likewise.
2969         * sysdeps/i386/fpu/e_pow.S: Likewise.
2970         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2971         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2972         * sysdeps/i386/fpu/s_expm1.S: Likewise.
2973         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2974         * sysdeps/i386/fpu/e_log2.S: Likewise.
2975         * sysdeps/i386/fpu/e_log2l.S: Likewise.
2976         * sysdeps/i386/fpu/e_scalb.S: Likewise.
2977         * sysdeps/i386/fpu/e_powl.S: Likewise.
2978         * sysdeps/i386/fpu/s_log1p.S: Likewise.
2979         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2980         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2981         * sysdeps/i386/fpu/e_logl.S: Likewise.
2982         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2983         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2984         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2985         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2986         * sysdeps/i386/fpu/e_log2f.S: Likewise.
2987         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2988         * sysdeps/i386/fpu/e_log.S: Likewise.
2989         * sysdeps/i386/fpu/s_cexp.S: Likewise.
2990         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2991         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2992         * sysdeps/i386/fpu/e_logf.S: Likewise.
2993         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2994         * sysdeps/i386/fpu/e_atanh.S: Likewise.
2995         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2996         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2997         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2998         * sysdeps/i386/fpu/e_log10.S: Likewise.
2999         * sysdeps/i386/fpu/s_frexp.S: Likewise.
3000         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3001         * sysdeps/i386/fpu/s_asinh.S: Likewise.
3002         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3003         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3004         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3005         * sysdeps/i386/asm-syntax.h: Likewise.
3006         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3007         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3008         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3009         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3010         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3011         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3012         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3013         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3014         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3015         * sysdeps/powerpc/sysdep.h: Likewise.
3016         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3017         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3019 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
3021         [BZ #411]
3022         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3024 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
3026         * sysdeps/i386/sysdep.h: Include <features.h>.
3027         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3028         version.
3030 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
3032         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3033         Define.
3034         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3035         LOAD_PIC_REG_STR.
3037 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3039         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3040         (SETUP_PIC_REG): Use GET_PC_THUNK.
3041         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3042         macro.
3044 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3046         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3047         for non-PIC compilation.
3048         (SETUP_PIC_REG): Add .p2align directive.
3049         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3050         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3051         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3052         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3053         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3054         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3055         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3056         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3057         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3058         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3059         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3060         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3061         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3062         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3063         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3064         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3065         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3066         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3067         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3068         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3069         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3070         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3071         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3072         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3073         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3075         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3076         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3077         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3078         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3079         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3080         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3081         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3082         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3083         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3084         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3085         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3086         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3087         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3088         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3089         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3091 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3093         * math/tst-CMPLX.c: Include <stdio.h>.
3095 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
3097         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3098         float.
3099         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3100         * sysdeps/sparc/bits/mathdef.h: Likewise.
3102 2012-01-31  Marek Polacek  <polacek@redhat.com>
3104         * libio/libio.h: Don't define _PARAMS.
3105         * locale/programs/config.h: Don't define PARAMS.
3106         * stdlib/strtol_l.c: Likewise.
3107         (__strtol_l): Remove PARAMS from the prototype.
3109 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
3111         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
3112         names.  Just use the correct names.  Remove unnecessary wrapper
3113         functions.
3114         * malloc/arena.c: Likewise.
3115         * malloc/hooks.c: Likewise.
3117         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3118         ARENA_TEST says not to.  Simplify test for creation of a new arena.
3119         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3121 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
3123         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3124         into tail calls.
3125         (update_get_addr): New function.
3126         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3127         GET_ADDR_MODULE parameter.
3129 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
3131         * crypt/cert.c: Remove __STDC__ conditionals.
3132         * crypt/crypt-entry.c: Likewise.
3133         * crypt/crypt_util.c: Likewise.
3134         * libio/filedoalloc.c: Likewise.
3135         * libio/fileops.c: Likewise.
3136         * libio/genops.c: Likewise.
3137         * libio/iofclose.c: Likewise.
3138         * libio/iofdopen.c: Likewise.
3139         * libio/iofopen.c: Likewise.
3140         * libio/iofopen64.c: Likewise.
3141         * libio/iogetdelim.c: Likewise.
3142         * libio/iopopen.c: Likewise.
3143         * libio/obprintf.c: Likewise.
3144         * libio/oldfileops.c: Likewise.
3145         * libio/oldiofclose.c: Likewise.
3146         * libio/oldiofdopen.c: Likewise.
3147         * libio/oldiofopen.c: Likewise.
3148         * libio/oldiopopen.c: Likewise.
3149         * libio/wfiledoalloc.c: Likewise.
3150         * libio/wgenops.c: Likewise.
3151         * locale/programs/xmalloc.c: Likewise.
3152         * misc/syslog.c: Likewise.
3153         * stdio-common/xbug.c: Likewise.
3154         * string/memchr.c: Likewise.
3155         * string/memcmp.c: Likewise.
3156         * string/memrchr.c: Likewise.
3157         * string/rawmemchr.c: Likewise.
3158         * sysdeps/posix/getcwd.c: Likewise.
3159         * time/strftime_l.c: Likewise.
3161 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
3163         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3164         * config.make.in (config-cflags-sse2avx): Define.
3165         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3166         Fix typo.
3168 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
3170         * scripts/config.guess: Update from upstream config git repository.
3171         * scripts/config.sub: Likewise.
3173 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
3175         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3176         (EM_NUM): Update.
3177         (R_TILEPRO_*, R_TILEGX_*): New macros.
3179         * scripts/firstversions.awk: Fix bug in version range handling.
3181         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3183         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3185         * include/sys/epoll.h: New file.
3186         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3187         libc_hidden_def.
3189 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
3191         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3192         Avoid unnecessary __WORDSIZE == 64 test.
3193         (fmaxf): Use VEX format if possible.
3194         (fmax): Likewise.
3195         (fminf): Likewise.
3196         (fmin): Likewise.
3198         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3199         * math/math_private.h: Remove libc_fegetround* and
3200         libc_fesetround*.
3201         * sysdeps/i386/configure.in: Check for -msse2avx.
3202         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3203         also if SSE2AVX is defined.
3204         Remove libc_fegetround* and libc_fesetround*.
3205         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3206         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
3207         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3208         of HAS_YMM_USABLE.
3209         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3210         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3211         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3212         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3213         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3215         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3217 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3219         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3220         size is not set.
3221         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3223 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
3225         [BZ #13618]
3226         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3227         relocation.
3228         * Makeconfig (libm): Define.
3229         * elf/Makefile: Add rules to build and run tst-relsort1.
3230         * elf/tst-relsort1.c: New file.
3231         * elf/tst-relsort1mod1.c: New file.
3232         * elf/tst-relsort1mod2.c: New file.
3234 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
3236         * math/s_ldexp.c: Remove __STDC__ conditionals.
3237         * math/s_ldexpf.c: Likewise.
3238         * math/s_ldexpl.c: Likewise.
3239         * math/s_nextafter.c: Likewise.
3240         * math/s_nexttowardf.c: Likewise.
3241         * math/s_significand.c: Likewise.
3242         * math/s_significandf.c: Likewise.
3243         * math/s_significandl.c: Likewise.
3244         * math/w_jnl.c: Likewise.
3245         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3246         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3247         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3248         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3249         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3250         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3251         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3252         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3253         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3254         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3255         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3256         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3257         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3258         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3259         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3260         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3261         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3262         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3263         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3264         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3265         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3266         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3267         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3268         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3269         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3270         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3271         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3272         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3273         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3274         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3275         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3276         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3277         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3278         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3279         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3280         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3281         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3282         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3283         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3284         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3285         * sysdeps/ieee754/k_standard.c: Likewise.
3286         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3287         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3288         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3289         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3290         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3291         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3293         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3294         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3295         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3296         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3297         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3298         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3299         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3300         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3301         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3302         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3303         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3304         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3305         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3306         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3307         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3308         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3309         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3310         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3311         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3312         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3313         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3314         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3315         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3316         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3317         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3318         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3319         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3320         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3321         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3322         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3323         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3324         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3325         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3326         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3327         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3328         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3329         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3331         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3332         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3333         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3334         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3335         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3336         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3337         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3338         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3339         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3340         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3341         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3342         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3343         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3344         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3345         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3346         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3347         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3348         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3349         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3350         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3351         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3352         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3353         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3354         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3355         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3356         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3357         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3358         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3359         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3360         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3361         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3362         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3363         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3364         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3365         * sysdeps/ieee754/s_matherr.c: Likewise.
3366         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3367         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3368         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3371 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3373         * crypt/md5.h: Remove __STDC__ conditionals.
3374         * libio/libioP.h: Likewise.
3375         * locale/programs/config.h: Likewise.
3376         * sysdeps/generic/sysdep.h: Likewise.
3377         * sysdeps/i386/asm-syntax.h: Likewise.
3378         * sysdeps/s390/asm-syntax.h: Likewise.
3379         * sysdeps/unix/sysdep.h: Likewise.
3380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3383 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3385         * libio/libio.h: Remove __STDC__ conditionals.
3386         * malloc/obstack.h: Likewise.
3387         * math/complex.h: Likewise.
3388         * math/math.h: Likewise.
3389         * sysdeps/generic/_G_config.h: Likewise.
3390         * sysdeps/gnu/_G_config.h: Likewise.
3391         * sysdeps/mach/hurd/_G_config.h: Likewise.
3392         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3393         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3394         * sysdeps/sparc/bits/mathdef.h: Likewise.
3396 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
3398         [BZ #13583]
3399         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3400         Clean up HAS_* macros.
3401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3402         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3403         possible.
3404         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3405         HAS_AVX.
3406         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3407         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3408         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3409         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3410         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3412 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
3414         * elf/tst-unique3.cc (gets): Remove declaration.
3415         * elf/tst-unique3lib.cc (gets): Likewise.
3416         * elf/tst-unique3lib2.cc (gets): Likewise.
3417         * elf/tst-unique4.cc (gets): Likewise.
3419 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
3421         * include/stdio.h: Add C++ protection.  Add gets declarations and
3422         definitions.
3423         * debug/tst-chk1.c: Don't declare gets here.
3424         * stdio-common/tst-gets.c: Likewise.
3426 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
3428         * posix/glob: Remove directory.
3430 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
3432         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3434 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
3436         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3437         of the non-standard EPFNOSUPPORT.
3439 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3441         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3442         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3443         ANYWHERE set to 1 only on KERN_NO_SPACE error.
3445 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
3447         * wcsmbs/uchar.h: Test __STDC_VERSION__.
3449 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
3451         * nscd/aicache.c (addhstaiX): Do not cache negative results of
3452         transient errors.
3453         * nscd/grpcache.c (cache_addgr): Likewise.
3454         * nscd/hstcache.c (cache_addhst): Likewise.
3455         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3456         * nscd/pwdcache.c (cache_addpw): Likewise.
3457         * nscd/servicescache.c (cache_addserv): Likewise.
3459 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
3461         * malloc/malloc.c: Various cleanups.
3462         * malloc/hooks.c: Likewise.
3464         * stdlib/Makefile (tests): Add bug-fmtmsg1.
3465         * stdlib/bug-fmtmsg1.c: New file.
3467         * stdlib/fmtmsg.c (init): Add missing unlock.
3468         Patch by Peng Haitao <penght@cn.fujitsu.com>.
3470 2012-01-12  Marek Polacek  <polacek@redhat.com>
3472         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3473         and _GNU_SOURCE.
3475 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
3477         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3478         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3479         macro to ensure uniqueness of label name.
3480         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3481         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3483 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
3485         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3487         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3488         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3489         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3492 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
3494         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3496         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3497         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3498         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3500         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3502         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3503         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3504         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3505         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3507         * math/bits/math-finite.h: Add ldexp support.
3509 2012-01-10  Marek Polacek  <polacek@redhat.com>
3511         * locale/programs/localedef.h (show_archive_content): Add noreturn
3512         attribute.
3514 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
3516         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3518 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3520         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3522         * io/Makefile (headers): Add bits/poll2.h.
3524 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
3526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3527         typo #include statement.
3529 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3531         * include/sys/cdefs.h: Define __attribute_alloc_size.
3532         * catgets/gencat.c: Add alloc_size attribute and apply consistently
3533         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3534         * elf/pldd.c: Likewise.
3535         * iconv/iconv_charmap.c: Likewise.
3536         * iconv/iconvconfig.c: Likewise.
3537         * iconv/strtab.c: Likewise.
3538         * locale/programs/locale.c: Likewise.
3539         * locale/programs/localedef.h: Likewise.
3540         * locale/programs/simple-hash.c: Likewise.
3541         * nscd/nscd.h: Likewise.
3542         * nss/makedb.c: Likewise.
3543         * sysdeps/generic/ldconfig.h: Likewise.
3544         * locale/programs/localedef.c: Remove xmalloc prototype.
3545         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3547 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3549         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3550         appropriate.
3552 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3554         * math/Makefile (tests): Add tst-CMPLX.
3555         * math/tst-CMPLX.c: New file.
3557         * math/complex.h (CMPLXL): Fix typo.
3559         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3560         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3561         GLIBC_2.16.
3562         * debug/tst-chk1.c: Add poll and ppoll tests.
3563         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3564         * include/sys/poll.h: Add hidden proto for ppoll.
3565         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3566         * sysdeps/mach/hurd/ppoll.c: Likewise.
3567         * io/ppoll.c: Likewise.
3568         * debug/poll_chk.c: New file.
3569         * debug/ppoll_chk.c: New file.
3570         * include/bits/poll2.h: New file.
3571         * io/bits/poll2.h: New file.
3573         [BZ #1350]
3574         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3576         * configure.in: static is always set to yes.  Remove.
3577         * config.make.in: Don't set build-static.
3578         * Makeconfig: Remove use of build-static.
3579         * dlfcn/Makefile: Likewise.
3580         * elf/Makefile: Likewise.
3581         * math/Makefile: Likewise.
3582         * misc/Makefile: Likewise.
3583         * nptl/Makefile: Likewise.
3584         * sysdeps/mach/hurd/Makefile: Likewise.
3586         * configure.in: PWD_P is not used anymore.
3587         * config.make.in: Remove PWD_P entry.
3589         * configure.in: Remove last remnants of RANLIB.
3590         No need to check for signed size_t anymore.
3591         Don't set libc_commonpagesize and libc_relro_required here for Alpha
3592         and IA-64.
3593         Remove __builtin_expect test because we require at least gcc 3.4.
3594         * aclocal.m4: Likewise.
3596         * wcsmbs/mbrtoc16.c: Implement using towc function.
3597         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3598         * wcsmbs/wcsmbsload.c: Likewise.
3599         * iconv/gconv_simple.c: Likewise.
3600         * iconv/gconv_int.h: Likewise.
3601         * iconv/gconv_builtin.h: Likewise.
3602         * iconv/iconv_prog.c: Remove CHAR16 handling.
3604         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3606         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3608         * configure.in: Remove --with-elf and --enable-bounded options.
3609         Dont set base_machine for ia64.  More non-ELF conditions removed.
3610         Remove testing and setting of leading underscore information.
3611         * config.make.in (build-bounded): Set to no.
3612         * config.h.in: Remove NO_UNDERSCORES entry.
3613         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
3614         them.
3615         * csu/start.c: Remove !NO_UNDERSCORE code.
3616         * locale/localeinfo.h: Likewise.
3617         * sysdeps/generic/machine-gmon.h: Likewise.
3618         * sysdeps/generic/sysdep.h: Likewise.
3619         * sysdeps/i386/sysdep.h: Likewise.
3620         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3621         * sysdeps/mach/sysdep.h: Likewise.
3622         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3623         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3624         * sysdeps/sh/sysdep.h: Likewise.
3625         * sysdeps/sparc/sparc32/alloca.S: Likewise.
3626         * sysdeps/unix/i386/sysdep.S: Likewise.
3627         * sysdeps/unix/sparc/start.c: Likewise.
3628         * sysdeps/unix/sparc/sysdep.S: Likewise.
3629         * sysdeps/unix/sparc/sysdep.h: Likewise.
3630         * sysdeps/unix/start.c: Likewise.
3631         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3632         * sysdeps/x86_64/sysdep.h: Likewise.
3634 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
3636         [BZ #13553]
3637         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3638         for non-gcc.
3639         * argp/argp-fmtstream.h: Use const instead __const.
3640         * argp/argp.h: Likewise.
3641         * assert/assert.h: Likewise.
3642         * bits/fenv.h: Likewise.
3643         * bits/sched.h: Likewise.
3644         * bits/sigset.h: Likewise.
3645         * bits/sigthread.h: Likewise.
3646         * catgets/nl_types.h: Likewise.
3647         * conform/data/pthread.h-data: Likewise.
3648         * crypt/crypt-private.h: Likewise.
3649         * crypt/crypt.h: Likewise.
3650         * crypt/crypt_util.c: Likewise.
3651         * ctype/ctype.h: Likewise.
3652         * debug/execinfo.h: Likewise.
3653         * debug/mbsnrtowcs_chk.c: Likewise.
3654         * debug/mbsrtowcs_chk.c: Likewise.
3655         * debug/wcsnrtombs_chk.c: Likewise.
3656         * debug/wcsrtombs_chk.c: Likewise.
3657         * debug/wcstombs_chk.c: Likewise.
3658         * dirent/dirent.h: Likewise.
3659         * dlfcn/dlfcn.h: Likewise.
3660         * elf/neededtest4.c: Likewise.
3661         * grp/grp.h: Likewise.
3662         * gshadow/gshadow.h: Likewise.
3663         * iconv/gconv.h: Likewise.
3664         * iconv/gconv_int.h: Likewise.
3665         * iconv/gconv_simple.c: Likewise.
3666         * iconv/iconv.h: Likewise.
3667         * iconv/loop.c: Likewise.
3668         * iconv/skeleton.c: Likewise.
3669         * include/aio.h: Likewise.
3670         * include/aliases.h: Likewise.
3671         * include/argz.h: Likewise.
3672         * include/arpa/inet.h: Likewise.
3673         * include/assert.h: Likewise.
3674         * include/dirent.h: Likewise.
3675         * include/dlfcn.h: Likewise.
3676         * include/execinfo.h: Likewise.
3677         * include/fcntl.h: Likewise.
3678         * include/fenv.h: Likewise.
3679         * include/glob.h: Likewise.
3680         * include/grp.h: Likewise.
3681         * include/libintl.h: Likewise.
3682         * include/mntent.h: Likewise.
3683         * include/netdb.h: Likewise.
3684         * include/pwd.h: Likewise.
3685         * include/rpc/netdb.h: Likewise.
3686         * include/sched.h: Likewise.
3687         * include/search.h: Likewise.
3688         * include/shadow.h: Likewise.
3689         * include/signal.h: Likewise.
3690         * include/stdio.h: Likewise.
3691         * include/stdlib.h: Likewise.
3692         * include/string.h: Likewise.
3693         * include/sys/socket.h: Likewise.
3694         * include/sys/stat.h: Likewise.
3695         * include/sys/statfs.h: Likewise.
3696         * include/sys/statvfs.h: Likewise.
3697         * include/sys/syslog.h: Likewise.
3698         * include/sys/time.h: Likewise.
3699         * include/sys/uio.h: Likewise.
3700         * include/time.h: Likewise.
3701         * include/unistd.h: Likewise.
3702         * include/utmp.h: Likewise.
3703         * include/wchar.h: Likewise.
3704         * include/wctype.h: Likewise.
3705         * inet/aliases.h: Likewise.
3706         * inet/arpa/inet.h: Likewise.
3707         * inet/netinet/ether.h: Likewise.
3708         * inet/netinet/in.h: Likewise.
3709         * intl/libintl.h: Likewise.
3710         * io/bits/fcntl2.h: Likewise.
3711         * io/fcntl.h: Likewise.
3712         * io/ftw.h: Likewise.
3713         * io/sys/poll.h: Likewise.
3714         * io/sys/stat.h: Likewise.
3715         * io/sys/statfs.h: Likewise.
3716         * io/sys/statvfs.h: Likewise.
3717         * io/utime.h: Likewise.
3718         * libio/bits/stdio.h: Likewise.
3719         * libio/bits/stdio2.h: Likewise.
3720         * libio/libio.h: Likewise.
3721         * libio/libioP.h: Likewise.
3722         * libio/stdio.h: Likewise.
3723         * locale/lc-ctype.c: Likewise.
3724         * locale/locale.h: Likewise.
3725         * login/utmp.h: Likewise.
3726         * malloc/arena.c: Likewise.
3727         * malloc/malloc.c: Likewise.
3728         * malloc/malloc.h: Likewise.
3729         * malloc/mcheck.c: Likewise.
3730         * malloc/mtrace.c: Likewise.
3731         * math/bits/mathcalls.h: Likewise.
3732         * math/fenv.h: Likewise.
3733         * math/math_private.h: Likewise.
3734         * misc/bits/error.h: Likewise.
3735         * misc/bits/syslog.h: Likewise.
3736         * misc/err.h: Likewise.
3737         * misc/error.h: Likewise.
3738         * misc/fstab.h: Likewise.
3739         * misc/mntent.h: Likewise.
3740         * misc/regexp.h: Likewise.
3741         * misc/search.h: Likewise.
3742         * misc/sgtty.h: Likewise.
3743         * misc/sys/mman.h: Likewise.
3744         * misc/sys/syslog.h: Likewise.
3745         * misc/sys/uio.h: Likewise.
3746         * misc/sys/xattr.h: Likewise.
3747         * misc/ttyent.h: Likewise.
3748         * nis/rpcsvc/ypclnt.h: Likewise.
3749         * nss/nss.h: Likewise.
3750         * posix/bits/unistd.h: Likewise.
3751         * posix/fnmatch.h: Likewise.
3752         * posix/glob.h: Likewise.
3753         * posix/sched.h: Likewise.
3754         * posix/spawn.h: Likewise.
3755         * posix/sys/wait.h: Likewise.
3756         * posix/unistd.h: Likewise.
3757         * posix/wordexp.h: Likewise.
3758         * pwd/pwd.h: Likewise.
3759         * resolv/netdb.h: Likewise.
3760         * resource/sys/resource.h: Likewise.
3761         * rt/aio.h: Likewise.
3762         * rt/bits/mqueue2.h: Likewise.
3763         * rt/mqueue.h: Likewise.
3764         * shadow/shadow.h: Likewise.
3765         * signal/signal.h: Likewise.
3766         * socket/send.c: Likewise.
3767         * socket/sendto.c: Likewise.
3768         * socket/sys/socket.h: Likewise.
3769         * stdio-common/printf.h: Likewise.
3770         * stdlib/bits/stdlib.h: Likewise.
3771         * stdlib/fmtmsg.h: Likewise.
3772         * stdlib/monetary.h: Likewise.
3773         * stdlib/stdlib.h: Likewise.
3774         * stdlib/ucontext.h: Likewise.
3775         * streams/stropts.h: Likewise.
3776         * string/argz.h: Likewise.
3777         * string/bits/string2.h: Likewise.
3778         * string/string.h: Likewise.
3779         * string/strings.h: Likewise.
3780         * sunrpc/rpc/auth.h: Likewise.
3781         * sunrpc/rpc/auth_des.h: Likewise.
3782         * sunrpc/rpc/clnt.h: Likewise.
3783         * sunrpc/rpc/netdb.h: Likewise.
3784         * sunrpc/rpc/pmap_clnt.h: Likewise.
3785         * sunrpc/rpc/xdr.h: Likewise.
3786         * sysdeps/generic/inttypes.h: Likewise.
3787         * sysdeps/generic/net/if.h: Likewise.
3788         * sysdeps/generic/sys/swap.h: Likewise.
3789         * sysdeps/gnu/net/if.h: Likewise.
3790         * sysdeps/gnu/utmpx.h: Likewise.
3791         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3792         * sysdeps/i386/i486/bits/string.h: Likewise.
3793         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3794         * sysdeps/s390/bits/string.h: Likewise.
3795         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3796         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3797         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3798         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3799         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3800         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3801         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3802         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3803         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3804         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3805         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3806         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3807         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3808         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3809         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3810         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3811         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3812         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3813         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3814         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3815         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3816         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3817         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3818         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3819         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3820         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3821         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3822         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3823         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3824         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3825         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3826         * sysvipc/sys/ipc.h: Likewise.
3827         * sysvipc/sys/msg.h: Likewise.
3828         * sysvipc/sys/sem.h: Likewise.
3829         * sysvipc/sys/shm.h: Likewise.
3830         * termios/termios.h: Likewise.
3831         * time/sys/time.h: Likewise.
3832         * time/time.h: Likewise.
3833         * wcsmbs/bits/wchar2.h: Likewise.
3834         * wcsmbs/uchar.h: Likewise.
3835         * wcsmbs/wchar.h: Likewise.
3836         * wctype/wctype.h: Likewise.
3838         [BZ #13551]
3839         * Makeconfig: Remove all but ELF support including AIX support.
3840         * Makerules: Likewise.
3841         * config.h.in: Likewise.
3842         * config.make.in: Likewise.
3843         * configure: Likewise.
3844         * configure.in: Likewise.
3845         * csu/Makefile: Likewise.
3846         * csu/version.c: Likewise.
3847         * debug/Makefile: Likewise.
3848         * dlfcn/Makefile: Likewise.
3849         * elf/Makefile: Likewise.
3850         * extra-lib.mk: Likewise.
3851         * iconv/Makefile: Likewise.
3852         * include/libc-symbols.h: Likewise.
3853         * include/shlib-compat.h: Likewise.
3854         * resolv/Makefile: Likewise.
3855         * resolv/res_libc.c: Likewise.
3856         * rt/Makefile: Likewise.
3857         * sysdeps/i386/asm-syntax.h: Likewise.
3858         * sysdeps/i386/sysdep.h: Likewise.
3859         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3860         * sysdeps/mach/sysdep.h: Likewise.
3861         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3862         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3863         * sysdeps/s390/asm-syntax.h: Likewise.
3864         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3865         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3866         * sysdeps/sh/sysdep.h: Likewise.
3867         * sysdeps/unix/sparc/sysdep.h: Likewise.
3868         * sysdeps/wordsize-32/divdi3.c: Likewise.
3869         * sysdeps/x86_64/sysdep.h: Likewise.
3871         * argp/Versions: Remove _argp_unlock_xxx.
3873         [BZ #13559]
3874         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
3875         * abilist/libBrokenLocale.abilist: Likewise.
3876         * abilist/libanl.abilist: Likewise.
3877         * abilist/libc.abilist: Likewise.
3878         * abilist/libcrypt.abilist: Likewise.
3879         * abilist/libdl.abilist: Likewise.
3880         * abilist/libm.abilist: Likewise.
3881         * abilist/libnsl.abilist: Likewise.
3882         * abilist/libpthread.abilist: Likewise.
3883         * abilist/libresolv.abilist: Likewise.
3884         * abilist/librt.abilist: Likewise.
3885         * abilist/libthread_db.abilist: Likewise.
3886         * abilist/libutil.abilist: Likewise.
3887         * abilist/libnss_db.abilist: New file.
3889         * scripts/abilist.awk: Add support for indirect functions.
3891         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3893         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3895         * shlib-versions: Remove entries for ports architectures.
3897         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
3898         files in ports.
3899         * elf/stackguard-macros.h: Remove support for IA-64.
3900         * elf/tst-auditmod1.c: Likewise.
3901         * sysdeps/generic/ldsodefs.h: Likewise.
3903         * sysdeps/unix/sysv/linux/configure.in: Ports should define
3904         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3905         configure files.
3907         [BZ #13552]
3908         * configure.in: Remove --enable-omitfp support.
3909         * FAQ.in: Adjust.
3910         * config.make.in: Likewise.
3911         * Makeconfig: Likewise.
3912         * manual/install.texi: Likewise.
3914         In case anyone cares, the IA-64 architecture could move to ports.
3915         * sysdeps/ia64/*: Removed.
3916         * sysdeps/unix/sysv/linux/ia64/*: Removed.
3917         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3919         [BZ #13555]
3920         * configure.in: Remove entries for unsupported architectures.
3922         [BZ #13533]
3923         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3924         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
3925         routines.
3926         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3927         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3928         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
3929         fall back to using wcrtomb.
3930         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3931         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
3932         renaming.
3933         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3934         * wcsmbs/tst-c16c32-1.c: New file.
3936         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3937         local variable.
3939         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3941         * elf/tst-unique3.cc: Add explicit declaration of gets.
3942         * elf/tst-unique3lib.cc: Likewise.
3943         * elf/tst-unique3lib2.cc: Likewise.
3944         * elf/tst-unique4.cc: Likewise.
3946         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3948 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
3950         [BZ #13566]
3951         * assert/assert.h (static_assert): Don't define for C++.
3952         * libio/stdio.h (gets): Do declare for C++ <= C++11.
3953         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3955 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
3957         * iconv/loop.c (single loop): Fix assertion in storing of
3958         remaining bytes.
3960         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3962 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
3964         * posix/getconf.c: Update copyright year.
3965         * nss/getent.c: Likewise.
3966         * nss/makedb.c: Likewise.
3967         * iconv/iconvconfig.c: Likewise.
3968         * iconv/iconv_prog.c: Likewise.
3969         * elf/ldconfig.c: Likewise.
3970         * elf/pldd.c: Likewise.
3971         * elf/sotruss.ksh: Likewise.
3972         * catgets/gencat.c: Likewise.
3973         * csu/version.c: Likewise.
3974         * elf/ldd.bash.in: Likewise.
3975         * elf/sprof.c (print_version): Likewise.
3976         * locale/programs/locale.c: Likewise.
3977         * locale/programs/localedef.c: Likewise.
3978         * login/programs/pt_chown.c: Likewise.
3979         * nscd/nscd.c (print_version): Likewise.
3980         * debug/xtrace.sh: Likewise.
3981         * malloc/memusage.sh: Likewise.
3982         * malloc/mtrace.pl: Likewise.
3983         * debug/catchsegv.sh: Likewise.
3985 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
3987         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3988         pure attribute.
3990 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
3992         [BZ #13533]
3993         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3994         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3995         transformations.
3996         * iconv/gconv_int.h: Likewise.
3997         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3998         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3999         from libc for GLIBC_2.16.
4000         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4001         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4002         * wcsmbs/uchar.h: Really define mbstate_t.
4003         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4004         * wcsmbs/c16rtomb.c: New file.
4005         * wcsmbs/mbrtoc16.c: New file.
4006         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4007         for C/POSIX locale.
4008         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4009         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4011         * wcsmbs/wchar.h: Add missing __restrict.
4013 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
4015         [BZ #13532]
4016         * time/Makefile (routines): Add timespec_get.
4017         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4018         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
4019         timespec for ISO C11.
4020         * time/timespec_get.c: New file.
4021         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4022         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4024         [BZ #13531]
4025         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4026         * stdlib/stdlib.h: Declare aligned_alloc.
4027         * Versions.def: Add GLIBC_2.16 for libc.
4028         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4030         [BZ 13527]
4031         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4032         ISO C11.
4034         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4035         code.
4037         [BZ #13528]
4038         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4040         [BZ #13529]
4041         * assert/assert.h (static_assert): Define.
4043         * version.h: Update for 2.16 development version.
4045         [BZ #13526]
4046         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4047         _ISOC11_SOURCE.
4049         * version.h (RELEASE): Bump for 2.15 release.
4050         * include/features.h (__GLIBC_MINOR__): Bump to 15.
4052         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4053         Patch by Marek Polacek <mpolacek@redhat.com>.
4055         * bits/byteswap.h: Protect long long constants with __extension__.
4056         * sysdeps/i386/bits/byteswap.h: Likewise.
4057         * sysdeps/ia64/bits/byteswap.h: Likewise.
4058         * sysdeps/s390/bits/byteswap.h: Likewise.
4059         * sysdeps/x86_64/bits/byteswap.h: Likewise.
4061 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4063         [BZ #13540]
4064         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4065         destination buffer.
4066         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4068 2011-12-23  Marek Polacek  <polacek@redhat.com>
4070         * elf/dl-addr.c (determine_info): Add inline keyword.
4071         * elf/tst-auditmod4b.c (check_avx): Likewise.
4072         * elf/tst-auditmod6b.c (check_avx): Likewise.
4073         * elf/tst-auditmod6c.c (check_avx): Likewise.
4074         * elf/tst-auditmod7b.c (check_avx): Likewise.
4076 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
4078         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4079         !__SSE_MATH__.
4081 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4083         [BZ #13540]
4084         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4085         processing for last bytes.
4087 2011-08-06  Bruno Haible  <bruno@clisp.org>
4089         [BZ #13061]
4090         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4091         U+0385, not to U+1FEE.
4093         [BZ #13062]
4094         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4095         entry for U+00A5 U+0301.
4097 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
4099         [BZ #13166]
4100         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4101         buffer for the output is too small.
4103         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4104         optimization.
4106         [BZ #13185]
4107         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4108         SSE flags if possible.
4110 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4112         [BZ #13540]
4113         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4114         processing for last bytes.
4116 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
4118         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4119         (syscall-list-default-options, syscall-list-default-condition)
4120         (syscall-list-includes): Define.
4121         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4122         list of ABIs and options and #if conditions for each ABI.  Do not
4123         handle common syscalls between ABIs specially.
4124         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4125         Remove.
4126         (syscall-list-variants, syscall-list-32bit-options)
4127         (syscall-list-32bit-condition, syscall-list-64bit-options)
4128         (syscall-list-64bit-condition): Define.
4129         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4130         (syscall-list-variants, syscall-list-32bit-options)
4131         (syscall-list-32bit-condition, syscall-list-64bit-options)
4132         (syscall-list-64bit-condition): Define.
4133         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4134         Remove.
4135         (syscall-list-variants, syscall-list-32bit-options)
4136         (syscall-list-32bit-condition, syscall-list-64bit-options)
4137         (syscall-list-64bit-condition): Define.
4138         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4139         Remove.
4140         (syscall-list-variants, syscall-list-32bit-options)
4141         (syscall-list-32bit-condition, syscall-list-64bit-options)
4142         (syscall-list-64bit-condition): Define.
4144 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
4146         * locale/iso-639.def: Add brx entry.
4148         [BZ #13328]
4149         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4150         Proposed by Mariusz_Cukr <marcukr@op.pl>.
4152         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4153         __feraiseexcept_renamed.
4155 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
4157         [BZ #13538]
4158         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4159         EPOLLET with unsigned values.
4160         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4161         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4163         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4164         to large cancellation.
4165         * math/s_cacoshf.c: Likewise.
4166         * math/s_cacoshl.c: Likewise.
4168 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
4170         [BZ #13305]
4171         [BZ #12786]
4172         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4173         * math/s_cacoshf.c: Likewise.
4174         * math/s_cacoshl.c: Likewise.
4176 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
4178         [BZ #13439]
4179         * iconv/gconv.h: Define __GCONV_SWAP.
4180         * iconvdata/unicode.c: The swap bit must be stored in __flags.
4181         * iconvdata/utf-16.c: Likewise.
4182         * iconvdata/utf-32.c: Likewise.
4184 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
4186         [BZ #13524]
4187         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4188         numerator after shifting it by one limb.
4190 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
4192         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4193         under [__USE_EXTERN_INLINES].
4195 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
4197         [BZ #13446]
4198         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4200 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4202         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4203         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4204         optimized code.
4205         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4206         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4207         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4208         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4209         for strncasecmp/strncasecmp_l compilation.
4210         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4211         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4213 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
4215         [BZ #13484]
4216         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4217         of __asm__.
4219 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
4221         [BZ #13506]
4222         * time/tzfile.c (__tzfile_read): Check values from file header.
4224 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4226         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4227         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4228         * powerpc/powerpc32/dl-start.S: Likewise.
4229         * powerpc/powerpc32/elf/start.S: Likewise.
4230         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4231         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4232         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4233         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4234         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4235         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4236         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4237         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4238         * powerpc/powerpc32/fpu/s_round.S: Likewise.
4239         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4240         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4241         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4242         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4243         * powerpc/powerpc32/memset.S: Likewise.
4244         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4245         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4246         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4247         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4248         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4249         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4250         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4251         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4252         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4253         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4254         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4255         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4256         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4258 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4260         * math/libm-test.inc: Added more nearbyint tests.
4261         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4262         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4263         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4264         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4266 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
4268         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4269         FD_CLOEXEC.
4271 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4273         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4274         Add wcscpy-ssse3 wcscpy-c.
4275         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4276         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4277         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4278         * sysdeps/x86_64/wcschr.S: New file.
4279         * sysdeps/x86_64/wcsrchr.S: New file.
4280         * string/test-strcmp.c: Remove checking of wcscmp function for
4281         wrong alignments.
4282         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4283         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4284         wcsrchr-sse2 wcsrchr-c.
4285         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4286         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4287         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4288         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4289         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4290         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4291         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4292         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4293         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4294         * wcsmbc/wcschr.c (WCSCHR): New macro.
4296 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4298         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4299         * wcsmbs/test-wcsrchr.c: New file.
4300         * string/test-strrchr.c: Add wcsrchr support.
4301         (WIDE): New macro.
4302         * wcsmbs/test-wcscpy.c: New file.
4303         * string/test-strcpy.c: Add wcscpy support.
4304         (WIDE): New macro.
4306 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
4308         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4309         the inner loop.
4311 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
4313         [BZ #13472]
4314         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4316 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
4318         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4319         Minor optimizations.
4321         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4322         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4323         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4325 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
4327         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4328         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4329         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4330         for gcc to avoid warnings.
4331         * inet/Makefile (tests): Add tst-checks.
4332         * inet/tst-checks.c: New file.
4334         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4335         warning.
4337         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4338         __wmemcmp_sse2.
4340         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4341         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4343         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4345 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
4347         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4348         problem.
4350         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4352 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
4354         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4355         conditional on GCC version.
4356         (__arch_compare_and_exchange_val_8_acq)
4357         (__arch_compare_and_exchange_val_16_acq)
4358         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4359         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4360         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4362 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
4364         * sysdeps/sh/backtrace.c: New file.
4366 2011-12-02  Andreas Schwab  <schwab@redhat.com>
4368         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
4369         parenthesis.
4371 2011-12-01  Andreas Schwab  <schwab@redhat.com>
4373         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4374         falling back to utime.
4376 2011-11-30  Andreas Schwab  <schwab@redhat.com>
4378         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4379         expectations for float.
4381 2011-11-29  Andreas Schwab  <schwab@redhat.com>
4383         * locale/weight.h (findidx): Add parameter len.
4384         * locale/weightwc.h (findidx): Likewise.
4385         * posix/fnmatch_loop.c (FCT): Adjust caller.
4386         * posix/regcomp.c (build_equiv_class): Likewise.
4387         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4388         * posix/regexec.c (check_node_accept_bytes): Likewise.
4389         * string/strcoll_l.c (STRCOLL): Likewise.
4390         * string/strxfrm_l.c (STRXFRM): Likewise.
4392 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
4394         * Makefile.in: Remove CVSOPT handling.
4395         * configure.in: Remove use of AC_REVISION.
4396         * iconvdata/Makefile (distribute): No need to filter out CVS.
4397         * scripts/list-sources.sh: Remove CVS, subversion and monotone
4398         handling.
4400 2011-11-16  Andreas Schwab  <schwab@redhat.com>
4402         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4403         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4404         [USE_AS_STRNCASECMP_L]: Likewise.
4405         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4406         NO_TLS_DIRECT_SEG_REFS.
4407         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4408         Fix argument offsets for non-PIC.
4409         [USE_AS_STRNCASECMP_L]: Likewise.
4410         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4411         NO_TLS_DIRECT_SEG_REFS.
4413 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
4415         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4416         O_CLOEXEC.
4417         * locale/loadlocale.c (_nl_load_locale): Likewise.
4419 2011-11-15  Andreas Schwab  <schwab@redhat.com>
4421         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4422         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4423         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4424         (SYSCALL_GETTIME): Set errno on error.
4426         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4427         count references to noai6ai_cached.
4429 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
4431         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4433         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4434         FD_CLOEXEC for /proc/self/maps.
4436         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4437         FD_CLOEXEC for /proc/meminfo.
4439         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4440         gai.conf.
4442         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
4443         FD_CLOEXEC for given file.
4445         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4447         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4448         FD_CLOEXEC for /etc/hosts.
4449         (_gethtent): Likewise.
4451         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4453         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4454         cancellation and set FD_CLOEXEC for /etc/netgroup.
4456         * nss/nss_files/files-key.c (search): Don't allow cancellation when
4457         reading /etc/publickey.
4459         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4460         allow cancellation when reading /etc/group.
4462         * nss/nss_files/files-alias.c (internal_setent): Don't allow
4463         cancellation.
4464         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
4466         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4467         when using data file.
4469         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4471         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4472         (write_nis_obj): Use "c" and "e" in fopen.
4474         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4476         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4478         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4480         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4482         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4483         locale.alias.
4485         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4487         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4489         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4491         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4492         file parsing and set FD_CLOEXEC.
4494 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4496         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4498 2011-11-14  Andreas Schwab  <schwab@redhat.com>
4500         * malloc/arena.c (arena_get2): Don't call reused_arena when
4501         _int_new_arena failed.
4503 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4505         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4506         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4507         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4508         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4509         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4510         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4511         to compile strcasecmp and strncasecmp.
4512         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4513         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4515         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4517 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
4519         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4520         locale-defines.sym to gen-as-const-headers.
4521         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4522         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4524         to compile strcasecmp and strncasecmp.
4525         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4526         strcasecmp_l and strncasecmp_l.
4527         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4528         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4529         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4530         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4531         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4532         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4533         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4534         * sysdeps/i386/i686/multiarch/strncase.S: New file.
4535         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4536         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4537         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4539 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
4541         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4542         result of SYSDEP_GETTIME_CPU to retval.
4543         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4544         parameter list to macro.  Remove trailing semicolon.  Adjust users.
4546         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4547         variable.
4549         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4550         mantissa words.
4551         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4553         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4554         from unused variable.
4556         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4557         DWARF definitions.
4558         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4559         for assembling.
4561         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4562         over namespaces.
4564         * sunrpc/rpc_prot.c (rejected): Fix case value.
4566         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4567         unsigned long long int to avoid warnings in shift.
4569         * posix/regex_internal.c (re_string_reconstruct): Actually use result
4570         of use of trans.
4571         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4572         variable tmp.
4574         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4575         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4576         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4578         * nis/nis_table.c (nis_list): Use variable of correct type for
4579         result of __follow_path call.
4581 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4583         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4584         of math functions ceil, trunc, floor, round, and sqrt, when
4585         avaliable on the platform.
4586         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4587         name clash.
4588         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4589         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4590         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4592 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
4594         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4595         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4597 2011-11-11  Roland McGrath  <roland@hack.frob.com>
4599         * include/unistd.h: Fix __readlink return type.
4600         Reported by Chris Metcalf <cmetcalf@tilera.com>.
4602 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
4604         * stdlib/ucontext.h: Undo last change for makecontext.
4606 2011-11-11  Andreas Schwab  <schwab@redhat.com>
4608         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4610         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4611         * setjmp/setjmp.h: Mark functions as non-leaf.
4612         * setjmp/bits/setjmp2.h: Likewise.
4613         * stdlib/ucontext.h: Likewise.
4615 2011-11-10  Andreas Schwab  <schwab@redhat.com>
4617         * malloc/arena.c (_int_new_arena): Don't increment narenas.
4618         (reused_arena): Don't check arena limit.
4619         (arena_get2): Atomically check arena limit.
4621 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
4623         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4624         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4626         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4627         instructions.
4629 2011-11-07  Andreas Schwab  <schwab@redhat.com>
4631         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4632         handler when locking.
4634         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4635         Fix size of allocated buffer.
4637 2011-11-04  Andreas Schwab  <schwab@redhat.com>
4639         [BZ #10103]
4640         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4641         declarations for long double functions.
4642         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4644         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4646 2011-11-03  Andreas Schwab  <schwab@redhat.com>
4648         * nscd/nscd.c (main): Don't start AVC thread until credentials are
4649         installed.
4651         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4652         is disabled.
4654 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4656         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4658 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
4660         * include/alloca.h (stackinfo_alloca_round): Define.
4661         (extend_alloca): Use it.
4662         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4663         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4664         here.
4666         * scripts/check-local-headers.sh: Ignore libaudit.h.
4668         * nscd/Makefile (extra-objs): Make recursively expanded.
4670 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
4672         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4673         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4675         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4676         * posix/tst-rfc3484-2.c: Likewise.
4677         * posix/tst-rfc3484-3.c: Likewise.
4679         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4680         process_vm_writev.
4681         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4682         process_vm_writev.
4683         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4684         process_vm_writev from libc using GLIBC_2.15 version.
4686         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4688 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
4690         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4691         stack usage.
4693 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
4695         [BZ #13367]
4696         * nss/getent.c (initgroups_keys): Show error message in case no group
4697         names are given.
4699         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4700         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4701         __bump_nl_timestamp.
4702         * nscd/connections (nscd_init): When host database is served open
4703         netlink socket and request notification about configuration changes.
4704         (main_loop_poll): Track netlink file descriptor and bump timestamp
4705         in case data becomes available.
4706         (main_loop_epoll): Likewise.
4707         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4708         (database_pers_head): Add extra_data fileds.
4709         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4710         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4711         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4712         Adjust caller.
4713         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4714         in6ai data, call __free_in6ai.
4715         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4716         Add -DHAVE_NETLINK.
4717         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
4718         interface information.  Reuse previous data if netlink timestamp
4719         is not changed.
4720         (__bump_nl_timestamp): New function.
4721         (__free_in6ai): New function.
4723 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
4725         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4726         close_not_cancel_no_status here.
4727         (__check_pf): Reorganize code a bit to not call close twice if OOM.
4729 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4731         [BZ #13276]
4732         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4733         return value.
4735         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4736         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4737         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4739 2011-07-03  Andreas Jaeger  <aj@suse.de>
4741         [BZ #10709]
4742         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4743         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4744         * math/libm-test.inc (sin_test): Add test case.
4746 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4748         [BZ #13337]
4749         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4750         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4752         * elf/chroot_canon.c (chroot_canon): Cleanups.
4754         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4756         [BZ #13335]
4757         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4758         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4760         * string/test-strchr.c: Make usable for strchrnul testing.
4761         * string/test-strchrnul.c: New file.
4762         * string/Makefile (strop-tests): Add strchrnul.
4764         * po/it.po: Update from translation team.
4765         * po/es.po: Likewise.
4767 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
4769         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4770         the three constants needed as parameters.  Drop the others.
4771         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4772         __m128i_strloadu_tolower.
4773         Create and initialize variable zero and use it in all the places
4774         where _mm_setzero_si128 was used.
4776         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4777         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4778         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4779         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4780         anymore.
4781         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4782         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4783         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4784         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4785         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4786         __mpranred, __mptan.
4787         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4788         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4789         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4790         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4791         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4792         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4793         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4794         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4795         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4797 2011-10-28  Andreas Schwab  <schwab@redhat.com>
4799         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4800         redefine if SHARED.
4801         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4804         wide char related routines to wcsmbs subdir.
4806 2011-10-27  Andreas Schwab  <schwab@redhat.com>
4808         [BZ #13344]
4809         * misc/sys/cdefs.h (__THROWNL): Define.
4810         * posix/unistd.h: Use __THREADNL instead of __THREAD
4811         for memory synchronization functions.
4813 2011-10-26  Roland McGrath  <roland@hack.frob.com>
4815         [BZ #13349]
4816         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4817         doesn't exist.
4818         * manual/stdio.texi (Obstack Streams): Node removed.
4820 2011-10-26  Andreas Schwab  <schwab@redhat.com>
4822         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4823         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4824         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4826         * math/math_private.h (math_force_eval): Allow non-addressable
4827         arguments.
4828         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4830 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4832         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4833         file is not needed.
4835         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4836         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4837         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4838         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4839         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4840         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4841         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4842         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4843         Add AVX variants.
4844         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4845         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4846         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4847         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4848         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4849         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4850         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4851         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4852         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4853         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4854         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4855         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4856         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4857         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4858         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4859         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4860         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4861         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4862         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4864         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4865         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
4867         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4868         place.  Use VEX encoding when compiling for AVX.
4870 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4872         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4873         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4875         * string/test-strchr.c (do_test): Don't generate NUL bytes.
4877 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4879         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4880         useless if() expression.
4881         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4882         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4883         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4884         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4885         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4886         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4887         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4888         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4889         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4890         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4891         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4892         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4893         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4894         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4895         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4896         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4897         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4898         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4899         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4901         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4903 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4905         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4906         condition.
4907         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4909 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4911         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4912         .text section.  Avoid duplicate constants.
4913         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4914         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4915         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4916         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4917         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4918         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4919         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4920         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4921         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4922         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4923         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4924         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4925         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4926         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4927         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4928         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4929         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4930         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4931         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4932         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4933         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4934         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4935         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4936         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4937         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4938         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4939         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4940         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4941         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4942         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4943         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4944         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4945         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4946         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4947         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4948         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4949         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4950         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4951         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4952         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4953         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4954         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4955         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4956         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4957         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4959 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
4961         * sysdeps/x86_64/dla.h: Move to ...
4962         * sysdeps/x86_64/fpu/dla.h: ...here.
4963         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4964         situations.  Use __builtin_fma only for gcc 4.6 and up.
4966         * config.make.in: Add have-mfma4 entry.
4967         * configure.in: Substitute libc_cv_cc_fma4.
4968         * math/Makefile (dbl-only-routines): Add sincostab.
4969         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4970         Use __sincostab not sincos.
4971         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4972         name is a macro.
4973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4976         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
4977         using __copysign.
4978         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
4979         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
4980         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4981         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4982         and __inv.
4983         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4984         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4985         __copysign.
4986         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
4987         define aliases when function name is a macro.
4988         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4989         sysdeps/ieee754/dbl-64/sincos.tbl.
4990         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4991         fma4-enabled routines.
4992         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4993         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4994         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4995         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4996         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4997         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4998         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4999         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5000         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5001         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5002         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5003         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5004         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5005         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5006         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5007         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5008         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5009         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5010         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5011         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5012         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5013         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5014         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5015         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5016         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5017         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5018         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5019         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5020         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5021         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5023         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5024         rename.
5025         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5027         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5030         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5031         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5032         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5034 2011-10-24  Andreas Schwab  <schwab@redhat.com>
5036         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5038 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5040         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5042         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5043         prediction.
5044         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5046         * string/strnlen.c: Don't define STRNLEN, reverse logic.
5047         Remove unused variable magic_bits.
5048         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5050         * string/strnlen.c: Define and use STRNLEN macro.
5051         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5052         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5053         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5054         * wcsmbs/wcslen.c: Define and use WCSLEN.
5055         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5056         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5057         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5058         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5059         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5060         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5061         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5063 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5066         strnlen-sse2-no-bsf.
5067         Rename strlen-no-bsf to strlen-sse2-no-bsf.
5068         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5069         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5070         Add strnlen support.
5071         (USE_AS_STRNLEN): New macro.
5072         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5073         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5074         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5075         * sysdeps/x86_64/wcslen.S: New file.
5077 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
5079         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5080         XMM-moves are used for copying on small sizes.
5082 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5084         * wcsmbs/Makefile (strop-tests): Add wcschr.
5085         * wcsmbs/test-wcschr.c: New file.
5086         * string/test-strchr.c: Update.
5087         Add wcschr support.
5088         (WIDE): New macro.
5090 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5092         * wcsmbs/Makefile (strop-tests): Add wcslen.
5093         * wcsmbs/test-wcslen.c: New file.
5094         * string/test-strlen.c: Update.
5095         Add wcslen support.
5096         (WIDE): New macro.
5098 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5100         * po/it.po: Update from translation team.
5102 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5104         * sysdeps/x86_64/wcscmp.S: Update.
5105         Fix wrong comparison semantics.
5106         wcscmp shall use signed comparison not unsigned.
5107         Don't use substraction to avoid overflow bug.
5108         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5109         * wcsmbc/wcscmp.c: Likewise.
5110         * string/test-strcmp.c: Likewise.
5111         Add new tests to check cases with negative values.
5113 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5115         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5116         * sysdeps/x86_64/dla.h: ...here.  New file.
5117         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5121         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5122         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5123         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5124         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5125         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5127 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
5129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5130         __ynl_finite aliases.
5132 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
5134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5136         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5137         define DLA_FMA.
5138         [DLA_FMA] (EMULV): Use DLA_FMA.
5139         [DLA_FMA] (MUL12): Use EMULV.
5140         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5141         that are not needed.
5142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5144         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5147         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5148         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5150 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
5152         * math/s_nan.c: Undef __nan.
5153         * math/s_nanf.c: Undef __nanf.
5154         * math/s_nanl.c: Undef __nanl.
5155         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5156         "math_private.h".
5158 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
5160         * math/s_catan.c: Add branch predictions.
5161         * math/s_catanf.c: Likewise.
5162         * math/s_catanh.c: Likewise.
5163         * math/s_catanhf.c: Likewise.
5164         * math/s_catanhl.c: Likewise.
5165         * math/s_catanl.c: Likewise.
5166         * math/s_cexp.c: Likewise.
5167         * math/s_cexpf.c: Likewise.
5168         * math/s_cexpl.c: Likewise.
5169         * math/s_clog.c: Likewise.
5170         * math/s_clog10.c: Likewise.
5171         * math/s_clog10f.c: Likewise.
5172         * math/s_clog10l.c: Likewise.
5173         * math/s_clogf.c: Likewise.
5174         * math/s_clogl.c: Likewise.
5175         * math/s_csqrt.c: Likewise.
5176         * math/s_csqrtf.c: Likewise.
5177         * math/s_csqrtl.c: Likewise.
5178         * math/s_ctanf.c: Likewise.
5179         * math/s_ctanh.c: Likewise.
5180         * math/s_ctanhf.c: Likewise.
5181         * math/s_ctanhl.c: Likewise.
5182         * math/s_ctanl.c: Likewise.
5184         * math/math_private.h: Define __nan, __nanf, __nanl.
5185         * math/s_cacosh.c: Include <math_private.h>.
5186         * math/s_cacoshl.c: Likewise.
5187         * math/s_casinh.c: Likewise.
5188         * math/s_casinhf.c: Likewise.
5189         * math/s_casinhl.c: Likewise.
5190         * math/s_ccos.c: Rely entire on ccosh.
5191         * math/s_ccosf.c: Rely entire on ccoshf.
5192         * math/s_ccosl.c: Rely entirely on ccoshl.
5193         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
5194         Remove tests for FE_INVALID.
5195         * math/s_ccoshf.c: Likewise.
5196         * math/s_ccoshl.c: Likewise.
5197         * math/s_csin.c: Likewise.
5198         * math/s_csinf.c: Likewise.
5199         * math/s_csinh.c Likewise.
5200         * math/s_csinhf.c: Likewise.
5201         * math/s_csinhl.c: Likewise.
5202         * math/s_csinl.c: Likewise.
5203         * math/s_ctan.c: Likewise.
5204         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5205         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5206         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5208 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
5210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5211         compilation problems.
5213         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5214         __builtin_expect.
5216 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
5218         * sysdeps/i386/configure.in: Test for -mfma4 option.
5219         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5220         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5221         COMMON_CPUID_INDEX_80000001.
5222         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5223         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5224         use it if FMA3 is not supported.
5225         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5227         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5228         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5230 2011-10-20  Andreas Schwab  <schwab@redhat.com>
5232         [BZ #12892]
5233         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5234         it would create a cycle with a link time dependency.
5236 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
5238         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5239         instruction.
5240         * string/Makefile (strop-tests): Add rawmemchr.
5241         * string/test-rawmemchr.c: New file.
5243         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5244         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
5245         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
5246         when compiling str{,n}casecmp and when AVX is available.  Hook up
5247         new optimized code in initializers.
5249 2011-10-19  Andreas Schwab  <schwab@redhat.com>
5251         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5252         __feraiseexcept instead of feraiseexcept.
5254 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
5256         * math/math_private.h: Define defaults for libc_fetestexcept and
5257         libc_feupdateenv.
5258         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5259         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5260         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5261         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5262         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5263         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5264         libc_fetestexcept and libc_feupdateenv.
5266         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5267         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5268         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5269         * sysdeps/x86_64/fpu/math_private.h: Define special version of
5270         libc_feholdexcept_setround.
5272         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5273         Add s_nearbyint-c and s_nearbyintf-c.
5274         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5275         nearbyintf inlines.
5276         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5277         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5278         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5279         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5281         * math/math_private.h: Define defaults for libc_fegetround,
5282         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5283         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5284         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5285         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5286         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5287         standard functions.
5288         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5289         Remove comments and hacks for old compiler versions.
5290         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5291         libc_fegetround, libc_fesetround, libc_feholdexcept, and
5292         libc_feholdexceptl.
5294 2011-10-18  Andreas Schwab  <schwab@redhat.com>
5296         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5297         (__feraiseexcept_renamed): Add __NTH.
5298         (feraiseexcept): Add __NTH.  Rename local variables to fix
5299         namespace violations.
5301 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
5303         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5305         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5307         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5308         recently added interfaces.
5309         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5311         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5312         about macro parameter expansion.
5314         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5315         __NO_MATH_INLINES is defined.  Cleanups.
5317         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5318         and __floorf is target has SSE4.1.
5319         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5320         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5321         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5322         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5324         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5325         name.
5326         (floorf): Likewise.
5328         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5330 2011-10-17  Andreas Schwab  <schwab@redhat.com>
5332         * misc/sys/cdefs.h: Fix last change.
5334         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5335         database lookup.
5337 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
5339         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5341         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5342         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5343         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5344         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5345         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5346         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5347         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5348         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5349         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5350         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5351         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5352         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5353         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5354         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5355         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5356         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5357         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5358         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5359         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5360         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5361         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5362         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5364         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5365         ceil, ceilf, floor, floorf.
5367         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5368         Perform IRELATIVE relocations last.
5370         * elf/do-rel.h: Add another parameter nrelative, replacing the
5371         local variable with the same name.  Change name of the function
5372         to end in Rel or Rela (uppercase).
5373         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5374         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
5375         elf_dynamic_do_##reloc function.
5377 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
5379         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5380         is sufficient, at least on modern CPUs.
5382         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5384         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5385         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5387         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5388         __expl_finite.
5389         * math/bits/math-finite.h: Add entries for exp.
5390         * math/e_expl.c: Add __*_finite alias.
5391         * sysdeps/i386/fpu/e_exp.S: Likewise.
5392         * sysdeps/i386/fpu/e_expf.S: Likewise.
5393         * sysdeps/i386/fpu/e_expl.c: Likewise.
5394         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5395         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5396         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5397         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5398         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5399         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5400         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5402         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5403         is sufficient, at least on modern CPUs.
5405         * ctype/ctype-info.c (__ctype_init): Define.
5406         * include/ctype.h (__ctype_init): Declare.
5407         (__ctype_b_loc): The variable is always initialized.
5408         (__ctype_toupper_loc): Likewise.
5409         (__ctype_tolower_loc): Likewise.
5410         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5411         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5413 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
5415         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5417         * configure.in: Also look in $cxxmachine/include for C++ system
5418         headers.
5420 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5422         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5423         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5424         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5425         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
5426         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5427         (USE_AS_WMEMCMP): New macro.
5428         Fixing indents.
5429         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5430         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5431         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5432         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5433         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5434         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5435         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5436         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5437         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5438         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5439         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5440         (USE_AS_WMEMCMP): New macro.
5441         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5442         * sysdeps/string/test-memcmp.c: Update.
5443         Fix simple_wmemcmp.
5444         Add new tests.
5445         * wcsmbs/wmemcmp.c: Update.
5446         (WMEMCMP): New macro.
5447         Fix overflow bug.
5449 2011-10-12  Andreas Jaeger  <aj@suse.de>
5451         [BZ #13268]
5452         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5454 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
5456         * libio/iofwide.c (do_length): Avoid warning.
5458         * ctype/ctype.h (__isctype_f): Add missing __THROW.
5460 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
5462         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5464         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5465         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5466         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5467         * sysdeps/i386/i686/fpu/e_log.S: New file.
5468         * sysdeps/i386/i686/fpu/e_logf.S: New file.
5469         * sysdeps/i386/i686/fpu/e_logl.S: New file.
5471         * ctype/ctype.h: Add support for inlined isXXX functions when
5472         compiling C++ code.
5474 2011-10-14  Andreas Schwab  <schwab@redhat.com>
5476         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5478         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5480 2011-10-13  Roland McGrath  <roland@hack.frob.com>
5482         [BZ #13291]
5483         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5485 2011-10-13  Andreas Schwab  <schwab@redhat.com>
5487         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5488         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5489         feraiseexcept.
5491         * sysdeps/x86_64/memrchr.S: Check for zero size.
5493         * string/stratcliff.c: Add memrchr tests.
5495 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5498         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5499         rawmemchr-sse2 rawmemchr-sse2-bsf.
5500         * sysdeps/i386/i686/multiarch/memchr.S: New file.
5501         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5502         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5503         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5504         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5505         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5506         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5507         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5508         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5509         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5510         * string/memrchr.c (MEMRCHR): New macro.
5512 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
5514         Add integration with gcc's -ffinite-math-only and optimize wrapper
5515         functions in libm.
5516         * Versions.def: Define GLIBC_2.15 version for libm.
5517         * math/Makefile (headers): Add bits/math-finite.h.
5518         * math/bits/math-finite.h: New file.
5519         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5520         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5521         * math/e_acoshl.c: Add __*_finite alias.
5522         * math/e_acosl.c: Likewise.
5523         * math/e_asinl.c: Likewise.
5524         * math/e_atan2l.c: Likewise.
5525         * math/e_atanhl.c: Likewise.
5526         * math/e_coshl.c: Likewise.
5527         * math/e_exp10.c: Likewise.
5528         * math/e_exp10f.c: Likewise.
5529         * math/e_exp10l.c: Likewise.
5530         * math/e_exp2l.c: Likewise.
5531         * math/e_fmodl.c: Likewise.
5532         * math/e_gammal_r.c: Likewise.
5533         * math/e_hypotl.c: Likewise.
5534         * math/e_j0l.c: Likewise.
5535         * math/e_j1l.c: Likewise.
5536         * math/e_jnl.c: Likewise.
5537         * math/e_lgammal_r.c: Likewise.
5538         * math/e_log10l.c: Likewise.
5539         * math/e_log2l.c: Likewise.
5540         * math/e_logl.c: Likewise.
5541         * math/e_powl.c: Likewise.
5542         * math/e_sinhl.c: Likewise.
5543         * math/e_sqrtl.c: Likewise.
5544         * math/e_scalb.c: Completely rewritten and optimized.
5545         * math/e_scalbf.c: Likewise.
5546         * math/e_scalbl.c: Likewise.
5547         * math/w_acos.c: Likewise.
5548         * math/w_acosf.c: Likewise.
5549         * math/w_acosl.c: Likewise.
5550         * math/w_acosh.c: Likewise.
5551         * math/w_acoshf.c: Likewise.
5552         * math/w_acoshl.c: Likewise.
5553         * math/w_asin.c: Likewise.
5554         * math/w_asinf.c: Likewise.
5555         * math/w_asinl.c: Likewise.
5556         * math/w_atan2.c: Likewise.
5557         * math/w_atan2f.c: Likewise.
5558         * math/w_atan2l.c: Likewise.
5559         * math/w_atanh.c: Likewise.
5560         * math/w_atanhf.c: Likewise.
5561         * math/w_atanhl.c: Likewise.
5562         * math/w_exp10.c: Likewise.
5563         * math/w_exp10f.c: Likewise.
5564         * math/w_exp10l.c: Likewise.
5565         * math/w_fmod.c: Likewise.
5566         * math/w_fmodf.c: Likewise.
5567         * math/w_fmodl.c: Likewise.
5568         * math/w_j0.c: Likewise.
5569         * math/w_j0f.c: Likewise.
5570         * math/w_j0l.c: Likewise.
5571         * math/w_j1.c: Likewise.
5572         * math/w_j1f.c: Likewise.
5573         * math/w_j1l.c: Likewise.
5574         * math/w_jn.c: Likewise.
5575         * math/w_jnf.c: Likewise.
5576         * math/w_log.c: Likewise.
5577         * math/w_logf.c: Likewise.
5578         * math/w_logl.c: Likewise.
5579         * math/w_log10.c: Likewise.
5580         * math/w_log10f.c: Likewise.
5581         * math/w_log10l.c: Likewise.
5582         * math/w_log2.c: Likewise.
5583         * math/w_log2f.c: Likewise.
5584         * math/w_log2l.c: Likewise.
5585         * math/w_pow.c: Likewise.
5586         * math/w_powf.c: Likewise.
5587         * math/w_powl.c: Likewise.
5588         * math/w_remainder.c: Likewise.
5589         * math/w_remainderf.c: Likewise.
5590         * math/w_remainderl.c: Likewise.
5591         * math/w_scalb.c: Likewise.
5592         * math/w_scalbf.c: Likewise.
5593         * math/w_scalbl.c: Likewise.
5594         * math/w_sqrt.c: Likewise.
5595         * math/w_sqrtf.c: Likewise.
5596         * math/w_sqrtl.c: Likewise.
5597         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5598         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
5599         used.
5600         * math/math_private.h: Declare __kernel_standard_f.
5601         * math/w_cosh.c: Remove cruft and optimize a bit.
5602         * math/w_coshf.c: Likewise.
5603         * math/w_coshl.c: Likewise.
5604         * math/w_exp2.c: Likewise.
5605         * math/w_exp2f.c: Likewise.
5606         * math/w_exp2l.c: Likewise.
5607         * math/w_hypot.c: Likewise.
5608         * math/w_hypotf.c: Likewise.
5609         * math/w_hypotl.c: Likewise.
5610         * math/w_lgamma.c: Likewise.
5611         * math/w_lgamma_r.c: Likewise.
5612         * math/w_lgammaf.c: Likewise.
5613         * math/w_lgammaf_r.c: Likewise.
5614         * math/w_lgammal.c: Likewise.
5615         * math/w_lgammal_r.c: Likewise.
5616         * math/w_sinh.c: Likewise.
5617         * math/w_sinhf.c: Likewise.
5618         * math/w_sinhl.c: Likewise.
5619         * math/w_tgamma.c: Likewise.
5620         * math/w_tgammaf.c: Likewise.
5621         * math/w_tgammal.c: Likewise.
5622         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5623         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5624         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5625         Minor optimizations.  Pretty printing.  Remove cruft.
5626         * sysdeps/i386/fpu/e_acosf.S: Likewise.
5627         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5628         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5629         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5630         * sysdeps/i386/fpu/e_acosl.c: Likewise.
5631         * sysdeps/i386/fpu/e_asin.S: Likewise.
5632         * sysdeps/i386/fpu/e_asinf.S: Likewise.
5633         * sysdeps/i386/fpu/e_atan2.S: Likewise.
5634         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5635         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5636         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5637         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5638         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5639         * sysdeps/i386/fpu/e_exp10.S: Likewise.
5640         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5641         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5642         * sysdeps/i386/fpu/e_exp2.S: Likewise.
5643         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5644         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5645         * sysdeps/i386/fpu/e_fmod.S: Likewise.
5646         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5647         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5648         * sysdeps/i386/fpu/e_hypot.S: Likewise.
5649         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5650         * sysdeps/i386/fpu/e_log.S: Likewise.
5651         * sysdeps/i386/fpu/e_log10.S: Likewise.
5652         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5653         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5654         * sysdeps/i386/fpu/e_log2.S: Likewise.
5655         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5656         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5657         * sysdeps/i386/fpu/e_logf.S: Likewise.
5658         * sysdeps/i386/fpu/e_logl.S: Likewise.
5659         * sysdeps/i386/fpu/e_pow.S: Likewise.
5660         * sysdeps/i386/fpu/e_powf.S: Likewise.
5661         * sysdeps/i386/fpu/e_powl.S: Likewise.
5662         * sysdeps/i386/fpu/e_remainder.S: Likewise.
5663         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5664         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5665         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5666         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5667         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5668         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5669         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5670         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5671         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5672         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5673         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5674         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5675         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5676         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5677         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5678         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5679         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5680         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5681         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5682         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5684         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5685         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5686         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5687         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5688         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5689         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5691         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5692         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5693         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5694         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5695         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5696         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5697         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5698         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5699         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5700         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5701         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5702         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5703         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5704         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5705         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5706         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5707         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5708         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5709         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5710         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5711         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5712         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5713         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5714         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5715         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5716         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5717         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5718         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5719         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5720         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5721         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5722         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5723         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5724         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5725         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5726         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5727         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5728         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5729         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5730         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5731         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5732         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5733         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5734         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5735         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5736         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5737         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5738         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5739         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5740         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5741         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5742         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5743         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5744         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5745         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5747         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5748         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5749         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5750         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5751         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5752         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5753         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5754         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5755         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5756         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5757         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5758         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5759         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5760         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5761         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5762         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5763         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5764         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5765         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5766         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5767         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5768         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5769         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5770         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5771         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5772         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5773         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5774         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5775         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5776         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5777         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5778         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5779         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5780         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5781         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
5782         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5783         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5784         (__isnanf): Likewise.
5785         (__isinf_ns): Likewise.
5786         (__isinf_nsf): Likewise.
5787         (__finite): Likewise.
5788         (__finitef): Likewise.
5789         (__ieee754_sqrt): Define as macro.
5790         (__ieee754_sqrtf): Define as macro.
5791         (__ieee754_sqrtl): Define as macro.
5792         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5793         inlined copy.
5794         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5795         __FINITE_MATH_ONLY__ consistent.
5796         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5798 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
5800         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5801         of rawmemchr.
5803         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5805 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
5807         * po/ja.po: Update from translation team.
5809 2011-10-08  Roland McGrath  <roland@hack.frob.com>
5811         * locale/programs/locarchive.c (prepare_address_space): New function.
5812         (create_archive, enlarge_archive, open_archive): Use it.
5814         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5815         inside [SHARED], where it is used.
5817         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5819         * nss/getent.c (netgroup_keys): Remove unused variable.
5820         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5822 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
5824         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5825         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5827         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5828         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5829         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5830         * math/Makefile (libm-calls): Add s_isinf_ns.
5831         * math/divtc3.c: Use __isinf_nsl instead of isinf.
5832         * math/multc3.c: Likewise.
5833         * math/s_casin.c: Likewise.
5834         * math/s_casinf.c: Likewise.
5835         * math/s_casinl.c: Likewise.
5836         * math/s_ccos.c: Likewise.
5837         * math/s_ccosf.c: Likewise.
5838         * math/s_ccosl.c: Likewise.
5839         * math/s_ctan.c: Likewise.
5840         * math/s_ctanf.c: Likewise.
5841         * math/s_ctanh.c: Likewise.
5842         * math/s_ctanhf.c: Likewise.
5843         * math/s_ctanhl.c: Likewise.
5844         * math/s_ctanl.c: Likewise.
5845         * math/w_fmod.c: Likewise.
5846         * math/w_fmodf.c: Likewise.
5847         * math/w_fmodl.c: Likewise.
5848         * math/w_remainder.c: Likewise.
5849         * math/w_remainderf.c: Likewise.
5850         * math/w_remainderl.c: Likewise.
5851         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5852         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5853         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5854         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5855         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5856         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5857         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5858         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5860         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5861         of the number.
5862         * stdio-common/printf_fphex.c: Likewise.
5863         * stdio-common/printf_size.c: Likewise.
5865         * math/e_exp10.c: Include math_private.h using <...> not "...".
5866         * math/e_exp10f.c: Likewise.
5867         * math/e_exp10l.c: Likewise.
5868         * math/e_exp2l.c: Likewise.
5869         * math/e_j0l.c: Likewise.
5870         * math/e_j1l.c: Likewise.
5871         * math/e_jnl.c: Likewise.
5872         * math/e_lgammal_r.c: Likewise.
5873         * math/e_rem_pio2l.c: Likewise.
5874         * math/e_scalb.c: Likewise.
5875         * math/e_scalbf.c: Likewise.
5876         * math/e_scalbl.c: Likewise.
5877         * math/k_cosl.c: Likewise.
5878         * math/k_sinl.c: Likewise.
5879         * math/k_tanl.c: Likewise.
5880         * math/s_cacoshf.c: Likewise.
5881         * math/s_catan.c: Likewise.
5882         * math/s_catanf.c: Likewise.
5883         * math/s_catanh.c: Likewise.
5884         * math/s_catanhf.c: Likewise.
5885         * math/s_catanhl.c: Likewise.
5886         * math/s_catanl.c: Likewise.
5887         * math/s_ccosh.c: Likewise.
5888         * math/s_ccoshf.c: Likewise.
5889         * math/s_ccoshl.c: Likewise.
5890         * math/s_cexp.c: Likewise.
5891         * math/s_cexpf.c: Likewise.
5892         * math/s_cexpl.c: Likewise.
5893         * math/s_clog.c: Likewise.
5894         * math/s_clog10.c: Likewise.
5895         * math/s_clog10f.c: Likewise.
5896         * math/s_clog10l.c: Likewise.
5897         * math/s_clogf.c: Likewise.
5898         * math/s_clogl.c: Likewise.
5899         * math/s_csin.c: Likewise.
5900         * math/s_csinf.c: Likewise.
5901         * math/s_csinh.c: Likewise.
5902         * math/s_csinhf.c: Likewise.
5903         * math/s_csinhl.c: Likewise.
5904         * math/s_csinl.c: Likewise.
5905         * math/s_csqrt.c: Likewise.
5906         * math/s_csqrtf.c: Likewise.
5907         * math/s_csqrtl.c: Likewise.
5908         * math/s_ctan.c: Likewise.
5909         * math/s_ctanf.c: Likewise.
5910         * math/s_ctanh.c: Likewise.
5911         * math/s_ctanhf.c: Likewise.
5912         * math/s_ctanhl.c: Likewise.
5913         * math/s_ctanl.c: Likewise.
5914         * math/s_ldexp.c: Likewise.
5915         * math/s_ldexpf.c: Likewise.
5916         * math/s_ldexpl.c: Likewise.
5917         * math/s_significand.c: Likewise.
5918         * math/s_significandf.c: Likewise.
5919         * math/s_significandl.c: Likewise.
5920         * math/w_acos.c: Likewise.
5921         * math/w_acosf.c: Likewise.
5922         * math/w_acosh.c: Likewise.
5923         * math/w_acoshf.c: Likewise.
5924         * math/w_acoshl.c: Likewise.
5925         * math/w_acosl.c: Likewise.
5926         * math/w_asin.c: Likewise.
5927         * math/w_asinf.c: Likewise.
5928         * math/w_asinl.c: Likewise.
5929         * math/w_atan2.c: Likewise.
5930         * math/w_atan2f.c: Likewise.
5931         * math/w_atan2l.c: Likewise.
5932         * math/w_atanh.c: Likewise.
5933         * math/w_atanhf.c: Likewise.
5934         * math/w_atanhl.c: Likewise.
5935         * math/w_cosh.c: Likewise.
5936         * math/w_coshf.c: Likewise.
5937         * math/w_coshl.c: Likewise.
5938         * math/w_dremf.c: Likewise.
5939         * math/w_exp10.c: Likewise.
5940         * math/w_exp10f.c: Likewise.
5941         * math/w_exp10l.c: Likewise.
5942         * math/w_exp2.c: Likewise.
5943         * math/w_exp2f.c: Likewise.
5944         * math/w_fmod.c: Likewise.
5945         * math/w_fmodf.c: Likewise.
5946         * math/w_fmodl.c: Likewise.
5947         * math/w_hypot.c: Likewise.
5948         * math/w_hypotf.c: Likewise.
5949         * math/w_hypotl.c: Likewise.
5950         * math/w_j0.c: Likewise.
5951         * math/w_j0f.c: Likewise.
5952         * math/w_j0l.c: Likewise.
5953         * math/w_j1.c: Likewise.
5954         * math/w_j1f.c: Likewise.
5955         * math/w_j1l.c: Likewise.
5956         * math/w_jn.c: Likewise.
5957         * math/w_jnf.c: Likewise.
5958         * math/w_jnl.c: Likewise.
5959         * math/w_lgamma.c: Likewise.
5960         * math/w_lgamma_r.c: Likewise.
5961         * math/w_lgammaf.c: Likewise.
5962         * math/w_lgammaf_r.c: Likewise.
5963         * math/w_lgammal.c: Likewise.
5964         * math/w_lgammal_r.c: Likewise.
5965         * math/w_log.c: Likewise.
5966         * math/w_log10.c: Likewise.
5967         * math/w_log10f.c: Likewise.
5968         * math/w_log10l.c: Likewise.
5969         * math/w_log2.c: Likewise.
5970         * math/w_log2f.c: Likewise.
5971         * math/w_log2l.c: Likewise.
5972         * math/w_logf.c: Likewise.
5973         * math/w_logl.c: Likewise.
5974         * math/w_pow.c: Likewise.
5975         * math/w_powf.c: Likewise.
5976         * math/w_powl.c: Likewise.
5977         * math/w_remainder.c: Likewise.
5978         * math/w_remainderf.c: Likewise.
5979         * math/w_remainderl.c: Likewise.
5980         * math/w_scalb.c: Likewise.
5981         * math/w_scalbf.c: Likewise.
5982         * math/w_scalbl.c: Likewise.
5983         * math/w_sinh.c: Likewise.
5984         * math/w_sinhf.c: Likewise.
5985         * math/w_sinhl.c: Likewise.
5986         * math/w_sqrt.c: Likewise.
5987         * math/w_sqrtf.c: Likewise.
5988         * math/w_sqrtl.c: Likewise.
5989         * math/w_tgamma.c: Likewise.
5990         * math/w_tgammaf.c: Likewise.
5991         * math/w_tgammal.c: Likewise.
5993         * po/ja.po: Update from translation team.
5995 2011-09-29  Andreas Jaeger  <aj@suse.de>
5997         [BZ #13179]
5998         * sunrpc/netname.c (netname2host): Fix logic.
6000         [BZ #6779]
6001         [BZ #6783]
6002         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6003         correctly.
6004         * math/w_remainder.c (__remainder): Likewise.
6005         * math/w_remainderf.c (__remainderf): Likewise.
6006         * math/libm-test.inc (remainder_test): Add test cases.
6008 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6010         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
6011         sdiv_qrnnd.
6013 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
6015         * string/test-memcmp.c: Avoid unncessary #defines.
6016         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6018 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6020         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6021         Use new sse2 version for core i3 - i7 as it's faster
6022         than sse42 version.
6023         (bit_Prefer_PMINUB_for_stringop): New.
6024         * sysdeps/x86_64/rawmemchr.S: Update.
6025         Replace with faster SSE2 version.
6026         * sysdeps/x86_64/memrchr.S: New file.
6027         * sysdeps/x86_64/memchr.S: Update.
6028         Replace with faster SSE2 version.
6030 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
6032         * elf/dl-load.c (lose): Add cast to avoid warning.
6034 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
6036         * po/ca.po: Update from translation team.
6038         * inet/getnetgrent_r.c: Hook up nscd.
6039         * nscd/Makefile (routines): Add nscd_netgroup.
6040         (nscd-modules): Add netgroupcache.
6041         (CFLAGS-netgroupcache.c): Define.
6042         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6043         (cache_search): Add const to second parameter.
6044         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6045         INNETGR.
6046         (dbs): Add netgrdb entry.
6047         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6048         (verify_persistent_db): Handle netgrdb.
6049         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6050         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6051         GETFDNETGR.
6052         (netgroup_response_header): Define.
6053         (innetgroup_response_header): Define.
6054         (datahead): Add netgroup_response_header and innetgroup_response_header
6055         elements.
6056         * nscd/nscd.conf: Add entries for netgroup cache.
6057         * nscd/nscd.h (dbtype): Add netgrdb.
6058         (_PATH_NSCD_NETGROUP_DB): Define.
6059         (netgroup_iov_disabled): Declare.
6060         (xmalloc, xcalloc, xrealloc): Move declarations here.
6061         (cache_search): Adjust prototype.
6062         Add netgroup-related prototypes.
6063         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6064         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6065         (__nscd_innetgr): Declare.
6066         * nscd/selinux.c (perms): Use access_vector_t as element type and
6067         add netgroup-related initializers.
6068         * nscd/netgroupcache.c: New file.
6069         * nscd/nscd_netgroup.c: New file.
6070         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6071         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6072         For four parameters use innetgr.
6073         * nss/nss_files/files-init.c: Add definition and callback for netgr.
6074         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6075         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6076         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6078         * nscd/connections.c (register_traced_file): Don't register file
6079         for disabled databases.
6081 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
6083         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6085         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6086         from tree and freeing node.
6088 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
6090         * nss/nsswitch.c (__nss_database_lookup): Handle
6091         nss_parse_service_list out of memory case.
6093 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
6095         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6096         out of memory case.
6098 2011-10-04  Andreas Schwab  <schwab@redhat.com>
6100         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6101         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6102         pass it down.
6103         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6104         elf_machine_rela, elf_machine_lazy_rel.
6105         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6106         (ELF_DYNAMIC_DO_REL): Likewise.
6107         (ELF_DYNAMIC_DO_RELA): Likewise.
6108         (ELF_DYNAMIC_RELOCATE): Likewise.
6109         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6110         to ELF_DYNAMIC_DO_REL.
6111         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6112         (dl_main): In trace mode always set __RTLD_NOIFUNC.
6113         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6114         elf_machine_rela.
6115         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6116         skip_ifunc, don't call ifunc function if non-zero.
6117         (elf_machine_rela): Likewise.
6118         (elf_machine_lazy_rel): Likewise.
6119         (elf_machine_lazy_rela): Likewise.
6120         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6121         (elf_machine_lazy_rel): Likewise.
6122         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6123         Likewise.
6124         (elf_machine_lazy_rel): Likewise.
6125         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6126         Likewise.
6127         (elf_machine_lazy_rel): Likewise.
6128         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6129         (elf_machine_lazy_rel): Likewise.
6130         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6131         (elf_machine_lazy_rel): Likewise.
6132         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6133         (elf_machine_lazy_rel): Likewise.
6134         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6135         (elf_machine_lazy_rel): Likewise.
6136         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6137         (elf_machine_lazy_rel): Likewise.
6138         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6139         (elf_machine_lazy_rel): Likewise.
6141 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
6143         * nss/nss_files/files-init.c (_nss_files_init): Use static
6144         initialization for all the *_traced_file variables.
6146 2011-09-28  Andreas Schwab  <schwab@redhat.com>
6148         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6150 2011-09-27  Roland McGrath  <roland@hack.frob.com>
6152         [BZ #13226]
6153         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6155 2011-09-27  Andreas Schwab  <schwab@redhat.com>
6157         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6158         Reread the line before reparsing it.
6160 2011-09-26  Andreas Schwab  <schwab@redhat.com>
6162         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6164 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
6165             Maxim Kuvyrkov  <maxim@codesourcery.com>
6166             Joseph Myers  <joseph@codesourcery.com>
6168         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6169         if needed for __stack_chk_guard.
6171 2011-09-19  Roland McGrath  <roland@hack.frob.com>
6173         * sysdeps/posix/spawni.c (script_execute): Always define it.
6174         It will be optimized away if unused.
6175         (maybe_script_execute): New function.
6176         (__spawni): Call it.
6178         * Makerules: Don't include tls.make.
6179         (config-tls): Always set to thread.
6180         * tls.make.c: File removed.
6182 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
6184         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6185         * config.make.in (CPPFLAGS-config): New substituted variable.
6187 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
6189         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6191         [BZ #13192]
6192         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6193         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6195 2011-09-15  Roland McGrath  <roland@hack.frob.com>
6197         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6198         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6199         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6200         (CALL_FAIL): Likewise.
6201         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6202         (CALL_FAIL): Macro removed.
6203         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6205 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
6207         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6208         for __FINITE_MATH_ONLY__ == 1.
6210 2011-09-15  Andreas Schwab  <schwab@redhat.com>
6212         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6213         __ieee754_sqrt instead of sqrt.
6214         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6215         __ieee754_sqrtf instead of sqrtf.
6216         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6217         __floorf instead of floorf.
6218         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6219         __floorf, __truncf instead of floorf, truncf.
6221 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
6223         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6225         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6226         __extern_always_inline.
6227         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6228         32-bit.
6230 2011-09-14  Andreas Schwab  <schwab@redhat.com>
6232         * elf/rtld.c (dl_main): Also relocate in dependency order when
6233         doing symbol dependency testing.
6235 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
6237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6238         Always define `refsym'.
6240 2011-09-13  Andreas Schwab  <schwab@redhat.com>
6242         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6243         (__FD_ELT): Renamed from __FDELT.
6244         * misc/bits/select2.h (__FD_ELT): Likewise.
6245         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6246         __FD_MASK instead of __FDELT, __FDMASK.
6247         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6248         Likewise.
6249         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6250         Likewise.
6252         * elf/Makefile (gen-ldd): Fix pattern.
6254         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6255         (init_tls): Likewise.
6257 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
6259         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6261 2011-09-12  Andreas Schwab  <schwab@redhat.com>
6263         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6264         `struct cmsghdr *' instead of `void *'.
6265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6266         Likewise.
6268 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
6270         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6271         if non-absolute.
6272         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6273         ldd_rewrite_script.
6275 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
6277         * configure.in: Remove --with-tls option.
6278         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6279         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6280         out in case it is missing.
6281         * sysdeps/ia64/elf/configure.in: Likewise.
6282         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6283         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6284         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6285         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6286         * sysdeps/sh/elf/configure.in: Likewise.
6287         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6288         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6289         * sysdeps/x86_64/elf/configure.in: Likewise.
6290         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6291         * sysdeps/mach/hurd/tls.h: Likewise.
6293         [BZ #13067]
6294         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6296         [BZ #13090]
6297         * configure.in: Fix use of AC_INIT.
6299         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6301 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
6303         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6304         __set_errno.
6305         * malloc/hooks.c: Likewise.
6307         [BZ #11929]
6308         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
6309         variables statically.
6310         (narenas): Initialize.
6311         (list_lock): Initialize.
6312         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
6313         initializtion of main_arena and list_lock.  Small cleanups.
6314         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6315         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
6316         Add initializers to main_arena and mp_.
6317         (malloc_state): Remove pagesize member.  Change all users to use
6318         GLRO(dl_pagesize).
6320         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6321         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
6322         is always initialized.
6324         * malloc/malloc.c: Removed unused configurations and dead code.
6325         * malloc/arena.c: Likewise.
6326         * malloc/hooks.c: Likewise.
6327         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6329         * include/tls.h: Removed.  USE___THREAD must always be defined.
6330         * bits/libc-tsd.h: Don't handle !USE___THREAD.
6331         * elf/dl-libc.c: Likewise.
6332         * elf/dl-tsd.c: Likewise.
6333         * include/errno.h: Likewise.
6334         * include/netdb.h: Likewise.
6335         * include/resolv.h: Likewise.
6336         * inet/herrno-loc.c: Likewise.
6337         * inet/herrno.c: Likewise.
6338         * malloc/arena.c: Likewise.
6339         * malloc/hooks.c: Likewise.
6340         * malloc/malloc.c: Likewise.
6341         * resolv/res-state.c: Likewise.
6342         * resolv/res_libc.c: Likewise.
6343         * sysdeps/i386/dl-machine.h: Likewise.
6344         * sysdeps/ia64/dl-machine.h: Likewise.
6345         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6346         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6347         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6348         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6349         * sysdeps/sh/dl-machine.h: Likewise.
6350         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6351         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6352         * sysdeps/unix/i386/sysdep.S: Likewise.
6353         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6354         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6355         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6357         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6359         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6361         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6363         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6364         * sysdeps/x86_64/dl-machine.h: Likewise.
6365         * tls.make.c: Likewise.
6367         * configure.in: Remove --with-__thread option.  Make tests for
6368         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6369         tls_model attribute fail if no support is available.  Remove
6370         USE_IN_LIBIO.
6371         * Makeconfig: Adjust for dropped configure option.  All features are
6372         now mandatory.
6373         * Makerules: Likewise.
6374         * Versions.def: Likewise.
6375         * argp/argp-fmtstream.c: Likewise.
6376         * argp/argp-fmtstream.h: Likewise.
6377         * argp/argp-help.c: Likewise.
6378         * assert/assert.c: Likewise.
6379         * config.h.in: Likewise.
6380         * config.make.in: Likewise.
6381         * configure: Likewise.
6382         * configure.in: Likewise.
6383         * csu/Versions: Likewise.
6384         * csu/init.c: Likewise.
6385         * elf/tst-audit2.c: Likewise.
6386         * elf/tst-tls10.c: Likewise.
6387         * elf/tst-tls10.h: Likewise.
6388         * elf/tst-tls11.c: Likewise.
6389         * elf/tst-tls12.c: Likewise.
6390         * elf/tst-tls14.c: Likewise.
6391         * elf/tst-tlsmod11.c: Likewise.
6392         * elf/tst-tlsmod12.c: Likewise.
6393         * elf/tst-tlsmod13.c: Likewise.
6394         * elf/tst-tlsmod13a.c: Likewise.
6395         * elf/tst-tlsmod14a.c: Likewise.
6396         * elf/tst-tlsmod15b.c: Likewise.
6397         * elf/tst-tlsmod16a.c: Likewise.
6398         * elf/tst-tlsmod16b.c: Likewise.
6399         * elf/tst-tlsmod7.c: Likewise.
6400         * elf/tst-tlsmod8.c: Likewise.
6401         * elf/tst-tlsmod9.c: Likewise.
6402         * gmon/gmon.c: Likewise.
6403         * grp/fgetgrent_r.c: Likewise.
6404         * grp/putgrent.c: Likewise.
6405         * hurd/fopenport.c: Likewise.
6406         * include/libc-symbols.h: Likewise.
6407         * include/tls.h: Likewise.
6408         * intl/gettextP.h: Likewise.
6409         * intl/loadinfo.h: Likewise.
6410         * locale/global-locale.c: Likewise.
6411         * locale/localeinfo.h: Likewise.
6412         * mach/devstream.c: Likewise.
6413         * malloc/arena.c: Likewise.
6414         * malloc/set-freeres.c: Likewise.
6415         * misc/err.c: Likewise.
6416         * misc/getttyent.c: Likewise.
6417         * misc/mntent_r.c: Likewise.
6418         * posix/getopt.c: Likewise.
6419         * posix/wordexp.c: Likewise.
6420         * pwd/fgetpwent_r.c: Likewise.
6421         * resolv/Versions: Likewise.
6422         * resolv/res_hconf.c: Likewise.
6423         * shadow/fgetspent_r.c: Likewise.
6424         * shadow/putspent.c: Likewise.
6425         * stdio-common/printf_fphex.c: Likewise.
6426         * stdio-common/tmpfile.c: Likewise.
6427         * stdlib/abort.c: Likewise.
6428         * stdlib/fmtmsg.c: Likewise.
6429         * sunrpc/auth_unix.c: Likewise.
6430         * sunrpc/clnt_perr.c: Likewise.
6431         * sunrpc/clnt_tcp.c: Likewise.
6432         * sunrpc/clnt_udp.c: Likewise.
6433         * sunrpc/clnt_unix.c: Likewise.
6434         * sunrpc/openchild.c: Likewise.
6435         * sunrpc/svc_simple.c: Likewise.
6436         * sunrpc/svc_tcp.c: Likewise.
6437         * sunrpc/svc_udp.c: Likewise.
6438         * sunrpc/svc_unix.c: Likewise.
6439         * sunrpc/xdr.c: Likewise.
6440         * sunrpc/xdr_array.c: Likewise.
6441         * sunrpc/xdr_rec.c: Likewise.
6442         * sunrpc/xdr_ref.c: Likewise.
6443         * sunrpc/xdr_stdio.c: Likewise.
6445 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6447         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6449 2011-07-03  Andreas Jaeger  <aj@suse.de>
6451         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6452         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6453         regenerate with gen-libm-tests.pl.
6455 2010-05-12  Petr Baudis  <pasky@suse.cz>
6457         [BZ #11589]
6458         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6459         around j0() zero points by switching to j1().
6460         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6461         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6462         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6463         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6465 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6467         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6468         instead of 0.
6469         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6470         instead of 0.                              .
6471         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6472         Patch in part by Pavel Roskin <proski@gnu.org>.
6474         [BZ #13138]
6475         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6476         realloc.
6477         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
6478         Free memory block if necessary.
6480         [BZ #12847]
6481         * libio/genops.c (INTDEF): For string streams the _lock pointer can
6482         be NULL.  Don't lock in this case.
6484 2011-09-09  Roland McGrath  <roland@hack.frob.com>
6486         * elf/elf.h (ELFOSABI_GNU): New macro.
6487         (ELFOSABI_LINUX): Define to that.
6489 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
6491         * string/strncat.c (strncat): Undef the symbol in case it has been
6492         defined in bits/string.h.
6494 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6496         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6498         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6499         link map.
6501 2011-08-17  Andreas Jaeger  <aj@suse.de>
6503         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6505 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6506             Ian Lance Taylor  <iant@google.com>
6508         * math/libm-test.inc (lround_test): New testcase.
6509         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6511 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
6513         * Makefile: Remove support for automatic cvs check-ins.
6514         * Makerules: Likewise.
6515         * config.make.in: Likewise.
6516         * configure.in: Likewise.
6517         * intl/Makefile: Likewise.
6518         * locale/Makefile: Likewise.
6519         * po/Makefile: Likewise.
6520         * posix/Makefile: Likewise.
6521         * sysdeps/gnu/Makefile: Likewise.
6522         * sysdeps/mach/hurd/Makefile: Likewise.
6523         * sysdeps/sparc/sparc32/Makefile: Likewise.
6525         [BZ #13118]
6526         * posix/Makefile (bug-regex32-ENV): Define.
6527         Patch by John Stanley <jpsinthemix@verizon.net>.
6529         * misc/Makefile (headers): Add bits/select2.h.
6530         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6531         * misc/bits/select2.h: New file.
6532         * include/bits/select2.h: New file.
6533         * debug/Makefile (routines): Add fdelt_chk.
6534         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6535         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6536         FD_ISSET.
6537         * debug/fdelt_chk.c: New file.
6539         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
6540         * wcsmbs/test-wmemcmp.c: Likewise.
6541         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6542         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6544 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6546         * string/Makefile (strop-tests): Add memcmp.
6547         * string/test-wmemcmp.c: New file.
6548         * string/test-memcmp.c: Add wmemcmp support.
6550 2011-09-08  Roland McGrath  <roland@hack.frob.com>
6552         [BZ #13153]
6553         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6554         2011-07-19 change.
6556         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6557         garbage value in a __mach_port_mod_refs call in the cases of the
6558         task-self and thread-self ports.
6560 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6562         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6564 2011-09-08  Andreas Schwab  <schwab@redhat.com>
6566         * elf/dl-load.c (lose): Check for non-null L.
6568 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6570         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6572         * elf/dl-libc.c (dlerror_run): Pass back error code from
6573         dl_catch_error.
6575         [BZ #13123]
6576         * elf/dl-load.c (lose): Free l_origin if it is valid.
6578         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6579         names.
6580         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6581         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6582         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6583         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6584         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6585         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6587 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6589         * sysdeps/powerpc/fpu/e_hypot.c: New file.
6590         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6591         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6592         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6593         * sysdeps/powerpc/fpu/k_cosf.c: New file.
6594         * sysdeps/powerpc/fpu/k_sinf.c: New file.
6595         * sysdeps/powerpc/fpu/s_cosf.c: New file.
6596         * sysdeps/powerpc/fpu/s_sinf.c: New file.
6597         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6598         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6600 2011-08-15  Alan Modra  <amodra@gmail.com>
6602         [BZ #13092]
6603         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6604         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6605         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
6606         ppc_mcount to static-only-routines.
6607         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6608         __mcount_internal.
6609         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6610         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
6612 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
6614         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6615         for finite and infinity parameters.
6617 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6619         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6620         and add nop instructions for throughput optimization.
6621         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6623 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
6625         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6626         aligned copy for power7 with vector-scalar instructions.
6627         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6629 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
6631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6632         AVX check.
6634 2011-09-07  Andreas Schwab  <schwab@redhat.com>
6636         [BZ #13144]
6637         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6638         last change.
6640 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6642         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6643         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6644         syscall wrapper around clock_gettime in __vdso_clock_gettime.
6645         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6646         clock_gettime.
6648 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6650         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6651         Forgot to demangle the pointer.
6653         * sysdeps/i386/sysdep.h: Define atom_text_section.
6654         * sysdeps/x86_64/sysdep.h: Likewise.
6655         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6656         section with atom_text_section.
6657         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6658         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6659         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6660         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6661         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6663         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6664         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6665         already be defined.  Change to take two parameters and don't assign
6666         result to variable.  Adjust all users.
6667         Define INTERNAL_GETTIME if not already defined.
6668         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6669         call.
6670         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6671         HAVE_CLOCK_GETTIME_VSYSCALL.
6672         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6674         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6675         gettimeofday vsyscall, just use time.
6677 2011-09-06  Andreas Schwab  <schwab@redhat.com>
6679         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6680         <errno.h>.
6682 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6684         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6685         syscall on x86-64.
6686         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6687         syscall.
6688         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6689         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6690         syscall if possible.
6692 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6694         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6695         e_ident.  Don't pass to find_mapsXX.
6696         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6698 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6701         strchr-sse2-no-bsf strrchr-sse2-no-bsf
6702         * sysdeps/x86_64/multiarch/strchr.S: Update.
6703         Check bit_slow_BSF bit.
6704         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6705         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6706         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6708 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6710         [BZ #13134]
6711         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6712         before glibc 2.15.
6713         (tryshell): Define.
6714         (__spawni): Change last parameter to be flag.  Test
6715         SPAWN_XFLAGS_USE_PATH flag to use path or not.
6716         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6717         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6718         * posix/spawni.c: Likewise.
6719         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6720         * posix/spawnp.c: Likewise.  Change normal version to use
6721         SPAWN_XFLAGS_USE_PATH.
6722         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6723         SPAWN_XFLAGS_TRY_SHELL.
6725         [BZ #13150]
6726         * posix/glob.h: Remove gcc 1.x support.
6728         [BZ #13068]
6729         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6731 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6734         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6735         strrchr-sse2-bsf
6736         * sysdeps/i386/i686/multiarch/strchr.S: New file.
6737         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6738         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6739         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6740         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6741         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6743 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6745         * sysdeps/x86_64/wcscmp.S: New file.
6747         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6748         wcscmp-c wcscmp-sse2
6749         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6750         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6751         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6752         * wcsmbs/wcscmp.c: Allow renaming.
6754 2011-09-05  David S. Miller  <davem@davemloft.net>
6756         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6757         stack slot, rather than the struct return pointer slot.
6758         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6759         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6761         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6763 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6765         * po/ja.po: Update from translation team.
6767         [BZ #13144]
6768         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6769         kernel in 64-bit binaries.
6771 2011-09-01  David S. Miller  <davem@davemloft.net>
6773         * elf/elf.h (HWCAP_SPARC_*): Move to..
6774         * sysdeps/sparc/sysdep.h: this new file and add new values.
6775         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6776         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6777         _DL_HWCAP_COUNT to 24.
6778         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6779         entries.
6780         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6781         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6782         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6783         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6784         instead of magic constants.
6785         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6787 2011-08-31  David S. Miller  <davem@davemloft.net>
6789         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6790         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6791         Reimplement to do errno handling inline.
6792         (SYSCALL_ERROR_HANDLER): New macro.
6793         (__SYSCALL_STRING): Do not do errno handling in asm.
6794         (__CLONE_SYSCALL_STRING): Delete.
6795         (__INTERNAL_SYSCALL_STRING): Delete.
6796         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6797         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6798         (PSEUDO): Reimplement to do errno handling inline.
6799         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6800         (SYSCALL_ERROR_HANDLER): New macro.
6801         (__SYSCALL_STRING): Do not do errno handling in asm.
6802         (__CLONE_SYSCALL_STRING): Delete.
6803         (__INTERNAL_SYSCALL_STRING): Delete.
6804         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6805         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6806         i386.
6807         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6808         (inline_syscall*): Add 'err' argument.
6809         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6810         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6811         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6812         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6814         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6815         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6817 2011-08-30  Andreas Schwab  <schwab@redhat.com>
6819         * elf/rtld.c (dl_main): Relocate objects in dependency order.
6821 2011-08-29  Jiri Olsa <jolsa@redhat.com>
6823         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6824         directive.
6826 2011-08-24  David S. Miller  <davem@davemloft.net>
6828         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6830 2011-08-24  Andreas Schwab  <schwab@redhat.com>
6832         * elf/Makefile: Add rules to build and run unload8 test.
6833         * elf/unload8.c: New file.
6834         * elf/unload8mod1.c: New file.
6835         * elf/unload8mod1x.c: New file.
6836         * elf/unload8mod2.c: New file.
6837         * elf/unload8mod3.c: New file.
6839         * elf/dl-close.c (_dl_close_worker): Reset private search list if
6840         it wasn't used.
6842 2011-08-23  David S. Miller  <davem@davemloft.net>
6844         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6845         subtract stack bias.
6846         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6847         %sp not %fp in calculations.
6848         (_JMPBUF_UNWINDS_ADJ): Likewise.
6850         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6851         (aio_suspend): Call it to force an exception region around the
6852         AIO_MISC_WAIT() invocation.
6854 2011-08-23  Andreas Schwab  <schwab@redhat.com>
6856         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6857         backslash.
6859 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
6861         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6862         protection macro.
6863         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6864         and <dl-machine.h>.
6865         (Elf64_FuncDesc): Remove.
6867 2011-08-22  David S. Miller  <davem@davemloft.net>
6869         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6870         sigaltstack check, add missing cfi directives.
6871         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6872         missing cfi directives, and sigaltstack handling.
6874 2011-08-16  Andreas Schwab  <schwab@redhat.com>
6876         [BZ #11724]
6877         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6878         object is seen twice.
6879         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6881         * elf/Makefile (distribute): Add tst-initorder2.c.
6882         (tests): Add tst-initorder2.
6883         (modules-names): Add tst-initorder2a tst-initorder2b
6884         tst-initorder2c tst-initorder2d.  Add rules to build them.
6885         ($(objpfx)tst-initorder2.out): New rule.
6886         * elf/tst-initorder2.c: New file.
6887         * elf/tst-initorder2.exp: New file.
6889 2011-08-22  Andreas Schwab  <schwab@redhat.com>
6891         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6893         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6894         dependencies back to end of function.
6896         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6897         $(elfobjdir)/ld.so.
6899 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
6901         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6902         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6904         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6905         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6906         of __vdso_gettimeofday.
6907         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6908         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
6909         attribute_hidden.
6910         (_libc_vdso_platform_setup): Remove initialization of
6911         __vdso_gettimeofday and __vdso_time.
6913 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6915         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6916         and fgetc_unlocked.
6917         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6918         getc_unlocked.
6920         * elf/dl-open.c (add_to_global): Report additions to the global scope
6921         for LD_DEBUG=scopes.
6922         (dl_open_worker): Also print scope of newly loaded dependencies.
6923         (_dl_show_scope): Indicate if there is no scope.
6925         [BZ #13114]
6926         * stdio-common/Makefile (tests): Add bug24.
6927         * stdio-common/bug24.c: New file.
6929 2011-08-19  Andreas Jaeger  <aj@suse.de>
6931         [BZ #13114]
6932         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6933         non-existant file when using close-on-exec mode.
6935 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6937         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6938         the very first instruction.
6940         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6941         the CFI state in the end.
6942         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6943         inclusion of dl-trampoline.h.
6944         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6946 2011-08-19  Andreas Schwab  <schwab@redhat.com>
6948         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6949         expectations for long double.
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6952         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6954 2011-08-14  David S. Miller  <davem@davemloft.net>
6956         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6957         artificual limit depends upon the system page size.
6959 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6961         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6962         * resolv/Makefile: Define CFLAGS-libresolv.
6964 2011-08-17  Andreas Schwab  <schwab@redhat.com>
6966         * nss/makedb.c (compute_tables): Make variables used in nested
6967         function static.
6969 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6971         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6972         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6973         if buffer was too small.
6975         * elf/pldd.c (main): Attach to all threads in the process.
6976         Rewrite /proc handling to use *at functions.
6978 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
6980         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6981         specifies first scope to show.
6982         (dl_open_worker): Update callers.  Move printing scope of new
6983         object to before the relocation.
6984         * elf/rtld.c (dl_main): Update _dl_show_scope call.
6985         * sysdeps/generic/ldsodefs.h: Update declaration.
6987         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6988         string for the scope number.
6990 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
6992         * nscd/servicescache.c (cache_addserv): Make sure written is always
6993         initialized.
6995 2011-08-14  Roland McGrath  <roland@hack.frob.com>
6997         * sysdeps/i386/i486/bits/atomic.h
6998         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6999         statement expression, so as to suppress "set but not used" warning.
7000         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7002         * string/strncat.c (STRNCAT): Use prototype definition.
7004         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7005         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7006         -Iprograms here.
7007         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7008         (localedef-modules): Add localedef.
7009         (locale-modules): Add locale.
7011         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7012         * elf/rtld.c (dl_main): Invert order of assignment in last change,
7013         to avoid a warning.
7015 2011-08-14  David S. Miller  <davem@davemloft.net>
7017         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7018         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7020 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
7022         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7023         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7024         * elf/rtld.c (dl_main): Set l_name of vDSO.
7025         Call _dl_show_scope when DL_DEBUG_SCOPES.
7026         (process_dl_debug): Recognize scopes flag and also set it for all.
7027         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7028         Declare _dl_show_scope.
7030         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7031         (do_dlopen): Pass caller_dlopen to dl_open.
7032         (__libc_dlopen_mode): Initialize caller_dlopen.
7034         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7035         of libc.  Make tolower call locale-independent.  Optimize a bit by
7036         using isdigit instead of isalnum.
7037         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7039 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
7041         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7042         was a dependency or dynamically loaded.
7044 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
7046         * intl/l10nflist.c: Allow architecture-specific pop function.
7047         * sysdeps/x86_64/l10nflist.c: New file.
7049         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7050         classification.
7052 2011-08-10  Andreas Schwab  <schwab@redhat.com>
7054         * include/dirent.h: Add libc_hidden_proto for scandirat and
7055         scandirat64.  Don't declare __scandirat64.
7056         * dirent/scandirat.c: Add libc_hidden_def.
7057         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7058         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7060 2011-08-10  David S. Miller  <davem@davemloft.net>
7062         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7063         enum.
7064         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7065         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7066         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7068 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
7070         * Versions.def [libc]: Add GLIBC_2.15.
7071         * dirent/Makefile (routines): Add scandirat and scandirat64.
7072         * dirent/Versions [libc]: Export scandirat and scandirat64 for
7073         GLIBC_2.15.
7074         * dirent/dirent.h: Declare scandirat and scandirat64.
7075         * dirent/scandirat.c: New file.
7076         * dirent/scandirat64.c: New file.
7077         * sysdeps/wordsize-64/scandirat.c: New file.
7078         * sysdeps/wordsize-64/scandirat64.c: New file.
7079         * dirent/opendir.c: Define opendirat.
7080         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
7081         using scandirat.
7082         * dirent/scandir64.c: Adjust for scandir.c change.
7083         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
7084         __scandirat64, and __scandir_cancel_handler.
7085         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
7086         additional parameter and use openat instead of open (outside of ld.so).
7087         Add new __opendir as wrapper around __opendirat.
7088         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7089         here without requiring old scandirat implementation.
7091 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
7093         * dirent/scandir.c (cancel_handler): Renamed to
7094         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
7095         defined.  Adjust users.
7096         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7097         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7099 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
7101         * string/test-string.h (IMPL): Use __STRING to expand name and then
7102         stringify it.
7104         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
7105         of cleanups.
7107 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7109         * string/Makefile: Update.
7110         (strop-tests): Append strncat.
7111         * string/test-wcscmp.c: New file.
7112         New comprehensive test for wcscmp.
7113         * string/test-strcmp.c: Update.
7114         (WIDE): New define.
7116 2011-07-22  Andreas Schwab  <schwab@redhat.com>
7118         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7119         line.
7121 2011-07-26  Andreas Schwab  <schwab@redhat.com>
7123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7124         encoding to ACE if AI_IDN.
7126 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
7128         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7129         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7131 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7133         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7134         Fix overflow bug in strncat.
7135         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7137         * string/test-strncat.c: Update.
7138         Add new tests for checking overflow bugs.
7140 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7143         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7144         * sysdeps/i386/i686/multiarch/strcat.S: New file.
7145         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7146         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7147         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7148         * sysdeps/i386/i686/multiarch/strncat.S: New file.
7149         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7150         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7152         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7153         (USE_AS_STRCAT): Define.
7154         Add strcat and strncat support.
7155         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7157 2011-07-25  Andreas Schwab  <schwab@redhat.com>
7159         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7160         __n bigger than INT_MAX+1.
7161         (__strncmp_g): Likewise.
7163 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
7165         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7166         * libio/stido.h: Likewise.
7168         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7169         (AF_NFC): Define.
7170         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7171         (AF_NFC): Define.
7173         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7174         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7175         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7176         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7177         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7179         [BZ #13021]
7180         * scripts/test-installation.pl: Don't expect libnss_test1 to be
7181         installed.
7183         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7184         typo.
7185         (_dl_x86_64_save_sse): Likewise.
7187 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
7189         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7190         OSXSAVE.
7191         (_dl_x86_64_save_sse): Likewise.
7193         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7195         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7197 2011-07-21  Andreas Schwab  <schwab@redhat.com>
7199         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7200         change.
7201         (_dl_x86_64_save_sse): Use correct AVX check.
7203 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7205         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7206         bug in strncpy/strncat.
7207         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7209 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
7211         * string/tester.c (test_strcat): Add tests for different alignments
7212         of source and destination.
7213         (test_strncat): Likewise.
7215 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
7217         [BZ #12852]
7218         * posix/glob.c (glob): Check passed in values before using them in
7219         expressions to avoid some overflows.
7220         (glob_in_dir): Likewise.
7222         [BZ #13007]
7223         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7224         check for AVX enablement so that we don't crash with old kernels and
7225         new hardware.
7226         * elf/tst-audit4.c: Add same checks here.
7227         * elf/tst-audit6.c: Likewise.
7229         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7231 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
7233         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7235 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
7237         * po/cs.po: Update from translation team.
7238         * po/bg.po: Likewise.
7240 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
7242         * misc/sys/cdefs.h: Add support for const attribute.
7243         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7244         to gnu_dev_{major,minor,makedev} functions.
7246 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
7248         * intl/dcigettext.c (get_output_charset): Add missing bracket.
7250 2011-07-20  Andreas Schwab  <schwab@redhat.com>
7252         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7253         strlen results.
7255 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7258         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7259         register in order to avoid conflicts with the soft frame pointer
7260         being held in r11 when necessary.
7261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7262         (INTERNAL_VSYSCALL_NCS): Likewise.
7264 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
7266         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7267         * elf/dl-fini.c (_dl_fini): Adjust caller.
7268         * elf/dl-close.c (_dl_close_worker): Likewise.
7269         * sysdeps/generic/ldsodefs.h: Adjust declaration.
7271 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
7273         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7274         "aux_cache->nlibs < 0".
7276         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7277         in the reload-count case.
7279 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7282         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7283         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7284         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7285         * sysdeps/x86_64/multiarch/strcat.S: New file.
7286         * sysdeps/x86_64/multiarch/strncat.S: New file.
7287         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7288         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7289         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7290         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7291         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7292         (USE_AS_STRCAT): Define.
7293         Add strcat and strncat support.
7294         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7295         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7296         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7297         * string/strncat.c: Update.
7298         (USE_AS_STRNCAT): Define.
7299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7300         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7301         and i7.
7302         * sysdeps/x86_64/multiarch/init-arch.h
7303         (bit_Prefer_PMINUB_for_stringop): New.
7304         (index_Prefer_PMINUB_for_stringop): Likewise.
7305         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7306         bit_Prefer_PMINUB_for_stringop.
7308 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7310         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7311         buffer64.
7312         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7313         of casting of buffer.
7314         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7315         buffer32 and buffer64.
7316         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7317         writes instead of casting of buffer.
7318         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7319         buffer32.
7320         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7321         casting of buffer.
7323 2011-07-19  Andreas Schwab  <schwab@redhat.com>
7325         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7327 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7329         * nscd/nscd.c (termination_handler): Don't do anything for a database
7330         if it has not yet been initialized.
7332 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7334         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7336 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
7338         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7340 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7342         * po/nl.po: Update from translation team.
7343         * po/sv.po: Likewise.
7345 2011-07-16  Roland McGrath  <roland@hack.frob.com>
7347         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7348         now disallowed by GCC.
7350         * configure.in (use-default-link): Default to yes if a test -shared
7351         link meets our qualifications.
7352         * configure: Regenerated.
7354         * config.make.in (output-format): New variable.
7355         * configure.in: Check for ld --print-output-format support.
7356         * configure: Regenerated.
7357         * Makerules ($(common-objpfx)format.lds)
7358         [$(output-format) != unknown]: Just use $(output-format),
7359         instead of the linker-script munging.
7361 2011-07-14  Roland McGrath  <roland@hack.frob.com>
7363         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7364         of $(common-objpfx)shlib.lds.
7365         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7367         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7368         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7370         * configure.in (-z relro check): Adjust test code to add a large
7371         writable data section after it.
7372         * configure: Regenerated.
7374 2011-07-11  Roland McGrath  <roland@hack.frob.com>
7376         * configure.in (-z relro check): Fix test code to make the variable
7377         truly const.
7378         * configure: Regenerated.
7380 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
7382         * nscd/nscd.h (struct traced_file): Define.
7383         (struct database_dyn): Remove inotify_descr, reset_res, and filename
7384         elements.  Add traced_files.
7385         (inotify_fd): Declare.
7386         (register_traced_file): Declare.
7387         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7388         (inotify_fd): Export.
7389         (resolv_conf_descr): Remove.
7390         (nscd_init): Move inotify descriptor creation to main.
7391         Don't register files for notification here.
7392         (register_traced_file): New function.
7393         (invalidate_cache): Don't use reset_res to determine whether to call
7394         res_init, go through the list of registered files.
7395         (main_loop_poll): The inotify descriptors are now stored in the
7396         structures for the traced files.
7397         (main_loop_epoll): Likewise
7398         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
7399         to __nss_disable_nscd.
7400         * nscd/cache.c (prune_cache): There is no single inotify descriptor
7401         for a database anymore.  Check the records for all the registered
7402         files instead.
7403         * nss/Makefile (libnss_files-routines): Add files-init.
7404         (libnss_db-routines): Add db-init.
7405         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7406         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7407         * nss/nss_db/db-init.c: New file.
7408         * nss/nss_files/files-init.c: New file.
7409         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
7410         __nss_lookup_function.
7411         (__nss_lookup_function): Call nss_load_library.
7412         (nss_load_all_libraries): New function.
7413         (__nss_disable_nscd): Take parameter with callback function for files
7414         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
7415         used for the cached services.
7416         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7417         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7418         options for features to all the files in nscd.
7420         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7422 2011-07-10  Roland McGrath  <roland@hack.frob.com>
7424         * csu/elf-init.c (__libc_csu_init): Comment typo.
7426 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
7428         * po/pl.po: Update from translation team.
7429         * po/ja.po: Likewise.
7430         * po/ru.po: Likewise.
7431         * po/ko.po: Likewise.
7432         * po/fr.po: Likewise.
7434 2011-07-09  Roland McGrath  <roland@hack.frob.com>
7436         * configure.in (.ctors/.dtors header and trailer check):
7437         Use an empirical test on a built program.
7438         * configure: Regenerated.
7440         * configure.in (-z relro check): Use an empirical test on a built DSO.
7441         Detect, but do not require, on ia64.
7442         * configure: Regenerated.
7444         * configure.in (READELF): Find it with AC_CHECK_TOOL.
7445         Update tests that use readelf to use $READELF instead.
7446         * configure: Regenerated.
7448 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
7450         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7451         if the result is not used.
7453 2011-07-05  Andreas Jaeger  <aj@suse.de>
7455         [BZ#9696]
7456         * stdlib/tst-strtod.c: Add testcase.
7458 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
7460         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7461         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7462         The latter has a higher limit.  Take additional parameter to pass to
7463         the new function.
7464         (__pathconf): Pass file to __statfs_link_max.
7465         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7466         __statfs_link_max.
7467         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7468         __statfs_link_max.
7470         [BZ #12868]
7471         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7472         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7473         Handle Lustre.
7474         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7475         (__statfs_filesize_max): Likewise.
7476         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7478 2011-07-05  Andreas Jaeger  <aj@suse.de>
7480         * resolv/res_comp.c (dn_skipname): Remove unused variable.
7482 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7484         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7485         `status' variable.
7486         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7487         Likewise.
7489 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7491         * Makefile (strop-tests): Add strncat.
7492         * string/test-strncat.c: New file.
7494 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
7496         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7498 2011-06-21  Andreas Jaeger  <aj@suse.de>
7500         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7501         Copy rule from iconvdata/Makefile.
7503 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7505         [BZ #12922]
7506         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7507         but no long options are defined, just return 'W'.
7509 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
7511         [BZ #9696]
7512         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7514 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7516         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7517         netgroups to read.
7518         (innetgr): Likewise.
7520 2011-07-05  Roland McGrath  <roland@hack.frob.com>
7522         * config.make.in (install_root): Default to $(DESTDIR).
7524 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
7526         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7528 2011-07-02  Roland McGrath  <roland@hack.frob.com>
7530         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7532         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7533         containing directory rather than embedding absolute directory names.
7535         * scripts/check-local-headers.sh: Rewritten using awk.
7536         Match by word, not by line.  Print error messages for matches.
7537         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7539         * Makerules [shlib-lds-flags empty]:
7540         ($(common-objpfx)libc_pic.opts): New target.
7541         ($(common-objpfx)libc_pic.os.clean): New target.
7542         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7544         * config.make.in (OBJCOPY): New variable.
7545         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7546         * configure: Regenerated.
7548         * config.make.in (use-default-link): New variable.
7549         * configure.in (use_default_link): Grok --with-default-link to set it.
7550         * configure: Regenerated.
7551         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7552         (shlib-lds, shlib-lds-flags): Define to empty.
7554         * Makerules (shlib-lds): New variable.
7555         (shlib-lds-flags): New variable.
7556         (build-shlib, build-moduile, build-module-asneeded): Use it.
7557         ($(common-objpfx)libc.so): Use $(shlib-lds).
7558         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7559         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7561         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7562         DT_FLAGS/DT_FLAGS_1 with zero flags.
7564         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7565         linker script munging.
7567 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
7569         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7570         as 128-bit value.
7571         * crypt/sha512.c (sha512_process_block): Perform total addition using
7572         128-bit if possible.
7573         (__sha512_finish_ctx): Likewise.
7574         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7575         as 64-bit value.
7576         * crypt/sha256.c (SWAP64): Define.
7577         (sha256_process_block): Perform total addition using 64-bit if
7578         possible.
7579         (__sha256_finish_ctx): Likewise.
7581 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
7583         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
7584         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7585         * nscd/hstcache.c (cache_addhst): Likewise.
7586         * nscd/grpcache.c (cache_addgr): Likewise.
7587         * nscd/aicache.c (addhstaiX): Likewise
7588         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7590 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
7592         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7593         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7594         * nscd/hstcache.c (cache_addhst): Likewise.
7595         * nscd/grpcache.c (cache_addgr): Likewise.
7596         * nscd/aicache.c (addhstaiX): Likewise
7598 2011-07-01  Andreas Schwab  <schwab@redhat.com>
7600         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7601         domain only when needed.
7603 2011-06-30  Andreas Schwab  <schwab@redhat.com>
7605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7606         is always restored.
7608 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
7610         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7611         are re-adding the entry.
7612         * nscd/servicescache.c (cache_addserv): Likewise.
7614 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7616         * sysdeps/generic/dl-irel.h: fix protection against multiple
7617         inclusions.
7618         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7620 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
7622         [BZ #12935]
7623         * malloc/memusage.sh: Fix quoting in message.
7624         * debug/xtrace.sh: Likewise.
7626         * configure.in: Remove support for --experimental-malloc option, make
7627         it the default.
7628         * config.make.in: Likewise.
7629         * malloc/Makefile: Likewise.
7631 2011-06-27  Andreas Schwab  <schwab@redhat.com>
7633         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7634         two-byte characters.
7636 2011-06-27  Roland McGrath  <roland@hack.frob.com>
7638         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7639         AC_CACHE_CHECK invocation.
7640         * configure: Regenerated.
7642         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7644 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
7646         [BZ #12350]
7647         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
7648         bit from old_res_options.
7650         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7652         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7653         value type for setfct.
7655 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
7657         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7658         __gettimeofday instead of gettimeofday.
7660 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
7662         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7664 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7666         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7668         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7669         info.
7671 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7674         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7675         strcpy-sse2-unaligned strncpy-sse2-unaligned
7676         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7677         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7678         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7679         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7680         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7681         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7682         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7683         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7684         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7685         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7686         (STRCPY): Support SSE2 and SSSE3 versions.
7688 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
7690         [BZ #12874]
7691         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7692         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7693         kernels which artificially limit size of requests.
7695 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7698         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7699         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7700         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7701         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7702         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7703         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7704         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7705         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7706         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7707         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7708         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7709         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7710         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7711         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7713         Enable unaligned load optimization for Intel Core i3, i5 and i7
7714         processors.
7715         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7716         Define.
7717         (index_Fast_Unaligned_Load): Define.
7718         (HAS_FAST_UNALIGNED_LOAD): Define.
7720 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7722         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7724 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7726         [BZ #12907]
7727         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7728         until it is clear that the information is realy needed.
7729         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7731 2011-06-22  Andreas Schwab  <schwab@redhat.com>
7733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7735 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7737         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7738         /sys/devices/system/cpu/online if it is usable.
7740         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7741         reading the information from the /proc filesystem to once a second.
7743 2011-06-21  Andreas Jaeger  <aj@suse.de>
7745         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7746         NULL after inclusion of kernel headers.
7748 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
7750         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7751         calls to internal_setent.
7753         [BZ #12885]
7754         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7755         addresses using gethostbyname4_r ignore IPv4 addresses.
7757         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7758         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
7760         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7762 2011-06-20  David S. Miller  <davem@davemloft.net>
7764         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7765         inclusions.
7766         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7768         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7769         (elf_irel): Use it.
7770         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7771         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7772         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7773         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7774         * sysdeps/x86_64/dl-irel.h: Likewise.
7776         * elf/dl-runtime.c: Use elf_ifunc_invoke.
7777         * elf/dl-sym.c: Likewise.
7779 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7781         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
7782         need to dereference resplen2.
7784 2011-06-14  Andreas Schwab  <schwab@redhat.com>
7786         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7788 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7790         * Makeconfig: Define vardbdir and inst_vardbdir.
7791         * nss/Makefile: Add rules to install db-Makefile.
7793         * nss/nss_db/db-XXX.c: Cleanup.
7795         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7796         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7797         GLIBC_PRIVATE.
7798         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7799         * nss/makedb.c: Implement -g option to specify that value strings
7800         are generated and should not be added to table iterated over for
7801         get*ent calls.
7802         * nss/nss_db/db-initgroups.c: New file.
7804         * nss/getent.c: Add support for initgroups lookups through getgrouplist
7805         interface.
7807         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7808         (internal_getgrouplist): Adjust to name change.
7809         Update use_initgroups_entry if this is not the first call.
7810         * nss/databases.def: Add initgroups entry.
7812         * nss/makedb.c (compute_tables): Check result of multiple hash table
7813         sizes to minimize maximum chain length.
7815 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
7817         * Versions.def: Add entry for libnss_db.
7818         * shlib-versions: Likewise.
7819         * nss/Makefile: Add rules to build libnss_db.
7820         * nss/Versions: Add libnss_db information.  Organize libnss_files
7821         entries better.
7822         * nss/db-Makefile: Add gshadow support.  Change rules for the new
7823         makedb progra.  Some minor improvements to generate smaller files.
7824         * nss/nss_db/nss_db.h: Move NSS database header data structures to
7825         here from...
7826         * nss/makedb.c: ...here.
7827         Improve database format to be smaller and require less memory at
7828         runtime.
7829         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
7830         db anymore.
7831         * nss/nss_db/db-netgrp.c: Likewise.
7832         * nss/nss_db/db-open.c: Likewise.
7833         * nss/nss_files/flies-XXX.x: Adjust comments.
7834         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7835         * nss/nss_files/files-grp.c: Likewise.
7836         * nss/nss_files/files-hosts.c: Likewise.
7837         * nss/nss_files/files-network.c: Likewise.
7838         * nss/nss_files/files-proto.c: Likewise.
7839         * nss/nss_files/files-pwd.c: Likewise.
7840         * nss/nss_files/files-rpc.c: Likewise.
7841         * nss/nss_files/files-service.c: Likewise.
7842         * nss/nss_files/files-sgrp.c: Likewise.
7843         * nss/nss_files/files-spwd.c: Likewise.
7844         * nss/nss_db/db-alias.c: Removed.
7845         * nss/nss_db/dummy-db.h: Removed.
7847 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
7849         * nss/makedb.c: Rewritten to not use database library.
7850         * nss/Makefile: Update to build new makedb program.
7852 2011-06-14  Andreas Jaeger  <aj@suse.de>
7854         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7855         memset declaration.
7857 2011-06-10  Andreas Schwab  <schwab@redhat.com>
7859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7860         tmpbuf.
7862 2011-06-10  Roland McGrath  <roland@hack.frob.com>
7864         * Makerules (shlib.lds): Fail if the linker script comes out empty.
7865         * elf/Makefile ($(objpfx)ld.so): Likewise.
7867         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7868         Don't list ld.so twice in dependencies.
7870         * posix/bug-regex31.c: Include <stdlib.h>.
7872         * nscd/hstcache.c (cache_addhst): Remove unused variable.
7874         * nis/nss_compat/compat-spwd.c
7875         (getspent_next_nss_netgr): Remove unused variable.
7876         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7878         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7879         nonmembers" output to use the right array.
7881         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7883         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7885         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7886         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7887         * catgets/gencat.c (read_input_file): Likewise.
7888         * locale/programs/locarchive.c (enlarge_archive): Likewise.
7890         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7891         variable definition inside #if's controlling its use.
7893         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7895         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7897         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7899         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7900         unreachable code.
7902         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7904         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7905         * configure: Regenerated.
7907         * Makerules: Revert last change.
7908         * elf/Makefile: Likewise.
7910 2011-06-09  Roland McGrath  <roland@hack.frob.com>
7912         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7913         * elf/Makefile ($(objpfx)librtld.os): Likewise.
7914         (reloc-link): Likewise.
7916 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
7918         * elf/Makefile: Add rules to build pldd.
7919         * elf/pldd.c: New file.
7920         * elf/pldd-xx.c: New file.
7922 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
7924         * version.h: Update for 2.15 development version.
7926 2011-06-07  David S. Miller  <davem@davemloft.net>
7928         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7929         ifuncs.
7930         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7931         elf_machine_lazy_rel): Likewise.
7932         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7933         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7934         elf_machine_lazy_rel): Likewise.
7935         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7936         dl_hwcap via passed in argument.
7937         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7938         Likewise.
7940 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7942         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
7944 2011-06-06  Roland McGrath  <roland@hack.frob.com>
7946         [BZ #12849]
7947         * manual/fdl-1.1.texi: New file, verbatim from:
7948         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7949         * manual/lgpl-2.1.texi: New file, verbatim from:
7950         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7951         * manual/Makefile (licenses): New variable, list those new file names.
7952         (texis): Use it.
7953         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7955         * manual/fdl.texi: File removed.
7956         * manual/lesser.texi: File removed.
7957         * manual/libc.texinfo (Copying, Documentation License):
7958         Use new @include file names, put @appendix directive before @include.
7960 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
7962         [BZ #12841]
7963         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7964         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7965         (mq_open): Add __NTH.
7967 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
7969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7970         Assume Intel Core i3/i5/i7 processor if AVX is available.
7972 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7974         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7975         typo.
7977 2011-05-31  Andreas Schwab  <schwab@redhat.com>
7979         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7980         memory.  Use alloca_account.  Fix memory leak when retrying.
7982 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7984         * version.h (RELEASE): Bump for 2.14 release.
7985         * include/features.h (__GLIBC_MINOR__): Bump to 14.
7987         * config.make.in (RANLIB): Remove entry.
7989 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
7991         * po/Makefile (po-sed-cmd): Add ksh to extensions.
7992         (libc.pot): Work around missing support for .ksh extension in xgettext.
7994         [BZ #12684]
7995         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7996         if both request failed.
7997         (send_dg): In case of server errors clear resplen or *resplen2.
7999         [BZ #12454]
8000         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8001         when there are multiple maps.
8002         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8003         (_dl_fini): Remove test here.
8005         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8007 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
8009         [BZ #12350]
8010         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8011         bit from old_res_options.
8012         (gaih_inet): Likewise.
8014         [BZ #11099]
8015         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8016         as signed.
8018         * resolv/res_init.c (res_setoptions): Make the code more compact.
8020         [BZ #11558]
8021         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8022         set RES_USEVC.
8024         [BZ #11634]
8025         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8027         * malloc/malloc.h: Mark malloc hook variables as deprecated.
8029         [BZ #11781]
8030         * malloc/malloc.h: Declare malloc hook variables as volatile.
8032         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8033         in last patch.
8035         [BZ #11799]
8036         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8037         raise in the comment.
8038         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8039         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8040         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8042 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
8044         [BZ #12811]
8045         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8046         grow the buffers more if it already has to be sufficient.
8047         (build_wcs_upper_buffer): Likewise.
8048         * posix/regexec.c (check_matching): Likewise.
8049         (clean_state_log_if_needed): Likewise.
8050         (extend_buffers): Don't enlarge buffers beyond size of the input
8051         buffer.
8052         Patches mostly by Emil Wojak <emil@wojak.eu>.
8053         * posix/bug-regex32.c: New file.
8054         * posix/Makefile (tests): Add bug-regex32.
8056         * locale/findlocale.c (_nl_find_locale): Return right away if
8057         _nl_explode_name failed.
8058         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8060         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8062         * debug/xtrace.sh: Unify messages.
8063         * malloc/memusage.sh: Likewise.
8065         [BZ #12813]
8066         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8067         time symbol from vDSO.  Substitute with vsyscall if not available.
8068         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8069         __vdso_time.
8071         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8072         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8073         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8074         Add sendmmsg and internal_sendmmsg.
8075         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8076         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8077         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8079         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8080         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8081         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8083 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
8085         [BZ #12813]
8086         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8087         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
8088         available.
8089         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8090         __vdso_getcpu.
8092         [BZ #12814]
8093         * iconvdata/Makefile (tests): Add bug-iconv9.
8094         * iconvdata/bug-iconv9.c: New file.
8096 2011-05-27  Andreas Schwab  <schwab@redhat.com>
8098         [BZ #12814]
8099         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8101 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
8103         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8104         (struct user_regs_struct): Change intcs field back to cs.
8106 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
8108         * po/ja.po: Update from translation team.
8110 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
8112         [BZ #12795]
8113         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8114         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8116 2011-05-20  Andreas Schwab  <schwab@redhat.com>
8118         * stdlib/longlong.h: Update from GCC.
8120 2011-05-23  Andreas Schwab  <schwab@redhat.com>
8122         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8123         parameter name.
8124         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8125         Add parameter name.
8126         (__sysconf): Pass it down.
8128 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
8130         [BZ #12671]
8131         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8132         some situations.
8133         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8134         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8135         add in in __libc_use_alloca calls.  Adjust callers.
8136         (glob): Use malloc in some situations.
8138         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8139         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8140         pltexit.
8142 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
8144         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8145         and CLOCK_BOOTTIME_ALARM.
8147         [BZ #12782]
8148         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8149         is returned.
8151         * string/_strerror.c (__strerror_r): Print negative errors as signed
8152         numbers.
8154         [BZ #12777]
8155         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8156         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8157         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8159         * configure.in: Fix typo in redirection and correct removal of test
8160         files in two cases.
8162         [BZ #12788]
8163         * locale/setlocale.c (new_composite_name): Fix test to check for
8164         identical name of all categories.
8166         [BZ #12792]
8167         * libio/filedoalloc.c (local_isatty): New function.
8168         (_IO_file_doallocate): Use local_isatty.
8169         * stdio-common/perror.c (perror): In case a new stream is used
8170         forward the stream error.
8171         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8172         error flag.
8174 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
8176         [BZ #11869]
8177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8178         alloca.
8179         * include/alloca.h (extend_alloca_account): Define.
8181         [BZ #11857]
8182         * posix/regex.h: Fix comments with documentation of user-accessible
8183         fields after compilation and describe correct free'ing of pattern
8184         after re_compile_pattern.
8185         Patch by Reuben Thomas <rrt@sc3d.org>.
8187 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
8189         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8190         and -mno-altivec to prevent the compiler from using Altivec and/or
8191         VSX instructions when the corresponding registers are not available.
8193 2011-05-19  Andreas Schwab  <schwab@redhat.com>
8195         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8197 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
8199         * libio/freopen.c (freopen): Use __dup2, not dup2.
8200         * libio/freopen64.c (freopen64): Likewise.
8202 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8204         [BZ #12775]
8205         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8206         * math/Makefile (tests): Add test-powl.
8207         (CFLAGS-test-powl.c): Define.
8208         * math/test-powl.c: New file.
8210 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8212         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8214 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
8216         [BZ #11837]
8217         * iconvdata/gb18030.c: Update to GB18020-2005.
8219 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
8221         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8222         RE_SYNTAX_POSIX_AWK): Update to match recent development.
8223         Patch by Aharon Robbins <arnold@skeeve.com>.
8225         [BZ #11892]
8226         * stdlib/putenv.c (putenv): Don't always create copy of the variable
8227         on the stack.
8229         [BZ #11895]
8230         * misc/pselect.c (__pselect): Handle timeout value errors hidden
8231         through underflows.
8233         [BZ #12766]
8234         * misc/error.c (error_at_line): Ensure file_name and old_file_name
8235         point to strings before performing equality test for error_one_per_line
8236         mode.
8238         [BZ #11697]
8239         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8241         [BZ #11820]
8242         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8243         (struct user_fpregs_struct): Avoid __uint*_t types.
8245         [BZ #6420]
8246         * malloc/mtrace.c (tr_where): Add additional parameter to point to
8247         symbol info.  Use it instead of calling _dl_addr locally.
8248         (lock_and_info): New function.
8249         (tr_freehook): Call lock_and_info and pass symbol info as additional
8250         parameter to tr_where.
8251         (tr_mallochook): Likewise.
8252         (tr_reallochook): Likewise.
8253         (tr_memalignhook): Likewise.
8255         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
8256         used and couldn't be at all thread-safe.
8258 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
8260         * libio/freopen.c (freopen): Don't close old file descriptor
8261         before the new one is opened.  Instead dup the new file descriptor
8262         to the old one after the new stream is created.
8263         * libio/freopen64.c (freopen64): Likewise.
8264         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8265         * libio/fileops.c (_IO_new_file_close_it): Handle new
8266         _IO_FLAGS2_NOCLOSE flag.
8267         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8268         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8269         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8270         _IO_FLAGS2_NOCLOSE flag.
8271         * include/unistd.h: Add hidden_proto for dup3.
8272         Define __have_dup3.
8273         * io/dup3.c: Define hidden symbol.
8274         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8276         [BZ #7101]
8277         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8278         when an incomplete long option is used.
8279         * posix/tst-getopt_long1.c: New file.
8280         * posix/Makefile (tests): Add tst-getopt_long1.
8282         [BZ #10138]
8283         * scripts/config.guess: Update from autoconf-2.68.
8284         * scripts/config.sub: Likewise.
8286         [BZ #10157]
8287         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8288         tests into ...
8289         (has_cpuclock): ...this.  New function.
8290         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8291         macro here based on has_cpuclock code.
8293         [BZ #10149]
8294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8295         First byte (not low byte) is now always NUL.
8296         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8298         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8299         Use non-cancelable interfaces.
8301         [BZ #9809]
8302         * locale/iso-639.def: Add entry for Sorani.
8304         [BZ #11901]
8305         * include/stdlib.h: Move include protection to the right place.
8306         Define abort_msg_s.  Declare __abort_msg with it.
8307         * stdlib/abort.c (__abort_msg): Adjust type.
8308         * assert/assert.c (__assert_fail_base): New function.  Majority
8309         of code from __assert_fail.  Allocate memory for __abort_msg with
8310         mmap.
8311         (__assert_fail): Now call __assert_fail_base.
8312         * assert/assert-perr.c: Remove bulk of implementation.  Use
8313         __assert_fail_base.
8314         * include/assert.hL Declare __assert_fail_base.
8315         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8316         mmap.
8317         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8319 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
8321         [BZ #11952]
8322         [BZ #12453]
8323         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8324         until all modules are registered in the DTV.
8325         * elf/Makefile: Add rules to build and run tst-tls19.
8326         * elf/tst-tls19.c: New file.
8327         * elf/tst-tls19mod1.c: New file.
8328         * elf/tst-tls19mod2.c: New file.
8329         * elf/tst-tls19mod3.c: New file.
8330         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8332         [BZ #12083]
8333         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8334         correctly.
8336         [BZ #12601]
8337         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8338         two-byte sequence errors.
8339         * iconvdata/Makefile (tests): Add bug-iconv8.
8340         * iconvdata/bug-iconv8.c: New file.
8342         [BZ #12626]
8343         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8344         buf2 definition.
8346         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8348         [BZ #12432]
8349         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8350         (dummy_getcfa): New function.
8351         (init): Get _Unwind_GetCFA address, use dummy if not found.
8352         (backtrace_helper): In recursion check, also check whether CFA changes.
8353         (__backtrace): Completely initialize arg.
8355         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8356         storing incomplete byte sequence in state object.  Avoid testing for
8357         guaranteed too small input if we know there is enough data available.
8359 2011-05-11  Andreas Schwab  <schwab@redhat.com>
8361         * Makeconfig (+link-pie): Indent.
8362         * Rules (binaries-pie): Define if $(have-fpie) and
8363         $(build-shared).
8364         (binaries-shared): Also filter out $(binaries-pie).
8365         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8366         * nscd/Makefile (others-pie): Add nscd.
8367         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8368         ($(objpfx)nscd): Remove command override.
8369         * login/Makefile (others-pie): Add pt_chown.
8370         ($(objpfx)pt_chown): Remove command override.
8371         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8372         remove command overrides.
8374 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
8376         * libio/tst_putwc.c: Fix error messages.
8378         [BZ #12724]
8379         * libio/fileops.c (_IO_new_file_close_it): Always flush when
8380         currently writing and seek to current position when not.
8381         * libio/Makefile (tests): Add bug-fclose1.
8382         * libio/bug-fclose1.c: New file.
8384 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
8386         [BZ #12511]
8387         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8388         don't set DF_1_NODELETE here.
8389         (do_lookup_x): When entering new entry test for copy relocation
8390         and if necessary set DF_1_NODELETE flag.
8391         * elf/tst-unique4.cc: New file.
8392         * elf/tst-unique4.h: New file.
8393         * elf/tst-unique4lib.cc: New file.
8394         * elf/Makefile: Add rules to build and run tst-unique4.
8395         Patch by Piotr Bury <pbury@goahead.com>.
8397 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
8399         [BZ #12052]
8400         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8402         [BZ #12625]
8403         * misc/mntent_r.c (addmntent): Flush the stream after the output
8405         [BZ #12393]
8406         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8407         (is_trusted_path_normalize): Skip initial colon.  Append slash
8408         to empty buffer.  Duplicate is_trusted_path code but allow
8409         constructed patch to be prefix.
8410         (is_dst): Allow $ORIGIN followed by /.
8411         (_dl_dst_substitute): Correct clearing of check_for_trusted.
8412         Correct testing of result of is_trusted_path_normalize
8413         (decompose_rpath): Fix warning.
8415 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
8417         [BZ #11257]
8418         * grp/initgroups.c (internal_getgrouplist): When we found the service
8419         list through the initgroups entry in nsswitch.conf do not always
8420         continue on a successful lookup.  Don't always use the
8421         __nss_group_database value if it is set.
8422         * nss/nsswitch.conf (initgroups): Change action for successful db
8423         lookup to continue for compatibility.
8425 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
8427         [BZ #11532]
8428         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8429         and CP774 modules.
8430         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8431         and CP774 modules.
8432         * iconvdata/tst-tables.sh: Likewise.
8433         * iconvdata/cp770.c: New file.
8434         * iconvdata/cp771.c: New file.
8435         * iconvdata/cp772.c: New file.
8436         * iconvdata/cp773.c: New file.
8437         * iconvdata/cp774.c: New file.
8438         * iconvdata/testdata/CP770: New file.
8439         * iconvdata/testdata/CP770..UTF8: New file.
8440         * iconvdata/testdata/CP771: New file.
8441         * iconvdata/testdata/CP771..UTF8: New file.
8442         * iconvdata/testdata/CP772: New file.
8443         * iconvdata/testdata/CP772..UTF8: New file.
8444         * iconvdata/testdata/CP773: New file.
8445         * iconvdata/testdata/CP773..UTF8: New file.
8446         * iconvdata/testdata/CP774: New file.
8447         * iconvdata/testdata/CP774..UTF8: New file.
8449         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8450         END CHARMAP line.
8451         * iconvdata/gen-8bit-gap.sh: Likewise.
8452         * iconvdata/gen-8bit.sh: Likewise.
8454         * locale/iso-639.def: Add ary entry.
8456         [BZ #11258]
8457         * locale/C-translit.h.in: Add U20A1 transliteration.
8459         [BZ #12178]
8460         * locale/iso-639.def: Add wae entry.
8461         Patch by Kevin Bortis <bortis@translate-wae.ch>.
8463         [BZ #12545]
8464         * locale/programs/localedef.c (construct_output_path): Use ssize_t
8465         for n.
8467         [BZ #12711]
8468         * locale/C-translit.h.in: Add entry for U20B9.
8469         Patch by pravin.d.s@gmail.com.
8471 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
8473         [BZ #12713]
8474         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8475         ENAMETOOLONG use generic getcwd.
8476         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
8477         in rtld.  Use *stat64.
8478         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8479         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8480         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8481         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8482         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8483         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8484         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8485         __fstatat64 macros.
8486         * include/dirent.h: Add libc_hidden_proto for rewinddir.
8487         * dirent/rewinddir.c: Add libc_hidden_def.
8488         * sysdeps/mach/hurd/rewinddir.c: Likewise.
8489         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
8491         * include/dirent.h (__alloc_dir): Add flags parameter.
8492         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8493         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8494         __alloc_dir.
8495         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
8496         from fdopendir if O_CLOEXEC is already set.
8498 2011-03-15  Alan Modra  <amodra@gmail.com>
8500         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8501         l_tls_firstbyte_offset non-zero.  Save padding offset in
8502         l_tls_firstbyte_offset for later use.
8503         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8504         freeing static tls block.
8506 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
8508         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8509         where #ifdef was intended.  The intent is to prevent ARG_MAX from
8510         being defined by the kernel headers.
8512 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
8514         [BZ #12734]
8515         * resolv/resolv.h: Define RES_NOTLDQUERY.
8516         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8517         no-tld-query and set RES_NOTLDQUERY.
8518         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8519         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8520         modern BIND to search name as TLD unless forbidden.
8522 2011-05-07  Petr Baudis  <pasky@suse.cz>
8523             Ulrich Drepper  <drepper@gmail.com>
8525         [BZ #12393]
8526         * elf/dl-load.c (fillin_rpath): Move trusted path check...
8527         (is_trusted_path): ...to here.
8528         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8529         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8530         using is_trusted_path_normalize() in setuid scripts.
8532 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8534         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8535         __BEGIN/__END_DECLS.
8537 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
8539         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8540         NSS_STATUS_NOTFOUND if no record was found.
8542 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8544         * sunrpc/Makefile (headers): Add rpc/netdb.h.
8545         (headers-not-in-tirpc): Remove rpc/netdb.h
8546         * resolv/netdb.h: Revert last change.
8548 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8550         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8551         circular dependency between libgcc.a and libc.a.
8553 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8555         * resolv/netdb.h: Don't include <rpc/netdb.h>.
8556         * nis/Makefile: Don't install rpcsvc/*.
8557         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8558         instead of <rpc/types.h>.
8559         (MAXHOSTNAMELEN): Define.
8561 2011-05-03  Andreas Schwab  <schwab@redhat.com>
8563         * elf/ldconfig.c (add_dir): Don't crash on empty path.
8565 2011-04-28  Maciej Babinski  <mbabinski@google.com>
8567         [BZ #12714]
8568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8569         gethostbyname4_r when IPv6 results are possible.
8571 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
8573         [BZ #12723]
8574         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8575         _PC_PIPE_BUF handling.
8577 2011-04-30  Bruno Haible  <bruno@clisp.org>
8579         [BZ #12717]
8580         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8581         * resolv/netdb.h (getnameinfo): Change type of flags parameter
8582         to 'int'.
8583         * inet/getnameinfo.c (getnameinfo): Likewise.
8585 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
8587         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8588         to groups setting in database lookup.
8589         * nss/nsswitch.conf: Add initgroups entry.
8591 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
8593         [BZ #12685]
8594         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8595         mode string.
8596         Patch by Eric Blake <eblake@redhat.com>.
8598 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
8600         * sunrpc/Makefile (need-export-routines): Add svc_run.
8601         (routines): Remove svc_run.
8602         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8603         * sunrpc/clnt_perr.c (clnt_perrno): Export.
8604         * sunrpc/svc_run.c (svc_run): Likewise.
8605         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8607 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
8609         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8610         problem in reallocation in last patch.
8612 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
8614         * sunrpc/Makefile: Move inclusion of Rules.
8616 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8618         * nss/nss_files/files-initgroups.c: New file.
8619         * nss/Makefile (libnss_files-routines): Add files-initgroups.
8620         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8621         _nss_files_initgroups_dyn.
8623 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
8625         * elf/elf.h (R_ARM_IRELATIVE): Define.
8627 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8629         * po/ru.po: Update from translation team.
8631 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8633         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8634         dependencies.
8636 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
8638         [BZ #12653]
8639         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8640         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8641         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8642         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8643         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8645 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8647         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8648         differing bytes.
8649         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8650         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8651         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8653 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8655         [BZ #12420]
8656         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8657         storing it.
8658         * stdlib/bug-getcontext.c: New file.
8659         * stdlib/Makefile: Add rules to build and run bug-getcontext.
8661 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8663         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8664         instructions into .machine "z9-109".
8665         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8666         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8668 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8670         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8671         between environment variables and auxiliary vector.
8673 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
8675         * Makefile: Add rules to build linkobj/libc.so.
8676         * include/libc-symbols.h: Define libc_hidden_nolink.
8677         * include/rpc/auth.h: Mark functions which are to be hidden.
8678         * include/rpc/auth_des.h: Likewise.
8679         * include/rpc/auth_unix.h: Likewise.
8680         * include/rpc/clnt.h: Likewise.
8681         * include/rpc/des_crypt.h: Likewise.
8682         * include/rpc/key_prot.h: Likewise.
8683         * include/rpc/pmap_clnt.h: Likewise.
8684         * include/rpc/pmap_prot.h: Likewise.
8685         * include/rpc/pmap_rmt.h: Likewise.
8686         * include/rpc/rpc_msg.h: Likewise.
8687         * include/rpc/svc.h: Likewise.
8688         * include/rpc/svc_auth.h: Likewise.
8689         * include/rpc/xdr.h: Likewise.
8690         * nis/Makefile: Link all DSOs against linkobj/libc.so.
8691         * nss/Makefile: Likewise.
8692         * sunrpc/Makefile: Don't install headers.  Build library with normal
8693         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
8694         * sunrpc/auth_des.c: Hide exported symbols by default, export some
8695         for the compat linking library.  Remove use of INTDEF/INTUSE.
8696         * sunrpc/auth_none.c: Likewise.
8697         * sunrpc/auth_unix.c: Likewise.
8698         * sunrpc/authdes_prot.c: Likewise.
8699         * sunrpc/authuxprot.c: Likewise.
8700         * sunrpc/clnt_gen.c: Likewise.
8701         * sunrpc/clnt_perr.c: Likewise.
8702         * sunrpc/clnt_raw.c: Likewise.
8703         * sunrpc/clnt_simp.c: Likewise.
8704         * sunrpc/clnt_tcp.c: Likewise.
8705         * sunrpc/clnt_udp.c: Likewise.
8706         * sunrpc/clnt_unix.c: Likewise.
8707         * sunrpc/des_crypt.c: Likewise.
8708         * sunrpc/des_soft.c: Likewise.
8709         * sunrpc/get_myaddr.c: Likewise.
8710         * sunrpc/key_call.c: Likewise.
8711         * sunrpc/key_prot.c: Likewise.
8712         * sunrpc/netname.c: Likewise.
8713         * sunrpc/pm_getmaps.c: Likewise.
8714         * sunrpc/pm_getport.c: Likewise.
8715         * sunrpc/pmap_clnt.c: Likewise.
8716         * sunrpc/pmap_prot.c: Likewise.
8717         * sunrpc/pmap_prot2.c: Likewise.
8718         * sunrpc/pmap_rmt.c: Likewise.
8719         * sunrpc/publickey.c: Likewise.
8720         * sunrpc/rpc_cmsg.c: Likewise.
8721         * sunrpc/rpc_common.c: Likewise.
8722         * sunrpc/rpc_dtable.c: Likewise.
8723         * sunrpc/rpc_prot.c: Likewise.
8724         * sunrpc/rpc_thread.c: Likewise.
8725         * sunrpc/rtime.c: Likewise.
8726         * sunrpc/svc.c: Likewise.
8727         * sunrpc/svc_auth.c: Likewise.
8728         * sunrpc/svc_authux.c: Likewise.
8729         * sunrpc/svc_raw.c: Likewise.
8730         * sunrpc/svc_run.c: Likewise.
8731         * sunrpc/svc_simple.c: Likewise.
8732         * sunrpc/svc_tcp.c: Likewise.
8733         * sunrpc/svc_udp.c: Likewise.
8734         * sunrpc/svc_unix.c: Likewise.
8735         * sunrpc/svcauth_des.c: Likewise.
8736         * sunrpc/xcrypt.c: Likewise.
8737         * sunrpc/xdr.c: Likewise.
8738         * sunrpc/xdr_array.c: Likewise.
8739         * sunrpc/xdr_float.c: Likewise.
8740         * sunrpc/xdr_intXX_t.c: Likewise.
8741         * sunrpc/xdr_mem.c: Likewise.
8742         * sunrpc/xdr_rec.c: Likewise.
8743         * sunrpc/xdr_ref.c: Likewise.
8744         * sunrpc/xdr_sizeof.c: Likewise.
8745         * sunrpc/xdr_stdio.c: Likewise.
8747 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
8749         [BZ #12650]
8750         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8751         * sysdeps/ia64/dl-tls.h: Likewise.
8752         * sysdeps/powerpc/dl-tls.h: Likewise.
8753         * sysdeps/s390/dl-tls.h: Likewise.
8754         * sysdeps/sh/dl-tls.h: Likewise.
8755         * sysdeps/sparc/dl-tls.h: Likewise.
8756         * sysdeps/x86_64/dl-tls.h: Likewise.
8757         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8759 2011-03-14  Andreas Schwab  <schwab@redhat.com>
8761         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8762         rpath element also skip the following colon.
8763         (expand_dynamic_string_token): Add is_path parameter and pass
8764         down to DL_DST_REQUIRED and _dl_dst_substitute.
8765         (decompose_rpath): Call expand_dynamic_string_token with
8766         non-zero is_path.  Ignore empty rpaths.
8767         (_dl_map_object_from_fd): Call expand_dynamic_string_token
8768         with zero is_path.
8770 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
8772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8773         Make cancelable.
8775 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
8777         [BZ #12655]
8778         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8779         Patch by Filipe David Manana <fdmanana@apache.org>.
8781 2011-04-07  Andreas Schwab  <schwab@redhat.com>
8783         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8784         Maintain aligned stack.
8785         (CHECK_RSP): Remove unused macro.
8787 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
8789         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8790         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8792 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
8794         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8796         * include/features.h: Mention __USE_XOPEN2K8 in comment.
8798 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
8800         [BZ #12518]
8801         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8802         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8803         * sysdeps/x86_64/memmove.c: New file.
8804         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8805         (memcpy): Renamed to ...
8806         (__new_memcpy): This.
8807         (memcpy): Provide GLIBC_2_14 memcpy.
8808         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8809         (memcpy): Provide GLIBC_2_2_5 memcpy.
8811 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8813         [BZ #12631]
8814         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8816 2011-03-30  Andreas Schwab  <schwab@redhat.com>
8818         * misc/syncfs.c: New file.
8819         * misc/Makefile (routines): Add syncfs.
8820         * posix/unistd.h: Declare syncfs.
8821         * sysdeps/unix/syscalls.list: Add syncfs.
8823 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8825         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8826         open_by_handle_at.
8827         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8828         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8829         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8830         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8832         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8833         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8835 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8837         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8838         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8839         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8840         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8841         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8843         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8845         * io/Makefile: Compile fallocate.c, fallocate64.c, and
8846         sync_file_range.c with -fexceptions.
8847         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8848         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8849         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8850         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8851         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8852         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8853         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8854         sync_file_range as cancellation point
8855         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
8856         now a wrapper around __call_sync_file_range with cancellation handling.
8857         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8858         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
8859         function name to __call_sync_file_range.
8860         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8861         Add call_sync_file_range.
8863 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8866         bits/timex.h.
8868 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8870         * iconv/iconv.h: Fix typo in comment.
8871         * io/fcntl.h: Likewise.
8872         * libio/stdio.h: Likewise.
8873         * posix/spawn.h: Likewise.
8874         * posix/unistd.h: Likewise.
8875         * stdlib/stdlib.h: Likewise.
8876         * time/time.h: Likewise.
8877         * wcsmbs/wchar.h: Likewise.
8879         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8880         open_by_handle): Add.
8881         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8882         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
8883         Augment a few comments.
8884         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8885         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8886         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8888         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8889         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8890         open_by_handle.
8892         * io/fcntl.h (AT_EMPTY_PATH): Define.
8894 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
8896         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8897         * sysdeps/unix/sysv/linux/bits/time.h: New file.
8898         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8899         to...
8900         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
8901         * Versions.def: Add GLIBC_2.14.
8902         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8903         Export.
8905 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
8907         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8908         round counter.
8909         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8911 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8913         [BZ #12597]
8914         * string/test-strncmp.c (do_page_test): New function.
8915         (check2): Likewise.
8916         (test_main): Call check2.
8917         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8919 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
8921         [BZ #12587]
8922         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8923         Handle cache information in CPU leaf 4.
8924         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8926 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
8928         [BZ #12583]
8929         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8930         character representation.
8931         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8933 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
8935         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8936         END(__isnan) to END(__isnanf) to match function entry point/label
8937         EALIGN(__isnanf,...).
8939 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
8941         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8943 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
8945         [BZ #12510]
8946         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8947         copy from the symbol referenced in the relocation to initialize the
8948         used variable.
8949         Patch by Piotr Bury <pbury@goahead.com>.
8950         * elf/Makefile: Add rules to build and tst-unique3.
8951         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8952         * elf/tst-unique3.cc: New file.
8953         * elf/tst-unique3.h: New file.
8954         * elf/tst-unique3lib.cc: New file.
8955         * elf/tst-unique3lib2.cc: New file.
8957         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8959 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
8961         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8962         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
8963         to _start.
8965 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
8967         * elf/dl-load.c (_dl_map_object): If we are looking for the first
8968         to-be-loaded object along a path to loader is ld.so.
8970 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8971             Ulrich Drepper  <drepper@gmail.com>
8973         * sysdeps/x86_64/memset.S: After aligning destination, code
8974         branches to different locations depending on the value of
8975         misalignment, when multiarch is enabled. Fix this.
8977 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8979         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8980         Set _x86_64_preferred_memory_instruction for AMD processsors.
8981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8982         Set bit_Prefer_SSE_for_memop for AMD processors.
8984 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
8986         * libio/fmemopen.c (fmemopen): Optimize a bit.
8988 2011-03-03  Andreas Schwab  <schwab@redhat.com>
8990         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8992 2011-03-03  Roland McGrath  <roland@redhat.com>
8994         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8996 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
8998         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8999         __bzero_ultra1 instead of __memset_ultra1.
9001 2011-02-23  Andreas Schwab  <schwab@redhat.com>
9002             Ulrich Drepper  <drepper@gmail.com>
9004         [BZ #12509]
9005         * include/link.h (struct link_map): Add l_orig_initfini.
9006         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9007         returning unsuccessfully.
9008         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9009         close of a file loaded at startup, restore the original l_initfini
9010         list.
9011         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9012         list, store the pointer.
9013         * elf/Makefile ($(objpfx)noload-mem): New rule.
9014         (noload-ENV): Define.
9015         (tests): Add $(objpfx)noload-mem.
9016         * elf/noload.c: Include <memcheck.h>.
9017         (main): Call mtrace.  Close all opened handles.
9019 2011-02-17  Andreas Schwab  <schwab@redhat.com>
9021         [BZ #12454]
9022         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9023         dependencies are missing.
9025 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9027         Fix __if_freereq crash: Unlike the generic version which uses free,
9028         Hurd needs munmap.
9029         * sysdeps/mach/hurd/ifreq.h: New file.
9031 2011-01-27  Petr Baudis  <pasky@suse.cz>
9032             Ulrich Drepper  <drepper@gmail.com>
9034         [BZ 12445]#
9035         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9036         to extend_alloca().
9037         * stdio-common/bug23.c: New file.
9038         * stdio-common/Makefile (tests): Add bug23.
9040 2010-09-28  Andreas Schwab  <schwab@redhat.com>
9041             Ulrich Drepper  <drepper@gmail.com>
9043         [BZ #12489]
9044         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9045         before performing relro protection.  At old place add assertion
9046         to make sure nothing changed.
9048 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
9049             Glauber de Oliveira Costa  <glommer@gmail.com>
9051         * elf/elf.h: Add new ARM TLS relocs.
9053 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
9055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9056         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9057         cast from r3.
9058         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
9059         'tests' variable.
9060         * sysdeps/wordsize-64/tst-writev.c: New file.
9062 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
9064         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9065         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9066         insns in _dl_start to prevent a TOC reference before relocs are
9067         resolved.
9069 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
9071         [BZ #12469]
9072         * Makeconfig: Remove RANLIB definition.
9073         * Makerules: Don't use RANLIB.
9074         * aclocal.m4: Remove ranlib test.
9075         * configure.in: No need to check for ranlib.
9076         * elf/rtld-Rules: Don't use RANLIB.
9078 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9080         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9081         protection macro.
9082         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9083         inclusion protection macro.
9085         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9086         SIGRTMIN and SIGRTMAX and print information in that case only when
9087         SIGRTMIN is defined.
9089 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
9091         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9092         arginfo fn returning -1.
9094         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9095         and thousands string is zero terminated.
9097 2011-02-03  Andreas Schwab  <schwab@redhat.com>
9099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9100         sysdeps/unix/sysv/linux/bits/socket.h.
9102 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9104         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9105         (__CPU_COUNT): Remove old macros.
9106         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9107         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9108         (__CPU_ALLOC, __CPU_FREE): Add macros.
9109         (__sched_cpualloc, __sched_cpufree): Add declarations.
9111 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
9113         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9114         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9115         * nscd/aicache.c (addhstaiX): Return timeout of added value.
9116         (readdhstai): Return value of addhstaiX call.
9117         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9118         (addgrbyX): Return value returned by cache_addgr.
9119         (readdgrbyname): Return value returned by addgrbyX.
9120         (readdgrbygid): Likewise.
9121         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9122         (addpwbyX): Return value returned by cache_addpw.
9123         (readdpwbyname): Return value returned by addhstbyX.
9124         (readdpwbyuid): Likewise.
9125         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9126         (addservbyX): Return value returned by cache_addserv.
9127         (readdservbyname): Return value returned by addservbyX:
9128         (readdservbyport): Likewise.
9129         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9130         (addhstbyX): Return value returned by cache_addhst.
9131         (readdhstbyname): Return value returned by addhstbyX.
9132         (readdhstbyaddr): Likewise.
9133         (readdhstbynamev6): Likewise.
9134         (readdhstbyaddrv6): Likewise.
9135         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9136         (readdinitgroups): Return value returned by addinitgroupsX.
9137         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9138         (prune_cache): Keep track of timeout value of re-added entries.
9139         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9140         * nscd/nscd.h: Adjust prototypes of readd* functions.
9142 2011-02-04  Roland McGrath  <roland@redhat.com>
9144         * nis/nis_server.c (nis_servstate): Use the right name for 0.
9145         (nis_stats): Likewise.
9146         * nis/nis_modify.c (nis_modify): Likewise.
9147         * nis/nis_remove.c (nis_remove): Likewise.
9148         * nis/nis_add.c (nis_add): Likewise.
9150         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9152         * posix/fnmatch_loop.c: Add some consts.
9154         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9156 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
9158         [BZ #12460]
9159         * config.make.in (config-cflags-novzeroupper): Define.
9160         * configure.in: Substitute libc_cv_cc_novzeroupper.
9161         * elf/Makefile (AVX-CFLAGS): Define.
9162         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9163         (CFLAGS-tst-auditmod4a.c): Likewise.
9164         (CFLAGS-tst-auditmod4b.c): Likewise.
9165         (CFLAGS-tst-auditmod6b.c): Likewise.
9166         (CFLAGS-tst-auditmod6c.c): Likewise.
9167         (CFLAGS-tst-auditmod7b.c): Likewise.
9168         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9170 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
9172         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9173         function to the callback.
9174         Patch partly by Jiri Olsa <jolsa@redhat.com>.
9176 2011-02-02  Andreas Schwab  <schwab@redhat.com>
9178         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9179         of errno.
9181 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
9183         [BZ #11724]
9184         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9185         of constructors.
9186         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9187         of destructors.
9188         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9190         [BZ #11724]
9191         * elf/Makefile: Add rules to build and run new test.
9192         * elf/tst-initorder.c: New file.
9193         * elf/tst-initorder.exp: New file.
9194         * elf/tst-initordera1.c: New file.
9195         * elf/tst-initordera2.c: New file.
9196         * elf/tst-initordera3.c: New file.
9197         * elf/tst-initordera4.c: New file.
9198         * elf/tst-initorderb1.c: New file.
9199         * elf/tst-initorderb2.c: New file.
9200         * elf/tst-order-a1.c: New file.
9201         * elf/tst-order-a2.c: New file.
9202         * elf/tst-order-a3.c: New file.
9203         * elf/tst-order-a4.c: New file.
9204         * elf/tst-order-b1.c: New file.
9205         * elf/tst-order-b2.c: New file.
9206         * elf/tst-order-main.c: New file.
9207         New test case by George Gensure <werkt0@gmail.com>.
9209 2010-10-01  Andreas Schwab  <schwab@redhat.com>
9211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9212         decoding ACE if AI_CANONIDN.
9214 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
9216         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9218 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
9220         * version.h (RELEASE): Bump for 2.13 release.
9221         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9223         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9225         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9226         MADV_NOHUGEPAGE.
9227         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9228         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9229         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9230         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9231         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9232         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9234         * posix/getconf.c: Update copyright year.
9235         * catgets/gencat.c: Likewise.
9236         * csu/version.c: Likewise.
9237         * debug/catchsegv.sh: Likewise.
9238         * debug/xtrace.sh: Likewise.
9239         * elf/ldconfig.c: Likewise.
9240         * elf/ldd.bash.in: Likewise.
9241         * elf/sprof.c (print_version): Likewise.
9242         * iconv/iconv_prog.c: Likewise.
9243         * iconv/iconvconfig.c: Likewise.
9244         * locale/programs/locale.c: Likewise.
9245         * locale/programs/localedef.c: Likewise.
9246         * malloc/memusage.sh: Likewise.
9247         * malloc/mtrace.pl: Likewise.
9248         * nscd/nscd.c (print_version): Likewise.
9249         * nss/getent.c: Likewise.
9251         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9252         PF_CAIF, and PF_ALG.
9253         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9255 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
9257         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9258         (modules-names): Use them.
9259         (ifunc-test-modules, ifunc-pie-tests): Define.
9260         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9261         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9262         (test-extras): Likewise.
9263         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9264         $(compile-command.c).
9265         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9266         (all-built-dso): Define.
9267         (check-textrel.out, check-execstack.out): Depend on it.
9269         * configure.in: Don't override --enable-multi-arch.
9271 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
9273         [BZ #6812]
9274         * nscd/hstcache.c (tryagain): Define.
9275         (cache_addhst): Return tryagain not notfound for temporary errors.
9276         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9277         failed.
9279 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
9281         [BZ #10563]
9282         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9283         to make the syscall.
9284         * sysdeps/unix/sysv/linux/setgroups.c: New file.
9286         [BZ #12378]
9287         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9288         and fall back to matching as normal character if the string ends before
9289         the matching ']' is found.  This is what POSIX requires.
9290         * posix/testfnm.c: Adjust test result.
9291         * posix/globtest.sh: Adjust test result.  Add new test.
9292         * posix/tst-fnmatch.input: Likewise.
9293         * posix/tst-fnmatch2.c: Add new test.
9295 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
9297         * elf/Makefile (check-execstack): Revert last change.  Depend on
9298         check-execstack.h.
9299         (check-execstack.h): New target.
9300         (generated): Add check-execstack.h.
9301         * elf/check-execstack.c: Include "check-execstack.h".
9302         (main): Revert last change.
9303         (handle_file): Return zero if GNU_STACK is absent and
9304         DEFAULT_STACK_PERMS doesn't include PF_X.
9306 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
9308         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9309         in child fails because the descriptor is already closed.
9310         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9311         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9312         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9314         [BZ #12397]
9315         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9316         syscall.
9318         [BZ #10484]
9319         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9320         temporary buffer used to handle multi lookups locally.
9321         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9323 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9325         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9326         loader is ld.so.
9328 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
9330         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9331         alignment for SSE2.
9333 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9335         [BZ #12394]
9336         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9337         characters.  When rounding increased number of integer digits recompute
9338         number of groups.
9339         * stdio-common/tst-grouping.c: New file.
9340         * stdio-common/Makefile: Add rules to build and run tst-grouping.
9342 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
9344         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9345         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
9347         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9348         void.
9349         * bits/select.h: Likewise.
9351 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
9353         * po/ja.po: Update from translation team.
9355 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
9357         [BZ #11155]
9358         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9359         implementation just like for lxstat, fxstatat, et al.
9361 2010-12-27  Jim Meyering  <meyering@redhat.com>
9363         [BZ #12348]
9364         * posix/regexec.c (build_trtable): Return failure indication upon
9365         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
9367 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
9369         [BZ #12201]
9370         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9371         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9372         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9373         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9375         [BZ #12207]
9376         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9378         [BZ #12204]
9379         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9380         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9382 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9384         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9385         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9386         script has SORT_BY_INIT_PRIORITY.
9387         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9388         NO_CTORS_DTORS_SECTIONS is defined.
9389         * elf/soinit.c: Likewise.
9390         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9391         NO_CTORS_DTORS_SECTIONS is defined.
9392         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9393         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9394         * sysdeps/sh/init-first.c: Likewise.
9395         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9397 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
9399         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9400         always use the slow path.
9402 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
9404         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9405         similar rule which adds the sysdep directories to the header search in
9406         order to pick up the correct platform stackinfo.h.
9407         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9408         perform test if it is, otherwise return successfully without testing.
9409         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9410         DEFAULT_STACK_PERMS define in stackinfo.h.
9411         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9412         defined in stackinfo.h.
9413         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9414         DEFAULT_STACK_PERMS defined in stackinfo.h.
9415         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9416         * sysdeps/ia64/stackinfo.h: Likewise.
9417         * sysdeps/s390/stackinfo.h: Likewise.
9418         * sysdeps/sh/stackinfo.h: Likewise.
9419         * sysdeps/sparc/stackinfo.h: Likewise.
9420         * sysdeps/x86_64/stackinfo.h: Likewise.
9421         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9422         PF_X for powerpc64.  Retain PF_X for powerpc32.
9424 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
9426         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9427         accurately.
9428         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9429         GETDENTS_64BIT_ALIGNED.
9431 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
9433         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9435 2010-12-10  Andreas Schwab  <schwab@redhat.com>
9437         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9438         _GNU_SOURCE.
9440         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9441         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9442         Remove __restrict.
9443         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9444         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9446 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
9448         [BZ #11655]
9449         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9450         are initialized.
9452 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
9454         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9456 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
9458         * po/it.po: Update from translation team.
9460 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9463         unused codes.
9465 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
9467         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9469 2010-11-24  Andreas Schwab  <schwab@redhat.com>
9471         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9472         specially.
9473         (gaih_getanswer_slice): Likewise.
9475 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
9477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9479 2010-05-31  Petr Baudis  <pasky@suse.cz>
9481         [BZ #11149]
9482         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9483         silently even in the chroot mode.
9485 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
9487         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9488         last patch a bit.  Pretty printing
9490 2010-05-31  Petr Baudis <pasky@suse.cz>
9492         [BZ #10085]
9493         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9494         initialization of skip_initgroups_dyn.
9496 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
9498         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9499         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9501 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
9503         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9505 2010-11-11  Andreas Schwab  <schwab@redhat.com>
9507         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9508         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9509         (tst-fnmatch-ENV): Set MALLOC_TRACE.
9510         ($(objpfx)tst-fnmatch-mem): New rule.
9511         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9512         * posix/tst-fnmatch.c (main): Call mtrace.
9514 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
9516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9517         Support Intel processor model 6 and model 0x2c.
9519 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
9521         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9522           signed comparison.
9524 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
9526         [BZ #12205]
9527         * string/test-strncasecmp.c (check_result): New function.
9528         (do_one_test): Use it.
9529         (check1): New function.
9530         (test_main): Use it.
9531         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9532         Support strcasecmp and strncasecmp.
9534 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
9536         [BZ #12194]
9537         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9538         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9540 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9542         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9543         IFUNC support.
9544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9545         memset-x86-64.
9546         * sysdeps/x86_64/multiarch/bzero.S: New file.
9547         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9548         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9549         * sysdeps/x86_64/multiarch/memset.S: New file.
9550         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9552         Set bit_Prefer_SSE_for_memop for Intel processors.
9553         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9554         Define.
9555         (index_Prefer_SSE_for_memop): Define.
9556         (HAS_PREFER_SSE_FOR_MEMOP): Define.
9558 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
9560         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9561         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9563 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
9565         [BZ #12191]
9566         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9567         (__x86_64_raw_data_cache_size_half): Likewise.
9568         (__x86_64_raw_shared_cache_size): Likewise.
9569         (__x86_64_raw_shared_cache_size_half): Likewise.
9571         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9572         (__x86_64_raw_data_cache_size_half): Likewise.
9573         (__x86_64_raw_shared_cache_size): Likewise.
9574         (__x86_64_raw_shared_cache_size_half): Likewise.
9575         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9576         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9577         and __x86_64_raw_shared_cache_size_half.  Round
9578         __x86_64_data_cache_size_half, __x86_64_data_cache_size
9579         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9580         to multiple of 256 bytes.
9582 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
9584         [BZ #12167]
9585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9586         of inacessible symlinks.  Verify result of symlink before returning it.
9587         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9588         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9590 2010-10-28  Erich Ritz  <erichritz@gmail.com>
9592         * math/math.h (isinf): Fix typo in comment.
9594 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
9596         * po/da.po: Update from translation team.
9598 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
9600         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9601         is added to the list.
9603 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9604             Ulrich Drepper  <drepper@gmail.com>
9606         * elf/dl-object.c (_dl_new_object): Don't append the new object to
9607         the global list here.  Move code to...
9608         (_dl_add_to_namespace_list): ...here.  New function.
9609         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9610         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9611         * elf/dl-load.c (lose): Don't remove the element from the list.
9612         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9613         (_dl_map_object): Likewise.
9615 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
9617         [BZ #12159]
9618         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9619         into all bytes of SSE register.
9620         Patch by Richard Li <richardpku@gmail.com>.
9622 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
9624         [BZ #12140]
9625         * malloc/malloc.c (_int_free): Fill correct number of bytes when
9626         perturbing.
9628 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
9630         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9631         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9632         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9633         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9635         submachine.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9638 2010-10-22  Andreas Schwab  <schwab@redhat.com>
9640         * include/dlfcn.h (__RTLD_SECURE): Define.
9641         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
9642         mode & __RTLD_SECURE instead.
9643         (open_path): Rename preloaded parameter to secure.
9644         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9645         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9646         * elf/dl-deps.c (openaux): Likewise.
9647         * elf/rtld.c (struct map_args): Remove is_preloaded.
9648         (map_doit): Don't use it.
9649         (dl_main): Likewise.
9650         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9651         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9653 2010-09-09  Andreas Schwab  <schwab@redhat.com>
9655         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9656         (sysd-rules-targets): Remove duplicates.
9657         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9658         rtld-%.$o dependency.
9660 2010-10-18  Andreas Schwab  <schwab@redhat.com>
9662         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9663         _dl_map_object do it.
9665 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
9667         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9668         fast fma builtins, define the macros in the C99 standard.
9669         (FP_FAST_FMAF): Likewise.
9670         (FP_FAST_FMAL): Likewise.
9671         * sysdeps/x86_64/bits/mathdef.h: Likewise.
9673         * bits/mathdef.h: Update copyright year.
9674         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9676 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
9678         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9679         builtins, define the macros in the C99 standard.
9680         (FP_FAST_FMAF): Likewise.
9681         (FP_FAST_FMAL): Likewise.
9682         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9683         multiply/add.
9684         (FP_FAST_FMAF): Likewise.
9686 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
9688         [BZ #3268]
9689         * math/libm-test.inc (fma_test): Some new testcases.
9690         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9692         y and infinite z.  Do multiplication by C already in long double.
9693         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9695         y and infinite z.  Do bitwise or of inexact bit into u.d.
9696         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9697         * sysdeps/i386/fpu/s_fmaf.S: Removed.
9698         * sysdeps/i386/fpu/s_fma.S: Removed.
9699         * sysdeps/i386/fpu/s_fmal.S: Removed.
9701 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
9703         [BZ #3268]
9704         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9706         computation is not scheduled after fetestexcept.  Fix value
9707         of minimum denormal long double.
9709 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
9711         [BZ #3268]
9712         * math/libm-test.inc (fma_test): Add some more tests.
9713         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9714         correctly.
9716 2010-10-15  Andreas Schwab  <schwab@redhat.com>
9718         * scripts/data/localplt-s390-linux-gnu.data: New file.
9719         * scripts/data/localplt-s390x-linux-gnu.data: New file.
9721 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
9723         [BZ #3268]
9724         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9725         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9726         instead of dbl-64.
9727         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9728         inlines.
9729         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9731         if one of x and y is very large and the other is subnormal.
9732         * sysdeps/s390/fpu/s_fmaf.c: New file.
9733         * sysdeps/s390/fpu/s_fma.c: New file.
9734         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9735         * sysdeps/powerpc/fpu/s_fma.S: New file.
9736         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9737         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9738         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9740 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
9742         [BZ #3268]
9743         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9744         fma tests.
9745         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9746         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9747         * sysdeps/i386/i686/multiarch/s_fma.c: Include
9748         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9749         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9750         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9751         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9753 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
9755         [BZ #12078]
9756         * posix/regcomp.c (parse_branch): One more memory leak plugged.
9757         * posix/bug-regex31.input: Add test case.
9759 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9761         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9762         * posix/bug-regex31.input: New file.
9764         [BZ #12078]
9765         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9766         (parse_sub_exp): Fix last change, use postorder.
9768         * posix/bug-regex31.c: New file.
9769         * posix/Makefile: Add rules to build and run bug-regex31.
9771         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9773         [BZ #12078]
9774         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9776         [BZ #12108]
9777         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9778         to have entries in sys_siglist.
9780         [BZ #12093]
9781         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9782         be NULL.
9784 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
9786         [BZ #3268]
9787         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9788         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9789         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9790         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9791         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9792         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9793         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9794         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9795         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9796         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9797         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9798         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9799         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9800         * math/ftestexcept.c (fetestexcept): Likewise.
9801         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9802         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9803         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9804         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9805         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9806         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9807         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9809 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9811         [BZ #12107]
9812         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9813         newline.
9815 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
9817         * string/bug-strstr1.c: New file.
9818         * string/Makefile: Add rules to build and run bug-strstr1.
9820 2010-10-05  Eric Blake  <eblake@redhat.com>
9822         [BZ #12092]
9823         * string/str-two-way.h (two_way_long_needle): Always clear memory
9824         when skipping input due to the shift table.
9826 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
9828         [BZ #12005]
9829         * malloc/mcheck.c: Handle large requests.
9831         [BZ #12077]
9832         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9833         for strncmp and strncasecmp.
9834         * string/stratcliff.c: Add tests for strcmp and strncmp.
9835         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9837 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9839         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9840         __set_fpscr.
9842 2010-09-30  Andreas Jaeger  <aj@suse.de>
9844         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9845         (CGROUP_SUPER_MAGIC): Define.
9846         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9847         Handle btrfs and cgroup file systems.
9848         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9849         Likewise.
9851 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
9853         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9854         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9856 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9858         [BZ #12067]
9859         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9860         trying to locate the ELF header.
9862 2010-09-27  Andreas Schwab  <schwab@redhat.com>
9864         [BZ #11611]
9865         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9866         Mask out sign-bit copies when constructing f_fsid.
9868 2010-09-24  Petr Baudis <pasky@suse.cz>
9870         * debug/stack_chk_fail_local.c: Add missing licence exception.
9871         * debug/warning-nop.c: Likewise.
9873 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
9875         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9876         implementing getdents64 using getdents syscall, set d_type if
9877         __ASSUME_GETDENTS32_D_TYPE.
9879 2010-09-16  Andreas Schwab  <schwab@redhat.com>
9881         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9882         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9884 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
9886         [BZ #12037]
9887         * posix/unistd.h: Undo change of feature selection for ftruncate from
9888         2010-01-11.
9890 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
9892         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9893         detection.
9895 2010-09-20  Andreas Schwab  <schwab@redhat.com>
9897         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9898         fanotify_mark.
9899         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9901 2010-09-14  Andreas Schwab  <schwab@redhat.com>
9903         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9904         variables after CHECK_SP call.
9905         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9907 2010-09-13  Andreas Schwab  <schwab@redhat.com>
9908             Ulrich Drepper  <drepper@redhat.com>
9910         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9911         re-relocationg ld.so.
9912         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9913         _dl_init_paths call.
9914         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
9915         here anymore.
9917 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
9919         * resolv/res_init.c (__res_vinit): Count the default server we added.
9921 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
9922             Ulrich Drepper  <drepper@redhat.com>
9924         [BZ #11968]
9925         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9926         (____longjmp_chk): Use %ebx for saving value across system call.
9927         Add unwind info.
9929 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9931         * manual/Makefile: Don't mix pattern rules with normal rules.
9933 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9935         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9936         operation.
9937         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9938         * libio/iofopncook.c (_IO_cookie_init): Likewise.
9939         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9940         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9942         Likewise.
9944 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
9946         [BZ #11979]
9947         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9948         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9950 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
9952         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9953         * sysdeps/x86_64/addmul_1.S: Likewise.
9954         * sysdeps/x86_64/lshift.S: Likewise.
9955         * sysdeps/x86_64/mul_1.S: Likewise.
9956         * sysdeps/x86_64/rshift.S: Likewise.
9957         * sysdeps/x86_64/sub_n.S: Likewise.
9958         * sysdeps/x86_64/submul_1.S: Likewise.
9960 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9962         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9963         Define __sched_param instead of SCHED_* and sched_param when
9964         <bits/sched.h> is included with __need_schedparam defined.
9965         * bits/sched.h [__need_schedparam]
9966         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9967         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9968         (__defined_schedparam): Define to 1.
9969         (__sched_param): New structure, identical to sched_param.
9970         (__need_schedparam): Undefine.
9972 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
9974         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9975         (epoll_create1): Declare.
9977         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9979 2010-08-31  Andreas Schwab  <schwab@redhat.com>
9981         [BZ #7066]
9982         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9983         shifting retval into place.
9985 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
9987         * nis/rpcsvc/nis.h: Update copyright notice.
9988         * nis/rpcsvc/nis.x: Likewise.
9989         * nis/rpcsvc/nis_callback.h: Likewise.
9990         * nis/rpcsvc/nis_callback.x: Likewise.
9991         * nis/rpcsvc/nis_object.x: Likewise.
9992         * nis/rpcsvc/nis_tags.h: Likewise.
9993         * nis/rpcsvc/yp.h: Likewise.
9994         * nis/rpcsvc/yp.x: Likewise.
9995         * nis/rpcsvc/ypupd.h: Likewise.
9996         * nis/yp_xdr.c: Likewise.
9997         * nis/ypupdate_xdr.c: Likewise.
9999         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
10000         mainly the body of pmap_getport.  Add parameters to specify timeouts.
10001         (pmap_getport): Use __libc_rpc_getport.
10002         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10003         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10004         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10006 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
10008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10009         fanotify_mark.
10011 2010-08-27  Roland McGrath  <roland@redhat.com>
10013         * sysdeps/i386/i686/multiarch/Makefile
10014         (CFLAGS-varshift.c): New variable.
10016 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
10018         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10019         * sysdeps/i386/i686/multiarch/varshift.c: New file.
10021         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10023         * sysdeps/x86_64/strlen.S: Minimal code improvement.
10025 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10027         * sysdeps/x86_64/strlen.S: Unroll the loop.
10028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10029         strlen-sse2 strlen-sse2-bsf.
10030         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10031         __strlen_no_bsf if bit_Slow_BSF is set.
10032         (__strlen_sse42): Removed.
10033         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10034         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10036 2010-08-25  Roland McGrath  <roland@redhat.com>
10038         * sysdeps/x86_64/multiarch/varshift.S: File removed.
10039         * sysdeps/x86_64/multiarch/varshift.c: New file.
10040         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10041         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10042         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10043         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10045 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10048         strlen-sse2 strlen-sse2-bsf.
10049         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10050         __strlen_sse2_bsf if bit_Slow_BSF is unset.
10051         (__strlen_sse2): Removed.
10052         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10053         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10055         bit_Slow_BSF for Atom.
10056         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10057         (index_Slow_BSF): Define.
10058         (HAS_SLOW_BSF): Define.
10060 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
10062         [BZ #10851]
10063         * resolv/res_init.c (__res_vinit): When no server address at all
10064         is given default to loopback.
10066 2010-08-24  Roland McGrath  <roland@redhat.com>
10068         * configure.in: Remove config-name.h generation.
10069         * configure: Regenerated.
10070         * config-name.in: File removed.
10071         * scripts/config-uname.sh: New file.
10072         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10073         ($(objdir)config-name.h): New target.
10075         * sunrpc/rpc_parse.h: Avoid nested comment.
10077 2010-08-24  Richard Henderson  <rth@redhat.com>
10078             Ulrich Drepper  <drepper@redhat.com>
10079             H.J. Lu  <hongjiu.lu@intel.com>
10081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10083         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10084         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
10085         _mm_alignr_epi8 with _mm_loadu_si128.
10086         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10087         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10088         (__m128i_shift_right): Removed.
10089         * sysdeps/i386/i686/multiarch/varshift.h: New file.
10090         * sysdeps/i386/i686/multiarch/varshift.S: New file.
10091         * sysdeps/x86_64/multiarch/varshift.h: New file.
10092         * sysdeps/x86_64/multiarch/varshift.S: New file.
10094 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
10096         * configure.in: Move assembler checks to before sysdep dir checking.
10098 2010-08-20  Petr Baudis  <pasky@suse.cz>
10100         * LICENSES: Sync the sunrpc license.
10102 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
10104         * sunrpc/auth_des.c: Update copyright notice once again.
10105         * sunrpc/auth_none.c: Likewise.
10106         * sunrpc/auth_unix.c: Likewise.
10107         * sunrpc/authdes_prot.c: Likewise.
10108         * sunrpc/authuxprot.c: Likewise.
10109         * sunrpc/bindrsvprt.c: Likewise.
10110         * sunrpc/clnt_gen.c: Likewise.
10111         * sunrpc/clnt_perr.c: Likewise.
10112         * sunrpc/clnt_raw.c: Likewise.
10113         * sunrpc/clnt_simp.c: Likewise.
10114         * sunrpc/clnt_tcp.c: Likewise.
10115         * sunrpc/clnt_udp.c: Likewise.
10116         * sunrpc/clnt_unix.c: Likewise.
10117         * sunrpc/des_crypt.c: Likewise.
10118         * sunrpc/des_soft.c: Likewise.
10119         * sunrpc/get_myaddr.c: Likewise.
10120         * sunrpc/getrpcport.c: Likewise.
10121         * sunrpc/key_call.c: Likewise.
10122         * sunrpc/key_prot.c: Likewise.
10123         * sunrpc/openchild.c: Likewise.
10124         * sunrpc/pm_getmaps.c: Likewise.
10125         * sunrpc/pm_getport.c: Likewise.
10126         * sunrpc/pmap_clnt.c: Likewise.
10127         * sunrpc/pmap_prot.c: Likewise.
10128         * sunrpc/pmap_prot2.c: Likewise.
10129         * sunrpc/pmap_rmt.c: Likewise.
10130         * sunrpc/rpc/auth.h: Likewise.
10131         * sunrpc/rpc/auth_unix.h: Likewise.
10132         * sunrpc/rpc/clnt.h: Likewise.
10133         * sunrpc/rpc/des_crypt.h: Likewise.
10134         * sunrpc/rpc/key_prot.h: Likewise.
10135         * sunrpc/rpc/netdb.h: Likewise.
10136         * sunrpc/rpc/pmap_clnt.h: Likewise.
10137         * sunrpc/rpc/pmap_prot.h: Likewise.
10138         * sunrpc/rpc/pmap_rmt.h: Likewise.
10139         * sunrpc/rpc/rpc.h: Likewise.
10140         * sunrpc/rpc/rpc_des.h: Likewise.
10141         * sunrpc/rpc/rpc_msg.h: Likewise.
10142         * sunrpc/rpc/svc.h: Likewise.
10143         * sunrpc/rpc/svc_auth.h: Likewise.
10144         * sunrpc/rpc/types.h: Likewise.
10145         * sunrpc/rpc/xdr.h: Likewise.
10146         * sunrpc/rpc_clntout.c: Likewise.
10147         * sunrpc/rpc_cmsg.c: Likewise.
10148         * sunrpc/rpc_common.c: Likewise.
10149         * sunrpc/rpc_cout.c: Likewise.
10150         * sunrpc/rpc_dtable.c: Likewise.
10151         * sunrpc/rpc_hout.c: Likewise.
10152         * sunrpc/rpc_main.c: Likewise.
10153         * sunrpc/rpc_parse.c: Likewise.
10154         * sunrpc/rpc_parse.h: Likewise.
10155         * sunrpc/rpc_prot.c: Likewise.
10156         * sunrpc/rpc_sample.c: Likewise.
10157         * sunrpc/rpc_scan.c: Likewise.
10158         * sunrpc/rpc_scan.h: Likewise.
10159         * sunrpc/rpc_svcout.c: Likewise.
10160         * sunrpc/rpc_tblout.c: Likewise.
10161         * sunrpc/rpc_util.c: Likewise.
10162         * sunrpc/rpc_util.h: Likewise.
10163         * sunrpc/rpcinfo.c: Likewise.
10164         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10165         * sunrpc/rpcsvc/key_prot.x: Likewise.
10166         * sunrpc/rpcsvc/klm_prot.x: Likewise.
10167         * sunrpc/rpcsvc/mount.x: Likewise.
10168         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10169         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10170         * sunrpc/rpcsvc/rex.x: Likewise.
10171         * sunrpc/rpcsvc/rstat.x: Likewise.
10172         * sunrpc/rpcsvc/rusers.x: Likewise.
10173         * sunrpc/rpcsvc/sm_inter.x: Likewise.
10174         * sunrpc/rpcsvc/spray.x: Likewise.
10175         * sunrpc/rpcsvc/yppasswd.x: Likewise.
10176         * sunrpc/rtime.c: Likewise.
10177         * sunrpc/svc.c: Likewise.
10178         * sunrpc/svc_auth.c: Likewise.
10179         * sunrpc/svc_authux.c: Likewise.
10180         * sunrpc/svc_raw.c: Likewise.
10181         * sunrpc/svc_run.c: Likewise.
10182         * sunrpc/svc_simple.c: Likewise.
10183         * sunrpc/svc_tcp.c: Likewise.
10184         * sunrpc/svc_udp.c: Likewise.
10185         * sunrpc/svc_unix.c: Likewise.
10186         * sunrpc/svcauth_des.c: Likewise.
10187         * sunrpc/xcrypt.c: Likewise.
10188         * sunrpc/xdr.c: Likewise.
10189         * sunrpc/xdr_array.c: Likewise.
10190         * sunrpc/xdr_float.c: Likewise.
10191         * sunrpc/xdr_mem.c: Likewise.
10192         * sunrpc/xdr_rec.c: Likewise.
10193         * sunrpc/xdr_ref.c: Likewise.
10194         * sunrpc/xdr_sizeof.c: Likewise.
10195         * sunrpc/xdr_stdio.c: Likewise.
10197         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10198         handling.
10200 2010-08-19  Andreas Schwab  <schwab@redhat.com>
10202         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10204 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
10206         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10207         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10208         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10209         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10210         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10211         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10212         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10213         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10214         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10215         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10216         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10217         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10218         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10219         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10221 2010-07-26  Anton Blanchard  <anton@samba.org>
10223         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10224         * malloc/arena.c (heap_trim): Likewise.
10226 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
10228         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10229         here.  Not...
10230         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10231         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10233 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
10235         * sysdeps/i386/elf/Makefile: New file.
10237 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
10239         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10240         from fanotify_init.
10241         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10242         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10244 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
10246         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10247         of strncasecmp_l.
10248         * sysdeps/multiarch/strcmp.S: Likewise.
10250 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
10252         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10253         strncase_l-nonascii.
10254         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10255         Add strncase_l-ssse3.
10256         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10257         * sysdeps/x86_64/strcmp.S: Likewise.
10258         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10259         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10260         * sysdeps/x86_64/strncase.S: New file.
10261         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10262         * sysdeps/x86_64/strncase_l.S: New file.
10263         * string/Makefile (strop-tests): Add strncasecmp.
10264         * string/test-strncasecmp.c: New file.
10266         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10267         warning.
10269         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10270         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10272 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
10274         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10276 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
10278         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10279         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10280         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10282 2010-05-01  Alan Modra  <amodra@gmail.com>
10284         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10285         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10286         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10287         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10288         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10289         tidying.  Don't tail-call __sigjmp_save for static lib.
10290         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10291         save location.
10292         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10293         (CALL_MCOUNT): Add eh info, and nop after bl.
10294         (TAIL_CALL_SYSCALL_ERROR): New macro.
10295         (PSEUDO_RET): Use it.
10296         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10297         Correct save location of integer regs and cr.
10298         (_dl_profile_resolve): Correct cr save location.  Delete nops
10299         after bl when SHARED.  Reduce cfi size a little by better
10300         placement of cfi directives.
10301         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10302         make a stack frame.  Instead use parm save area as a temp.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10304         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10306         Don't make a stack frame for parent, use parm save area.
10307         Increase child stack frame to 112 bytes.  Don't save unused reg,
10308         and adjust reg usage.  Set up cfi on error recovery and
10309         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10311         (__makecontext): Add dummy nop after jump to exit.
10312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10313         Use correct parm save area and cr save, reduce stack frame.
10314         Correct cfi for possible PSEUDO_RET frame setup.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10316         Branch to local label emitted by PSEUDO_RET rather than
10317         __syscall_error.
10319 2010-08-12  Andreas Schwab  <schwab@redhat.com>
10321         [BZ #11904]
10322         * locale/programs/locale.c (print_assignment): New function.
10323         (show_locale_vars): Use it.
10325 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
10327         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10328         field.
10329         (struct statfs64): Likewise.
10330         (_STATFS_F_FLAGS): Define.
10331         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10332         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10333         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10334         (ST_VALID): Define locally.
10335         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10336         __statvfs_getflags, use the provided value.
10337         * sysdeps/unix/sysv/linux/kernel-features.h: Define
10338         __ASSUME_STATFS_F_FLAGS.
10340         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10342         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10343         Add sys/fanotify.h.
10344         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10345         fanotify_mask for GLIBC_2.13.
10346         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10347         fanotify_init and fanotify_mark.
10348         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10349         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10351         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10352         Add prlimit.
10353         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10354         prlimit64 for GLIBC_2.13.
10355         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10356         prlimit64.
10357         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10358         syscall.
10359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10360         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10361         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10362         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10363         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
10364         add prlimit alias.
10365         * sysdeps/unix/sysv/linux/prlimit.c: New file.
10367         [BZ #11903]
10368         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10369         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10371         * nss/Makefile: Add rules to build and run tst-nss-test1.
10372         * shlib-versions: Add entry for libnss_test1.
10373         * nss/nss_test1.c: New file.
10374         * nss/tst-nss-test1.c: New file.
10376         * nss/nsswitch.c (__nss_database_custom): Define new variable.
10377         (__nss_configure_lookup): Set appropriate entry in
10378         __nss_configure_lookup to true.
10379         * nss/nsswitch.h: Define enum with indeces of databases in
10380         databases and __nss_database_custom arrays.  Declare
10381         __nss_database_custom.
10382         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10383         to avoid using nscd when custom rules are installed.
10384         * nss/getXXbyYY_r.c: Likewise.
10385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10387         * nss/nss_files/files-parse.c: Whitespace fixes.
10389 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
10391         [BZ #11883]
10392         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10393         * posix/fnmatch_loop.c: Likewise.
10395 2010-07-17  Andi Kleen  <ak@linux.intel.com>
10397         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10398         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10399         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10400         * Versions.def [GLIBC_2.13]: Add.
10402 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
10404         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10405         Also fail if tpwd after pwuid call is NULL.
10407 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10409         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10410         when converting to ms.
10412 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10414         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10415         EOPNOTSUPP errors with ENOTTY.
10416         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10417         EOPNOTSUPP errors with ENOTTY.
10419 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
10421         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10422         Add strcasecmp_l-ssse3.
10423         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10424         strcasecmp.
10425         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10426         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10427         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10429 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
10431         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10433         * string/Makefile (strop-tests): Add strcasecmp.
10434         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10435         strcasecmp_l-nonascii.
10436         (gen-as-const-headers): Add locale-defines.sym.
10437         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10438         * sysdeps/x86_64/strcasecmp.S: New file.
10439         * sysdeps/x86_64/strcasecmp_l.S: New file.
10440         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10441         * sysdeps/x86_64/locale-defines.sym: New file.
10442         * string/test-strcasecmp.c: New file.
10444         * string/test-strcasestr.c: Test both ends of the range of characters.
10445         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10447 2010-07-29  Roland McGrath  <roland@redhat.com>
10449         [BZ #11856]
10450         * manual/locale.texi (Yes-or-No Questions): Fix example code.
10452 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
10454         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10455         for ld.so.
10457 2010-07-27  Andreas Schwab  <schwab@redhat.com>
10459         * manual/memory.texi (Malloc Tunable Parameters): Document
10460         M_PERTURB.
10462 2010-07-26  Roland McGrath  <roland@redhat.com>
10464         [BZ #11840]
10465         * configure.in (-fgnu89-inline check): Set and substitute
10466         gnu89_inline, not libc_cv_gnu89_inline.
10467         * configure: Regenerated.
10468         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10470 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
10472         * string/test-strnlen.c: New file.
10473         * string/Makefile (strop-tests): Add strnlen.
10474         * string/tester.c (test_strnlen): Add a few more test cases.
10475         * string/tst-strlen.c: Better error reporting.
10477         * sysdeps/x86_64/strnlen.S: New file.
10479 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
10481         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10482         lower-latency instructions.
10484 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
10486         * string/test-strcasestr.c: New file.
10487         * string/test-strstr.c: New file.
10488         * string/Makefile (strop-tests): Add strstr and strcasestr.
10489         * string/str-two-way.h: Don't undefine MAX.
10490         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10492 2010-07-21  Andreas Schwab  <schwab@redhat.com>
10494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10495         strcasestr-nonascii.
10496         (CFLAGS-strcasestr-nonascii.c): Define.
10497         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10498         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10499         Remove unused attribute.
10501 2010-07-20  Roland McGrath  <roland@redhat.com>
10503         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10504         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
10505         ld.so.cache was broken.  With it, there is no way to disable dsocaps
10506         like LD_HWCAP_MASK can disable hwcaps.
10508 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10510         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10512 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
10514         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10515         call in strcasestr.
10516         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10517         __strcasestr_sse42_nonascii.
10518         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10519         strcasestr-nonascii.c.
10520         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10522 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
10524         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10525         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10526         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10527         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10529 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
10531         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10532         fcntl.
10534 2010-07-06  Andreas Schwab  <schwab@redhat.com>
10536         [BZ #11577]
10537         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10538         dl_signal_cerror.
10540 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
10542         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10543         _PC_PIPE_BUF using F_GETPIPE_SZ.
10545 2010-07-05  Roland McGrath  <roland@redhat.com>
10547         * manual/arith.texi (Rounding Functions): Fix rint description
10548         implicit in round description.
10550 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
10552         * elf/Makefile: Fix linking for a few tests to make recent linker
10553         happy.
10555 2010-06-30  Andreas Schwab  <schwab@redhat.com>
10557         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10558         $(common-objpfx)libc_nonshared.a.
10560 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
10562         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10563         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10564         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10565         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10566         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10567         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10568         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10569         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10584         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10585         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10586         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10587         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10588         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10589         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10590         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10591         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10592         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10593         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10594         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10595         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10611 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10613         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10614         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
10615         * string/memmove.c (memmove): Renamed to ...
10616         (MEMMOVE): ...this.  Default to memmove.
10617         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10618         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10619         (END_CHK): Define.
10620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10621         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10622         mempcpy-ssse3-back memmove-ssse3-back.
10623         * sysdeps/x86_64/multiarch/bcopy.S: New file .
10624         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10625         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10626         * sysdeps/x86_64/multiarch/memcpy.S: New file.
10627         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10628         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10629         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10630         * sysdeps/x86_64/multiarch/memmove.c: New file.
10631         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10632         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10633         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10634         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10635         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10636         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10637         Define.
10638         (index_Fast_Copy_Backward): Define.
10639         (HAS_ARCH_FEATURE): Define.
10640         (HAS_FAST_REP_STRING): Define.
10641         (HAS_FAST_COPY_BACKWARD): Define.
10643 2010-06-21  Andreas Schwab  <schwab@redhat.com>
10645         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10646         Restore proper fallback handling.
10648 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
10650         [BZ #11701]
10651         * posix/group_member.c (__group_member): Correct checking loop.
10653         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10654         OOM in getpwuid_r correctly.  Return error number when the caller
10655         should return, otherwise -1.
10656         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10657         call returning > 0 value.
10658         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10660 2010-06-07  Andreas Schwab  <schwab@redhat.com>
10662         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10663         libc_nonshared.a from targets in modules-names.
10665 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
10667         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10668         requires it.
10670 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
10672         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10673         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10674         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10675         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10677 2010-06-02  Andreas Schwab  <schwab@redhat.com>
10679         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10681 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
10683         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10684         and F_GETPIPE_SZ.
10685         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10686         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10687         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10689         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10690         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10692 2010-06-14  Roland McGrath  <roland@redhat.com>
10694         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10696 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
10698         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10699         __REDIRECT followed by __THROW.
10700         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10701         * posix/getopt.h (getopt): Likewise.
10703 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10705         * hurd/lookup-at.c (__file_name_lookup_at): Accept
10706         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
10707         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10708         in AT_FLAGS.
10709         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10710         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10712 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
10714         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10716 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
10718         [BZ #11640]
10719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10720         Properly check family and model.
10722 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
10724         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10726 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
10728         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10730 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
10732         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10733         symbol reference.
10735 2010-05-19  Andreas Schwab  <schwab@redhat.com>
10737         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10738         symbol reference.
10740 2010-05-21  Andreas Schwab  <schwab@redhat.com>
10742         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10743         and internal_recvmmsg.
10744         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10745         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10746         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10747         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10749         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10750         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10751         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10753 2010-05-20  Andreas Schwab  <schwab@redhat.com>
10755         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10757 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
10759         POWER7 optimizations.
10760         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10761         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10763 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
10765         * version.h: Update for 2.13 development version.
10767 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
10769         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10770         exceptions.  Return 0.
10772 2010-05-07  Roland McGrath  <roland@redhat.com>
10774         * elf/ldconfig.c (main): Add a const.
10776 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
10778         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10779         (args_options): Add no-idn option.
10780         (ahosts_keys_int): Add idn_flags to ai_flags.
10781         (parse_option): Handle 'i' option to clear idn_flags.
10783         * malloc/malloc.c (_int_free): Possible race in the most recently
10784         added check.  Only act on the data if no current modification
10785         happened.
10787 See ChangeLog.17 for earlier changes.