Use __asm__("rsp") to get CURRENT_STACK_FRAME
[glibc.git] / ChangeLog
blobbb13f6d36f6d4fff7bc575277a3e9822f104930c
1 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9         Check __x86_64__ instead of __WORDSIZE.
11 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15 2012-03-19  David S. Miller  <davem@davemloft.net>
17         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19         * sysdeps/sparc/fpu/fenv_private.h: New file.
20         * sysdeps/sparc/fpu/math_private.h: Use it.
21         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22         Remove.
23         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24         (libc_feholdexcept_setroundl): Remove.
25         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26         Remove.
27         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33         int64_t instead of long int.
34         (INSERT_WORDS64): Likwise.
36 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39         _Unwind_GetCFA return to _Unwind_Ptr first.
41 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43         [BZ #13629]
44         * math/s_clog.c: Include <float.h>.
45         (__clog): Scale large or subnormal inputs.
46         * math/s_clogf.c: Likewise.
47         * math/s_clogl.c: Likewise.
48         * math/s_clog10.c: Include <float.h>.
49         (M_LOG10_2): Define.
50         (__clog10): Scale large or subnormal inputs.
51         * math/s_clog10f.c: Likewise.
52         * math/s_clog10l.c: Likewise.
53         * math/libm-test.inc (clog_test): Add more tests.
54         (clog10_test): Likewise.
55         * sysdeps/i386/fpu/libm-test-ulps: Update.
56         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58         [BZ #11451]
59         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60         x and y.
61         * math/libm-test.inc (atan2_test): Add another test.
63         * Makerules (common-objdir-compile): Remove.
64         * sysdeps/unix/Makefile (config-generated): Do not add
65         $(unix-generated) to variable.
66         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68         Remove rule.
69         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70         Likewise.
71         [generic bits/local_lim.h] (before-compile): Do not append to
72         variable.
73         [generic bits/local_lim.h] (common-generated): Likewise.
74         [generic sys/param.h] (before-compile): Do not append to variable.
75         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
76         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79         include.
80         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81         [generic sys/param.h] (sys/param.h-includes): Remove rule.
82         [generic sys/param.h] ($(addprefix
83         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84         [generic sys/param.h] (common-generated): Do not append to
85         variable.
86         [generic sys/param.h] (sysdep_headers): Likewise.
87         [generic bits/errno.h] (before-compile): Do not append to
88         variable.
89         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
90         rule.
91         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
92         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
93         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
94         [generic bits/errno.h] (common-generated): Do not append to
95         variable.
96         [generic bits/ioctls.h] (before-compile): Do not append to
97         variable.
98         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
99         rule.
100         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
101         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
102         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
103         rule.
104         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
105         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
106         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
107         [generic bits/ioctls.h] (common-generated): Do not append to
108         variable.
109         [generic sys/syscall.h] (syscall.h): Remove variable.
110         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
111         rule.
112         [generic sys/syscall.h] (before-compile): Do not append to
113         variable.
114         [generic sys/syscall.h] (common-generated): Likewise.
115         * sysdeps/unix/errnos-tmpl.c: Remove file.
116         * sysdeps/unix/errnos.awk: Likewise.
117         * sysdeps/unix/ioctls-tmpl.c: Likewise.
118         * sysdeps/unix/ioctls.awk: Likewise.
119         * sysdeps/unix/mk-local_lim.c: Likewise.
120         * sysdeps/unix/snarf-ioctls: Likewise.
122 2012-03-19  Richard Henderson  <rth@twiddle.net>
124         * sysdeps/i386/fpu/fenv_private.h: New file.
125         * sysdeps/i386/fpu/math_private.h: Use it.
126         (math_opt_barrier, math_force_eval): Remove.
127         (libc_feholdexcept_setround_53bit): Remove.
128         (libc_feupdateenv_53bit): Remove.
129         * sysdeps/x86_64/fpu/math_private.h: Likewise.
130         (math_opt_barrier, math_force_eval): Remove.
131         (libc_feholdexcept): Remove.
132         (libc_feholdexcept_setround): Remove.
133         (libc_fetestexcept, libc_fesetenv): Remove.
134         (libc_feupdateenv_test): Remove.
135         (libc_feupdateenv, libc_feholdsetround): Remove.
136         (libc_feresetround): Remove.
138         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
139         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
141         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
142         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
143         (libc_feupdateenv_testl): New.
144         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
145         (libc_feupdateenv_testf): New.
146         (libc_feupdateenv): Use libc_feupdateenv_test.
147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
148         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
150         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
151         (libc_feholdsetroundf, libc_feholdsetroundl): New.
152         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
153         (libc_feresetround_noex): New.
154         (libc_feresetround_noexf): New.
155         (libc_feresetround_noexl): New.
156         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
157         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
158         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
159         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
160         SET_RESTORE_ROUND.
161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
162         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
163         (__cos): Likewise.
164         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
165         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
166         SET_RESTORE_ROUND_NOEX.
167         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
168         SET_RESTORE_ROUND_NOEXF.
169         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
170         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
171         (libc_feholdsetroundf): New.
172         (libc_feresetround, libc_feresetroundf): New.
174         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
175         (libc_feholdexcept_setround_53bit): Convert from macro to function.
176         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
178         * sysdeps/generic/math_private.h: Include <fenv.h>.
179         (default_libc_feholdexcept): New.
180         (default_libc_feholdexcept_setround): New.
181         (default_libc_fesetenv, default_libc_feupdateenv): New.
182         (libc_feholdexcept): Only define if undefined.
183         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
184         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
185         (libc_feholdexcept_setroundl): Likewise.
186         (libc_feholdexcept_setround_53bit): Likewise.
187         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
188         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
189         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
190         (libc_feupdateenv_53bit): Likewise.
191         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
192         (libc_feholdexcept): Convert from macro to inline function.
193         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
194         (libc_fesetenv, libc_feupdateenv): Likewise.
196         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
197         not previously defined.
198         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
199         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
200         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
201         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
202         * sysdeps/ieee754/flt-32/math_private.h: New file.
203         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
204         math_private.h below SET_FLOAT_WORD.
205         (__isnan, __isinf_ns, __finite): Remove.
206         (__isnanf, __isinf_nsf, __finitef): Remove.
208 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
212 2012-03-17  David S. Miller  <davem@davemloft.net>
214         [BZ #6471]
215         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
216         for 2.16.
218 2012-03-16  David S. Miller  <davem@davemloft.net>
220         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
221         warnings.
223         [BZ #6471]
224         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
225         properly.
226         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
227         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
228         sysdep_routines when subdir is sysvipc.
229         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
230         __getshmlba helper.
232         * sysdeps/sparc/fpu/libm-test/ulps: Update.
234 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
236         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
237         [__LP64__].
239 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
241         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
242         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
243         (__lround): Renamed to ...
244         (__llround): This.  Replace long int with long long int.
245         Define lround functions as aliases of llround functions.
246         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
248 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
250         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
251         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
252         adresses to uintptr_t.  Replace "long int" and "unsigned long
253         int" with "greg_t" on va_arg.
255 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
257         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
258         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
260         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
261         Move e_machine check before EI_CLASS check.  Handle x32
262         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
263         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
264         SKIP_EM_IA_64 and include
265         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
267         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
268         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
269         (add_system_dir): New macro.
271         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
272         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
274 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
276         [BZ #2551]
277         [BZ #2552]
278         [BZ #2553]
279         [BZ #2554]
280         [BZ #2562]
281         [BZ #2563]
282         [BZ #2565]
283         [BZ #2566]
284         [BZ #2576]
285         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
286         (y0): Likewise.
287         * math/w_j0f.c (j0f): Likewise.
288         (y0f): Likewise.
289         * math/w_j0l.c (__j0l): Likewise.
290         (__y0l): Likewise.
291         * math/w_j1.c (j1): Likewise.
292         (y1): Likewise.
293         * math/w_j1f.c (j1f): Likewise.
294         (y1f): Likewise.
295         * math/w_j1l.c (__j1l): Likewise.
296         (__y1l): Likewise.
297         * math/w_jn.c (jn): Likewise.
298         (yn): Likewise.
299         * math/w_jnf.c (jnf): Likewise.
300         (ynf): Likewise.
301         * math/w_jnl.c (__jnl): Likewise.
302         (__ynl): Likewise.
303         * math/libm-test.inc (j0_test): Add more tests.
304         (j1_test): Likewise.
305         (jn_test): Likewise.  Add trailing semicolon to existing test.
306         (y0_test): Likewise.
307         (y1_test): Likewise.
308         * sysdeps/i386/fpu/libm-test-ulps: Update.
309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
311         [BZ #13851]
312         [BZ #13854]
313         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
314         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
315         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
316         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
317         (__tanl): Set errno for infinite argument.
318         * sysdeps/i386/fpu/mptan.c: Remove.
319         * sysdeps/i386/fpu/s_tan.S: Likewise.
320         * sysdeps/i386/fpu/s_tanl.S: Likewise.
321         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
322         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
323         * math/libm-test.inc (tan_test): Add more tests and enable more
324         tests for double and long double.
325         * sysdeps/i386/fpu/libm-test-ulps: Update.
326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
328 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
330         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
331         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
333 2012-03-16  Roland McGrath  <roland@hack.frob.com>
335         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
336         * configure.in: Use it for both main tree and add-ons.
337         * configure: Regenerated.
339 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
341         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
343 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
345         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
346         in comment.
348         [BZ #13851]
349         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
350         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
351         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
352         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
353         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
354         infinite argument.
355         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
356         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
357         != 0 for prec == 2.
358         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
359         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
360         * sysdeps/i386/fpu/s_cosl.S: Likewise.
361         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
362         * sysdeps/i386/fpu/s_sinl.S: Likewise.
363         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
364         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
365         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
366         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
367         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
368         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
369         * math/libm-test.inc (cos_test): Add more tests and enable more
370         tests for long double.
371         (sin_test): Likewise.
372         (sincos_test): Likewise.
373         * sysdeps/i386/fpu/libm-test-ulps: Update.
374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
376 2012-03-16  David S. Miller  <davem@davemloft.net>
378         * sysdeps/sparc/fpu/math_private.h: New file.
380 2012-03-15  David S. Miller  <davem@davemloft.net>
382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
383         file.
384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
386         file.
387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
392         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
393         sysdep routines.
394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
396         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
397         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
399         * sysdeps/sparc/sparc-ifunc.h: New file.
400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
401         sparc-ifunc.h
402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
404         Likewise.
405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
406         Likewise.
407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
411         Likewise.
412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
417         Likewise.
418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
419         Likewise.
420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
425         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
426         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
427         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
429         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
439         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
440         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
441         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
442         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
443         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
445 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
447         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
448         scaling.
449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
451 2012-03-15  Andreas Jaeger  <aj@suse.de>
453         [BZ #13852]
454         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
455         ieee754/flt-32 implementation for sin, cos and sincos.
456         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
457         * sysdeps/i386/fpu/s_cosf.S: Likewise.
458         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
459         * sysdeps/i386/fpu/s_sinf.S: Likewise.
460         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
461         ieee754/flt-32 implementation for tan.
463         * math/libm-test.inc (cos_test): Enable some large input tests for
464         float as well
465         (sin_test): Likewise.
466         (sincos_test): Likewise.
467         (tan_test): Add tests for large input.
469         * sysdeps/i386/fpu/libm-test-ulps: Update.
471 2012-03-15  Andreas Jaeger  <aj@suse.de>
473         [BZ #13658]
474         * math/libm-test.inc (cos_test): Add more test cases.
475         (sin_test): Likewise.
476         (sincos_test): Likewise.
478 2012-03-15  Andreas Jaeger  <aj@suse.de>
480         [BZ #13837]
481         * math/libm-test.inc (cos_test): Add a test case for large input
482         value.
483         (sin_test): Likewise.
484         (sincos_test): Likewise.
486 2012-03-15  Andreas Jaeger  <aj@suse.de>,
487         Joseph Myers  <joseph@codesourcery.com>
489         [BZ #13658]
490         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
491         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
492         * sysdeps/i386/fpu/branred.c: Likewise.
493         * sysdeps/i386/fpu/dosincos.c: Likewise.
494         * sysdeps/i386/fpu/mpa.c: Likewise.
495         * sysdeps/i386/fpu/s_cos.S: Likewise.
496         * sysdeps/i386/fpu/s_sin.S: Likewise.
497         * sysdeps/i386/fpu/s_sincos.S: Likewise.
498         * sysdeps/i386/fpu/sincos32.c: Likewise.
500         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
501         Define.
502         (libc_feupdateenv_53bit): Define.
503         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
504         Define.
505         (libc_feupdateenv_53bit): Define.
507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
508         53 bit (without extend i386 double precision).
510         * math/libm-test.inc (sincos_test): Add tests for large input.
511         (sin): Likewise.
512         (cos): Likewise.
514         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
516 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
520 2012-03-15  David S. Miller  <davem@davemloft.net>
522         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
523         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
524         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
525         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
538         file.
539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
541         file.
542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
544         file.
545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
547         file.
548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
549         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
550         fmin/fmax sysdep routines.
551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
553 2012-03-14  David S. Miller  <davem@davemloft.net>
555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
556         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
557         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
559         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
560         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
561         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
562         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
563         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
568         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
569         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
570         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
571         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
573         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
574         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
575         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
576         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
577         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
578         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
579         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
580         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
581         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
582         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
583         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
584         routines.
585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
586         file.
587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
589         file.
590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
592         file.
593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
595         file.
596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
598         file.
599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
601         file.
602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
603         file.
604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
605         file.
606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
607         file.
608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
609         New file.
610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
611         file.
612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
613         file.
614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
616         file.
617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
619         file.
620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
622         file.
623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
625         VIS3 routines.
627         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
628         New file.
630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
632         * sysdeps/sparc/configure.in: New file.
633         * sysdeps/sparc/configure: Generate.
634         * configure.in (libc_cv_sparc_as_vis3): Substitute.
635         * configure: Regenerate.
636         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
637         * config.make.in (have-as-vis3): New.
638         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
639         available use -Av9d instead of -Av9a.
640         * sysdeps/sparc/sparc64/Makefile: Likewise.
641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
643         New file.
644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
645         file.
646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
647         New file.
648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
649         file.
650         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
653         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
654         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
656         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
657         fzeros/fnegs to load 0x80000000 into a float register instead of
658         using the stack.
659         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
661 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
663         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
664         bits/syscall.h.
665         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
666         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
667         ($(inst_includedir)/bits/syscall.h): Remove rule.
668         ($(objpfx)bits/syscall.d): Include instead of
669         $(objpfx)syscall-list.d.
670         (generated): Change syscall-list.h and syscall-list.d to
671         bits/syscall.h and bits/syscall.d.
673 2012-03-14  Roland McGrath  <roland@hack.frob.com>
675         [BZ #13846]
676         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
678 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
680         [BZ #13841]
681         * math/s_csqrt.c: Include <float.h>.
682         (__csqrt): Scale large or subnormal inputs.
683         * math/s_csqrtf.c: Likewise.
684         * math/s_csqrtl.c: Likewise.
685         * math/libm-test.inc (csqrt_test): Add more tests.
686         * sysdeps/i386/fpu/libm-test-ulps: Update.
687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689         [BZ #13840]
690         * math/libm-test.inc (hypot_test): Add more tests.
692 2012-03-13  David S. Miller  <davem@davemloft.net>
694         [BZ #13840]
695         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
696         double-precision for the calculation instead of scaling.
698 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
700         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
701         manipulate bits before adding and subtracting TWO52[sx].
702         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
703         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
704         Likewise.
705         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
707 2012-03-13  David S. Miller  <davem@davemloft.net>
709         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
710         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
712         rtld-global-offsets.h
713         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
715         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
716         large parameters.
718         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
720         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
721         'err' in the ifdef scope in which it is actually used.
723         * nss/nss_db/db-init.c: Include string.h
725 2012-03-12  David S. Miller  <davem@davemloft.net>
727         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
728         masking out of the most significant byte of random value used.
729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
730         Fix coding style in previous change.
732         * sysdeps/unix/sysv/linux/kernel-features.h
733         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
734         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
735         expression.
736         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
737         later.
739 2012-03-11  David S. Miller  <davem@davemloft.net>
741         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
742         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
743         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
744         for 'resultvar' otherwise things get truncated on 64-bit.
746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
747         Fix masking out of the most significant byte of random value used.
749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
751 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
755 2012-03-09  David S. Miller  <davem@davemloft.net>
757         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
758         variables with appropriate CPP guards.
759         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
760         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
761         on resulting framesize and the management of the outregs buffer for pltexit.
762         Preserve floating point return values across _dl_call_pltexit call.
763         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
764         framesize and the management of the outregs buffer for pltexit.
765         Preserve floating point return values across _dl_call_pltexit
766         call.
767         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
768         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
769         (print_exit): Fix format string for return register value.
771 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
773         * sunrpc/Makefile (others): Add rpcgen.
774         ($(objpfx)rpcgen): Remove special build rule and dependency on
775         libc.
776         * sunrpc/rpcgen.c: New file.
778 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
780         [BZ #13673]
781         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
782         * stdio-common/bug-vfprintf-nargs.c: Likewise.
783         * sysdeps/i386/crti.S: Likewise.
784         * sysdeps/i386/crtn.S: Likewise.
785         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
786         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
787         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
788         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
789         * sysdeps/sh/crti.S: Likewise.
790         * sysdeps/sh/crtn.S: Likewise.
791         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
793         [BZ #13673]
794         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
795         with URL.
796         * locale/programs/locfile-kw.gperf: Likewise.
797         * locale/programs/charmap-kw.h: Regenerated.
798         * locale/programs/locfile-kw.h: Likewise.
800         [BZ #13673]
801         * intl/plural.y: Replace FSF snail mail address with URL.
802         * intl/plural.c: Regenerated.
804 2012-03-09  Richard Henderson  <rth@twiddle.net>
806         * include/math_private.h: Remove file.
807         * math/math_private.h: Move file ...
808         * sysdeps/generic/math_private.h: ... here.
810         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
811         * sysdeps/powerpc/fpu/math_private.h: Likewise.
812         * sysdeps/x86_64/fpu/math_private.h: Likewise.
814         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
815         and <math_private.h>.
816         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
817         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
818         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
819         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
820         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
821         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
822         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
824         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
825         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
826         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
827         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
828         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
829         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
830         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
831         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
832         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
833         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
834         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
835         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
836         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
837         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
838         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
839         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
840         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
841         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
842         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
846         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
847         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
848         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
849         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
850         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
851         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
852         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
853         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
854         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
855         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
856         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
857         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
858         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
859         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
860         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
861         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
862         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
863         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
864         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
865         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
866         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
867         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
868         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
869         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
870         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
871         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
872         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
873         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
874         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
875         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
876         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
877         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
878         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
879         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
880         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
884         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
885         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
886         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
887         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
888         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
889         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
890         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
891         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
892         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
893         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
895         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
896         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
897         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
899         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
900         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
901         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
903         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
904         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
905         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
906         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
907         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
908         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
909         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
910         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
911         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
912         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
913         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
914         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
915         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
916         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
917         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
918         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
919         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
920         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
921         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
922         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
923         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
924         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
925         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
926         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
927         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
928         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
929         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
930         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
931         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
932         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
933         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
934         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
935         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
936         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
937         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
939         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
940         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
941         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
943         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
944         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
945         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
946         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
947         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
948         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
949         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
950         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
951         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
952         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
953         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
954         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
955         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
956         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
957         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
958         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
959         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
960         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
961         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
962         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
963         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
964         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
965         * sysdeps/ieee754/k_standard.c: Likewise.
966         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
967         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
968         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
969         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
970         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
971         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
972         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
973         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
974         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
975         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
976         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
978         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
979         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
980         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
981         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
982         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
983         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
984         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
985         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
986         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
987         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
988         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
989         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
990         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
991         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
992         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
993         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
994         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
995         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
996         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
997         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
998         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
999         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1000         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1001         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1002         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1003         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1004         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1005         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1006         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1007         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1008         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1009         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1010         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1011         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1012         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1013         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1014         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1015         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1016         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1017         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1018         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1019         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1020         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1022         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1023         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1024         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1025         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1026         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1027         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1028         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1029         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1030         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1032         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1034         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1035         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1038         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1039         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1041         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1042         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1043         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1044         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1045         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1046         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1047         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1048         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1051         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1052         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1053         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1054         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1056         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1057         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1058         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1059         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1060         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1061         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1062         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1063         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1064         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1065         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1066         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1067         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1070         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1073         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1074         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1075         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1076         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1077         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1078         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1079         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1080         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1081         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1082         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1083         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1084         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1085         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1088         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1089         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1090         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1091         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1092         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1093         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1094         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1095         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1100         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1101         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1102         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1103         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1104         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1105         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1106         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1107         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1108         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1109         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1110         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1111         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1112         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1113         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1114         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1115         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1116         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1117         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1118         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1119         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1120         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1121         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1122         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1123         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1124         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1125         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1126         * sysdeps/ieee754/s_lib_version.c: Likewise.
1127         * sysdeps/ieee754/s_matherr.c: Likewise.
1128         * sysdeps/ieee754/s_signgam.c: Likewise.
1129         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1130         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1131         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1132         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1133         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1134         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1135         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1136         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1137         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1138         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1139         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1140         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1141         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1143         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1144         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1145         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1146         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1147         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1148         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1149         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1151 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1153         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1154         * sunrpc/rpc_main.c: Likewise.
1155         * sunrpc/rpc_svcout.c: Likewise.
1157 2012-03-09  David S. Miller  <davem@davemloft.net>
1159         * include/math_private.h: New file.
1161 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1163         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1164         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1165         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1166         from <bits/socket_type.h>.
1167         (enum __socket_type): Don't define here.
1168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1170         bits/socket_type.h.
1172         [BZ #13566]
1173         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1174         checking __USE_GNU.
1176         * Makerules ($(inst_includedir)/%.h): New rule.
1177         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1178         (install-others): Remove variable setting.
1179         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1181 2012-03-08  Richard Henderson  <rth@twiddle.net>
1183         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1184         from macro to inline function; merge with the
1185         !__LIBC_INTERNAL_MATH_INLINES version.
1186         (__ieee754_sqrtf): Likewise.
1188         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1189         to inline function.
1190         (__rintf, __floor, __floorf): Likewise.
1192         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1193         macro to inline function.
1194         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1196         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1197         not <math/math_private.h>.
1199 2012-03-08  David S. Miller  <davem@davemloft.net>
1201         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1202         copyright year.
1203         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1205 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
1207         * resolv/gai_misc.c (handle_requests): Fix struct timespec
1208         normalization.
1209         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1210         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1212 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
1214         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
1215         be defined individually, they must be defined as a block.  Define
1216         S for printing a string instead of hidint the different by using a
1217         macro for adding the 'l'.
1218         * stdio-common/tst-fphex-wide.c: Adjust.
1220 2012-03-07  Marek Polacek  <polacek@redhat.com>
1222         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1224 2012-03-08  Marek Polacek  <polacek@redhat.com>
1226         [BZ #13806]
1227         * stdio-common/Makefile (tests): Add tst-fphex-wide.
1228         * stdio-common/tst-fphex.c: Define a few macros to make the
1229         test reusable.  Use them.
1230         * stdio-common/tst-fphex-wide.c: New file.
1232 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
1234         [BZ #6911]
1235         * manual/macros.texi (gnusystems): New macro.
1236         (nongnusystems): Likewise.
1237         (gnulinuxhurdsystems): Likewise.
1238         (gnuhurdsystems): Likewise..
1239         (gnulinuxsystems): Likewise.
1240         * manual/charset.texi: Use new macros or @theglibc{} to refer to
1241         variants of the GNU system, not "GNU system".
1242         * manual/conf.texi: Likewise.
1243         * manual/errno.texi: Likewise.  Update example of errno macro
1244         expansion.
1245         * manual/filesys.texi: Likewise.
1246         (getumask): Document as specific to GNU/Hurd.
1247         * manual/install.texi: Likewise.  Reword some references to
1248         GNU/Linux.
1249         * manual/intro.texi: Likewise.
1250         * manual/io.texi: Likewise.
1251         (File Name Portability): Detail which constraints are inapplicable
1252         to all GNU systems and which are only inapplicable to GNU/Hurd.
1253         * manual/job.texi: Likewise.
1254         * manual/llio.texi: Likewise.
1255         (O_NOCTTY): Document as present on GNU/Linux.
1256         * manual/maint.texi: Likewise.
1257         * manual/memory.texi: Likewise.
1258         * manual/pattern.texi: Likewise.
1259         * manual/pipe.texi: Likewise.
1260         * manual/process.texi: Likewise.
1261         * manual/resource.texi: Likewise.
1262         (RUSAGE_CHILDREN): Remove statement about specifying a particular
1263         child on GNU/Hurd.
1264         * manual/setjmp.texi: Likewise.
1265         * manual/signal.texi: Likewise.
1266         * manual/startup.texi: Likewise.
1267         * manual/stdio.texi: Likewise.
1268         * manual/terminal.texi: Likewise.
1269         (ONLCR): Document as POSIX.
1270         (OXTABS): Document availability on GNU/Linux as XTABS.
1271         (ONOEOT): Document availability separately from other bits.
1272         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1273         * manual/time.texi: Likewise.
1274         * manual/users.texi: Likewise.
1275         * INSTALL: Regenerated.
1276         * sysdeps/gnu/errlist.c: Regenerated.
1278         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1279         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1280         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
1281         puts.
1282         * configure: Regenerated.
1284 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
1286         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1287         default includes instead of AC_HEADER_CHECK.
1288         * sysdeps/i386/configure: Regenerated.
1290         [BZ #10716]
1291         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1292         * math/s_cacoshf.c (__cacoshf): Likewise.
1293         * math/s_cacoshl.c (__cacoshl): Likewise.
1294         * math/s_casinh.c (__casinh): Set signs of result from argument.
1295         * math/s_casinhf.c (__casinhf): Likewise.
1296         * math/s_casinhl.c (__casinhl): Likewise.
1297         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1298         (casinh_test): Add more tests.
1299         * sysdeps/i386/fpu/libm-test-ulps: Update.
1300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1302 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
1304         * po/zh_TW.po: Update from translation team.
1306         * login/Makefile (distribute): Remove variable.
1307         * catgets/Makefile: Likewise.
1308         * mach/Makefile: Likewise.
1309         * malloc/Makefile: Likewise.
1310         * misc/Makefile: Likewise.
1311         * iconv/Makefile: Likewise.
1312         * nscd/Makefile: Likewise.
1313         * hurd/Makefile: Likewise.
1314         * manual/Makefile: Likewise.
1315         * locale/Makefile: Likewise.
1316         * intl/Makefile: Likewise.
1317         * conform/Makefile: Likewise.
1318         * nss/Makefile: Likewise.
1319         * time/Makefile: Likewise.
1320         * soft-fp/Makefile: Likewise.
1321         * dirent/Makefile: Likewise.
1322         * gmon/Makefile: Likewise.
1323         * po/Makefile: Likewise.
1324         * rt/Makefile: Likewise.
1325         * socket/Makefile: Likewise.
1326         * math/Makefile: Likewise.
1327         * signal/Makefile: Likewise.
1328         * debug/Makefile: Likewise.
1329         * elf/Makefile: Likewise.
1330         * timezone/Makefile: Likewise.
1331         * stdlib/Makefile: Likewise.
1332         * iconvdata/Makefile: Likewise.
1333         * sunrpc/Makefile: Likewise.
1334         * io/Makefile: Likewise.
1335         * argp/Makefile: Likewise.
1336         * inet/Makefile: Likewise.
1337         * hesiod/Makefile: Likewise.
1338         * grp/Makefile: Likewise.
1339         * csu/Makefile: Likewise.
1340         * wctype/Makefile: Likewise.
1341         * crypt/Makefile: Likewise.
1342         * libio/Makefile: Likewise.
1343         * string/Makefile: Likewise.
1344         * nis/Makefile: Likewise.
1345         * resolv/Makefile: Likewise.
1346         * stdio-common/Makefile: Likewise.
1347         * wcsmbs/Makefile: Likewise.
1348         * dlfcn/Makefile: Likewise.
1349         * posix/Makefile: Likewise.
1351         * timezone/Makefile: Don't install timezone files, just the programs
1352         and scripts.
1354 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
1356         * nss/databases.def: Add missing gshadow entry.
1358         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
1360 2012-03-06  Marek Polacek  <polacek@redhat.com>
1362         [BZ #13726]
1363         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1364         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1365         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1366         * stdio-common/tst-long-dbl-fphex.c: New file.
1368 2012-03-06  David S. Miller  <davem@davemloft.net>
1370         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1371         (set_obp_int): New function.
1372         (get_obp_int): New function.
1373         (__get_clockfreq_via_dev_openprom): Likewise.
1374         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1375         Avoid unused variable warnings on 'val' and use builtin_expect.
1376         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1377         __builtin_expect.
1378         (INLINE_CLONE_SYSCALL): Likewise.
1380 2012-03-05  David S. Miller  <davem@davemloft.net>
1382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1384 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
1386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1388         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1389         only for |x| >= 40.
1390         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1392 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1394         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1395         Replace gettimeofday with __vdso_gettimeofday.
1397         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1398         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1399         __vdso_clock_gettime and __vdso_getcpu.
1401         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1402         time with __vdso_time.
1404 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1406         * manual/lang.texi (size_t): Note types to which size_t may be
1407         equivalent with the GNU C Library, but do not describe when
1408         differences between them are significant.
1410 2012-03-05  Andreas Jaeger  <aj@suse.de>
1412         * sysdeps/i386/fpu/libm-test-ulps: Update.
1414 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1416         [BZ #3976]
1417         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1418         (__ieee754_pow): Save and restore rounding mode and use
1419         round-to-nearest for main computations.
1420         * math/libm-test.inc (pow_test_tonearest): New function.
1421         (pow_test_towardzero): Likewise.
1422         (pow_test_downward): Likewise.
1423         (pow_test_upward): Likewise.
1424         (main): Call the new functions.
1425         * sysdeps/i386/fpu/libm-test-ulps: Update.
1426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1428         [BZ #3976]
1429         * math/libm-test.inc (cosh_test_tonearest): New function.
1430         (cosh_test_towardzero): Likewise.
1431         (cosh_test_downward): Likewise.
1432         (cosh_test_upward): Likewise.
1433         (sinh_test_tonearest): Likewise.
1434         (sinh_test_towardzero): Likewise.
1435         (sinh_test_downward): Likewise.
1436         (sinh_test_upward): Likewise.
1437         (main): Call the new functions.
1438         * sysdeps/i386/fpu/libm-test-ulps: Update.
1439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1441 2012-03-05  Tom de Vries  <tom@codesourcery.com>
1443         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1444         default stack guard is set in last bytes.
1445         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1447 2012-03-05  Kees Cook  <keescook@chromium.org>
1449         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1451         [BZ #13656]
1452         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1453         possibly allocate from heap instead of stack.
1454         * stdio-common/bug-vfprintf-nargs.c: New file.
1455         * stdio-common/Makefile (tests): Add nargs overflow test.
1457 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
1459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1461 2012-03-03  Marek Polacek  <polacek@redhat.com>
1463         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1464         * math/math_private.h: Likewise.
1465         * stdlib/tst-strtod.c: Likewise.
1466         * sysdeps/i386/i486/bits/atomic.h: Likewise.
1467         * sysdeps/x86_64/bits/atomic.h: Likewise.
1469 2012-03-02  David S. Miller  <davem@davemloft.net>
1471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1475         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1476         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1477         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1478         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1480 2012-03-02  Roland McGrath  <roland@hack.frob.com>
1482         [BZ #13792]
1483         * manual/examples/README: New file, says the example source files
1484         can be used under GPL>=2.
1485         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1486         line containing just "*/".
1487         * manual/examples/add.c: Add copyright header (GPL>=2).
1488         * manual/examples/argp-ex1.c: Likewise.
1489         * manual/examples/argp-ex2.c: Likewise.
1490         * manual/examples/argp-ex3.c: Likewise.
1491         * manual/examples/argp-ex4.c: Likewise.
1492         * manual/examples/atexit.c: Likewise.
1493         * manual/examples/db.c: Likewise.
1494         * manual/examples/dir.c: Likewise.
1495         * manual/examples/dir2.c: Likewise.
1496         * manual/examples/execinfo.c: Likewise.
1497         * manual/examples/filecli.c: Likewise.
1498         * manual/examples/filesrv.c: Likewise.
1499         * manual/examples/fmtmsgexpl.c: Likewise.
1500         * manual/examples/genpass.c: Likewise.
1501         * manual/examples/inetcli.c: Likewise.
1502         * manual/examples/inetsrv.c: Likewise.
1503         * manual/examples/isockad.c: Likewise.
1504         * manual/examples/longopt.c: Likewise.
1505         * manual/examples/memopen.c: Likewise.
1506         * manual/examples/memstrm.c: Likewise.
1507         * manual/examples/mkfsock.c: Likewise.
1508         * manual/examples/mkisock.c: Likewise.
1509         * manual/examples/mygetpass.c: Likewise.
1510         * manual/examples/pipe.c: Likewise.
1511         * manual/examples/popen.c: Likewise.
1512         * manual/examples/rprintf.c: Likewise.
1513         * manual/examples/search.c: Likewise.
1514         * manual/examples/select.c: Likewise.
1515         * manual/examples/setjmp.c: Likewise.
1516         * manual/examples/sigh1.c: Likewise.
1517         * manual/examples/sigusr.c: Likewise.
1518         * manual/examples/stpcpy.c: Likewise.
1519         * manual/examples/strdupa.c: Likewise.
1520         * manual/examples/strftim.c: Likewise.
1521         * manual/examples/strncat.c: Likewise.
1522         * manual/examples/subopt.c: Likewise.
1523         * manual/examples/swapcontext.c: Likewise.
1524         * manual/examples/termios.c: Likewise.
1525         * manual/examples/testopt.c: Likewise.
1526         * manual/examples/testpass.c: Likewise.
1527         * manual/examples/timeval_subtract.c: Likewise.
1529         [BZ #13792]
1530         * manual/time.texi (Elapsed Time): Move timeval_subtract example
1531         function to ...
1532         * manual/timeval_subtract.c.texi: ... here, new file.
1534 2012-03-02  David S. Miller  <davem@davemloft.net>
1536         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1538 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
1540         [BZ #3976]
1541         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1542         (__sin): Save and restore rounding mode and use round-to-nearest
1543         for all computations.
1544         (__cos): Save and restore rounding mode and use round-to-nearest
1545         for all computations.
1546         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1547         <fenv.h>.
1548         (tan): Save and restore rounding mode and use round-to-nearest for
1549         all computations.
1550         * math/libm-test.inc (cos_test_tonearest): New function.
1551         (cos_test_towardzero): Likewise.
1552         (cos_test_downward): Likewise.
1553         (cos_test_upward): Likewise.
1554         (sin_test_tonearest): Likewise.
1555         (sin_test_towardzero): Likewise.
1556         (sin_test_downward): Likewise.
1557         (sin_test_upward): Likewise.
1558         (tan_test_tonearest): Likewise.
1559         (tan_test_towardzero): Likewise.
1560         (tan_test_downward): Likewise.
1561         (tan_test_upward): Likewise.
1562         (main): Call the new functions.
1563         * sysdeps/i386/fpu/libm-test-ulps: Update.
1564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1566         [BZ #10135]
1567         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1568         small n, then large n, before computing and testing k+n.
1569         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1570         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1571         Likewise.
1572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1573         Likewise.
1574         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1575         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1576         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1577         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1578         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1579         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1580         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1581         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1582         * math/libm-test.inc (scalbn_test): Add more tests.
1583         (scalbln_test): Likewise.
1585         * manual/filesys.texi (mode_t): Describe constraints on size and
1586         signedness, not exact equivalence to a particular type.
1587         (ino_t): Likewise.
1588         (ino64_t): Likewise.
1589         (dev_t): Likewise.
1590         (nlink_t): Likewise.
1591         (blkcnt_t): Likewise.
1592         (blkcnt64_t): Likewise.
1593         * manual/llio.texi (off_t): Likewise.
1595         [BZ #3976]
1596         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1597         (__ieee754_exp): Save and restore rounding mode and use
1598         round-to-nearest for all computations.
1599         * math/libm-test.inc (exp_test_tonearest): New function.
1600         (exp_test_towardzero): Likewise.
1601         (exp_test_downward): Likewise.
1602         (exp_test_upward): Likewise.
1603         (main): Call the new functions.
1604         * sysdeps/i386/fpu/libm-test-ulps: Update.
1605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1607 2012-03-01  Chris Demetriou  <cgd@google.com>
1609         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1610         have predictable order.
1612 2012-03-01  David S. Miller  <davem@davemloft.net>
1614         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1616         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1617         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1618         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1619         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1621         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1622         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1623         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1625         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1626         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1627         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1628         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1629         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1633         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1634         * sysdeps/sparc/fpu/libm-test-ulps: to here.
1635         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1637         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1638         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1639         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1640         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1641         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1642         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1643         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1644         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1645         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1646         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1647         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1648         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1649         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1650         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1651         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1652         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1653         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1654         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1655         * sysdeps/sparc/elf/configure: Regenerated.
1657 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
1659         * configure.in (AS, LD): Require binutils 2.20 or later.
1660         * configure: Regenerated.
1661         * manual/install.texi (Tools for Compilation): Give binutils 2.20
1662         as required minimum version.
1663         * INSTALL: Regenerated.
1665         [BZ #2541]
1666         [BZ #4108]
1667         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1668         before squaring exponent.
1669         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1670         bottom long double and 27 bits of top long double before squaring
1671         exponent.
1672         * math/libm-test.inc (erfc_test): Add more tests.
1673         * sysdeps/i386/fpu/libm-test-ulps: Update.
1674         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1677 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1679         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1680         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1681         containing bit-fields.
1682         * soft-fp/extended.h (_FP_UNION_E): Likewise.
1683         * soft-fp/single.h (_FP_UNION_S): Likewise.
1684         * soft-fp/double.h (_FP_UNION_D): Likewise.
1686 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1688         [BZ #13786]
1689         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1690         not include ../strcmp.S.
1691         [USE_AS_STRNCASECMP_L]: Likewise.
1692         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1693         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1694         * sysdeps/i386/i686/multiarch/strncase_l-c.c
1695         (__strncasecmp_l_ia32): Define as alias to
1696         __strncasecmp_l_nonascii.
1698         [BZ #5794]
1699         * math/libm-test.inc (expm1_test): Add test for bug 5794.
1700         * sysdeps/i386/fpu/libm-test-ulps: Update.
1701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1703         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1706 2012-02-29  Jeff Law  <law@redhat.com>
1708         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1709         out of bounds read.
1711 2012-02-29  Marek Polacek  <polacek@redhat.com>
1713         [BZ #13706]
1714         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1715         * elf/Makefile: Add rules to run tst-unused-dep.out.
1717 2012-02-28  David S. Miller  <davem@davemloft.net>
1719         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1720         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1721         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1722         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1723         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1724         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1726 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1728         * math/libm-test.inc (llround_test): Move one test from
1729         lround_test.  Use TEST_f_L in moved test.
1730         (lround_test): Move misplaced test to llround_test.  Add testcase
1731         from bug 2561.
1733 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
1735         * sysdeps/x86_64/fpu/e_expf.S: New file.
1736         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1738 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
1740         [BZ #13637]
1741         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1742         of remain_len that may cause incomplete multi-byte character and
1743         false match.
1744         * posix/bug-regex33.c: New file.
1745         * posix/Makefile (tests): Add bug-regex33.
1747 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
1749         * manual/macros.texi: New file.
1750         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1751         * manual/libc.texinfo: Include macros.texi.
1752         * manual/creatute.texi: Likewise.
1753         * manual/install.texi: Likewise.
1754         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1755         @glibcadj{} in references to the GNU C Library.
1756         * manual/charset.texi: Likewise.
1757         * manual/conf.texi: Likewise.
1758         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
1759         when not using those macros.
1760         * manual/creature.texi: Likewise.
1761         * manual/crypt.texi: Likewise.
1762         * manual/errno.texi: Likewise.
1763         * manual/filesys.texi: Likewise.
1764         * manual/header.texi: Likewise.
1765         * manual/install.texi: Likewise.
1766         * manual/intro.texi: Likewise.
1767         * manual/io.texi: Likewise.
1768         * manual/job.texi: Likewise.
1769         * manual/lang.texi: Likewise.
1770         * manual/libc.texiinfo: Likewise.
1771         * manual/llio.texi: Likewise.
1772         * manual/locale.texi: Likewise.
1773         * manual/maint.texi: Likewise.
1774         * manual/math.texi: Likewise.
1775         * manual/memory.texi: Likewise.
1776         * manual/message.texi: Likewise.
1777         * manual/nss.texi: Likewise.
1778         * manual/pattern.texi: Likewise.
1779         * manual/process.texi: Likewise.
1780         * manual/resource.texi: Likewise.
1781         * manual/search.texi: Likewise.
1782         * manual/setjmp.texi: Likewise.
1783         * manual/signal.texi: Likewise.
1784         * manual/socket.texi: Likewise.
1785         * manual/startup.texi: Likewise.
1786         * manual/stdio.texi: Likewise.
1787         * manual/string.texi: Likewise.
1788         * manual/sysinfo.texi: Likewise.
1789         * manual/syslog.texi: Likewise.
1790         * manual/terminal.texi: Likewise.
1791         * manual/time.texi: Likewise.
1792         * manual/users.texi: Likewise.
1793         * INSTALL: Regenerated.
1794         * NOTES: Regenerated.
1795         * sysdeps/gnu/errlist.c: Regenerated.
1797 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1799         * include/dirent.h: Include <dirstream.h> before
1800         <dirent/dirent.h>.
1802 2012-02-28  David S. Miller  <davem@davemloft.net>
1804         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1805         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1806         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1807         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1809 2012-02-27  David S. Miller  <davem@davemloft.net>
1811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1813         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1814         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1817         frame pointer instead of stack pointer relative arg slot.
1818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1819         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1820         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1822 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
1824         [BZ #3992]
1825         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1827 2012-02-27  David S. Miller  <davem@davemloft.net>
1829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1833         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1834         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1835         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1836         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1838 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1840         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1841         later.  Allow versions 5-9.
1842         * configure: Regenerated.
1843         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1844         required minimum version and 4.6 as recommended version.  Do not
1845         mention bugs in GCC 2.7 and 2.8.
1846         * INSTALL: Regenerated.
1848 2012-02-27  David S. Miller  <davem@davemloft.net>
1850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1854         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1855         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1856         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1857         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1859         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1860         manipulate bits before adding and subtracting TWO112[sx].
1861         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1863 2012-02-27  Roland McGrath  <roland@hack.frob.com>
1865         [BZ #13775]
1866         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1867         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1868         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1869         being in POSIX, because they are in 1003.1-2008.
1871         * rt/tst-aio.c: Include <fcntl.h>.
1872         * rt/tst-aio7.c: Likewise.
1873         * rt/tst-aio64.c: Likewise.
1875         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1877 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1879         * manual/install.texi (--with-headers): Describe headers as
1880         interface headers, not private headers.
1881         (Specific advice for GNU/Linux systems): Describe use of headers
1882         from "make headers_install", not private headers from older
1883         kernels.
1884         * INSTALL: Regenerated.
1885         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1886         Change to 2.6.19.
1887         * sysdeps/unix/sysv/linux/configure: Regenerated.
1889         * manual/llio.texi (fclean): Remove documentation.
1891         * manual/Makefile (libc-texi-generated): New variable.  Include
1892         version.texi.
1893         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1894         $(libc-texi-generated), not duplicated list of files.
1895         (version.texi, stamp-version): New rules.
1896         (realclean): Remove $(libc-texi-generated), not individual files
1897         from that list.  Do not remove dir-add.texinfo.
1898         * manual/libc.texinfo: Comment out uses of edition numbers and
1899         references to printed manual.  Remove last-updated dates.
1900         (EDITION): Comment out.
1901         (ISBN): Likewise.
1902         (VERSION, UPDATED): Remove.
1903         (version.texi): Include.
1905 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
1907         * sysdeps/posix/spawni.c: Include <signal.h>.
1908         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1909         * sysdeps/pthread/aio_fsync.c: Likewise.
1911 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
1913         * conform/Makefile (tests): Run only when not cross-compiling and
1914         when fast-check is not defined.
1916         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1917         * conform/data/limits.h-data: Fixes for POSIX2008.
1918         * conform/run-conformtest.sh: Run all tests.
1919         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1920         headers.
1921         * include/bits/dlfcn.h: Likewise.
1922         * include/langinfo.h: Likewise.
1923         * include/monetary.h: Likewise.
1924         * include/sys/poll.h: Likewise.
1926         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1927         for __USE_GNU.
1928         * posix/spawn.h: Define __need_sigset_t.
1929         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1930         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1931         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
1932         to get sigevent_t only.
1933         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1934         only for __USE_GNU.
1935         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1936         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1937         process_vm_writev only for __USE_GNU.
1938         * termios/termios.h: Declare tcgetsid also for POSIX2008.
1940         * conform/Makefile: For now ignore errors from run-conformtest.
1941         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
1942         POSIX to avoid namespace pollution.  Don't prepend headers.
1943         * conform/data/aio.h-data: Fixes for POSIX testing.
1944         * conform/data/fcntl.h-data: Likewise.
1945         * conform/data/glob.h-data: Likewise.
1946         * conform/data/grp.h-data: Likewise.
1947         * conform/data/pthread.h-data: Likewise.
1948         * conform/data/pwd.h-data: Likewise.
1949         * conform/data/signal.h-data: Likewise.
1950         * conform/data/spawn.h-data: Likewise.
1951         * conform/data/stdio.h-data: Likewise.
1952         * conform/data/stdlib.h-data: Likewise.
1953         * conform/data/stropts.h-data: Likewise.
1954         * conform/data/sys/mman.h-data: Likewise.
1955         * conform/data/sys/stat.h-data: Likewise.
1956         * conform/data/sys/types.h-data: Likewise.
1957         * conform/data/sys/wait.h-data: Likewise.
1958         * conform/data/time.h-data: Likewise.
1959         * conform/data/unistd.h-data: Likewise.
1960         * conform/data/utime.h-data: Likewise.
1962         * io/sys/stat.h: fchmod was always in POSIX.
1963         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1964         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1965         * rt/aio.h: Define __need_timespec before including <time.h>.
1966         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1967         struct.  Add forward declaration of pthread_attr_t and use it in
1968         sigevent.
1969         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1970         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1971         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1972         always remove CLK_TCK definition.
1974 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
1976         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1978 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
1980         * conform/run-conformtest.sh: New file.
1981         * conform/Makefile: Run run-conformtest for tests.
1982         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
1983         support.
1985         * conform/data/uchar.h-data: New file.
1986         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1987         * conform/data/arpa/inet.h-data: Likewise.
1988         * conform/data/assert.h-data: Likewise.
1989         * conform/data/complex.h-data: Likewise.
1990         * conform/data/cpio.h-data: Likewise.
1991         * conform/data/ctype.h-data: Likewise.
1992         * conform/data/dirent.h-data: Likewise.
1993         * conform/data/dlfcn.h-data: Likewise.
1994         * conform/data/errno.h-data: Likewise.
1995         * conform/data/fcntl.h-data: Likewise.
1996         * conform/data/float.h-data: Likewise.
1997         * conform/data/fmtmsg.h-data: Likewise.
1998         * conform/data/fnmatch.h-data: Likewise.
1999         * conform/data/ftw.h-data: Likewise.
2000         * conform/data/glob.h-data: Likewise.
2001         * conform/data/grp.h-data: Likewise.
2002         * conform/data/iconv.h-data: Likewise.
2003         * conform/data/inttypes.h-data: Likewise.
2004         * conform/data/langinfo.h-data: Likewise.
2005         * conform/data/libgen.h-data: Likewise.
2006         * conform/data/limits.h-data: Likewise.
2007         * conform/data/locale.h-data: Likewise.
2008         * conform/data/math.h-data: Likewise.
2009         * conform/data/monetary.h-data: Likewise.
2010         * conform/data/mqueue.h-data: Likewise.
2011         * conform/data/ndbm.h-data: Likewise.
2012         * conform/data/net/if.h-data: Likewise.
2013         * conform/data/netdb.h-data: Likewise.
2014         * conform/data/netinet/in.h-data: Likewise.
2015         * conform/data/nl_types.h-data: Likewise.
2016         * conform/data/poll.h-data: Likewise.
2017         * conform/data/pthread.h-data: Likewise.
2018         * conform/data/pwd.h-data: Likewise.
2019         * conform/data/regex.h-data: Likewise.
2020         * conform/data/sched.h-data: Likewise.
2021         * conform/data/search.h-data: Likewise.
2022         * conform/data/semaphore.h-data: Likewise.
2023         * conform/data/setjmp.h-data: Likewise.
2024         * conform/data/signal.h-data: Likewise.
2025         * conform/data/spawn.h-data: Likewise.
2026         * conform/data/stdarg.h-data: Likewise.
2027         * conform/data/stdio.h-data: Likewise.
2028         * conform/data/stdlib.h-data: Likewise.
2029         * conform/data/string.h-data: Likewise.
2030         * conform/data/strings.h-data: Likewise.
2031         * conform/data/stropts.h-data: Likewise.
2032         * conform/data/sys/ipc.h-data: Likewise.
2033         * conform/data/sys/mman.h-data: Likewise.
2034         * conform/data/sys/msg.h-data: Likewise.
2035         * conform/data/sys/resource.h-data: Likewise.
2036         * conform/data/sys/select.h-data: Likewise.
2037         * conform/data/sys/sem.h-data: Likewise.
2038         * conform/data/sys/shm.h-data: Likewise.
2039         * conform/data/sys/socket.h-data: Likewise.
2040         * conform/data/sys/stat.h-data: Likewise.
2041         * conform/data/sys/statvfs.h-data: Likewise.
2042         * conform/data/sys/time.h-data: Likewise.
2043         * conform/data/sys/timeb.h-data: Likewise.
2044         * conform/data/sys/times.h-data: Likewise.
2045         * conform/data/sys/types.h-data: Likewise.
2046         * conform/data/sys/uio.h-data: Likewise.
2047         * conform/data/sys/un.h-data: Likewise.
2048         * conform/data/sys/utsname.h-data: Likewise.
2049         * conform/data/sys/wait.h-data: Likewise.
2050         * conform/data/syslog.h-data: Likewise.
2051         * conform/data/tar.h-data: Likewise.
2052         * conform/data/termios.h-data: Likewise.
2053         * conform/data/utime.h-data: Likewise.
2054         * conform/data/utmpx.h-data: Likewise.
2055         * conform/data/varargs.h-data: Likewise.
2056         * conform/data/wchar.h-data: Likewise.
2057         * conform/data/wctype.h-data: Likewise.
2058         * conform/data/wordexp.h-data: Likewise.
2060         * include/stropts.h: New file.
2061         * include/uchar.h: New file.
2062         * include/aio.h: Changes to allow conformtest.pl to use the headers.
2063         * include/assert.h: Likewise.
2064         * include/ctype.h: Likewise.
2065         * include/dirent.h: Likewise.
2066         * include/dlfcn.h: Likewise.
2067         * include/fcntl.h: Likewise.
2068         * include/fnmatch.h: Likewise.
2069         * include/glob.h: Likewise.
2070         * include/grp.h: Likewise.
2071         * include/libio.h: Likewise.
2072         * include/locale.h: Likewise.
2073         * include/math.h: Likewise.
2074         * include/net/if.h: Likewise.
2075         * include/netdb.h: Likewise.
2076         * include/netinet/in.h: Likewise.
2077         * include/pthread.h: Likewise.
2078         * include/pwd.h: Likewise.
2079         * include/regex.h: Likewise.
2080         * include/sched.h: Likewise.
2081         * include/search.h: Likewise.
2082         * include/setjmp.h: Likewise.
2083         * include/signal.h: Likewise.
2084         * include/stdio.h: Likewise.
2085         * include/stdlib.h: Likewise.
2086         * include/string.h: Likewise.
2087         * include/sys/cdefs.h: Likewise.
2088         * include/sys/mman.h: Likewise.
2089         * include/sys/msg.h: Likewise.
2090         * include/sys/resource.h: Likewise.
2091         * include/sys/select.h: Likewise.
2092         * include/sys/socket.h: Likewise.
2093         * include/sys/stat.h: Likewise.
2094         * include/sys/statvfs.h: Likewise.
2095         * include/sys/time.h: Likewise.
2096         * include/sys/times.h: Likewise.
2097         * include/sys/uio.h: Likewise.
2098         * include/sys/utsname.h: Likewise.
2099         * include/sys/wait.h: Likewise.
2100         * include/termios.h: Likewise.
2101         * include/time.h: Likewise.
2102         * include/ulimit.h: Likewise.
2103         * include/unistd.h: Likewise.
2104         * include/utime.h: Likewise.
2105         * include/wchar.h: Likewise.
2106         * include/wctype.h: Likewise.
2107         * include/wordexp.h: Likewise.
2109         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2111         * time/time.h: TIME_UTC must be a macro.
2112         Make timespec_get available for ISO C11 only as well.
2114 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
2116         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2117         Reported by Peng Haitao <penght@cn.fujitsu.com>.
2119 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2121         * configure.in: Use -o not -a in test for unsupported multi-arch.
2123 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2125         * manual/texinfo.tex: Update to version 2012-01-19.16.
2127 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2129         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2131 2012-02-24  Roland McGrath  <roland@hack.frob.com>
2133         [BZ #13738]
2134         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2135         * manual/fdl-1.3.texi: New file.
2136         * manual/fdl-1.1.texi: File removed.
2138         [BZ #13738]
2139         * manual/libc.texinfo (FDL_VERSION): New @set.
2140         Use it for mention of FDL in cover text.
2141         (Documentation License): Use it in @include file name.
2143 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2144             Roland McGrath  <roland@hack.frob.com>
2146         [BZ #5461]
2147         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2148         not LONG_LONG_MAX and LONG_LONG_MIN.
2149         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2150         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
2151         name.
2152         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2154 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2156         [BZ #2547]
2157         [BZ #11365]
2158         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2159         manipulate bits before adding and subtracting TWO23[sx].
2160         * math/libm-test.inc (nearbyint_test): Add more tests.
2162 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2164         [BZ #2548]
2165         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2166         bits before adding and subtracting TWO23[sx].
2167         * math/libm-test.inc (rint_test): Add more tests.
2168         (rint_test_tonearest): Likewise.
2169         (rint_test_towardzero): Likewise.
2170         (rint_test_downward): Likewise.
2171         (rint_test_upward: Likewise.
2173 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2175         [BZ #10110]
2176         * include/stdc-predef.h: New file.  Extracted from features.h.
2177         * include/features.h: Include stdc-predef.h.
2178         * Makefile (headers): Add stdc-predef.h.
2179         * CONFORMANCE (Compiler limitations): Update.
2181 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2183         * manual/libc.texinfo (VERSION, UPDATED): Revert.
2185 2012-02-21  David S. Miller  <davem@davemloft.net>
2187         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2188         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2190 2012-02-20  David S. Miller  <davem@davemloft.net>
2192         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2193         using a normal save/restore sequence, rather than allocating a
2194         dummy stack frame just to store a frame pointer and restore.
2195         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2197 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2199         * manual/install.texi: Fix stray word in line-wrapped comment.
2201 2012-02-20  David S. Miller  <davem@davemloft.net>
2203         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2204         both binutils and gcc support GOTDATA.
2206         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2207         "rd %pc" in the PIC register setup sequences.
2209         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2210         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2211         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2212         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2213         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2215         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2216         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2218         (SYSCALL_ERROR_HANDLER): Likewise.
2219         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2220         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2222         (SYSCALL_ERROR_HANDLER): Likewise.
2224         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2225         (HAVE_GCC_GOTDATA): New.
2226         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2227         relocation support in both binutils and gcc.
2228         * sysdeps/sparc/elf/configure: Regenerate.
2230         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2231         * sysdeps/sparc/sparc32/elf/configure: Delete.
2232         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2233         * sysdeps/sparc/sparc64/elf/configure: Delete.
2234         * sysdeps/sparc/elf/configure.in: New file.
2235         * sysdeps/sparc/elf/configure: Generate.
2237         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2238         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2239         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2240         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2241         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2243 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2245         * manual/install.texi: Do not mention specific glibc version
2246         numbers.
2247         * manual/libc.texinfo (VERSION, UPDATED): Update.
2248         (@copying): Use @copyright{} and range of years.
2250 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2252         [BZ #13695]
2253         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2254         [crti.S not in sysdirs] (generated): Do not append.
2255         [crti.S not in sysdirs] (omit-deps): Likewise.
2256         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2257         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2258         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2259         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2260         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2261         Likewise.
2262         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2263         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2264         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2265         * csu/defs.awk: Remove file.
2266         * sysdeps/generic/initfini.c: Likewise.
2267         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2268         variable.
2269         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2270         Likewise.
2272 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2274         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2275         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2276         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2278         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2279         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2280         <bits/epoll.h>.
2281         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2282         (__EPOLL_PACKED): Define to empty if not defined by
2283         <bits/epoll.h>.
2284         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2286         bits/epoll.h.
2288 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2290         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2291         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2292         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2293         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2294         <bits/timerfd.h>.
2295         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2297         bits/timerfd.h.
2299 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2301         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2302         in C locale.
2303         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2304         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2305         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2308 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
2310         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2311         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2313 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
2315         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2316         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2317         defined.
2318         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2319         Likewise.
2320         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2321         entry for 2.16.
2323 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
2325         * math/w_acos.c: Use non-signaling floating-point comparisons.
2326         * math/w_acosf.c: Likewise.
2327         * math/w_acosh.c: Likewise.
2328         * math/w_acoshf.c: Likewise.
2329         * math/w_acoshl.c: Likewise.
2330         * math/w_acosl.c: Likewise.
2331         * math/w_asin.c: Likewise.
2332         * math/w_asinf.c: Likewise.
2333         * math/w_asinl.c: Likewise.
2334         * math/w_atanh.c: Likewise.
2335         * math/w_atanhf.c: Likewise.
2336         * math/w_atanhl.c: Likewise.
2337         * math/w_exp2.c: Likewise.
2338         * math/w_exp2f.c: Likewise.
2339         * math/w_exp2l.c: Likewise.
2340         * math/w_j0.c: Likewise.
2341         * math/w_j0f.c: Likewise.
2342         * math/w_j0l.c: Likewise.
2343         * math/w_j1.c: Likewise.
2344         * math/w_j1f.c: Likewise.
2345         * math/w_j1l.c: Likewise.
2346         * math/w_jn.c: Likewise.
2347         * math/w_jnf.c: Likewise.
2348         * math/w_log.c: Likewise.
2349         * math/w_log10.c: Likewise.
2350         * math/w_log10f.c: Likewise.
2351         * math/w_log10l.c: Likewise.
2352         * math/w_log2.c: Likewise.
2353         * math/w_log2f.c: Likewise.
2354         * math/w_log2l.c: Likewise.
2355         * math/w_logf.c: Likewise.
2356         * math/w_logl.c: Likewise.
2357         * math/w_sqrt.c: Likewise.
2358         * math/w_sqrtf.c: Likewise.
2359         * math/w_sqrtl.c: Likewise.
2360         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2361         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2362         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2363         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2364         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2366 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2368         [BZ #9739]
2369         * manual/string.texi (strnlen): Use correct parameter name in
2370         equivalent expression.
2372 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2374         [BZ #11174]
2375         * manual/users.texi (seteuid): Consistently use neweuid for
2376         argument name.
2378 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2380         [BZ #13704]
2381         * manual/nss.texi (Services in the NSS configuration): Correct
2382         list of services in example configuration file.
2384 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
2386         [BZ #11322]
2387         * manual/arith.texi: Remove statements about negative zero
2388         behaving identically to zero.
2390 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2392         [BZ #5993]
2393         * manual/install.texi: Do not document upgrading from libc5.
2395 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2397         [BZ #4596]
2398         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2400 2012-02-18  David S. Miller  <davem@davemloft.net>
2402         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2403         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2404         %o7 across the call.
2405         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2406         instead.
2407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2408         SETUP_PIC_REG_LEAF.
2409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2410         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2411         * sysdeps/sparc/crtn.S: Likewise.
2413 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
2415         * aout/Makefile: Remove.
2417 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
2419         [BZ #13058]
2420         * manual/examples/argp-ex1.c (main): Format definition in GNU
2421         style.
2422         * manual/examples/argp-ex2.c (main): Likewise.
2423         * manual/examples/argp-ex3.c (main): Likewise.
2424         * manual/examples/argp-ex4.c (main): Likewise.
2425         * manual/examples/longopt.c (main): Use new-style prototype
2426         definition.
2427         * manual/examples/strncat.c (main): Specify return type and use
2428         (void) for arguments.
2429         * manual/examples/subopt.c (main): Use char **argv argument.
2431 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2433         [BZ #5077]
2434         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2435         rounding modes.
2437 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
2439         [BZ #6907]
2440         * manual/string.texi (strchr): Change when strchrnul is
2441         recommended.
2443 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
2445         [BZ #174]
2446         * manual/locale.texi (setlocale): Document LOCPATH.
2448 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2450         [BZ #10210]
2451         * manual/process.texi (execle): Move @dots{} before last argument.
2453 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
2455         [BZ #12047]
2456         * manual/charset.texi (Generic Charset Conversion): Fix typo
2457         (LC_TYPE -> LC_CTYPE).
2459 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
2461         [BZ #5805]
2462         * manual/arith.texi (scalbn): Use @var{} on parameter names.
2463         (scalbnf): Likewise.
2464         (scalbnl): Likewise.
2465         (scalbln): Likewise.
2466         (scalblnf): Likewise.
2467         (scalblnl): Likewise.
2468         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2469         (vwarnx): Likewise.
2470         (verr): Likewise.
2471         (verrx): Likewise.
2472         * manual/filesys.texi (telldir): Use braces around return type.
2473         * manual/llio.texi (mmap): Add space after comma.
2474         (mmap64): Likewise.
2475         * manual/math.texi (jn): Use @var{} on parameter names.
2476         (jnf): Likewise.
2477         (jnl): Likewise.
2478         (yn): Likewise.
2479         (ynf): Likewise.
2480         (ynl): Likewise.
2481         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2482         line.
2483         * manual/resource.texi (ulimit): Use @dots{} instead of literal
2484         "...".
2485         (sched_get_priority_min): Remove semicolon on @deftypefun line.
2486         (sched_get_priority_max): Likewise.
2487         * manual/signal.texi (sigvec): Add space after comma.
2488         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2489         names.
2490         (if_indextoname): Likewise.
2491         (if_freenameindex): Likewise.
2492         (sendto): Use ',' instead of '.' in prototype.
2493         * manual/startup.texi (syscall): Use @dots{} instead of literal
2494         "...".
2495         * manual/stdio.texi (__fpending): Separate initial words of
2496         paragraph from @deftypefun line.
2497         * manual/syslog.texi (syslog): Use @dots{} instead of literal
2498         "...".
2499         (vsyslog): Use @var{} on parameter names.
2500         * manual/terminal.texi (stty): Use @var{} on parameter names.
2501         * manual/users.texi (getutmp): Use @var{} on parameter names.
2502         (getutmpx): Likewise.
2504 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2506         [BZ #6884]
2507         * manual/stdio.texi (fopen): Fix typos in description of
2508         ",ccs=STRING".
2510 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
2512         [BZ #4026]
2513         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2514         get clock_id definition.
2516 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
2518         [BZ #4822]
2519         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2520         (madvise): Cast every argument to void on its own.
2522 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2524         [BZ #9902]
2525         * manual/startup.texi (Exit Status): Fix typo.
2527 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2529         [BZ #10140]
2530         * manual/examples/argp-ex1.c: Include <stdlib.h>.
2531         * manual/examples/argp-ex2.c: Likewise.
2532         * manual/examples/argp-ex3.c: Likewise.
2534 2012-02-16  Richard Henderson  <rth@redhat.com>
2536         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2537         * sysdeps/s390/s390-32/initfini.c: Remove.
2538         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2539         * sysdeps/s390/s390-64/initfini.c: Remove.
2541 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2543         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2544         compiler output for sysdeps/generic/initfini.c.
2545         * sysdeps/sh/elf/initfini.c: Remove file.
2547 2012-02-16  David S. Miller  <davem@davemloft.net>
2549         [BZ #11494]
2550         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2552         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2553         * sysdeps/sparc/crti.S: New file.
2554         * sysdeps/sparc/crtn.S: New file.
2555         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2556         * sysdeps/sparc/sparc64/Makefile: Likewise.
2558 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
2560         [BZ #3335]
2561         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2563 2012-02-15  Roland McGrath  <roland@hack.frob.com>
2565         [BZ #4822]
2566         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2568         * mach/devstream.c (cookie_io_functions_t): Macro removed.
2569         (write, read, close): Likewise.
2570         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2572 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
2574         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2575         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2576         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2577         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2578         <bits/signalfd.h>.
2579         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2581         bits/signalfd.h.
2583 2012-02-14  Marek Polacek  <polacek@redhat.com>
2585         * sysdeps/x86_64/crti.S: New file.
2586         * sysdeps/x86_64/crtn.S: New file.
2587         * sysdeps/x86_64/elf/initfini.c: Remove file.
2589 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2591         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2592         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2593         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2594         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2595         <bits/inotify.h>.
2596         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2598         bits/inotify.h.
2600 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2602         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2603         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2604         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2605         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2606         <bits/eventfd.h>.
2607         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2608         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2609         bits/eventfd.h.
2611 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
2613         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2614         __feraiseexcept instead of feraiseexcept.
2616         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2617         nanosleep invocations.
2618         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2619         strings, and add error checking for a nanosleep invocations.
2621 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
2623         Replace FSF snail mail address with URLs, as per GNU coding standards.
2624         Most of the snail mail addresses were wrong anyway, and omitting
2625         them makes the source code easier to maintain.  Almost all of the
2626         changes are to license notices and to locale LC_IDENTIFICATION
2627         addresses, except for this one:
2628         * manual/libc.texinfo: In "Published by", give the FSF's URL,
2629         not its snail mail address.
2631 2012-02-09  Richard Henderson  <rth@twiddle.net>
2633         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2634         of kernel-features.h.
2636         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2638 2012-02-08  Marek Polacek  <polacek@redhat.com>
2640         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2641         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2642         * sysdeps/gnu/_G_config.h: Likewise.
2643         * sysdeps/generic/_G_config.h: Likewise.
2645 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
2647         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2648         tests.
2649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2651         * sysdeps/powerpc/powerpc32/crti.S: New file.
2652         * sysdeps/powerpc/powerpc32/crtn.S: New file.
2653         * sysdeps/powerpc/powerpc64/crti.S: New file.
2654         * sysdeps/powerpc/powerpc64/crtn.S: New file.
2656         * Makeconfig (have-initfini): Don't set.
2657         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2658         * configure.in (nopic_initfini): Don't substitute.
2659         * config.h.in (HAVE_INITFINI): Don't #undef.
2660         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2661         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2663 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
2665         Support crti.S and crtn.S provided directly by architectures.
2666         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2667         [crti.S in sysdirs] (omit-deps): Likewise.
2668         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2669         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2670         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2671         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2672         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2673         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2674         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2675         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2676         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2677         compiler output for sysdeps/generic/initfini.c.
2678         * sysdeps/i386/elf/Makefile: Remove file.
2679         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2681 2012-02-07  Marek Polacek  <polacek@redhat.com>
2683         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2684         * sysdeps/gnu/_G_config.h: Likewise.
2685         * sysdeps/mach/hurd/_G_config.h: Likewise.
2687 2012-02-07  Marek Polacek  <polacek@redhat.com>
2689         * math/Makefile (tests): Add tst-CMPLX2.
2690         * math/tst-CMPLX2.c: New file.
2692 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
2694         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2696         * math/libm-test.inc (jn_test): Add missing L suffix.
2698 2012-02-06  Marek Polacek  <polacek@redhat.com>
2700         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2701         * sysdeps/i386/fpu/e_powf.S: Likewise.
2702         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2703         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2704         * sysdeps/i386/fpu/e_acosh.S: Likewise.
2705         * sysdeps/i386/fpu/e_pow.S: Likewise.
2706         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2707         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2708         * sysdeps/i386/fpu/s_expm1.S: Likewise.
2709         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2710         * sysdeps/i386/fpu/e_log2.S: Likewise.
2711         * sysdeps/i386/fpu/e_log2l.S: Likewise.
2712         * sysdeps/i386/fpu/e_scalb.S: Likewise.
2713         * sysdeps/i386/fpu/e_powl.S: Likewise.
2714         * sysdeps/i386/fpu/s_log1p.S: Likewise.
2715         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2716         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2717         * sysdeps/i386/fpu/e_logl.S: Likewise.
2718         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2719         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2720         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2721         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2722         * sysdeps/i386/fpu/e_log2f.S: Likewise.
2723         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2724         * sysdeps/i386/fpu/e_log.S: Likewise.
2725         * sysdeps/i386/fpu/s_cexp.S: Likewise.
2726         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2727         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2728         * sysdeps/i386/fpu/e_logf.S: Likewise.
2729         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2730         * sysdeps/i386/fpu/e_atanh.S: Likewise.
2731         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2732         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2733         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2734         * sysdeps/i386/fpu/e_log10.S: Likewise.
2735         * sysdeps/i386/fpu/s_frexp.S: Likewise.
2736         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2737         * sysdeps/i386/fpu/s_asinh.S: Likewise.
2738         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2739         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2740         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2741         * sysdeps/i386/asm-syntax.h: Likewise.
2742         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2743         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2744         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2745         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2746         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2747         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2748         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2749         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2750         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2751         * sysdeps/powerpc/sysdep.h: Likewise.
2752         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2753         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2755 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2757         [BZ #411]
2758         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2760 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2762         * sysdeps/i386/sysdep.h: Include <features.h>.
2763         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2764         version.
2766 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
2768         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2769         Define.
2770         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2771         LOAD_PIC_REG_STR.
2773 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2775         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2776         (SETUP_PIC_REG): Use GET_PC_THUNK.
2777         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2778         macro.
2780 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2782         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2783         for non-PIC compilation.
2784         (SETUP_PIC_REG): Add .p2align directive.
2785         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2786         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2787         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2788         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2789         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2790         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2791         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2792         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2793         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2794         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2795         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2796         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2797         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2798         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2799         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2800         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2801         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2802         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2803         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2804         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2805         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2806         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2807         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2808         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2809         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2811         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2812         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2813         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2814         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2815         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2816         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2817         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2818         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2819         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2820         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2821         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2822         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2823         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2824         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2825         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2827 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2829         * math/tst-CMPLX.c: Include <stdio.h>.
2831 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
2833         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2834         float.
2835         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2836         * sysdeps/sparc/bits/mathdef.h: Likewise.
2838 2012-01-31  Marek Polacek  <polacek@redhat.com>
2840         * libio/libio.h: Don't define _PARAMS.
2841         * locale/programs/config.h: Don't define PARAMS.
2842         * stdlib/strtol_l.c: Likewise.
2843         (__strtol_l): Remove PARAMS from the prototype.
2845 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
2847         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
2848         names.  Just use the correct names.  Remove unnecessary wrapper
2849         functions.
2850         * malloc/arena.c: Likewise.
2851         * malloc/hooks.c: Likewise.
2853         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2854         ARENA_TEST says not to.  Simplify test for creation of a new arena.
2855         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2857 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
2859         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2860         into tail calls.
2861         (update_get_addr): New function.
2862         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2863         GET_ADDR_MODULE parameter.
2865 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2867         * crypt/cert.c: Remove __STDC__ conditionals.
2868         * crypt/crypt-entry.c: Likewise.
2869         * crypt/crypt_util.c: Likewise.
2870         * libio/filedoalloc.c: Likewise.
2871         * libio/fileops.c: Likewise.
2872         * libio/genops.c: Likewise.
2873         * libio/iofclose.c: Likewise.
2874         * libio/iofdopen.c: Likewise.
2875         * libio/iofopen.c: Likewise.
2876         * libio/iofopen64.c: Likewise.
2877         * libio/iogetdelim.c: Likewise.
2878         * libio/iopopen.c: Likewise.
2879         * libio/obprintf.c: Likewise.
2880         * libio/oldfileops.c: Likewise.
2881         * libio/oldiofclose.c: Likewise.
2882         * libio/oldiofdopen.c: Likewise.
2883         * libio/oldiofopen.c: Likewise.
2884         * libio/oldiopopen.c: Likewise.
2885         * libio/wfiledoalloc.c: Likewise.
2886         * libio/wgenops.c: Likewise.
2887         * locale/programs/xmalloc.c: Likewise.
2888         * misc/syslog.c: Likewise.
2889         * stdio-common/xbug.c: Likewise.
2890         * string/memchr.c: Likewise.
2891         * string/memcmp.c: Likewise.
2892         * string/memrchr.c: Likewise.
2893         * string/rawmemchr.c: Likewise.
2894         * sysdeps/posix/getcwd.c: Likewise.
2895         * time/strftime_l.c: Likewise.
2897 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2899         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2900         * config.make.in (config-cflags-sse2avx): Define.
2901         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2902         Fix typo.
2904 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
2906         * scripts/config.guess: Update from upstream config git repository.
2907         * scripts/config.sub: Likewise.
2909 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
2911         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2912         (EM_NUM): Update.
2913         (R_TILEPRO_*, R_TILEGX_*): New macros.
2915         * scripts/firstversions.awk: Fix bug in version range handling.
2917         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2919         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2921         * include/sys/epoll.h: New file.
2922         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2923         libc_hidden_def.
2925 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
2927         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2928         Avoid unnecessary __WORDSIZE == 64 test.
2929         (fmaxf): Use VEX format if possible.
2930         (fmax): Likewise.
2931         (fminf): Likewise.
2932         (fmin): Likewise.
2934         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2935         * math/math_private.h: Remove libc_fegetround* and
2936         libc_fesetround*.
2937         * sysdeps/i386/configure.in: Check for -msse2avx.
2938         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2939         also if SSE2AVX is defined.
2940         Remove libc_fegetround* and libc_fesetround*.
2941         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2942         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
2943         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2944         of HAS_YMM_USABLE.
2945         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2946         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2947         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2948         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2949         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2951         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2953 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2955         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2956         size is not set.
2957         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2959 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
2961         [BZ #13618]
2962         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2963         relocation.
2964         * Makeconfig (libm): Define.
2965         * elf/Makefile: Add rules to build and run tst-relsort1.
2966         * elf/tst-relsort1.c: New file.
2967         * elf/tst-relsort1mod1.c: New file.
2968         * elf/tst-relsort1mod2.c: New file.
2970 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
2972         * math/s_ldexp.c: Remove __STDC__ conditionals.
2973         * math/s_ldexpf.c: Likewise.
2974         * math/s_ldexpl.c: Likewise.
2975         * math/s_nextafter.c: Likewise.
2976         * math/s_nexttowardf.c: Likewise.
2977         * math/s_significand.c: Likewise.
2978         * math/s_significandf.c: Likewise.
2979         * math/s_significandl.c: Likewise.
2980         * math/w_jnl.c: Likewise.
2981         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2982         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2983         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2984         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2985         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2986         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2987         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2988         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2989         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2990         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2991         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2992         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2993         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2994         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2995         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2996         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2997         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2998         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3000         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3001         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3002         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3003         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3004         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3005         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3006         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3007         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3008         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3009         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3010         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3011         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3012         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3013         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3014         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3015         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3016         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3017         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3018         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3019         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3020         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3021         * sysdeps/ieee754/k_standard.c: Likewise.
3022         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3023         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3024         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3025         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3026         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3027         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3028         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3029         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3030         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3031         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3032         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3033         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3034         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3035         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3036         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3037         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3038         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3039         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3040         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3041         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3042         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3043         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3044         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3045         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3046         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3047         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3048         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3049         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3050         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3051         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3052         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3053         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3054         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3055         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3056         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3057         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3058         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3059         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3060         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3061         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3062         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3064         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3065         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3066         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3067         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3069         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3070         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3071         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3072         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3073         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3074         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3075         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3076         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3077         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3078         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3079         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3080         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3081         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3082         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3083         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3084         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3085         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3086         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3087         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3088         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3089         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3090         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3091         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3092         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3093         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3094         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3095         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3096         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3097         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3098         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3099         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3100         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3101         * sysdeps/ieee754/s_matherr.c: Likewise.
3102         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3103         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3104         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3107 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3109         * crypt/md5.h: Remove __STDC__ conditionals.
3110         * libio/libioP.h: Likewise.
3111         * locale/programs/config.h: Likewise.
3112         * sysdeps/generic/sysdep.h: Likewise.
3113         * sysdeps/i386/asm-syntax.h: Likewise.
3114         * sysdeps/s390/asm-syntax.h: Likewise.
3115         * sysdeps/unix/sysdep.h: Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3119 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3121         * libio/libio.h: Remove __STDC__ conditionals.
3122         * malloc/obstack.h: Likewise.
3123         * math/complex.h: Likewise.
3124         * math/math.h: Likewise.
3125         * sysdeps/generic/_G_config.h: Likewise.
3126         * sysdeps/gnu/_G_config.h: Likewise.
3127         * sysdeps/mach/hurd/_G_config.h: Likewise.
3128         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3129         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3130         * sysdeps/sparc/bits/mathdef.h: Likewise.
3132 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
3134         [BZ #13583]
3135         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3136         Clean up HAS_* macros.
3137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3138         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3139         possible.
3140         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3141         HAS_AVX.
3142         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3143         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3144         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3145         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3146         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3148 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
3150         * elf/tst-unique3.cc (gets): Remove declaration.
3151         * elf/tst-unique3lib.cc (gets): Likewise.
3152         * elf/tst-unique3lib2.cc (gets): Likewise.
3153         * elf/tst-unique4.cc (gets): Likewise.
3155 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
3157         * include/stdio.h: Add C++ protection.  Add gets declarations and
3158         definitions.
3159         * debug/tst-chk1.c: Don't declare gets here.
3160         * stdio-common/tst-gets.c: Likewise.
3162 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
3164         * posix/glob: Remove directory.
3166 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
3168         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3170 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
3172         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3173         of the non-standard EPFNOSUPPORT.
3175 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3177         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3178         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3179         ANYWHERE set to 1 only on KERN_NO_SPACE error.
3181 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
3183         * wcsmbs/uchar.h: Test __STDC_VERSION__.
3185 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
3187         * nscd/aicache.c (addhstaiX): Do not cache negative results of
3188         transient errors.
3189         * nscd/grpcache.c (cache_addgr): Likewise.
3190         * nscd/hstcache.c (cache_addhst): Likewise.
3191         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3192         * nscd/pwdcache.c (cache_addpw): Likewise.
3193         * nscd/servicescache.c (cache_addserv): Likewise.
3195 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
3197         * malloc/malloc.c: Various cleanups.
3198         * malloc/hooks.c: Likewise.
3200         * stdlib/Makefile (tests): Add bug-fmtmsg1.
3201         * stdlib/bug-fmtmsg1.c: New file.
3203         * stdlib/fmtmsg.c (init): Add missing unlock.
3204         Patch by Peng Haitao <penght@cn.fujitsu.com>.
3206 2012-01-12  Marek Polacek  <polacek@redhat.com>
3208         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3209         and _GNU_SOURCE.
3211 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
3213         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3214         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3215         macro to ensure uniqueness of label name.
3216         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3217         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3219 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
3221         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3223         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3224         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3225         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3226         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3228 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
3230         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3232         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3233         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3234         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3236         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3238         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3239         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3240         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3241         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3243         * math/bits/math-finite.h: Add ldexp support.
3245 2012-01-10  Marek Polacek  <polacek@redhat.com>
3247         * locale/programs/localedef.h (show_archive_content): Add noreturn
3248         attribute.
3250 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
3252         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3254 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3256         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3258         * io/Makefile (headers): Add bits/poll2.h.
3260 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
3262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3263         typo #include statement.
3265 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3267         * include/sys/cdefs.h: Define __attribute_alloc_size.
3268         * catgets/gencat.c: Add alloc_size attribute and apply consistently
3269         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3270         * elf/pldd.c: Likewise.
3271         * iconv/iconv_charmap.c: Likewise.
3272         * iconv/iconvconfig.c: Likewise.
3273         * iconv/strtab.c: Likewise.
3274         * locale/programs/locale.c: Likewise.
3275         * locale/programs/localedef.h: Likewise.
3276         * locale/programs/simple-hash.c: Likewise.
3277         * nscd/nscd.h: Likewise.
3278         * nss/makedb.c: Likewise.
3279         * sysdeps/generic/ldconfig.h: Likewise.
3280         * locale/programs/localedef.c: Remove xmalloc prototype.
3281         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3283 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3285         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3286         appropriate.
3288 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3290         * math/Makefile (tests): Add tst-CMPLX.
3291         * math/tst-CMPLX.c: New file.
3293         * math/complex.h (CMPLXL): Fix typo.
3295         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3296         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3297         GLIBC_2.16.
3298         * debug/tst-chk1.c: Add poll and ppoll tests.
3299         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3300         * include/sys/poll.h: Add hidden proto for ppoll.
3301         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3302         * sysdeps/mach/hurd/ppoll.c: Likewise.
3303         * io/ppoll.c: Likewise.
3304         * debug/poll_chk.c: New file.
3305         * debug/ppoll_chk.c: New file.
3306         * include/bits/poll2.h: New file.
3307         * io/bits/poll2.h: New file.
3309         [BZ #1350]
3310         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3312         * configure.in: static is always set to yes.  Remove.
3313         * config.make.in: Don't set build-static.
3314         * Makeconfig: Remove use of build-static.
3315         * dlfcn/Makefile: Likewise.
3316         * elf/Makefile: Likewise.
3317         * math/Makefile: Likewise.
3318         * misc/Makefile: Likewise.
3319         * nptl/Makefile: Likewise.
3320         * sysdeps/mach/hurd/Makefile: Likewise.
3322         * configure.in: PWD_P is not used anymore.
3323         * config.make.in: Remove PWD_P entry.
3325         * configure.in: Remove last remnants of RANLIB.
3326         No need to check for signed size_t anymore.
3327         Don't set libc_commonpagesize and libc_relro_required here for Alpha
3328         and IA-64.
3329         Remove __builtin_expect test because we require at least gcc 3.4.
3330         * aclocal.m4: Likewise.
3332         * wcsmbs/mbrtoc16.c: Implement using towc function.
3333         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3334         * wcsmbs/wcsmbsload.c: Likewise.
3335         * iconv/gconv_simple.c: Likewise.
3336         * iconv/gconv_int.h: Likewise.
3337         * iconv/gconv_builtin.h: Likewise.
3338         * iconv/iconv_prog.c: Remove CHAR16 handling.
3340         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3342         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3344         * configure.in: Remove --with-elf and --enable-bounded options.
3345         Dont set base_machine for ia64.  More non-ELF conditions removed.
3346         Remove testing and setting of leading underscore information.
3347         * config.make.in (build-bounded): Set to no.
3348         * config.h.in: Remove NO_UNDERSCORES entry.
3349         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
3350         them.
3351         * csu/start.c: Remove !NO_UNDERSCORE code.
3352         * locale/localeinfo.h: Likewise.
3353         * sysdeps/generic/machine-gmon.h: Likewise.
3354         * sysdeps/generic/sysdep.h: Likewise.
3355         * sysdeps/i386/sysdep.h: Likewise.
3356         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3357         * sysdeps/mach/sysdep.h: Likewise.
3358         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3359         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3360         * sysdeps/sh/sysdep.h: Likewise.
3361         * sysdeps/sparc/sparc32/alloca.S: Likewise.
3362         * sysdeps/unix/i386/sysdep.S: Likewise.
3363         * sysdeps/unix/sparc/start.c: Likewise.
3364         * sysdeps/unix/sparc/sysdep.S: Likewise.
3365         * sysdeps/unix/sparc/sysdep.h: Likewise.
3366         * sysdeps/unix/start.c: Likewise.
3367         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3368         * sysdeps/x86_64/sysdep.h: Likewise.
3370 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
3372         [BZ #13553]
3373         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3374         for non-gcc.
3375         * argp/argp-fmtstream.h: Use const instead __const.
3376         * argp/argp.h: Likewise.
3377         * assert/assert.h: Likewise.
3378         * bits/fenv.h: Likewise.
3379         * bits/sched.h: Likewise.
3380         * bits/sigset.h: Likewise.
3381         * bits/sigthread.h: Likewise.
3382         * catgets/nl_types.h: Likewise.
3383         * conform/data/pthread.h-data: Likewise.
3384         * crypt/crypt-private.h: Likewise.
3385         * crypt/crypt.h: Likewise.
3386         * crypt/crypt_util.c: Likewise.
3387         * ctype/ctype.h: Likewise.
3388         * debug/execinfo.h: Likewise.
3389         * debug/mbsnrtowcs_chk.c: Likewise.
3390         * debug/mbsrtowcs_chk.c: Likewise.
3391         * debug/wcsnrtombs_chk.c: Likewise.
3392         * debug/wcsrtombs_chk.c: Likewise.
3393         * debug/wcstombs_chk.c: Likewise.
3394         * dirent/dirent.h: Likewise.
3395         * dlfcn/dlfcn.h: Likewise.
3396         * elf/neededtest4.c: Likewise.
3397         * grp/grp.h: Likewise.
3398         * gshadow/gshadow.h: Likewise.
3399         * iconv/gconv.h: Likewise.
3400         * iconv/gconv_int.h: Likewise.
3401         * iconv/gconv_simple.c: Likewise.
3402         * iconv/iconv.h: Likewise.
3403         * iconv/loop.c: Likewise.
3404         * iconv/skeleton.c: Likewise.
3405         * include/aio.h: Likewise.
3406         * include/aliases.h: Likewise.
3407         * include/argz.h: Likewise.
3408         * include/arpa/inet.h: Likewise.
3409         * include/assert.h: Likewise.
3410         * include/dirent.h: Likewise.
3411         * include/dlfcn.h: Likewise.
3412         * include/execinfo.h: Likewise.
3413         * include/fcntl.h: Likewise.
3414         * include/fenv.h: Likewise.
3415         * include/glob.h: Likewise.
3416         * include/grp.h: Likewise.
3417         * include/libintl.h: Likewise.
3418         * include/mntent.h: Likewise.
3419         * include/netdb.h: Likewise.
3420         * include/pwd.h: Likewise.
3421         * include/rpc/netdb.h: Likewise.
3422         * include/sched.h: Likewise.
3423         * include/search.h: Likewise.
3424         * include/shadow.h: Likewise.
3425         * include/signal.h: Likewise.
3426         * include/stdio.h: Likewise.
3427         * include/stdlib.h: Likewise.
3428         * include/string.h: Likewise.
3429         * include/sys/socket.h: Likewise.
3430         * include/sys/stat.h: Likewise.
3431         * include/sys/statfs.h: Likewise.
3432         * include/sys/statvfs.h: Likewise.
3433         * include/sys/syslog.h: Likewise.
3434         * include/sys/time.h: Likewise.
3435         * include/sys/uio.h: Likewise.
3436         * include/time.h: Likewise.
3437         * include/unistd.h: Likewise.
3438         * include/utmp.h: Likewise.
3439         * include/wchar.h: Likewise.
3440         * include/wctype.h: Likewise.
3441         * inet/aliases.h: Likewise.
3442         * inet/arpa/inet.h: Likewise.
3443         * inet/netinet/ether.h: Likewise.
3444         * inet/netinet/in.h: Likewise.
3445         * intl/libintl.h: Likewise.
3446         * io/bits/fcntl2.h: Likewise.
3447         * io/fcntl.h: Likewise.
3448         * io/ftw.h: Likewise.
3449         * io/sys/poll.h: Likewise.
3450         * io/sys/stat.h: Likewise.
3451         * io/sys/statfs.h: Likewise.
3452         * io/sys/statvfs.h: Likewise.
3453         * io/utime.h: Likewise.
3454         * libio/bits/stdio.h: Likewise.
3455         * libio/bits/stdio2.h: Likewise.
3456         * libio/libio.h: Likewise.
3457         * libio/libioP.h: Likewise.
3458         * libio/stdio.h: Likewise.
3459         * locale/lc-ctype.c: Likewise.
3460         * locale/locale.h: Likewise.
3461         * login/utmp.h: Likewise.
3462         * malloc/arena.c: Likewise.
3463         * malloc/malloc.c: Likewise.
3464         * malloc/malloc.h: Likewise.
3465         * malloc/mcheck.c: Likewise.
3466         * malloc/mtrace.c: Likewise.
3467         * math/bits/mathcalls.h: Likewise.
3468         * math/fenv.h: Likewise.
3469         * math/math_private.h: Likewise.
3470         * misc/bits/error.h: Likewise.
3471         * misc/bits/syslog.h: Likewise.
3472         * misc/err.h: Likewise.
3473         * misc/error.h: Likewise.
3474         * misc/fstab.h: Likewise.
3475         * misc/mntent.h: Likewise.
3476         * misc/regexp.h: Likewise.
3477         * misc/search.h: Likewise.
3478         * misc/sgtty.h: Likewise.
3479         * misc/sys/mman.h: Likewise.
3480         * misc/sys/syslog.h: Likewise.
3481         * misc/sys/uio.h: Likewise.
3482         * misc/sys/xattr.h: Likewise.
3483         * misc/ttyent.h: Likewise.
3484         * nis/rpcsvc/ypclnt.h: Likewise.
3485         * nss/nss.h: Likewise.
3486         * posix/bits/unistd.h: Likewise.
3487         * posix/fnmatch.h: Likewise.
3488         * posix/glob.h: Likewise.
3489         * posix/sched.h: Likewise.
3490         * posix/spawn.h: Likewise.
3491         * posix/sys/wait.h: Likewise.
3492         * posix/unistd.h: Likewise.
3493         * posix/wordexp.h: Likewise.
3494         * pwd/pwd.h: Likewise.
3495         * resolv/netdb.h: Likewise.
3496         * resource/sys/resource.h: Likewise.
3497         * rt/aio.h: Likewise.
3498         * rt/bits/mqueue2.h: Likewise.
3499         * rt/mqueue.h: Likewise.
3500         * shadow/shadow.h: Likewise.
3501         * signal/signal.h: Likewise.
3502         * socket/send.c: Likewise.
3503         * socket/sendto.c: Likewise.
3504         * socket/sys/socket.h: Likewise.
3505         * stdio-common/printf.h: Likewise.
3506         * stdlib/bits/stdlib.h: Likewise.
3507         * stdlib/fmtmsg.h: Likewise.
3508         * stdlib/monetary.h: Likewise.
3509         * stdlib/stdlib.h: Likewise.
3510         * stdlib/ucontext.h: Likewise.
3511         * streams/stropts.h: Likewise.
3512         * string/argz.h: Likewise.
3513         * string/bits/string2.h: Likewise.
3514         * string/string.h: Likewise.
3515         * string/strings.h: Likewise.
3516         * sunrpc/rpc/auth.h: Likewise.
3517         * sunrpc/rpc/auth_des.h: Likewise.
3518         * sunrpc/rpc/clnt.h: Likewise.
3519         * sunrpc/rpc/netdb.h: Likewise.
3520         * sunrpc/rpc/pmap_clnt.h: Likewise.
3521         * sunrpc/rpc/xdr.h: Likewise.
3522         * sysdeps/generic/inttypes.h: Likewise.
3523         * sysdeps/generic/net/if.h: Likewise.
3524         * sysdeps/generic/sys/swap.h: Likewise.
3525         * sysdeps/gnu/net/if.h: Likewise.
3526         * sysdeps/gnu/utmpx.h: Likewise.
3527         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3528         * sysdeps/i386/i486/bits/string.h: Likewise.
3529         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3530         * sysdeps/s390/bits/string.h: Likewise.
3531         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3532         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3533         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3534         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3535         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3536         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3537         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3538         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3539         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3540         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3541         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3542         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3543         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3544         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3545         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3546         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3547         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3549         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3550         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3551         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3552         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3553         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3554         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3555         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3556         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3557         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3558         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3559         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3560         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3561         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3562         * sysvipc/sys/ipc.h: Likewise.
3563         * sysvipc/sys/msg.h: Likewise.
3564         * sysvipc/sys/sem.h: Likewise.
3565         * sysvipc/sys/shm.h: Likewise.
3566         * termios/termios.h: Likewise.
3567         * time/sys/time.h: Likewise.
3568         * time/time.h: Likewise.
3569         * wcsmbs/bits/wchar2.h: Likewise.
3570         * wcsmbs/uchar.h: Likewise.
3571         * wcsmbs/wchar.h: Likewise.
3572         * wctype/wctype.h: Likewise.
3574         [BZ #13551]
3575         * Makeconfig: Remove all but ELF support including AIX support.
3576         * Makerules: Likewise.
3577         * config.h.in: Likewise.
3578         * config.make.in: Likewise.
3579         * configure: Likewise.
3580         * configure.in: Likewise.
3581         * csu/Makefile: Likewise.
3582         * csu/version.c: Likewise.
3583         * debug/Makefile: Likewise.
3584         * dlfcn/Makefile: Likewise.
3585         * elf/Makefile: Likewise.
3586         * extra-lib.mk: Likewise.
3587         * iconv/Makefile: Likewise.
3588         * include/libc-symbols.h: Likewise.
3589         * include/shlib-compat.h: Likewise.
3590         * resolv/Makefile: Likewise.
3591         * resolv/res_libc.c: Likewise.
3592         * rt/Makefile: Likewise.
3593         * sysdeps/i386/asm-syntax.h: Likewise.
3594         * sysdeps/i386/sysdep.h: Likewise.
3595         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3596         * sysdeps/mach/sysdep.h: Likewise.
3597         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3598         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3599         * sysdeps/s390/asm-syntax.h: Likewise.
3600         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3601         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3602         * sysdeps/sh/sysdep.h: Likewise.
3603         * sysdeps/unix/sparc/sysdep.h: Likewise.
3604         * sysdeps/wordsize-32/divdi3.c: Likewise.
3605         * sysdeps/x86_64/sysdep.h: Likewise.
3607         * argp/Versions: Remove _argp_unlock_xxx.
3609         [BZ #13559]
3610         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
3611         * abilist/libBrokenLocale.abilist: Likewise.
3612         * abilist/libanl.abilist: Likewise.
3613         * abilist/libc.abilist: Likewise.
3614         * abilist/libcrypt.abilist: Likewise.
3615         * abilist/libdl.abilist: Likewise.
3616         * abilist/libm.abilist: Likewise.
3617         * abilist/libnsl.abilist: Likewise.
3618         * abilist/libpthread.abilist: Likewise.
3619         * abilist/libresolv.abilist: Likewise.
3620         * abilist/librt.abilist: Likewise.
3621         * abilist/libthread_db.abilist: Likewise.
3622         * abilist/libutil.abilist: Likewise.
3623         * abilist/libnss_db.abilist: New file.
3625         * scripts/abilist.awk: Add support for indirect functions.
3627         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3629         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3631         * shlib-versions: Remove entries for ports architectures.
3633         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
3634         files in ports.
3635         * elf/stackguard-macros.h: Remove support for IA-64.
3636         * elf/tst-auditmod1.c: Likewise.
3637         * sysdeps/generic/ldsodefs.h: Likewise.
3639         * sysdeps/unix/sysv/linux/configure.in: Ports should define
3640         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3641         configure files.
3643         [BZ #13552]
3644         * configure.in: Remove --enable-omitfp support.
3645         * FAQ.in: Adjust.
3646         * config.make.in: Likewise.
3647         * Makeconfig: Likewise.
3648         * manual/install.texi: Likewise.
3650         In case anyone cares, the IA-64 architecture could move to ports.
3651         * sysdeps/ia64/*: Removed.
3652         * sysdeps/unix/sysv/linux/ia64/*: Removed.
3653         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3655         [BZ #13555]
3656         * configure.in: Remove entries for unsupported architectures.
3658         [BZ #13533]
3659         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3660         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
3661         routines.
3662         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3663         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3664         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
3665         fall back to using wcrtomb.
3666         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3667         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
3668         renaming.
3669         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3670         * wcsmbs/tst-c16c32-1.c: New file.
3672         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3673         local variable.
3675         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3677         * elf/tst-unique3.cc: Add explicit declaration of gets.
3678         * elf/tst-unique3lib.cc: Likewise.
3679         * elf/tst-unique3lib2.cc: Likewise.
3680         * elf/tst-unique4.cc: Likewise.
3682         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3684 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
3686         [BZ #13566]
3687         * assert/assert.h (static_assert): Don't define for C++.
3688         * libio/stdio.h (gets): Do declare for C++ <= C++11.
3689         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3691 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
3693         * iconv/loop.c (single loop): Fix assertion in storing of
3694         remaining bytes.
3696         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3698 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
3700         * posix/getconf.c: Update copyright year.
3701         * nss/getent.c: Likewise.
3702         * nss/makedb.c: Likewise.
3703         * iconv/iconvconfig.c: Likewise.
3704         * iconv/iconv_prog.c: Likewise.
3705         * elf/ldconfig.c: Likewise.
3706         * elf/pldd.c: Likewise.
3707         * elf/sotruss.ksh: Likewise.
3708         * catgets/gencat.c: Likewise.
3709         * csu/version.c: Likewise.
3710         * elf/ldd.bash.in: Likewise.
3711         * elf/sprof.c (print_version): Likewise.
3712         * locale/programs/locale.c: Likewise.
3713         * locale/programs/localedef.c: Likewise.
3714         * login/programs/pt_chown.c: Likewise.
3715         * nscd/nscd.c (print_version): Likewise.
3716         * debug/xtrace.sh: Likewise.
3717         * malloc/memusage.sh: Likewise.
3718         * malloc/mtrace.pl: Likewise.
3719         * debug/catchsegv.sh: Likewise.
3721 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
3723         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3724         pure attribute.
3726 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
3728         [BZ #13533]
3729         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3730         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3731         transformations.
3732         * iconv/gconv_int.h: Likewise.
3733         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3734         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3735         from libc for GLIBC_2.16.
3736         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3737         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3738         * wcsmbs/uchar.h: Really define mbstate_t.
3739         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3740         * wcsmbs/c16rtomb.c: New file.
3741         * wcsmbs/mbrtoc16.c: New file.
3742         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3743         for C/POSIX locale.
3744         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3745         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3747         * wcsmbs/wchar.h: Add missing __restrict.
3749 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3751         [BZ #13532]
3752         * time/Makefile (routines): Add timespec_get.
3753         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3754         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
3755         timespec for ISO C11.
3756         * time/timespec_get.c: New file.
3757         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3758         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3760         [BZ #13531]
3761         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3762         * stdlib/stdlib.h: Declare aligned_alloc.
3763         * Versions.def: Add GLIBC_2.16 for libc.
3764         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3766         [BZ 13527]
3767         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3768         ISO C11.
3770         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3771         code.
3773         [BZ #13528]
3774         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3776         [BZ #13529]
3777         * assert/assert.h (static_assert): Define.
3779         * version.h: Update for 2.16 development version.
3781         [BZ #13526]
3782         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3783         _ISOC11_SOURCE.
3785         * version.h (RELEASE): Bump for 2.15 release.
3786         * include/features.h (__GLIBC_MINOR__): Bump to 15.
3788         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3789         Patch by Marek Polacek <mpolacek@redhat.com>.
3791         * bits/byteswap.h: Protect long long constants with __extension__.
3792         * sysdeps/i386/bits/byteswap.h: Likewise.
3793         * sysdeps/ia64/bits/byteswap.h: Likewise.
3794         * sysdeps/s390/bits/byteswap.h: Likewise.
3795         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3797 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3799         [BZ #13540]
3800         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3801         destination buffer.
3802         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3804 2011-12-23  Marek Polacek  <polacek@redhat.com>
3806         * elf/dl-addr.c (determine_info): Add inline keyword.
3807         * elf/tst-auditmod4b.c (check_avx): Likewise.
3808         * elf/tst-auditmod6b.c (check_avx): Likewise.
3809         * elf/tst-auditmod6c.c (check_avx): Likewise.
3810         * elf/tst-auditmod7b.c (check_avx): Likewise.
3812 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3814         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3815         !__SSE_MATH__.
3817 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3819         [BZ #13540]
3820         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3821         processing for last bytes.
3823 2011-08-06  Bruno Haible  <bruno@clisp.org>
3825         [BZ #13061]
3826         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3827         U+0385, not to U+1FEE.
3829         [BZ #13062]
3830         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3831         entry for U+00A5 U+0301.
3833 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3835         [BZ #13166]
3836         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3837         buffer for the output is too small.
3839         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3840         optimization.
3842         [BZ #13185]
3843         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3844         SSE flags if possible.
3846 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3848         [BZ #13540]
3849         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3850         processing for last bytes.
3852 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
3854         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3855         (syscall-list-default-options, syscall-list-default-condition)
3856         (syscall-list-includes): Define.
3857         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3858         list of ABIs and options and #if conditions for each ABI.  Do not
3859         handle common syscalls between ABIs specially.
3860         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3861         Remove.
3862         (syscall-list-variants, syscall-list-32bit-options)
3863         (syscall-list-32bit-condition, syscall-list-64bit-options)
3864         (syscall-list-64bit-condition): Define.
3865         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3866         (syscall-list-variants, syscall-list-32bit-options)
3867         (syscall-list-32bit-condition, syscall-list-64bit-options)
3868         (syscall-list-64bit-condition): Define.
3869         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3870         Remove.
3871         (syscall-list-variants, syscall-list-32bit-options)
3872         (syscall-list-32bit-condition, syscall-list-64bit-options)
3873         (syscall-list-64bit-condition): Define.
3874         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3875         Remove.
3876         (syscall-list-variants, syscall-list-32bit-options)
3877         (syscall-list-32bit-condition, syscall-list-64bit-options)
3878         (syscall-list-64bit-condition): Define.
3880 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3882         * locale/iso-639.def: Add brx entry.
3884         [BZ #13328]
3885         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3886         Proposed by Mariusz_Cukr <marcukr@op.pl>.
3888         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3889         __feraiseexcept_renamed.
3891 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3893         [BZ #13538]
3894         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3895         EPOLLET with unsigned values.
3896         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3897         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3899         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3900         to large cancellation.
3901         * math/s_cacoshf.c: Likewise.
3902         * math/s_cacoshl.c: Likewise.
3904 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
3906         [BZ #13305]
3907         [BZ #12786]
3908         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3909         * math/s_cacoshf.c: Likewise.
3910         * math/s_cacoshl.c: Likewise.
3912 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3914         [BZ #13439]
3915         * iconv/gconv.h: Define __GCONV_SWAP.
3916         * iconvdata/unicode.c: The swap bit must be stored in __flags.
3917         * iconvdata/utf-16.c: Likewise.
3918         * iconvdata/utf-32.c: Likewise.
3920 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3922         [BZ #13524]
3923         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3924         numerator after shifting it by one limb.
3926 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
3928         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3929         under [__USE_EXTERN_INLINES].
3931 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3933         [BZ #13446]
3934         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3936 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3938         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3939         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3940         optimized code.
3941         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3942         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3943         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3944         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3945         for strncasecmp/strncasecmp_l compilation.
3946         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3947         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3949 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
3951         [BZ #13484]
3952         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3953         of __asm__.
3955 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3957         [BZ #13506]
3958         * time/tzfile.c (__tzfile_read): Check values from file header.
3960 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
3962         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3963         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3964         * powerpc/powerpc32/dl-start.S: Likewise.
3965         * powerpc/powerpc32/elf/start.S: Likewise.
3966         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3967         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3968         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3969         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3970         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3971         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3972         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3973         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3974         * powerpc/powerpc32/fpu/s_round.S: Likewise.
3975         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3976         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3977         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3978         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3979         * powerpc/powerpc32/memset.S: Likewise.
3980         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3981         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3982         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3983         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3984         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3985         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3986         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3987         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3988         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3989         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3990         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3991         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3992         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3994 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3996         * math/libm-test.inc: Added more nearbyint tests.
3997         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3998         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3999         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4002 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
4004         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4005         FD_CLOEXEC.
4007 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4009         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4010         Add wcscpy-ssse3 wcscpy-c.
4011         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4012         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4013         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4014         * sysdeps/x86_64/wcschr.S: New file.
4015         * sysdeps/x86_64/wcsrchr.S: New file.
4016         * string/test-strcmp.c: Remove checking of wcscmp function for
4017         wrong alignments.
4018         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4019         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4020         wcsrchr-sse2 wcsrchr-c.
4021         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4022         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4023         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4024         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4025         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4026         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4027         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4028         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4029         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4030         * wcsmbc/wcschr.c (WCSCHR): New macro.
4032 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4034         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4035         * wcsmbs/test-wcsrchr.c: New file.
4036         * string/test-strrchr.c: Add wcsrchr support.
4037         (WIDE): New macro.
4038         * wcsmbs/test-wcscpy.c: New file.
4039         * string/test-strcpy.c: Add wcscpy support.
4040         (WIDE): New macro.
4042 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
4044         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4045         the inner loop.
4047 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
4049         [BZ #13472]
4050         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4052 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
4054         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4055         Minor optimizations.
4057         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4058         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4059         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4061 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
4063         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4064         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4065         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4066         for gcc to avoid warnings.
4067         * inet/Makefile (tests): Add tst-checks.
4068         * inet/tst-checks.c: New file.
4070         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4071         warning.
4073         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4074         __wmemcmp_sse2.
4076         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4077         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4079         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4081 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
4083         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4084         problem.
4086         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4088 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
4090         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4091         conditional on GCC version.
4092         (__arch_compare_and_exchange_val_8_acq)
4093         (__arch_compare_and_exchange_val_16_acq)
4094         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4095         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4096         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4098 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
4100         * sysdeps/sh/backtrace.c: New file.
4102 2011-12-02  Andreas Schwab  <schwab@redhat.com>
4104         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
4105         parenthesis.
4107 2011-12-01  Andreas Schwab  <schwab@redhat.com>
4109         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4110         falling back to utime.
4112 2011-11-30  Andreas Schwab  <schwab@redhat.com>
4114         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4115         expectations for float.
4117 2011-11-29  Andreas Schwab  <schwab@redhat.com>
4119         * locale/weight.h (findidx): Add parameter len.
4120         * locale/weightwc.h (findidx): Likewise.
4121         * posix/fnmatch_loop.c (FCT): Adjust caller.
4122         * posix/regcomp.c (build_equiv_class): Likewise.
4123         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4124         * posix/regexec.c (check_node_accept_bytes): Likewise.
4125         * string/strcoll_l.c (STRCOLL): Likewise.
4126         * string/strxfrm_l.c (STRXFRM): Likewise.
4128 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
4130         * Makefile.in: Remove CVSOPT handling.
4131         * configure.in: Remove use of AC_REVISION.
4132         * iconvdata/Makefile (distribute): No need to filter out CVS.
4133         * scripts/list-sources.sh: Remove CVS, subversion and monotone
4134         handling.
4136 2011-11-16  Andreas Schwab  <schwab@redhat.com>
4138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4139         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4140         [USE_AS_STRNCASECMP_L]: Likewise.
4141         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4142         NO_TLS_DIRECT_SEG_REFS.
4143         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4144         Fix argument offsets for non-PIC.
4145         [USE_AS_STRNCASECMP_L]: Likewise.
4146         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4147         NO_TLS_DIRECT_SEG_REFS.
4149 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
4151         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4152         O_CLOEXEC.
4153         * locale/loadlocale.c (_nl_load_locale): Likewise.
4155 2011-11-15  Andreas Schwab  <schwab@redhat.com>
4157         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4158         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4159         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4160         (SYSCALL_GETTIME): Set errno on error.
4162         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4163         count references to noai6ai_cached.
4165 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
4167         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4169         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4170         FD_CLOEXEC for /proc/self/maps.
4172         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4173         FD_CLOEXEC for /proc/meminfo.
4175         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4176         gai.conf.
4178         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
4179         FD_CLOEXEC for given file.
4181         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4183         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4184         FD_CLOEXEC for /etc/hosts.
4185         (_gethtent): Likewise.
4187         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4189         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4190         cancellation and set FD_CLOEXEC for /etc/netgroup.
4192         * nss/nss_files/files-key.c (search): Don't allow cancellation when
4193         reading /etc/publickey.
4195         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4196         allow cancellation when reading /etc/group.
4198         * nss/nss_files/files-alias.c (internal_setent): Don't allow
4199         cancellation.
4200         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
4202         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4203         when using data file.
4205         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4207         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4208         (write_nis_obj): Use "c" and "e" in fopen.
4210         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4212         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4214         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4216         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4218         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4219         locale.alias.
4221         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4223         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4225         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4227         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4228         file parsing and set FD_CLOEXEC.
4230 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4232         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4234 2011-11-14  Andreas Schwab  <schwab@redhat.com>
4236         * malloc/arena.c (arena_get2): Don't call reused_arena when
4237         _int_new_arena failed.
4239 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4241         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4242         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4243         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4244         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4245         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4246         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4247         to compile strcasecmp and strncasecmp.
4248         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4249         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4251         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4253 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
4255         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4256         locale-defines.sym to gen-as-const-headers.
4257         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4258         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4260         to compile strcasecmp and strncasecmp.
4261         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4262         strcasecmp_l and strncasecmp_l.
4263         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4264         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4265         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4266         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4267         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4268         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4269         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4270         * sysdeps/i386/i686/multiarch/strncase.S: New file.
4271         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4272         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4273         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4275 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
4277         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4278         result of SYSDEP_GETTIME_CPU to retval.
4279         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4280         parameter list to macro.  Remove trailing semicolon.  Adjust users.
4282         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4283         variable.
4285         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4286         mantissa words.
4287         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4289         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4290         from unused variable.
4292         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4293         DWARF definitions.
4294         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4295         for assembling.
4297         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4298         over namespaces.
4300         * sunrpc/rpc_prot.c (rejected): Fix case value.
4302         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4303         unsigned long long int to avoid warnings in shift.
4305         * posix/regex_internal.c (re_string_reconstruct): Actually use result
4306         of use of trans.
4307         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4308         variable tmp.
4310         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4311         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4312         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4314         * nis/nis_table.c (nis_list): Use variable of correct type for
4315         result of __follow_path call.
4317 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4319         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4320         of math functions ceil, trunc, floor, round, and sqrt, when
4321         avaliable on the platform.
4322         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4323         name clash.
4324         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4325         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4326         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4328 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
4330         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4331         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4333 2011-11-11  Roland McGrath  <roland@hack.frob.com>
4335         * include/unistd.h: Fix __readlink return type.
4336         Reported by Chris Metcalf <cmetcalf@tilera.com>.
4338 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
4340         * stdlib/ucontext.h: Undo last change for makecontext.
4342 2011-11-11  Andreas Schwab  <schwab@redhat.com>
4344         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4346         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4347         * setjmp/setjmp.h: Mark functions as non-leaf.
4348         * setjmp/bits/setjmp2.h: Likewise.
4349         * stdlib/ucontext.h: Likewise.
4351 2011-11-10  Andreas Schwab  <schwab@redhat.com>
4353         * malloc/arena.c (_int_new_arena): Don't increment narenas.
4354         (reused_arena): Don't check arena limit.
4355         (arena_get2): Atomically check arena limit.
4357 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
4359         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4360         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4362         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4363         instructions.
4365 2011-11-07  Andreas Schwab  <schwab@redhat.com>
4367         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4368         handler when locking.
4370         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4371         Fix size of allocated buffer.
4373 2011-11-04  Andreas Schwab  <schwab@redhat.com>
4375         [BZ #10103]
4376         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4377         declarations for long double functions.
4378         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4380         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4382 2011-11-03  Andreas Schwab  <schwab@redhat.com>
4384         * nscd/nscd.c (main): Don't start AVC thread until credentials are
4385         installed.
4387         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4388         is disabled.
4390 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4392         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4394 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
4396         * include/alloca.h (stackinfo_alloca_round): Define.
4397         (extend_alloca): Use it.
4398         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4399         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4400         here.
4402         * scripts/check-local-headers.sh: Ignore libaudit.h.
4404         * nscd/Makefile (extra-objs): Make recursively expanded.
4406 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
4408         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4409         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4411         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4412         * posix/tst-rfc3484-2.c: Likewise.
4413         * posix/tst-rfc3484-3.c: Likewise.
4415         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4416         process_vm_writev.
4417         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4418         process_vm_writev.
4419         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4420         process_vm_writev from libc using GLIBC_2.15 version.
4422         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4424 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
4426         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4427         stack usage.
4429 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
4431         [BZ #13367]
4432         * nss/getent.c (initgroups_keys): Show error message in case no group
4433         names are given.
4435         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4436         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4437         __bump_nl_timestamp.
4438         * nscd/connections (nscd_init): When host database is served open
4439         netlink socket and request notification about configuration changes.
4440         (main_loop_poll): Track netlink file descriptor and bump timestamp
4441         in case data becomes available.
4442         (main_loop_epoll): Likewise.
4443         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4444         (database_pers_head): Add extra_data fileds.
4445         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4446         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4447         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4448         Adjust caller.
4449         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4450         in6ai data, call __free_in6ai.
4451         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4452         Add -DHAVE_NETLINK.
4453         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
4454         interface information.  Reuse previous data if netlink timestamp
4455         is not changed.
4456         (__bump_nl_timestamp): New function.
4457         (__free_in6ai): New function.
4459 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
4461         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4462         close_not_cancel_no_status here.
4463         (__check_pf): Reorganize code a bit to not call close twice if OOM.
4465 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4467         [BZ #13276]
4468         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4469         return value.
4471         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4472         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4473         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4475 2011-07-03  Andreas Jaeger  <aj@suse.de>
4477         [BZ #10709]
4478         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4479         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4480         * math/libm-test.inc (sin_test): Add test case.
4482 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4484         [BZ #13337]
4485         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4486         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4488         * elf/chroot_canon.c (chroot_canon): Cleanups.
4490         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4492         [BZ #13335]
4493         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4494         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4496         * string/test-strchr.c: Make usable for strchrnul testing.
4497         * string/test-strchrnul.c: New file.
4498         * string/Makefile (strop-tests): Add strchrnul.
4500         * po/it.po: Update from translation team.
4501         * po/es.po: Likewise.
4503 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
4505         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4506         the three constants needed as parameters.  Drop the others.
4507         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4508         __m128i_strloadu_tolower.
4509         Create and initialize variable zero and use it in all the places
4510         where _mm_setzero_si128 was used.
4512         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4513         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4514         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4515         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4516         anymore.
4517         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4518         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4519         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4520         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4521         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4522         __mpranred, __mptan.
4523         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4524         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4525         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4526         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4527         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4528         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4529         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4530         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4531         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4533 2011-10-28  Andreas Schwab  <schwab@redhat.com>
4535         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4536         redefine if SHARED.
4537         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4539         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4540         wide char related routines to wcsmbs subdir.
4542 2011-10-27  Andreas Schwab  <schwab@redhat.com>
4544         [BZ #13344]
4545         * misc/sys/cdefs.h (__THROWNL): Define.
4546         * posix/unistd.h: Use __THREADNL instead of __THREAD
4547         for memory synchronization functions.
4549 2011-10-26  Roland McGrath  <roland@hack.frob.com>
4551         [BZ #13349]
4552         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4553         doesn't exist.
4554         * manual/stdio.texi (Obstack Streams): Node removed.
4556 2011-10-26  Andreas Schwab  <schwab@redhat.com>
4558         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4559         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4560         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4562         * math/math_private.h (math_force_eval): Allow non-addressable
4563         arguments.
4564         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4566 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4568         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4569         file is not needed.
4571         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4572         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4573         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4574         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4575         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4576         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4577         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4578         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4579         Add AVX variants.
4580         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4581         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4582         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4583         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4584         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4585         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4586         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4587         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4588         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4589         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4590         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4591         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4592         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4593         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4594         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4595         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4596         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4597         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4598         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4600         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4601         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
4603         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4604         place.  Use VEX encoding when compiling for AVX.
4606 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4608         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4609         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4611         * string/test-strchr.c (do_test): Don't generate NUL bytes.
4613 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4615         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4616         useless if() expression.
4617         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4618         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4619         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4620         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4621         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4622         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4623         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4624         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4626         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4627         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4628         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4629         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4630         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4631         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4632         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4633         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4634         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4635         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4637         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4639 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4641         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4642         condition.
4643         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4645 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4647         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4648         .text section.  Avoid duplicate constants.
4649         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4651         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4652         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4653         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4654         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4655         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4656         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4657         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4658         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4659         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4660         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4661         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4662         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4663         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4664         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4665         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4666         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4667         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4668         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4669         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4670         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4671         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4672         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4673         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4674         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4675         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4676         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4677         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4678         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4679         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4680         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4681         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4682         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4683         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4684         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4685         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4686         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4687         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4688         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4689         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4690         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4691         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4692         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4693         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4695 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
4697         * sysdeps/x86_64/dla.h: Move to ...
4698         * sysdeps/x86_64/fpu/dla.h: ...here.
4699         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4700         situations.  Use __builtin_fma only for gcc 4.6 and up.
4702         * config.make.in: Add have-mfma4 entry.
4703         * configure.in: Substitute libc_cv_cc_fma4.
4704         * math/Makefile (dbl-only-routines): Add sincostab.
4705         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4706         Use __sincostab not sincos.
4707         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4708         name is a macro.
4709         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4712         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
4713         using __copysign.
4714         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
4715         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
4716         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4717         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4718         and __inv.
4719         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4720         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4721         __copysign.
4722         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
4723         define aliases when function name is a macro.
4724         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4725         sysdeps/ieee754/dbl-64/sincos.tbl.
4726         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4727         fma4-enabled routines.
4728         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4729         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4730         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4731         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4732         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4733         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4734         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4735         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4736         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4737         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4738         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4739         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4740         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4741         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4742         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4743         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4744         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4745         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4746         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4747         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4748         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4749         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4750         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4751         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4752         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4753         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4754         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4755         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4756         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4757         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4759         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4760         rename.
4761         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4762         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4763         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4767         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4768         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4770 2011-10-24  Andreas Schwab  <schwab@redhat.com>
4772         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4774 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4776         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4778         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4779         prediction.
4780         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4782         * string/strnlen.c: Don't define STRNLEN, reverse logic.
4783         Remove unused variable magic_bits.
4784         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4786         * string/strnlen.c: Define and use STRNLEN macro.
4787         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4788         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4789         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4790         * wcsmbs/wcslen.c: Define and use WCSLEN.
4791         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4792         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4793         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4794         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4795         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4796         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4797         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4799 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4802         strnlen-sse2-no-bsf.
4803         Rename strlen-no-bsf to strlen-sse2-no-bsf.
4804         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4805         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4806         Add strnlen support.
4807         (USE_AS_STRNLEN): New macro.
4808         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4809         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4810         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4811         * sysdeps/x86_64/wcslen.S: New file.
4813 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
4815         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4816         XMM-moves are used for copying on small sizes.
4818 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4820         * wcsmbs/Makefile (strop-tests): Add wcschr.
4821         * wcsmbs/test-wcschr.c: New file.
4822         * string/test-strchr.c: Update.
4823         Add wcschr support.
4824         (WIDE): New macro.
4826 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4828         * wcsmbs/Makefile (strop-tests): Add wcslen.
4829         * wcsmbs/test-wcslen.c: New file.
4830         * string/test-strlen.c: Update.
4831         Add wcslen support.
4832         (WIDE): New macro.
4834 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4836         * po/it.po: Update from translation team.
4838 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4840         * sysdeps/x86_64/wcscmp.S: Update.
4841         Fix wrong comparison semantics.
4842         wcscmp shall use signed comparison not unsigned.
4843         Don't use substraction to avoid overflow bug.
4844         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4845         * wcsmbc/wcscmp.c: Likewise.
4846         * string/test-strcmp.c: Likewise.
4847         Add new tests to check cases with negative values.
4849 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4851         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4852         * sysdeps/x86_64/dla.h: ...here.  New file.
4853         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4858         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4859         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4860         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4861         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4863 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
4865         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4866         __ynl_finite aliases.
4868 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4872         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4873         define DLA_FMA.
4874         [DLA_FMA] (EMULV): Use DLA_FMA.
4875         [DLA_FMA] (MUL12): Use EMULV.
4876         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4877         that are not needed.
4878         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4879         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4880         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4881         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4883         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4884         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4886 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
4888         * math/s_nan.c: Undef __nan.
4889         * math/s_nanf.c: Undef __nanf.
4890         * math/s_nanl.c: Undef __nanl.
4891         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4892         "math_private.h".
4894 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4896         * math/s_catan.c: Add branch predictions.
4897         * math/s_catanf.c: Likewise.
4898         * math/s_catanh.c: Likewise.
4899         * math/s_catanhf.c: Likewise.
4900         * math/s_catanhl.c: Likewise.
4901         * math/s_catanl.c: Likewise.
4902         * math/s_cexp.c: Likewise.
4903         * math/s_cexpf.c: Likewise.
4904         * math/s_cexpl.c: Likewise.
4905         * math/s_clog.c: Likewise.
4906         * math/s_clog10.c: Likewise.
4907         * math/s_clog10f.c: Likewise.
4908         * math/s_clog10l.c: Likewise.
4909         * math/s_clogf.c: Likewise.
4910         * math/s_clogl.c: Likewise.
4911         * math/s_csqrt.c: Likewise.
4912         * math/s_csqrtf.c: Likewise.
4913         * math/s_csqrtl.c: Likewise.
4914         * math/s_ctanf.c: Likewise.
4915         * math/s_ctanh.c: Likewise.
4916         * math/s_ctanhf.c: Likewise.
4917         * math/s_ctanhl.c: Likewise.
4918         * math/s_ctanl.c: Likewise.
4920         * math/math_private.h: Define __nan, __nanf, __nanl.
4921         * math/s_cacosh.c: Include <math_private.h>.
4922         * math/s_cacoshl.c: Likewise.
4923         * math/s_casinh.c: Likewise.
4924         * math/s_casinhf.c: Likewise.
4925         * math/s_casinhl.c: Likewise.
4926         * math/s_ccos.c: Rely entire on ccosh.
4927         * math/s_ccosf.c: Rely entire on ccoshf.
4928         * math/s_ccosl.c: Rely entirely on ccoshl.
4929         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
4930         Remove tests for FE_INVALID.
4931         * math/s_ccoshf.c: Likewise.
4932         * math/s_ccoshl.c: Likewise.
4933         * math/s_csin.c: Likewise.
4934         * math/s_csinf.c: Likewise.
4935         * math/s_csinh.c Likewise.
4936         * math/s_csinhf.c: Likewise.
4937         * math/s_csinhl.c: Likewise.
4938         * math/s_csinl.c: Likewise.
4939         * math/s_ctan.c: Likewise.
4940         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4941         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4942         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4944 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
4946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4947         compilation problems.
4949         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4950         __builtin_expect.
4952 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
4954         * sysdeps/i386/configure.in: Test for -mfma4 option.
4955         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4956         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4957         COMMON_CPUID_INDEX_80000001.
4958         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4959         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4960         use it if FMA3 is not supported.
4961         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4963         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4964         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4966 2011-10-20  Andreas Schwab  <schwab@redhat.com>
4968         [BZ #12892]
4969         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4970         it would create a cycle with a link time dependency.
4972 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
4974         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4975         instruction.
4976         * string/Makefile (strop-tests): Add rawmemchr.
4977         * string/test-rawmemchr.c: New file.
4979         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4980         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
4981         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
4982         when compiling str{,n}casecmp and when AVX is available.  Hook up
4983         new optimized code in initializers.
4985 2011-10-19  Andreas Schwab  <schwab@redhat.com>
4987         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4988         __feraiseexcept instead of feraiseexcept.
4990 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
4992         * math/math_private.h: Define defaults for libc_fetestexcept and
4993         libc_feupdateenv.
4994         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4995         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4996         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4997         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4998         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4999         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5000         libc_fetestexcept and libc_feupdateenv.
5002         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5003         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5004         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5005         * sysdeps/x86_64/fpu/math_private.h: Define special version of
5006         libc_feholdexcept_setround.
5008         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5009         Add s_nearbyint-c and s_nearbyintf-c.
5010         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5011         nearbyintf inlines.
5012         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5013         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5014         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5015         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5017         * math/math_private.h: Define defaults for libc_fegetround,
5018         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5019         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5020         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5021         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5022         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5023         standard functions.
5024         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5025         Remove comments and hacks for old compiler versions.
5026         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5027         libc_fegetround, libc_fesetround, libc_feholdexcept, and
5028         libc_feholdexceptl.
5030 2011-10-18  Andreas Schwab  <schwab@redhat.com>
5032         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5033         (__feraiseexcept_renamed): Add __NTH.
5034         (feraiseexcept): Add __NTH.  Rename local variables to fix
5035         namespace violations.
5037 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
5039         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5041         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5043         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5044         recently added interfaces.
5045         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5047         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5048         about macro parameter expansion.
5050         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5051         __NO_MATH_INLINES is defined.  Cleanups.
5053         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5054         and __floorf is target has SSE4.1.
5055         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5056         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5057         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5058         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5060         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5061         name.
5062         (floorf): Likewise.
5064         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5066 2011-10-17  Andreas Schwab  <schwab@redhat.com>
5068         * misc/sys/cdefs.h: Fix last change.
5070         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5071         database lookup.
5073 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
5075         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5077         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5078         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5079         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5080         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5081         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5082         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5083         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5084         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5085         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5086         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5087         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5088         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5089         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5090         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5091         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5092         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5093         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5094         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5095         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5096         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5097         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5098         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5100         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5101         ceil, ceilf, floor, floorf.
5103         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5104         Perform IRELATIVE relocations last.
5106         * elf/do-rel.h: Add another parameter nrelative, replacing the
5107         local variable with the same name.  Change name of the function
5108         to end in Rel or Rela (uppercase).
5109         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5110         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
5111         elf_dynamic_do_##reloc function.
5113 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
5115         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5116         is sufficient, at least on modern CPUs.
5118         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5120         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5121         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5123         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5124         __expl_finite.
5125         * math/bits/math-finite.h: Add entries for exp.
5126         * math/e_expl.c: Add __*_finite alias.
5127         * sysdeps/i386/fpu/e_exp.S: Likewise.
5128         * sysdeps/i386/fpu/e_expf.S: Likewise.
5129         * sysdeps/i386/fpu/e_expl.c: Likewise.
5130         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5131         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5132         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5134         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5135         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5136         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5138         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5139         is sufficient, at least on modern CPUs.
5141         * ctype/ctype-info.c (__ctype_init): Define.
5142         * include/ctype.h (__ctype_init): Declare.
5143         (__ctype_b_loc): The variable is always initialized.
5144         (__ctype_toupper_loc): Likewise.
5145         (__ctype_tolower_loc): Likewise.
5146         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5147         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5149 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
5151         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5153         * configure.in: Also look in $cxxmachine/include for C++ system
5154         headers.
5156 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5158         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5159         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5160         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5161         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
5162         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5163         (USE_AS_WMEMCMP): New macro.
5164         Fixing indents.
5165         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5166         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5167         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5168         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5170         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5171         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5172         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5173         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5174         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5175         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5176         (USE_AS_WMEMCMP): New macro.
5177         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5178         * sysdeps/string/test-memcmp.c: Update.
5179         Fix simple_wmemcmp.
5180         Add new tests.
5181         * wcsmbs/wmemcmp.c: Update.
5182         (WMEMCMP): New macro.
5183         Fix overflow bug.
5185 2011-10-12  Andreas Jaeger  <aj@suse.de>
5187         [BZ #13268]
5188         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5190 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
5192         * libio/iofwide.c (do_length): Avoid warning.
5194         * ctype/ctype.h (__isctype_f): Add missing __THROW.
5196 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
5198         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5200         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5201         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5202         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5203         * sysdeps/i386/i686/fpu/e_log.S: New file.
5204         * sysdeps/i386/i686/fpu/e_logf.S: New file.
5205         * sysdeps/i386/i686/fpu/e_logl.S: New file.
5207         * ctype/ctype.h: Add support for inlined isXXX functions when
5208         compiling C++ code.
5210 2011-10-14  Andreas Schwab  <schwab@redhat.com>
5212         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5214         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5216 2011-10-13  Roland McGrath  <roland@hack.frob.com>
5218         [BZ #13291]
5219         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5221 2011-10-13  Andreas Schwab  <schwab@redhat.com>
5223         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5224         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5225         feraiseexcept.
5227         * sysdeps/x86_64/memrchr.S: Check for zero size.
5229         * string/stratcliff.c: Add memrchr tests.
5231 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5234         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5235         rawmemchr-sse2 rawmemchr-sse2-bsf.
5236         * sysdeps/i386/i686/multiarch/memchr.S: New file.
5237         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5238         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5239         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5240         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5241         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5242         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5243         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5244         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5245         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5246         * string/memrchr.c (MEMRCHR): New macro.
5248 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
5250         Add integration with gcc's -ffinite-math-only and optimize wrapper
5251         functions in libm.
5252         * Versions.def: Define GLIBC_2.15 version for libm.
5253         * math/Makefile (headers): Add bits/math-finite.h.
5254         * math/bits/math-finite.h: New file.
5255         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5256         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5257         * math/e_acoshl.c: Add __*_finite alias.
5258         * math/e_acosl.c: Likewise.
5259         * math/e_asinl.c: Likewise.
5260         * math/e_atan2l.c: Likewise.
5261         * math/e_atanhl.c: Likewise.
5262         * math/e_coshl.c: Likewise.
5263         * math/e_exp10.c: Likewise.
5264         * math/e_exp10f.c: Likewise.
5265         * math/e_exp10l.c: Likewise.
5266         * math/e_exp2l.c: Likewise.
5267         * math/e_fmodl.c: Likewise.
5268         * math/e_gammal_r.c: Likewise.
5269         * math/e_hypotl.c: Likewise.
5270         * math/e_j0l.c: Likewise.
5271         * math/e_j1l.c: Likewise.
5272         * math/e_jnl.c: Likewise.
5273         * math/e_lgammal_r.c: Likewise.
5274         * math/e_log10l.c: Likewise.
5275         * math/e_log2l.c: Likewise.
5276         * math/e_logl.c: Likewise.
5277         * math/e_powl.c: Likewise.
5278         * math/e_sinhl.c: Likewise.
5279         * math/e_sqrtl.c: Likewise.
5280         * math/e_scalb.c: Completely rewritten and optimized.
5281         * math/e_scalbf.c: Likewise.
5282         * math/e_scalbl.c: Likewise.
5283         * math/w_acos.c: Likewise.
5284         * math/w_acosf.c: Likewise.
5285         * math/w_acosl.c: Likewise.
5286         * math/w_acosh.c: Likewise.
5287         * math/w_acoshf.c: Likewise.
5288         * math/w_acoshl.c: Likewise.
5289         * math/w_asin.c: Likewise.
5290         * math/w_asinf.c: Likewise.
5291         * math/w_asinl.c: Likewise.
5292         * math/w_atan2.c: Likewise.
5293         * math/w_atan2f.c: Likewise.
5294         * math/w_atan2l.c: Likewise.
5295         * math/w_atanh.c: Likewise.
5296         * math/w_atanhf.c: Likewise.
5297         * math/w_atanhl.c: Likewise.
5298         * math/w_exp10.c: Likewise.
5299         * math/w_exp10f.c: Likewise.
5300         * math/w_exp10l.c: Likewise.
5301         * math/w_fmod.c: Likewise.
5302         * math/w_fmodf.c: Likewise.
5303         * math/w_fmodl.c: Likewise.
5304         * math/w_j0.c: Likewise.
5305         * math/w_j0f.c: Likewise.
5306         * math/w_j0l.c: Likewise.
5307         * math/w_j1.c: Likewise.
5308         * math/w_j1f.c: Likewise.
5309         * math/w_j1l.c: Likewise.
5310         * math/w_jn.c: Likewise.
5311         * math/w_jnf.c: Likewise.
5312         * math/w_log.c: Likewise.
5313         * math/w_logf.c: Likewise.
5314         * math/w_logl.c: Likewise.
5315         * math/w_log10.c: Likewise.
5316         * math/w_log10f.c: Likewise.
5317         * math/w_log10l.c: Likewise.
5318         * math/w_log2.c: Likewise.
5319         * math/w_log2f.c: Likewise.
5320         * math/w_log2l.c: Likewise.
5321         * math/w_pow.c: Likewise.
5322         * math/w_powf.c: Likewise.
5323         * math/w_powl.c: Likewise.
5324         * math/w_remainder.c: Likewise.
5325         * math/w_remainderf.c: Likewise.
5326         * math/w_remainderl.c: Likewise.
5327         * math/w_scalb.c: Likewise.
5328         * math/w_scalbf.c: Likewise.
5329         * math/w_scalbl.c: Likewise.
5330         * math/w_sqrt.c: Likewise.
5331         * math/w_sqrtf.c: Likewise.
5332         * math/w_sqrtl.c: Likewise.
5333         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5334         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
5335         used.
5336         * math/math_private.h: Declare __kernel_standard_f.
5337         * math/w_cosh.c: Remove cruft and optimize a bit.
5338         * math/w_coshf.c: Likewise.
5339         * math/w_coshl.c: Likewise.
5340         * math/w_exp2.c: Likewise.
5341         * math/w_exp2f.c: Likewise.
5342         * math/w_exp2l.c: Likewise.
5343         * math/w_hypot.c: Likewise.
5344         * math/w_hypotf.c: Likewise.
5345         * math/w_hypotl.c: Likewise.
5346         * math/w_lgamma.c: Likewise.
5347         * math/w_lgamma_r.c: Likewise.
5348         * math/w_lgammaf.c: Likewise.
5349         * math/w_lgammaf_r.c: Likewise.
5350         * math/w_lgammal.c: Likewise.
5351         * math/w_lgammal_r.c: Likewise.
5352         * math/w_sinh.c: Likewise.
5353         * math/w_sinhf.c: Likewise.
5354         * math/w_sinhl.c: Likewise.
5355         * math/w_tgamma.c: Likewise.
5356         * math/w_tgammaf.c: Likewise.
5357         * math/w_tgammal.c: Likewise.
5358         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5359         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5360         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5361         Minor optimizations.  Pretty printing.  Remove cruft.
5362         * sysdeps/i386/fpu/e_acosf.S: Likewise.
5363         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5364         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5365         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5366         * sysdeps/i386/fpu/e_acosl.c: Likewise.
5367         * sysdeps/i386/fpu/e_asin.S: Likewise.
5368         * sysdeps/i386/fpu/e_asinf.S: Likewise.
5369         * sysdeps/i386/fpu/e_atan2.S: Likewise.
5370         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5371         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5372         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5373         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5374         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5375         * sysdeps/i386/fpu/e_exp10.S: Likewise.
5376         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5377         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5378         * sysdeps/i386/fpu/e_exp2.S: Likewise.
5379         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5380         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5381         * sysdeps/i386/fpu/e_fmod.S: Likewise.
5382         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5383         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5384         * sysdeps/i386/fpu/e_hypot.S: Likewise.
5385         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5386         * sysdeps/i386/fpu/e_log.S: Likewise.
5387         * sysdeps/i386/fpu/e_log10.S: Likewise.
5388         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5389         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5390         * sysdeps/i386/fpu/e_log2.S: Likewise.
5391         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5392         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5393         * sysdeps/i386/fpu/e_logf.S: Likewise.
5394         * sysdeps/i386/fpu/e_logl.S: Likewise.
5395         * sysdeps/i386/fpu/e_pow.S: Likewise.
5396         * sysdeps/i386/fpu/e_powf.S: Likewise.
5397         * sysdeps/i386/fpu/e_powl.S: Likewise.
5398         * sysdeps/i386/fpu/e_remainder.S: Likewise.
5399         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5400         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5401         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5402         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5403         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5404         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5405         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5406         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5407         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5408         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5410         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5411         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5412         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5413         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5414         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5415         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5416         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5417         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5418         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5419         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5420         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5421         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5422         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5423         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5424         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5425         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5427         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5428         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5429         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5430         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5431         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5432         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5433         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5434         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5435         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5436         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5437         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5438         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5439         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5440         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5441         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5442         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5443         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5444         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5445         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5446         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5447         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5448         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5449         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5450         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5451         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5452         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5453         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5454         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5455         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5456         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5457         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5458         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5459         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5460         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5461         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5462         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5463         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5464         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5465         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5466         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5467         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5468         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5470         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5471         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5472         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5473         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5474         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5475         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5476         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5477         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5478         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5479         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5480         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5481         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5482         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5483         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5484         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5485         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5486         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5487         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5488         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5489         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5490         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5491         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5492         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5493         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5494         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5495         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5496         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5497         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5498         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5499         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5500         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5501         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5502         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5503         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5504         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5505         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5506         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5507         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5508         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5509         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5510         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5511         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5512         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5513         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5514         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5515         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5516         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5517         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
5518         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5519         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5520         (__isnanf): Likewise.
5521         (__isinf_ns): Likewise.
5522         (__isinf_nsf): Likewise.
5523         (__finite): Likewise.
5524         (__finitef): Likewise.
5525         (__ieee754_sqrt): Define as macro.
5526         (__ieee754_sqrtf): Define as macro.
5527         (__ieee754_sqrtl): Define as macro.
5528         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5529         inlined copy.
5530         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5531         __FINITE_MATH_ONLY__ consistent.
5532         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5534 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
5536         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5537         of rawmemchr.
5539         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5541 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
5543         * po/ja.po: Update from translation team.
5545 2011-10-08  Roland McGrath  <roland@hack.frob.com>
5547         * locale/programs/locarchive.c (prepare_address_space): New function.
5548         (create_archive, enlarge_archive, open_archive): Use it.
5550         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5551         inside [SHARED], where it is used.
5553         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5555         * nss/getent.c (netgroup_keys): Remove unused variable.
5556         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5558 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
5560         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5561         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5563         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5564         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5565         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5566         * math/Makefile (libm-calls): Add s_isinf_ns.
5567         * math/divtc3.c: Use __isinf_nsl instead of isinf.
5568         * math/multc3.c: Likewise.
5569         * math/s_casin.c: Likewise.
5570         * math/s_casinf.c: Likewise.
5571         * math/s_casinl.c: Likewise.
5572         * math/s_ccos.c: Likewise.
5573         * math/s_ccosf.c: Likewise.
5574         * math/s_ccosl.c: Likewise.
5575         * math/s_ctan.c: Likewise.
5576         * math/s_ctanf.c: Likewise.
5577         * math/s_ctanh.c: Likewise.
5578         * math/s_ctanhf.c: Likewise.
5579         * math/s_ctanhl.c: Likewise.
5580         * math/s_ctanl.c: Likewise.
5581         * math/w_fmod.c: Likewise.
5582         * math/w_fmodf.c: Likewise.
5583         * math/w_fmodl.c: Likewise.
5584         * math/w_remainder.c: Likewise.
5585         * math/w_remainderf.c: Likewise.
5586         * math/w_remainderl.c: Likewise.
5587         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5588         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5589         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5590         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5591         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5592         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5593         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5594         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5596         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5597         of the number.
5598         * stdio-common/printf_fphex.c: Likewise.
5599         * stdio-common/printf_size.c: Likewise.
5601         * math/e_exp10.c: Include math_private.h using <...> not "...".
5602         * math/e_exp10f.c: Likewise.
5603         * math/e_exp10l.c: Likewise.
5604         * math/e_exp2l.c: Likewise.
5605         * math/e_j0l.c: Likewise.
5606         * math/e_j1l.c: Likewise.
5607         * math/e_jnl.c: Likewise.
5608         * math/e_lgammal_r.c: Likewise.
5609         * math/e_rem_pio2l.c: Likewise.
5610         * math/e_scalb.c: Likewise.
5611         * math/e_scalbf.c: Likewise.
5612         * math/e_scalbl.c: Likewise.
5613         * math/k_cosl.c: Likewise.
5614         * math/k_sinl.c: Likewise.
5615         * math/k_tanl.c: Likewise.
5616         * math/s_cacoshf.c: Likewise.
5617         * math/s_catan.c: Likewise.
5618         * math/s_catanf.c: Likewise.
5619         * math/s_catanh.c: Likewise.
5620         * math/s_catanhf.c: Likewise.
5621         * math/s_catanhl.c: Likewise.
5622         * math/s_catanl.c: Likewise.
5623         * math/s_ccosh.c: Likewise.
5624         * math/s_ccoshf.c: Likewise.
5625         * math/s_ccoshl.c: Likewise.
5626         * math/s_cexp.c: Likewise.
5627         * math/s_cexpf.c: Likewise.
5628         * math/s_cexpl.c: Likewise.
5629         * math/s_clog.c: Likewise.
5630         * math/s_clog10.c: Likewise.
5631         * math/s_clog10f.c: Likewise.
5632         * math/s_clog10l.c: Likewise.
5633         * math/s_clogf.c: Likewise.
5634         * math/s_clogl.c: Likewise.
5635         * math/s_csin.c: Likewise.
5636         * math/s_csinf.c: Likewise.
5637         * math/s_csinh.c: Likewise.
5638         * math/s_csinhf.c: Likewise.
5639         * math/s_csinhl.c: Likewise.
5640         * math/s_csinl.c: Likewise.
5641         * math/s_csqrt.c: Likewise.
5642         * math/s_csqrtf.c: Likewise.
5643         * math/s_csqrtl.c: Likewise.
5644         * math/s_ctan.c: Likewise.
5645         * math/s_ctanf.c: Likewise.
5646         * math/s_ctanh.c: Likewise.
5647         * math/s_ctanhf.c: Likewise.
5648         * math/s_ctanhl.c: Likewise.
5649         * math/s_ctanl.c: Likewise.
5650         * math/s_ldexp.c: Likewise.
5651         * math/s_ldexpf.c: Likewise.
5652         * math/s_ldexpl.c: Likewise.
5653         * math/s_significand.c: Likewise.
5654         * math/s_significandf.c: Likewise.
5655         * math/s_significandl.c: Likewise.
5656         * math/w_acos.c: Likewise.
5657         * math/w_acosf.c: Likewise.
5658         * math/w_acosh.c: Likewise.
5659         * math/w_acoshf.c: Likewise.
5660         * math/w_acoshl.c: Likewise.
5661         * math/w_acosl.c: Likewise.
5662         * math/w_asin.c: Likewise.
5663         * math/w_asinf.c: Likewise.
5664         * math/w_asinl.c: Likewise.
5665         * math/w_atan2.c: Likewise.
5666         * math/w_atan2f.c: Likewise.
5667         * math/w_atan2l.c: Likewise.
5668         * math/w_atanh.c: Likewise.
5669         * math/w_atanhf.c: Likewise.
5670         * math/w_atanhl.c: Likewise.
5671         * math/w_cosh.c: Likewise.
5672         * math/w_coshf.c: Likewise.
5673         * math/w_coshl.c: Likewise.
5674         * math/w_dremf.c: Likewise.
5675         * math/w_exp10.c: Likewise.
5676         * math/w_exp10f.c: Likewise.
5677         * math/w_exp10l.c: Likewise.
5678         * math/w_exp2.c: Likewise.
5679         * math/w_exp2f.c: Likewise.
5680         * math/w_fmod.c: Likewise.
5681         * math/w_fmodf.c: Likewise.
5682         * math/w_fmodl.c: Likewise.
5683         * math/w_hypot.c: Likewise.
5684         * math/w_hypotf.c: Likewise.
5685         * math/w_hypotl.c: Likewise.
5686         * math/w_j0.c: Likewise.
5687         * math/w_j0f.c: Likewise.
5688         * math/w_j0l.c: Likewise.
5689         * math/w_j1.c: Likewise.
5690         * math/w_j1f.c: Likewise.
5691         * math/w_j1l.c: Likewise.
5692         * math/w_jn.c: Likewise.
5693         * math/w_jnf.c: Likewise.
5694         * math/w_jnl.c: Likewise.
5695         * math/w_lgamma.c: Likewise.
5696         * math/w_lgamma_r.c: Likewise.
5697         * math/w_lgammaf.c: Likewise.
5698         * math/w_lgammaf_r.c: Likewise.
5699         * math/w_lgammal.c: Likewise.
5700         * math/w_lgammal_r.c: Likewise.
5701         * math/w_log.c: Likewise.
5702         * math/w_log10.c: Likewise.
5703         * math/w_log10f.c: Likewise.
5704         * math/w_log10l.c: Likewise.
5705         * math/w_log2.c: Likewise.
5706         * math/w_log2f.c: Likewise.
5707         * math/w_log2l.c: Likewise.
5708         * math/w_logf.c: Likewise.
5709         * math/w_logl.c: Likewise.
5710         * math/w_pow.c: Likewise.
5711         * math/w_powf.c: Likewise.
5712         * math/w_powl.c: Likewise.
5713         * math/w_remainder.c: Likewise.
5714         * math/w_remainderf.c: Likewise.
5715         * math/w_remainderl.c: Likewise.
5716         * math/w_scalb.c: Likewise.
5717         * math/w_scalbf.c: Likewise.
5718         * math/w_scalbl.c: Likewise.
5719         * math/w_sinh.c: Likewise.
5720         * math/w_sinhf.c: Likewise.
5721         * math/w_sinhl.c: Likewise.
5722         * math/w_sqrt.c: Likewise.
5723         * math/w_sqrtf.c: Likewise.
5724         * math/w_sqrtl.c: Likewise.
5725         * math/w_tgamma.c: Likewise.
5726         * math/w_tgammaf.c: Likewise.
5727         * math/w_tgammal.c: Likewise.
5729         * po/ja.po: Update from translation team.
5731 2011-09-29  Andreas Jaeger  <aj@suse.de>
5733         [BZ #13179]
5734         * sunrpc/netname.c (netname2host): Fix logic.
5736         [BZ #6779]
5737         [BZ #6783]
5738         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5739         correctly.
5740         * math/w_remainder.c (__remainder): Likewise.
5741         * math/w_remainderf.c (__remainderf): Likewise.
5742         * math/libm-test.inc (remainder_test): Add test cases.
5744 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5746         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
5747         sdiv_qrnnd.
5749 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5751         * string/test-memcmp.c: Avoid unncessary #defines.
5752         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5754 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5756         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5757         Use new sse2 version for core i3 - i7 as it's faster
5758         than sse42 version.
5759         (bit_Prefer_PMINUB_for_stringop): New.
5760         * sysdeps/x86_64/rawmemchr.S: Update.
5761         Replace with faster SSE2 version.
5762         * sysdeps/x86_64/memrchr.S: New file.
5763         * sysdeps/x86_64/memchr.S: Update.
5764         Replace with faster SSE2 version.
5766 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
5768         * elf/dl-load.c (lose): Add cast to avoid warning.
5770 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5772         * po/ca.po: Update from translation team.
5774         * inet/getnetgrent_r.c: Hook up nscd.
5775         * nscd/Makefile (routines): Add nscd_netgroup.
5776         (nscd-modules): Add netgroupcache.
5777         (CFLAGS-netgroupcache.c): Define.
5778         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5779         (cache_search): Add const to second parameter.
5780         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5781         INNETGR.
5782         (dbs): Add netgrdb entry.
5783         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5784         (verify_persistent_db): Handle netgrdb.
5785         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5786         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5787         GETFDNETGR.
5788         (netgroup_response_header): Define.
5789         (innetgroup_response_header): Define.
5790         (datahead): Add netgroup_response_header and innetgroup_response_header
5791         elements.
5792         * nscd/nscd.conf: Add entries for netgroup cache.
5793         * nscd/nscd.h (dbtype): Add netgrdb.
5794         (_PATH_NSCD_NETGROUP_DB): Define.
5795         (netgroup_iov_disabled): Declare.
5796         (xmalloc, xcalloc, xrealloc): Move declarations here.
5797         (cache_search): Adjust prototype.
5798         Add netgroup-related prototypes.
5799         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5800         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5801         (__nscd_innetgr): Declare.
5802         * nscd/selinux.c (perms): Use access_vector_t as element type and
5803         add netgroup-related initializers.
5804         * nscd/netgroupcache.c: New file.
5805         * nscd/nscd_netgroup.c: New file.
5806         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5807         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5808         For four parameters use innetgr.
5809         * nss/nss_files/files-init.c: Add definition and callback for netgr.
5810         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5811         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5812         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5814         * nscd/connections.c (register_traced_file): Don't register file
5815         for disabled databases.
5817 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
5819         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5821         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5822         from tree and freeing node.
5824 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
5826         * nss/nsswitch.c (__nss_database_lookup): Handle
5827         nss_parse_service_list out of memory case.
5829 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
5831         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5832         out of memory case.
5834 2011-10-04  Andreas Schwab  <schwab@redhat.com>
5836         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5837         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5838         pass it down.
5839         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5840         elf_machine_rela, elf_machine_lazy_rel.
5841         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5842         (ELF_DYNAMIC_DO_REL): Likewise.
5843         (ELF_DYNAMIC_DO_RELA): Likewise.
5844         (ELF_DYNAMIC_RELOCATE): Likewise.
5845         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5846         to ELF_DYNAMIC_DO_REL.
5847         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5848         (dl_main): In trace mode always set __RTLD_NOIFUNC.
5849         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5850         elf_machine_rela.
5851         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5852         skip_ifunc, don't call ifunc function if non-zero.
5853         (elf_machine_rela): Likewise.
5854         (elf_machine_lazy_rel): Likewise.
5855         (elf_machine_lazy_rela): Likewise.
5856         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5857         (elf_machine_lazy_rel): Likewise.
5858         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5859         Likewise.
5860         (elf_machine_lazy_rel): Likewise.
5861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5862         Likewise.
5863         (elf_machine_lazy_rel): Likewise.
5864         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5865         (elf_machine_lazy_rel): Likewise.
5866         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5867         (elf_machine_lazy_rel): Likewise.
5868         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5869         (elf_machine_lazy_rel): Likewise.
5870         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5871         (elf_machine_lazy_rel): Likewise.
5872         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5873         (elf_machine_lazy_rel): Likewise.
5874         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5875         (elf_machine_lazy_rel): Likewise.
5877 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
5879         * nss/nss_files/files-init.c (_nss_files_init): Use static
5880         initialization for all the *_traced_file variables.
5882 2011-09-28  Andreas Schwab  <schwab@redhat.com>
5884         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5886 2011-09-27  Roland McGrath  <roland@hack.frob.com>
5888         [BZ #13226]
5889         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5891 2011-09-27  Andreas Schwab  <schwab@redhat.com>
5893         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5894         Reread the line before reparsing it.
5896 2011-09-26  Andreas Schwab  <schwab@redhat.com>
5898         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5900 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
5901             Maxim Kuvyrkov  <maxim@codesourcery.com>
5902             Joseph Myers  <joseph@codesourcery.com>
5904         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5905         if needed for __stack_chk_guard.
5907 2011-09-19  Roland McGrath  <roland@hack.frob.com>
5909         * sysdeps/posix/spawni.c (script_execute): Always define it.
5910         It will be optimized away if unused.
5911         (maybe_script_execute): New function.
5912         (__spawni): Call it.
5914         * Makerules: Don't include tls.make.
5915         (config-tls): Always set to thread.
5916         * tls.make.c: File removed.
5918 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
5920         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5921         * config.make.in (CPPFLAGS-config): New substituted variable.
5923 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5925         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5927         [BZ #13192]
5928         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5929         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5931 2011-09-15  Roland McGrath  <roland@hack.frob.com>
5933         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5934         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5935         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5936         (CALL_FAIL): Likewise.
5937         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5938         (CALL_FAIL): Macro removed.
5939         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5941 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5943         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5944         for __FINITE_MATH_ONLY__ == 1.
5946 2011-09-15  Andreas Schwab  <schwab@redhat.com>
5948         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5949         __ieee754_sqrt instead of sqrt.
5950         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5951         __ieee754_sqrtf instead of sqrtf.
5952         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5953         __floorf instead of floorf.
5954         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5955         __floorf, __truncf instead of floorf, truncf.
5957 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
5959         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5961         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5962         __extern_always_inline.
5963         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5964         32-bit.
5966 2011-09-14  Andreas Schwab  <schwab@redhat.com>
5968         * elf/rtld.c (dl_main): Also relocate in dependency order when
5969         doing symbol dependency testing.
5971 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
5973         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5974         Always define `refsym'.
5976 2011-09-13  Andreas Schwab  <schwab@redhat.com>
5978         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5979         (__FD_ELT): Renamed from __FDELT.
5980         * misc/bits/select2.h (__FD_ELT): Likewise.
5981         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5982         __FD_MASK instead of __FDELT, __FDMASK.
5983         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5984         Likewise.
5985         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5986         Likewise.
5988         * elf/Makefile (gen-ldd): Fix pattern.
5990         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5991         (init_tls): Likewise.
5993 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
5995         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5997 2011-09-12  Andreas Schwab  <schwab@redhat.com>
5999         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6000         `struct cmsghdr *' instead of `void *'.
6001         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6002         Likewise.
6004 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
6006         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6007         if non-absolute.
6008         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6009         ldd_rewrite_script.
6011 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
6013         * configure.in: Remove --with-tls option.
6014         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6015         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6016         out in case it is missing.
6017         * sysdeps/ia64/elf/configure.in: Likewise.
6018         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6019         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6020         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6021         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6022         * sysdeps/sh/elf/configure.in: Likewise.
6023         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6024         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6025         * sysdeps/x86_64/elf/configure.in: Likewise.
6026         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6027         * sysdeps/mach/hurd/tls.h: Likewise.
6029         [BZ #13067]
6030         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6032         [BZ #13090]
6033         * configure.in: Fix use of AC_INIT.
6035         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6037 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
6039         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6040         __set_errno.
6041         * malloc/hooks.c: Likewise.
6043         [BZ #11929]
6044         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
6045         variables statically.
6046         (narenas): Initialize.
6047         (list_lock): Initialize.
6048         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
6049         initializtion of main_arena and list_lock.  Small cleanups.
6050         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6051         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
6052         Add initializers to main_arena and mp_.
6053         (malloc_state): Remove pagesize member.  Change all users to use
6054         GLRO(dl_pagesize).
6056         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6057         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
6058         is always initialized.
6060         * malloc/malloc.c: Removed unused configurations and dead code.
6061         * malloc/arena.c: Likewise.
6062         * malloc/hooks.c: Likewise.
6063         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6065         * include/tls.h: Removed.  USE___THREAD must always be defined.
6066         * bits/libc-tsd.h: Don't handle !USE___THREAD.
6067         * elf/dl-libc.c: Likewise.
6068         * elf/dl-tsd.c: Likewise.
6069         * include/errno.h: Likewise.
6070         * include/netdb.h: Likewise.
6071         * include/resolv.h: Likewise.
6072         * inet/herrno-loc.c: Likewise.
6073         * inet/herrno.c: Likewise.
6074         * malloc/arena.c: Likewise.
6075         * malloc/hooks.c: Likewise.
6076         * malloc/malloc.c: Likewise.
6077         * resolv/res-state.c: Likewise.
6078         * resolv/res_libc.c: Likewise.
6079         * sysdeps/i386/dl-machine.h: Likewise.
6080         * sysdeps/ia64/dl-machine.h: Likewise.
6081         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6082         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6083         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6084         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6085         * sysdeps/sh/dl-machine.h: Likewise.
6086         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6087         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6088         * sysdeps/unix/i386/sysdep.S: Likewise.
6089         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6090         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6095         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6099         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6100         * sysdeps/x86_64/dl-machine.h: Likewise.
6101         * tls.make.c: Likewise.
6103         * configure.in: Remove --with-__thread option.  Make tests for
6104         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6105         tls_model attribute fail if no support is available.  Remove
6106         USE_IN_LIBIO.
6107         * Makeconfig: Adjust for dropped configure option.  All features are
6108         now mandatory.
6109         * Makerules: Likewise.
6110         * Versions.def: Likewise.
6111         * argp/argp-fmtstream.c: Likewise.
6112         * argp/argp-fmtstream.h: Likewise.
6113         * argp/argp-help.c: Likewise.
6114         * assert/assert.c: Likewise.
6115         * config.h.in: Likewise.
6116         * config.make.in: Likewise.
6117         * configure: Likewise.
6118         * configure.in: Likewise.
6119         * csu/Versions: Likewise.
6120         * csu/init.c: Likewise.
6121         * elf/tst-audit2.c: Likewise.
6122         * elf/tst-tls10.c: Likewise.
6123         * elf/tst-tls10.h: Likewise.
6124         * elf/tst-tls11.c: Likewise.
6125         * elf/tst-tls12.c: Likewise.
6126         * elf/tst-tls14.c: Likewise.
6127         * elf/tst-tlsmod11.c: Likewise.
6128         * elf/tst-tlsmod12.c: Likewise.
6129         * elf/tst-tlsmod13.c: Likewise.
6130         * elf/tst-tlsmod13a.c: Likewise.
6131         * elf/tst-tlsmod14a.c: Likewise.
6132         * elf/tst-tlsmod15b.c: Likewise.
6133         * elf/tst-tlsmod16a.c: Likewise.
6134         * elf/tst-tlsmod16b.c: Likewise.
6135         * elf/tst-tlsmod7.c: Likewise.
6136         * elf/tst-tlsmod8.c: Likewise.
6137         * elf/tst-tlsmod9.c: Likewise.
6138         * gmon/gmon.c: Likewise.
6139         * grp/fgetgrent_r.c: Likewise.
6140         * grp/putgrent.c: Likewise.
6141         * hurd/fopenport.c: Likewise.
6142         * include/libc-symbols.h: Likewise.
6143         * include/tls.h: Likewise.
6144         * intl/gettextP.h: Likewise.
6145         * intl/loadinfo.h: Likewise.
6146         * locale/global-locale.c: Likewise.
6147         * locale/localeinfo.h: Likewise.
6148         * mach/devstream.c: Likewise.
6149         * malloc/arena.c: Likewise.
6150         * malloc/set-freeres.c: Likewise.
6151         * misc/err.c: Likewise.
6152         * misc/getttyent.c: Likewise.
6153         * misc/mntent_r.c: Likewise.
6154         * posix/getopt.c: Likewise.
6155         * posix/wordexp.c: Likewise.
6156         * pwd/fgetpwent_r.c: Likewise.
6157         * resolv/Versions: Likewise.
6158         * resolv/res_hconf.c: Likewise.
6159         * shadow/fgetspent_r.c: Likewise.
6160         * shadow/putspent.c: Likewise.
6161         * stdio-common/printf_fphex.c: Likewise.
6162         * stdio-common/tmpfile.c: Likewise.
6163         * stdlib/abort.c: Likewise.
6164         * stdlib/fmtmsg.c: Likewise.
6165         * sunrpc/auth_unix.c: Likewise.
6166         * sunrpc/clnt_perr.c: Likewise.
6167         * sunrpc/clnt_tcp.c: Likewise.
6168         * sunrpc/clnt_udp.c: Likewise.
6169         * sunrpc/clnt_unix.c: Likewise.
6170         * sunrpc/openchild.c: Likewise.
6171         * sunrpc/svc_simple.c: Likewise.
6172         * sunrpc/svc_tcp.c: Likewise.
6173         * sunrpc/svc_udp.c: Likewise.
6174         * sunrpc/svc_unix.c: Likewise.
6175         * sunrpc/xdr.c: Likewise.
6176         * sunrpc/xdr_array.c: Likewise.
6177         * sunrpc/xdr_rec.c: Likewise.
6178         * sunrpc/xdr_ref.c: Likewise.
6179         * sunrpc/xdr_stdio.c: Likewise.
6181 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6183         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6185 2011-07-03  Andreas Jaeger  <aj@suse.de>
6187         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6188         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6189         regenerate with gen-libm-tests.pl.
6191 2010-05-12  Petr Baudis  <pasky@suse.cz>
6193         [BZ #11589]
6194         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6195         around j0() zero points by switching to j1().
6196         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6197         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6199         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6201 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6203         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6204         instead of 0.
6205         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6206         instead of 0.                              .
6207         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6208         Patch in part by Pavel Roskin <proski@gnu.org>.
6210         [BZ #13138]
6211         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6212         realloc.
6213         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
6214         Free memory block if necessary.
6216         [BZ #12847]
6217         * libio/genops.c (INTDEF): For string streams the _lock pointer can
6218         be NULL.  Don't lock in this case.
6220 2011-09-09  Roland McGrath  <roland@hack.frob.com>
6222         * elf/elf.h (ELFOSABI_GNU): New macro.
6223         (ELFOSABI_LINUX): Define to that.
6225 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
6227         * string/strncat.c (strncat): Undef the symbol in case it has been
6228         defined in bits/string.h.
6230 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6232         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6234         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6235         link map.
6237 2011-08-17  Andreas Jaeger  <aj@suse.de>
6239         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6241 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6242             Ian Lance Taylor  <iant@google.com>
6244         * math/libm-test.inc (lround_test): New testcase.
6245         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6247 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
6249         * Makefile: Remove support for automatic cvs check-ins.
6250         * Makerules: Likewise.
6251         * config.make.in: Likewise.
6252         * configure.in: Likewise.
6253         * intl/Makefile: Likewise.
6254         * locale/Makefile: Likewise.
6255         * po/Makefile: Likewise.
6256         * posix/Makefile: Likewise.
6257         * sysdeps/gnu/Makefile: Likewise.
6258         * sysdeps/mach/hurd/Makefile: Likewise.
6259         * sysdeps/sparc/sparc32/Makefile: Likewise.
6261         [BZ #13118]
6262         * posix/Makefile (bug-regex32-ENV): Define.
6263         Patch by John Stanley <jpsinthemix@verizon.net>.
6265         * misc/Makefile (headers): Add bits/select2.h.
6266         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6267         * misc/bits/select2.h: New file.
6268         * include/bits/select2.h: New file.
6269         * debug/Makefile (routines): Add fdelt_chk.
6270         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6271         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6272         FD_ISSET.
6273         * debug/fdelt_chk.c: New file.
6275         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
6276         * wcsmbs/test-wmemcmp.c: Likewise.
6277         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6278         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6280 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6282         * string/Makefile (strop-tests): Add memcmp.
6283         * string/test-wmemcmp.c: New file.
6284         * string/test-memcmp.c: Add wmemcmp support.
6286 2011-09-08  Roland McGrath  <roland@hack.frob.com>
6288         [BZ #13153]
6289         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6290         2011-07-19 change.
6292         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6293         garbage value in a __mach_port_mod_refs call in the cases of the
6294         task-self and thread-self ports.
6296 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6298         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6300 2011-09-08  Andreas Schwab  <schwab@redhat.com>
6302         * elf/dl-load.c (lose): Check for non-null L.
6304 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6306         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6308         * elf/dl-libc.c (dlerror_run): Pass back error code from
6309         dl_catch_error.
6311         [BZ #13123]
6312         * elf/dl-load.c (lose): Free l_origin if it is valid.
6314         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6315         names.
6316         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6317         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6318         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6319         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6320         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6321         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6323 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6325         * sysdeps/powerpc/fpu/e_hypot.c: New file.
6326         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6327         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6328         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6329         * sysdeps/powerpc/fpu/k_cosf.c: New file.
6330         * sysdeps/powerpc/fpu/k_sinf.c: New file.
6331         * sysdeps/powerpc/fpu/s_cosf.c: New file.
6332         * sysdeps/powerpc/fpu/s_sinf.c: New file.
6333         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6334         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6336 2011-08-15  Alan Modra  <amodra@gmail.com>
6338         [BZ #13092]
6339         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6340         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6341         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
6342         ppc_mcount to static-only-routines.
6343         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6344         __mcount_internal.
6345         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6346         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
6348 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
6350         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6351         for finite and infinity parameters.
6353 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6355         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6356         and add nop instructions for throughput optimization.
6357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6359 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
6361         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6362         aligned copy for power7 with vector-scalar instructions.
6363         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6365 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
6367         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6368         AVX check.
6370 2011-09-07  Andreas Schwab  <schwab@redhat.com>
6372         [BZ #13144]
6373         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6374         last change.
6376 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6378         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6379         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6380         syscall wrapper around clock_gettime in __vdso_clock_gettime.
6381         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6382         clock_gettime.
6384 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6386         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6387         Forgot to demangle the pointer.
6389         * sysdeps/i386/sysdep.h: Define atom_text_section.
6390         * sysdeps/x86_64/sysdep.h: Likewise.
6391         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6392         section with atom_text_section.
6393         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6394         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6395         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6396         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6397         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6399         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6400         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6401         already be defined.  Change to take two parameters and don't assign
6402         result to variable.  Adjust all users.
6403         Define INTERNAL_GETTIME if not already defined.
6404         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6405         call.
6406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6407         HAVE_CLOCK_GETTIME_VSYSCALL.
6408         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6410         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6411         gettimeofday vsyscall, just use time.
6413 2011-09-06  Andreas Schwab  <schwab@redhat.com>
6415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6416         <errno.h>.
6418 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6420         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6421         syscall on x86-64.
6422         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6423         syscall.
6424         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6425         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6426         syscall if possible.
6428 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6430         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6431         e_ident.  Don't pass to find_mapsXX.
6432         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6434 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6437         strchr-sse2-no-bsf strrchr-sse2-no-bsf
6438         * sysdeps/x86_64/multiarch/strchr.S: Update.
6439         Check bit_slow_BSF bit.
6440         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6441         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6442         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6444 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6446         [BZ #13134]
6447         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6448         before glibc 2.15.
6449         (tryshell): Define.
6450         (__spawni): Change last parameter to be flag.  Test
6451         SPAWN_XFLAGS_USE_PATH flag to use path or not.
6452         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6453         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6454         * posix/spawni.c: Likewise.
6455         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6456         * posix/spawnp.c: Likewise.  Change normal version to use
6457         SPAWN_XFLAGS_USE_PATH.
6458         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6459         SPAWN_XFLAGS_TRY_SHELL.
6461         [BZ #13150]
6462         * posix/glob.h: Remove gcc 1.x support.
6464         [BZ #13068]
6465         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6467 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6469         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6470         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6471         strrchr-sse2-bsf
6472         * sysdeps/i386/i686/multiarch/strchr.S: New file.
6473         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6474         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6475         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6476         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6477         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6479 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6481         * sysdeps/x86_64/wcscmp.S: New file.
6483         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6484         wcscmp-c wcscmp-sse2
6485         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6486         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6487         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6488         * wcsmbs/wcscmp.c: Allow renaming.
6490 2011-09-05  David S. Miller  <davem@davemloft.net>
6492         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6493         stack slot, rather than the struct return pointer slot.
6494         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6495         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6497         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6499 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6501         * po/ja.po: Update from translation team.
6503         [BZ #13144]
6504         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6505         kernel in 64-bit binaries.
6507 2011-09-01  David S. Miller  <davem@davemloft.net>
6509         * elf/elf.h (HWCAP_SPARC_*): Move to..
6510         * sysdeps/sparc/sysdep.h: this new file and add new values.
6511         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6512         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6513         _DL_HWCAP_COUNT to 24.
6514         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6515         entries.
6516         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6517         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6518         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6519         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6520         instead of magic constants.
6521         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6523 2011-08-31  David S. Miller  <davem@davemloft.net>
6525         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6527         Reimplement to do errno handling inline.
6528         (SYSCALL_ERROR_HANDLER): New macro.
6529         (__SYSCALL_STRING): Do not do errno handling in asm.
6530         (__CLONE_SYSCALL_STRING): Delete.
6531         (__INTERNAL_SYSCALL_STRING): Delete.
6532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6533         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6534         (PSEUDO): Reimplement to do errno handling inline.
6535         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6536         (SYSCALL_ERROR_HANDLER): New macro.
6537         (__SYSCALL_STRING): Do not do errno handling in asm.
6538         (__CLONE_SYSCALL_STRING): Delete.
6539         (__INTERNAL_SYSCALL_STRING): Delete.
6540         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6541         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6542         i386.
6543         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6544         (inline_syscall*): Add 'err' argument.
6545         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6546         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6547         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6548         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6550         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6551         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6553 2011-08-30  Andreas Schwab  <schwab@redhat.com>
6555         * elf/rtld.c (dl_main): Relocate objects in dependency order.
6557 2011-08-29  Jiri Olsa <jolsa@redhat.com>
6559         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6560         directive.
6562 2011-08-24  David S. Miller  <davem@davemloft.net>
6564         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6566 2011-08-24  Andreas Schwab  <schwab@redhat.com>
6568         * elf/Makefile: Add rules to build and run unload8 test.
6569         * elf/unload8.c: New file.
6570         * elf/unload8mod1.c: New file.
6571         * elf/unload8mod1x.c: New file.
6572         * elf/unload8mod2.c: New file.
6573         * elf/unload8mod3.c: New file.
6575         * elf/dl-close.c (_dl_close_worker): Reset private search list if
6576         it wasn't used.
6578 2011-08-23  David S. Miller  <davem@davemloft.net>
6580         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6581         subtract stack bias.
6582         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6583         %sp not %fp in calculations.
6584         (_JMPBUF_UNWINDS_ADJ): Likewise.
6586         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6587         (aio_suspend): Call it to force an exception region around the
6588         AIO_MISC_WAIT() invocation.
6590 2011-08-23  Andreas Schwab  <schwab@redhat.com>
6592         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6593         backslash.
6595 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
6597         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6598         protection macro.
6599         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6600         and <dl-machine.h>.
6601         (Elf64_FuncDesc): Remove.
6603 2011-08-22  David S. Miller  <davem@davemloft.net>
6605         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6606         sigaltstack check, add missing cfi directives.
6607         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6608         missing cfi directives, and sigaltstack handling.
6610 2011-08-16  Andreas Schwab  <schwab@redhat.com>
6612         [BZ #11724]
6613         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6614         object is seen twice.
6615         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6617         * elf/Makefile (distribute): Add tst-initorder2.c.
6618         (tests): Add tst-initorder2.
6619         (modules-names): Add tst-initorder2a tst-initorder2b
6620         tst-initorder2c tst-initorder2d.  Add rules to build them.
6621         ($(objpfx)tst-initorder2.out): New rule.
6622         * elf/tst-initorder2.c: New file.
6623         * elf/tst-initorder2.exp: New file.
6625 2011-08-22  Andreas Schwab  <schwab@redhat.com>
6627         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6629         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6630         dependencies back to end of function.
6632         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6633         $(elfobjdir)/ld.so.
6635 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
6637         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6638         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6639         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6640         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6641         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6642         of __vdso_gettimeofday.
6643         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6644         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
6645         attribute_hidden.
6646         (_libc_vdso_platform_setup): Remove initialization of
6647         __vdso_gettimeofday and __vdso_time.
6649 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6651         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6652         and fgetc_unlocked.
6653         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6654         getc_unlocked.
6656         * elf/dl-open.c (add_to_global): Report additions to the global scope
6657         for LD_DEBUG=scopes.
6658         (dl_open_worker): Also print scope of newly loaded dependencies.
6659         (_dl_show_scope): Indicate if there is no scope.
6661         [BZ #13114]
6662         * stdio-common/Makefile (tests): Add bug24.
6663         * stdio-common/bug24.c: New file.
6665 2011-08-19  Andreas Jaeger  <aj@suse.de>
6667         [BZ #13114]
6668         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6669         non-existant file when using close-on-exec mode.
6671 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6673         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6674         the very first instruction.
6676         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6677         the CFI state in the end.
6678         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6679         inclusion of dl-trampoline.h.
6680         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6682 2011-08-19  Andreas Schwab  <schwab@redhat.com>
6684         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6685         expectations for long double.
6687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6688         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6690 2011-08-14  David S. Miller  <davem@davemloft.net>
6692         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6693         artificual limit depends upon the system page size.
6695 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6697         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6698         * resolv/Makefile: Define CFLAGS-libresolv.
6700 2011-08-17  Andreas Schwab  <schwab@redhat.com>
6702         * nss/makedb.c (compute_tables): Make variables used in nested
6703         function static.
6705 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6707         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6708         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6709         if buffer was too small.
6711         * elf/pldd.c (main): Attach to all threads in the process.
6712         Rewrite /proc handling to use *at functions.
6714 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
6716         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6717         specifies first scope to show.
6718         (dl_open_worker): Update callers.  Move printing scope of new
6719         object to before the relocation.
6720         * elf/rtld.c (dl_main): Update _dl_show_scope call.
6721         * sysdeps/generic/ldsodefs.h: Update declaration.
6723         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6724         string for the scope number.
6726 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
6728         * nscd/servicescache.c (cache_addserv): Make sure written is always
6729         initialized.
6731 2011-08-14  Roland McGrath  <roland@hack.frob.com>
6733         * sysdeps/i386/i486/bits/atomic.h
6734         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6735         statement expression, so as to suppress "set but not used" warning.
6736         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6738         * string/strncat.c (STRNCAT): Use prototype definition.
6740         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6741         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6742         -Iprograms here.
6743         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6744         (localedef-modules): Add localedef.
6745         (locale-modules): Add locale.
6747         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6748         * elf/rtld.c (dl_main): Invert order of assignment in last change,
6749         to avoid a warning.
6751 2011-08-14  David S. Miller  <davem@davemloft.net>
6753         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6754         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6756 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
6758         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6759         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6760         * elf/rtld.c (dl_main): Set l_name of vDSO.
6761         Call _dl_show_scope when DL_DEBUG_SCOPES.
6762         (process_dl_debug): Recognize scopes flag and also set it for all.
6763         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6764         Declare _dl_show_scope.
6766         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6767         (do_dlopen): Pass caller_dlopen to dl_open.
6768         (__libc_dlopen_mode): Initialize caller_dlopen.
6770         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6771         of libc.  Make tolower call locale-independent.  Optimize a bit by
6772         using isdigit instead of isalnum.
6773         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6775 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
6777         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6778         was a dependency or dynamically loaded.
6780 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
6782         * intl/l10nflist.c: Allow architecture-specific pop function.
6783         * sysdeps/x86_64/l10nflist.c: New file.
6785         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6786         classification.
6788 2011-08-10  Andreas Schwab  <schwab@redhat.com>
6790         * include/dirent.h: Add libc_hidden_proto for scandirat and
6791         scandirat64.  Don't declare __scandirat64.
6792         * dirent/scandirat.c: Add libc_hidden_def.
6793         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6794         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6796 2011-08-10  David S. Miller  <davem@davemloft.net>
6798         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6799         enum.
6800         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6801         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6802         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6804 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
6806         * Versions.def [libc]: Add GLIBC_2.15.
6807         * dirent/Makefile (routines): Add scandirat and scandirat64.
6808         * dirent/Versions [libc]: Export scandirat and scandirat64 for
6809         GLIBC_2.15.
6810         * dirent/dirent.h: Declare scandirat and scandirat64.
6811         * dirent/scandirat.c: New file.
6812         * dirent/scandirat64.c: New file.
6813         * sysdeps/wordsize-64/scandirat.c: New file.
6814         * sysdeps/wordsize-64/scandirat64.c: New file.
6815         * dirent/opendir.c: Define opendirat.
6816         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
6817         using scandirat.
6818         * dirent/scandir64.c: Adjust for scandir.c change.
6819         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
6820         __scandirat64, and __scandir_cancel_handler.
6821         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
6822         additional parameter and use openat instead of open (outside of ld.so).
6823         Add new __opendir as wrapper around __opendirat.
6824         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6825         here without requiring old scandirat implementation.
6827 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
6829         * dirent/scandir.c (cancel_handler): Renamed to
6830         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
6831         defined.  Adjust users.
6832         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6833         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6835 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
6837         * string/test-string.h (IMPL): Use __STRING to expand name and then
6838         stringify it.
6840         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
6841         of cleanups.
6843 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6845         * string/Makefile: Update.
6846         (strop-tests): Append strncat.
6847         * string/test-wcscmp.c: New file.
6848         New comprehensive test for wcscmp.
6849         * string/test-strcmp.c: Update.
6850         (WIDE): New define.
6852 2011-07-22  Andreas Schwab  <schwab@redhat.com>
6854         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6855         line.
6857 2011-07-26  Andreas Schwab  <schwab@redhat.com>
6859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6860         encoding to ACE if AI_IDN.
6862 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
6864         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6865         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6867 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6869         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6870         Fix overflow bug in strncat.
6871         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6873         * string/test-strncat.c: Update.
6874         Add new tests for checking overflow bugs.
6876 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6878         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6879         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6880         * sysdeps/i386/i686/multiarch/strcat.S: New file.
6881         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6882         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6883         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6884         * sysdeps/i386/i686/multiarch/strncat.S: New file.
6885         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6886         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6888         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6889         (USE_AS_STRCAT): Define.
6890         Add strcat and strncat support.
6891         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6893 2011-07-25  Andreas Schwab  <schwab@redhat.com>
6895         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6896         __n bigger than INT_MAX+1.
6897         (__strncmp_g): Likewise.
6899 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
6901         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6902         * libio/stido.h: Likewise.
6904         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6905         (AF_NFC): Define.
6906         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6907         (AF_NFC): Define.
6909         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6910         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6911         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6912         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6913         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6915         [BZ #13021]
6916         * scripts/test-installation.pl: Don't expect libnss_test1 to be
6917         installed.
6919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6920         typo.
6921         (_dl_x86_64_save_sse): Likewise.
6923 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
6925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6926         OSXSAVE.
6927         (_dl_x86_64_save_sse): Likewise.
6929         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6931         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6933 2011-07-21  Andreas Schwab  <schwab@redhat.com>
6935         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6936         change.
6937         (_dl_x86_64_save_sse): Use correct AVX check.
6939 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6941         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6942         bug in strncpy/strncat.
6943         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6945 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
6947         * string/tester.c (test_strcat): Add tests for different alignments
6948         of source and destination.
6949         (test_strncat): Likewise.
6951 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6953         [BZ #12852]
6954         * posix/glob.c (glob): Check passed in values before using them in
6955         expressions to avoid some overflows.
6956         (glob_in_dir): Likewise.
6958         [BZ #13007]
6959         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6960         check for AVX enablement so that we don't crash with old kernels and
6961         new hardware.
6962         * elf/tst-audit4.c: Add same checks here.
6963         * elf/tst-audit6.c: Likewise.
6965         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6967 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
6969         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6971 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6973         * po/cs.po: Update from translation team.
6974         * po/bg.po: Likewise.
6976 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
6978         * misc/sys/cdefs.h: Add support for const attribute.
6979         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6980         to gnu_dev_{major,minor,makedev} functions.
6982 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
6984         * intl/dcigettext.c (get_output_charset): Add missing bracket.
6986 2011-07-20  Andreas Schwab  <schwab@redhat.com>
6988         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6989         strlen results.
6991 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6993         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6994         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6995         register in order to avoid conflicts with the soft frame pointer
6996         being held in r11 when necessary.
6997         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6998         (INTERNAL_VSYSCALL_NCS): Likewise.
7000 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
7002         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7003         * elf/dl-fini.c (_dl_fini): Adjust caller.
7004         * elf/dl-close.c (_dl_close_worker): Likewise.
7005         * sysdeps/generic/ldsodefs.h: Adjust declaration.
7007 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
7009         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7010         "aux_cache->nlibs < 0".
7012         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7013         in the reload-count case.
7015 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7018         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7019         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7020         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7021         * sysdeps/x86_64/multiarch/strcat.S: New file.
7022         * sysdeps/x86_64/multiarch/strncat.S: New file.
7023         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7024         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7025         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7026         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7027         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7028         (USE_AS_STRCAT): Define.
7029         Add strcat and strncat support.
7030         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7031         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7032         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7033         * string/strncat.c: Update.
7034         (USE_AS_STRNCAT): Define.
7035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7036         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7037         and i7.
7038         * sysdeps/x86_64/multiarch/init-arch.h
7039         (bit_Prefer_PMINUB_for_stringop): New.
7040         (index_Prefer_PMINUB_for_stringop): Likewise.
7041         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7042         bit_Prefer_PMINUB_for_stringop.
7044 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7046         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7047         buffer64.
7048         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7049         of casting of buffer.
7050         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7051         buffer32 and buffer64.
7052         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7053         writes instead of casting of buffer.
7054         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7055         buffer32.
7056         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7057         casting of buffer.
7059 2011-07-19  Andreas Schwab  <schwab@redhat.com>
7061         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7063 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7065         * nscd/nscd.c (termination_handler): Don't do anything for a database
7066         if it has not yet been initialized.
7068 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7070         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7072 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
7074         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7076 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7078         * po/nl.po: Update from translation team.
7079         * po/sv.po: Likewise.
7081 2011-07-16  Roland McGrath  <roland@hack.frob.com>
7083         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7084         now disallowed by GCC.
7086         * configure.in (use-default-link): Default to yes if a test -shared
7087         link meets our qualifications.
7088         * configure: Regenerated.
7090         * config.make.in (output-format): New variable.
7091         * configure.in: Check for ld --print-output-format support.
7092         * configure: Regenerated.
7093         * Makerules ($(common-objpfx)format.lds)
7094         [$(output-format) != unknown]: Just use $(output-format),
7095         instead of the linker-script munging.
7097 2011-07-14  Roland McGrath  <roland@hack.frob.com>
7099         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7100         of $(common-objpfx)shlib.lds.
7101         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7103         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7104         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7106         * configure.in (-z relro check): Adjust test code to add a large
7107         writable data section after it.
7108         * configure: Regenerated.
7110 2011-07-11  Roland McGrath  <roland@hack.frob.com>
7112         * configure.in (-z relro check): Fix test code to make the variable
7113         truly const.
7114         * configure: Regenerated.
7116 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
7118         * nscd/nscd.h (struct traced_file): Define.
7119         (struct database_dyn): Remove inotify_descr, reset_res, and filename
7120         elements.  Add traced_files.
7121         (inotify_fd): Declare.
7122         (register_traced_file): Declare.
7123         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7124         (inotify_fd): Export.
7125         (resolv_conf_descr): Remove.
7126         (nscd_init): Move inotify descriptor creation to main.
7127         Don't register files for notification here.
7128         (register_traced_file): New function.
7129         (invalidate_cache): Don't use reset_res to determine whether to call
7130         res_init, go through the list of registered files.
7131         (main_loop_poll): The inotify descriptors are now stored in the
7132         structures for the traced files.
7133         (main_loop_epoll): Likewise
7134         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
7135         to __nss_disable_nscd.
7136         * nscd/cache.c (prune_cache): There is no single inotify descriptor
7137         for a database anymore.  Check the records for all the registered
7138         files instead.
7139         * nss/Makefile (libnss_files-routines): Add files-init.
7140         (libnss_db-routines): Add db-init.
7141         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7142         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7143         * nss/nss_db/db-init.c: New file.
7144         * nss/nss_files/files-init.c: New file.
7145         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
7146         __nss_lookup_function.
7147         (__nss_lookup_function): Call nss_load_library.
7148         (nss_load_all_libraries): New function.
7149         (__nss_disable_nscd): Take parameter with callback function for files
7150         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
7151         used for the cached services.
7152         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7153         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7154         options for features to all the files in nscd.
7156         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7158 2011-07-10  Roland McGrath  <roland@hack.frob.com>
7160         * csu/elf-init.c (__libc_csu_init): Comment typo.
7162 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
7164         * po/pl.po: Update from translation team.
7165         * po/ja.po: Likewise.
7166         * po/ru.po: Likewise.
7167         * po/ko.po: Likewise.
7168         * po/fr.po: Likewise.
7170 2011-07-09  Roland McGrath  <roland@hack.frob.com>
7172         * configure.in (.ctors/.dtors header and trailer check):
7173         Use an empirical test on a built program.
7174         * configure: Regenerated.
7176         * configure.in (-z relro check): Use an empirical test on a built DSO.
7177         Detect, but do not require, on ia64.
7178         * configure: Regenerated.
7180         * configure.in (READELF): Find it with AC_CHECK_TOOL.
7181         Update tests that use readelf to use $READELF instead.
7182         * configure: Regenerated.
7184 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
7186         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7187         if the result is not used.
7189 2011-07-05  Andreas Jaeger  <aj@suse.de>
7191         [BZ#9696]
7192         * stdlib/tst-strtod.c: Add testcase.
7194 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
7196         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7197         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7198         The latter has a higher limit.  Take additional parameter to pass to
7199         the new function.
7200         (__pathconf): Pass file to __statfs_link_max.
7201         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7202         __statfs_link_max.
7203         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7204         __statfs_link_max.
7206         [BZ #12868]
7207         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7208         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7209         Handle Lustre.
7210         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7211         (__statfs_filesize_max): Likewise.
7212         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7214 2011-07-05  Andreas Jaeger  <aj@suse.de>
7216         * resolv/res_comp.c (dn_skipname): Remove unused variable.
7218 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7220         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7221         `status' variable.
7222         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7223         Likewise.
7225 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7227         * Makefile (strop-tests): Add strncat.
7228         * string/test-strncat.c: New file.
7230 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
7232         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7234 2011-06-21  Andreas Jaeger  <aj@suse.de>
7236         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7237         Copy rule from iconvdata/Makefile.
7239 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7241         [BZ #12922]
7242         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7243         but no long options are defined, just return 'W'.
7245 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
7247         [BZ #9696]
7248         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7250 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7252         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7253         netgroups to read.
7254         (innetgr): Likewise.
7256 2011-07-05  Roland McGrath  <roland@hack.frob.com>
7258         * config.make.in (install_root): Default to $(DESTDIR).
7260 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
7262         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7264 2011-07-02  Roland McGrath  <roland@hack.frob.com>
7266         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7268         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7269         containing directory rather than embedding absolute directory names.
7271         * scripts/check-local-headers.sh: Rewritten using awk.
7272         Match by word, not by line.  Print error messages for matches.
7273         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7275         * Makerules [shlib-lds-flags empty]:
7276         ($(common-objpfx)libc_pic.opts): New target.
7277         ($(common-objpfx)libc_pic.os.clean): New target.
7278         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7280         * config.make.in (OBJCOPY): New variable.
7281         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7282         * configure: Regenerated.
7284         * config.make.in (use-default-link): New variable.
7285         * configure.in (use_default_link): Grok --with-default-link to set it.
7286         * configure: Regenerated.
7287         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7288         (shlib-lds, shlib-lds-flags): Define to empty.
7290         * Makerules (shlib-lds): New variable.
7291         (shlib-lds-flags): New variable.
7292         (build-shlib, build-moduile, build-module-asneeded): Use it.
7293         ($(common-objpfx)libc.so): Use $(shlib-lds).
7294         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7295         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7297         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7298         DT_FLAGS/DT_FLAGS_1 with zero flags.
7300         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7301         linker script munging.
7303 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
7305         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7306         as 128-bit value.
7307         * crypt/sha512.c (sha512_process_block): Perform total addition using
7308         128-bit if possible.
7309         (__sha512_finish_ctx): Likewise.
7310         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7311         as 64-bit value.
7312         * crypt/sha256.c (SWAP64): Define.
7313         (sha256_process_block): Perform total addition using 64-bit if
7314         possible.
7315         (__sha256_finish_ctx): Likewise.
7317 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
7319         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
7320         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7321         * nscd/hstcache.c (cache_addhst): Likewise.
7322         * nscd/grpcache.c (cache_addgr): Likewise.
7323         * nscd/aicache.c (addhstaiX): Likewise
7324         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7326 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
7328         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7329         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7330         * nscd/hstcache.c (cache_addhst): Likewise.
7331         * nscd/grpcache.c (cache_addgr): Likewise.
7332         * nscd/aicache.c (addhstaiX): Likewise
7334 2011-07-01  Andreas Schwab  <schwab@redhat.com>
7336         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7337         domain only when needed.
7339 2011-06-30  Andreas Schwab  <schwab@redhat.com>
7341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7342         is always restored.
7344 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
7346         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7347         are re-adding the entry.
7348         * nscd/servicescache.c (cache_addserv): Likewise.
7350 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7352         * sysdeps/generic/dl-irel.h: fix protection against multiple
7353         inclusions.
7354         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7356 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
7358         [BZ #12935]
7359         * malloc/memusage.sh: Fix quoting in message.
7360         * debug/xtrace.sh: Likewise.
7362         * configure.in: Remove support for --experimental-malloc option, make
7363         it the default.
7364         * config.make.in: Likewise.
7365         * malloc/Makefile: Likewise.
7367 2011-06-27  Andreas Schwab  <schwab@redhat.com>
7369         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7370         two-byte characters.
7372 2011-06-27  Roland McGrath  <roland@hack.frob.com>
7374         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7375         AC_CACHE_CHECK invocation.
7376         * configure: Regenerated.
7378         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7380 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
7382         [BZ #12350]
7383         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
7384         bit from old_res_options.
7386         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7388         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7389         value type for setfct.
7391 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
7393         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7394         __gettimeofday instead of gettimeofday.
7396 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
7398         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7400 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7402         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7404         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7405         info.
7407 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7410         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7411         strcpy-sse2-unaligned strncpy-sse2-unaligned
7412         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7413         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7414         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7415         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7416         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7417         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7418         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7419         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7420         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7421         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7422         (STRCPY): Support SSE2 and SSSE3 versions.
7424 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
7426         [BZ #12874]
7427         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7428         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7429         kernels which artificially limit size of requests.
7431 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7433         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7434         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7435         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7436         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7437         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7438         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7439         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7440         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7441         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7442         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7443         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7444         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7445         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7446         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7447         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7449         Enable unaligned load optimization for Intel Core i3, i5 and i7
7450         processors.
7451         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7452         Define.
7453         (index_Fast_Unaligned_Load): Define.
7454         (HAS_FAST_UNALIGNED_LOAD): Define.
7456 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7458         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7460 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7462         [BZ #12907]
7463         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7464         until it is clear that the information is realy needed.
7465         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7467 2011-06-22  Andreas Schwab  <schwab@redhat.com>
7469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7471 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7473         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7474         /sys/devices/system/cpu/online if it is usable.
7476         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7477         reading the information from the /proc filesystem to once a second.
7479 2011-06-21  Andreas Jaeger  <aj@suse.de>
7481         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7482         NULL after inclusion of kernel headers.
7484 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
7486         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7487         calls to internal_setent.
7489         [BZ #12885]
7490         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7491         addresses using gethostbyname4_r ignore IPv4 addresses.
7493         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7494         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
7496         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7498 2011-06-20  David S. Miller  <davem@davemloft.net>
7500         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7501         inclusions.
7502         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7504         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7505         (elf_irel): Use it.
7506         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7507         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7508         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7509         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7510         * sysdeps/x86_64/dl-irel.h: Likewise.
7512         * elf/dl-runtime.c: Use elf_ifunc_invoke.
7513         * elf/dl-sym.c: Likewise.
7515 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7517         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
7518         need to dereference resplen2.
7520 2011-06-14  Andreas Schwab  <schwab@redhat.com>
7522         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7524 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7526         * Makeconfig: Define vardbdir and inst_vardbdir.
7527         * nss/Makefile: Add rules to install db-Makefile.
7529         * nss/nss_db/db-XXX.c: Cleanup.
7531         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7532         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7533         GLIBC_PRIVATE.
7534         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7535         * nss/makedb.c: Implement -g option to specify that value strings
7536         are generated and should not be added to table iterated over for
7537         get*ent calls.
7538         * nss/nss_db/db-initgroups.c: New file.
7540         * nss/getent.c: Add support for initgroups lookups through getgrouplist
7541         interface.
7543         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7544         (internal_getgrouplist): Adjust to name change.
7545         Update use_initgroups_entry if this is not the first call.
7546         * nss/databases.def: Add initgroups entry.
7548         * nss/makedb.c (compute_tables): Check result of multiple hash table
7549         sizes to minimize maximum chain length.
7551 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
7553         * Versions.def: Add entry for libnss_db.
7554         * shlib-versions: Likewise.
7555         * nss/Makefile: Add rules to build libnss_db.
7556         * nss/Versions: Add libnss_db information.  Organize libnss_files
7557         entries better.
7558         * nss/db-Makefile: Add gshadow support.  Change rules for the new
7559         makedb progra.  Some minor improvements to generate smaller files.
7560         * nss/nss_db/nss_db.h: Move NSS database header data structures to
7561         here from...
7562         * nss/makedb.c: ...here.
7563         Improve database format to be smaller and require less memory at
7564         runtime.
7565         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
7566         db anymore.
7567         * nss/nss_db/db-netgrp.c: Likewise.
7568         * nss/nss_db/db-open.c: Likewise.
7569         * nss/nss_files/flies-XXX.x: Adjust comments.
7570         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7571         * nss/nss_files/files-grp.c: Likewise.
7572         * nss/nss_files/files-hosts.c: Likewise.
7573         * nss/nss_files/files-network.c: Likewise.
7574         * nss/nss_files/files-proto.c: Likewise.
7575         * nss/nss_files/files-pwd.c: Likewise.
7576         * nss/nss_files/files-rpc.c: Likewise.
7577         * nss/nss_files/files-service.c: Likewise.
7578         * nss/nss_files/files-sgrp.c: Likewise.
7579         * nss/nss_files/files-spwd.c: Likewise.
7580         * nss/nss_db/db-alias.c: Removed.
7581         * nss/nss_db/dummy-db.h: Removed.
7583 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
7585         * nss/makedb.c: Rewritten to not use database library.
7586         * nss/Makefile: Update to build new makedb program.
7588 2011-06-14  Andreas Jaeger  <aj@suse.de>
7590         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7591         memset declaration.
7593 2011-06-10  Andreas Schwab  <schwab@redhat.com>
7595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7596         tmpbuf.
7598 2011-06-10  Roland McGrath  <roland@hack.frob.com>
7600         * Makerules (shlib.lds): Fail if the linker script comes out empty.
7601         * elf/Makefile ($(objpfx)ld.so): Likewise.
7603         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7604         Don't list ld.so twice in dependencies.
7606         * posix/bug-regex31.c: Include <stdlib.h>.
7608         * nscd/hstcache.c (cache_addhst): Remove unused variable.
7610         * nis/nss_compat/compat-spwd.c
7611         (getspent_next_nss_netgr): Remove unused variable.
7612         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7614         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7615         nonmembers" output to use the right array.
7617         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7619         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7621         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7622         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7623         * catgets/gencat.c (read_input_file): Likewise.
7624         * locale/programs/locarchive.c (enlarge_archive): Likewise.
7626         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7627         variable definition inside #if's controlling its use.
7629         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7631         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7633         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7635         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7636         unreachable code.
7638         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7640         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7641         * configure: Regenerated.
7643         * Makerules: Revert last change.
7644         * elf/Makefile: Likewise.
7646 2011-06-09  Roland McGrath  <roland@hack.frob.com>
7648         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7649         * elf/Makefile ($(objpfx)librtld.os): Likewise.
7650         (reloc-link): Likewise.
7652 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
7654         * elf/Makefile: Add rules to build pldd.
7655         * elf/pldd.c: New file.
7656         * elf/pldd-xx.c: New file.
7658 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
7660         * version.h: Update for 2.15 development version.
7662 2011-06-07  David S. Miller  <davem@davemloft.net>
7664         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7665         ifuncs.
7666         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7667         elf_machine_lazy_rel): Likewise.
7668         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7669         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7670         elf_machine_lazy_rel): Likewise.
7671         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7672         dl_hwcap via passed in argument.
7673         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7674         Likewise.
7676 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7678         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
7680 2011-06-06  Roland McGrath  <roland@hack.frob.com>
7682         [BZ #12849]
7683         * manual/fdl-1.1.texi: New file, verbatim from:
7684         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7685         * manual/lgpl-2.1.texi: New file, verbatim from:
7686         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7687         * manual/Makefile (licenses): New variable, list those new file names.
7688         (texis): Use it.
7689         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7691         * manual/fdl.texi: File removed.
7692         * manual/lesser.texi: File removed.
7693         * manual/libc.texinfo (Copying, Documentation License):
7694         Use new @include file names, put @appendix directive before @include.
7696 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
7698         [BZ #12841]
7699         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7700         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7701         (mq_open): Add __NTH.
7703 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
7705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7706         Assume Intel Core i3/i5/i7 processor if AVX is available.
7708 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7711         typo.
7713 2011-05-31  Andreas Schwab  <schwab@redhat.com>
7715         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7716         memory.  Use alloca_account.  Fix memory leak when retrying.
7718 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7720         * version.h (RELEASE): Bump for 2.14 release.
7721         * include/features.h (__GLIBC_MINOR__): Bump to 14.
7723         * config.make.in (RANLIB): Remove entry.
7725 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
7727         * po/Makefile (po-sed-cmd): Add ksh to extensions.
7728         (libc.pot): Work around missing support for .ksh extension in xgettext.
7730         [BZ #12684]
7731         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7732         if both request failed.
7733         (send_dg): In case of server errors clear resplen or *resplen2.
7735         [BZ #12454]
7736         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7737         when there are multiple maps.
7738         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7739         (_dl_fini): Remove test here.
7741         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7743 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
7745         [BZ #12350]
7746         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7747         bit from old_res_options.
7748         (gaih_inet): Likewise.
7750         [BZ #11099]
7751         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7752         as signed.
7754         * resolv/res_init.c (res_setoptions): Make the code more compact.
7756         [BZ #11558]
7757         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7758         set RES_USEVC.
7760         [BZ #11634]
7761         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7763         * malloc/malloc.h: Mark malloc hook variables as deprecated.
7765         [BZ #11781]
7766         * malloc/malloc.h: Declare malloc hook variables as volatile.
7768         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7769         in last patch.
7771         [BZ #11799]
7772         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7773         raise in the comment.
7774         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7775         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7776         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7778 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
7780         [BZ #12811]
7781         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7782         grow the buffers more if it already has to be sufficient.
7783         (build_wcs_upper_buffer): Likewise.
7784         * posix/regexec.c (check_matching): Likewise.
7785         (clean_state_log_if_needed): Likewise.
7786         (extend_buffers): Don't enlarge buffers beyond size of the input
7787         buffer.
7788         Patches mostly by Emil Wojak <emil@wojak.eu>.
7789         * posix/bug-regex32.c: New file.
7790         * posix/Makefile (tests): Add bug-regex32.
7792         * locale/findlocale.c (_nl_find_locale): Return right away if
7793         _nl_explode_name failed.
7794         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7796         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7798         * debug/xtrace.sh: Unify messages.
7799         * malloc/memusage.sh: Likewise.
7801         [BZ #12813]
7802         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7803         time symbol from vDSO.  Substitute with vsyscall if not available.
7804         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7805         __vdso_time.
7807         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7808         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7809         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7810         Add sendmmsg and internal_sendmmsg.
7811         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7812         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7813         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7815         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7816         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7817         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7819 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
7821         [BZ #12813]
7822         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7823         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
7824         available.
7825         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7826         __vdso_getcpu.
7828         [BZ #12814]
7829         * iconvdata/Makefile (tests): Add bug-iconv9.
7830         * iconvdata/bug-iconv9.c: New file.
7832 2011-05-27  Andreas Schwab  <schwab@redhat.com>
7834         [BZ #12814]
7835         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7837 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
7839         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7840         (struct user_regs_struct): Change intcs field back to cs.
7842 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
7844         * po/ja.po: Update from translation team.
7846 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
7848         [BZ #12795]
7849         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7850         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7852 2011-05-20  Andreas Schwab  <schwab@redhat.com>
7854         * stdlib/longlong.h: Update from GCC.
7856 2011-05-23  Andreas Schwab  <schwab@redhat.com>
7858         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7859         parameter name.
7860         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7861         Add parameter name.
7862         (__sysconf): Pass it down.
7864 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
7866         [BZ #12671]
7867         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7868         some situations.
7869         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7870         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7871         add in in __libc_use_alloca calls.  Adjust callers.
7872         (glob): Use malloc in some situations.
7874         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7875         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7876         pltexit.
7878 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
7880         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7881         and CLOCK_BOOTTIME_ALARM.
7883         [BZ #12782]
7884         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7885         is returned.
7887         * string/_strerror.c (__strerror_r): Print negative errors as signed
7888         numbers.
7890         [BZ #12777]
7891         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7892         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7893         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7895         * configure.in: Fix typo in redirection and correct removal of test
7896         files in two cases.
7898         [BZ #12788]
7899         * locale/setlocale.c (new_composite_name): Fix test to check for
7900         identical name of all categories.
7902         [BZ #12792]
7903         * libio/filedoalloc.c (local_isatty): New function.
7904         (_IO_file_doallocate): Use local_isatty.
7905         * stdio-common/perror.c (perror): In case a new stream is used
7906         forward the stream error.
7907         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7908         error flag.
7910 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
7912         [BZ #11869]
7913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7914         alloca.
7915         * include/alloca.h (extend_alloca_account): Define.
7917         [BZ #11857]
7918         * posix/regex.h: Fix comments with documentation of user-accessible
7919         fields after compilation and describe correct free'ing of pattern
7920         after re_compile_pattern.
7921         Patch by Reuben Thomas <rrt@sc3d.org>.
7923 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
7925         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7926         and -mno-altivec to prevent the compiler from using Altivec and/or
7927         VSX instructions when the corresponding registers are not available.
7929 2011-05-19  Andreas Schwab  <schwab@redhat.com>
7931         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7933 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
7935         * libio/freopen.c (freopen): Use __dup2, not dup2.
7936         * libio/freopen64.c (freopen64): Likewise.
7938 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7940         [BZ #12775]
7941         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7942         * math/Makefile (tests): Add test-powl.
7943         (CFLAGS-test-powl.c): Define.
7944         * math/test-powl.c: New file.
7946 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7948         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7950 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
7952         [BZ #11837]
7953         * iconvdata/gb18030.c: Update to GB18020-2005.
7955 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
7957         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7958         RE_SYNTAX_POSIX_AWK): Update to match recent development.
7959         Patch by Aharon Robbins <arnold@skeeve.com>.
7961         [BZ #11892]
7962         * stdlib/putenv.c (putenv): Don't always create copy of the variable
7963         on the stack.
7965         [BZ #11895]
7966         * misc/pselect.c (__pselect): Handle timeout value errors hidden
7967         through underflows.
7969         [BZ #12766]
7970         * misc/error.c (error_at_line): Ensure file_name and old_file_name
7971         point to strings before performing equality test for error_one_per_line
7972         mode.
7974         [BZ #11697]
7975         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7977         [BZ #11820]
7978         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7979         (struct user_fpregs_struct): Avoid __uint*_t types.
7981         [BZ #6420]
7982         * malloc/mtrace.c (tr_where): Add additional parameter to point to
7983         symbol info.  Use it instead of calling _dl_addr locally.
7984         (lock_and_info): New function.
7985         (tr_freehook): Call lock_and_info and pass symbol info as additional
7986         parameter to tr_where.
7987         (tr_mallochook): Likewise.
7988         (tr_reallochook): Likewise.
7989         (tr_memalignhook): Likewise.
7991         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
7992         used and couldn't be at all thread-safe.
7994 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
7996         * libio/freopen.c (freopen): Don't close old file descriptor
7997         before the new one is opened.  Instead dup the new file descriptor
7998         to the old one after the new stream is created.
7999         * libio/freopen64.c (freopen64): Likewise.
8000         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8001         * libio/fileops.c (_IO_new_file_close_it): Handle new
8002         _IO_FLAGS2_NOCLOSE flag.
8003         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8004         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8005         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8006         _IO_FLAGS2_NOCLOSE flag.
8007         * include/unistd.h: Add hidden_proto for dup3.
8008         Define __have_dup3.
8009         * io/dup3.c: Define hidden symbol.
8010         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8012         [BZ #7101]
8013         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8014         when an incomplete long option is used.
8015         * posix/tst-getopt_long1.c: New file.
8016         * posix/Makefile (tests): Add tst-getopt_long1.
8018         [BZ #10138]
8019         * scripts/config.guess: Update from autoconf-2.68.
8020         * scripts/config.sub: Likewise.
8022         [BZ #10157]
8023         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8024         tests into ...
8025         (has_cpuclock): ...this.  New function.
8026         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8027         macro here based on has_cpuclock code.
8029         [BZ #10149]
8030         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8031         First byte (not low byte) is now always NUL.
8032         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8034         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8035         Use non-cancelable interfaces.
8037         [BZ #9809]
8038         * locale/iso-639.def: Add entry for Sorani.
8040         [BZ #11901]
8041         * include/stdlib.h: Move include protection to the right place.
8042         Define abort_msg_s.  Declare __abort_msg with it.
8043         * stdlib/abort.c (__abort_msg): Adjust type.
8044         * assert/assert.c (__assert_fail_base): New function.  Majority
8045         of code from __assert_fail.  Allocate memory for __abort_msg with
8046         mmap.
8047         (__assert_fail): Now call __assert_fail_base.
8048         * assert/assert-perr.c: Remove bulk of implementation.  Use
8049         __assert_fail_base.
8050         * include/assert.hL Declare __assert_fail_base.
8051         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8052         mmap.
8053         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8055 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
8057         [BZ #11952]
8058         [BZ #12453]
8059         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8060         until all modules are registered in the DTV.
8061         * elf/Makefile: Add rules to build and run tst-tls19.
8062         * elf/tst-tls19.c: New file.
8063         * elf/tst-tls19mod1.c: New file.
8064         * elf/tst-tls19mod2.c: New file.
8065         * elf/tst-tls19mod3.c: New file.
8066         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8068         [BZ #12083]
8069         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8070         correctly.
8072         [BZ #12601]
8073         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8074         two-byte sequence errors.
8075         * iconvdata/Makefile (tests): Add bug-iconv8.
8076         * iconvdata/bug-iconv8.c: New file.
8078         [BZ #12626]
8079         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8080         buf2 definition.
8082         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8084         [BZ #12432]
8085         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8086         (dummy_getcfa): New function.
8087         (init): Get _Unwind_GetCFA address, use dummy if not found.
8088         (backtrace_helper): In recursion check, also check whether CFA changes.
8089         (__backtrace): Completely initialize arg.
8091         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8092         storing incomplete byte sequence in state object.  Avoid testing for
8093         guaranteed too small input if we know there is enough data available.
8095 2011-05-11  Andreas Schwab  <schwab@redhat.com>
8097         * Makeconfig (+link-pie): Indent.
8098         * Rules (binaries-pie): Define if $(have-fpie) and
8099         $(build-shared).
8100         (binaries-shared): Also filter out $(binaries-pie).
8101         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8102         * nscd/Makefile (others-pie): Add nscd.
8103         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8104         ($(objpfx)nscd): Remove command override.
8105         * login/Makefile (others-pie): Add pt_chown.
8106         ($(objpfx)pt_chown): Remove command override.
8107         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8108         remove command overrides.
8110 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
8112         * libio/tst_putwc.c: Fix error messages.
8114         [BZ #12724]
8115         * libio/fileops.c (_IO_new_file_close_it): Always flush when
8116         currently writing and seek to current position when not.
8117         * libio/Makefile (tests): Add bug-fclose1.
8118         * libio/bug-fclose1.c: New file.
8120 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
8122         [BZ #12511]
8123         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8124         don't set DF_1_NODELETE here.
8125         (do_lookup_x): When entering new entry test for copy relocation
8126         and if necessary set DF_1_NODELETE flag.
8127         * elf/tst-unique4.cc: New file.
8128         * elf/tst-unique4.h: New file.
8129         * elf/tst-unique4lib.cc: New file.
8130         * elf/Makefile: Add rules to build and run tst-unique4.
8131         Patch by Piotr Bury <pbury@goahead.com>.
8133 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
8135         [BZ #12052]
8136         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8138         [BZ #12625]
8139         * misc/mntent_r.c (addmntent): Flush the stream after the output
8141         [BZ #12393]
8142         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8143         (is_trusted_path_normalize): Skip initial colon.  Append slash
8144         to empty buffer.  Duplicate is_trusted_path code but allow
8145         constructed patch to be prefix.
8146         (is_dst): Allow $ORIGIN followed by /.
8147         (_dl_dst_substitute): Correct clearing of check_for_trusted.
8148         Correct testing of result of is_trusted_path_normalize
8149         (decompose_rpath): Fix warning.
8151 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
8153         [BZ #11257]
8154         * grp/initgroups.c (internal_getgrouplist): When we found the service
8155         list through the initgroups entry in nsswitch.conf do not always
8156         continue on a successful lookup.  Don't always use the
8157         __nss_group_database value if it is set.
8158         * nss/nsswitch.conf (initgroups): Change action for successful db
8159         lookup to continue for compatibility.
8161 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
8163         [BZ #11532]
8164         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8165         and CP774 modules.
8166         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8167         and CP774 modules.
8168         * iconvdata/tst-tables.sh: Likewise.
8169         * iconvdata/cp770.c: New file.
8170         * iconvdata/cp771.c: New file.
8171         * iconvdata/cp772.c: New file.
8172         * iconvdata/cp773.c: New file.
8173         * iconvdata/cp774.c: New file.
8174         * iconvdata/testdata/CP770: New file.
8175         * iconvdata/testdata/CP770..UTF8: New file.
8176         * iconvdata/testdata/CP771: New file.
8177         * iconvdata/testdata/CP771..UTF8: New file.
8178         * iconvdata/testdata/CP772: New file.
8179         * iconvdata/testdata/CP772..UTF8: New file.
8180         * iconvdata/testdata/CP773: New file.
8181         * iconvdata/testdata/CP773..UTF8: New file.
8182         * iconvdata/testdata/CP774: New file.
8183         * iconvdata/testdata/CP774..UTF8: New file.
8185         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8186         END CHARMAP line.
8187         * iconvdata/gen-8bit-gap.sh: Likewise.
8188         * iconvdata/gen-8bit.sh: Likewise.
8190         * locale/iso-639.def: Add ary entry.
8192         [BZ #11258]
8193         * locale/C-translit.h.in: Add U20A1 transliteration.
8195         [BZ #12178]
8196         * locale/iso-639.def: Add wae entry.
8197         Patch by Kevin Bortis <bortis@translate-wae.ch>.
8199         [BZ #12545]
8200         * locale/programs/localedef.c (construct_output_path): Use ssize_t
8201         for n.
8203         [BZ #12711]
8204         * locale/C-translit.h.in: Add entry for U20B9.
8205         Patch by pravin.d.s@gmail.com.
8207 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
8209         [BZ #12713]
8210         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8211         ENAMETOOLONG use generic getcwd.
8212         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
8213         in rtld.  Use *stat64.
8214         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8215         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8216         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8217         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8218         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8219         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8220         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8221         __fstatat64 macros.
8222         * include/dirent.h: Add libc_hidden_proto for rewinddir.
8223         * dirent/rewinddir.c: Add libc_hidden_def.
8224         * sysdeps/mach/hurd/rewinddir.c: Likewise.
8225         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
8227         * include/dirent.h (__alloc_dir): Add flags parameter.
8228         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8229         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8230         __alloc_dir.
8231         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
8232         from fdopendir if O_CLOEXEC is already set.
8234 2011-03-15  Alan Modra  <amodra@gmail.com>
8236         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8237         l_tls_firstbyte_offset non-zero.  Save padding offset in
8238         l_tls_firstbyte_offset for later use.
8239         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8240         freeing static tls block.
8242 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
8244         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8245         where #ifdef was intended.  The intent is to prevent ARG_MAX from
8246         being defined by the kernel headers.
8248 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
8250         [BZ #12734]
8251         * resolv/resolv.h: Define RES_NOTLDQUERY.
8252         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8253         no-tld-query and set RES_NOTLDQUERY.
8254         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8255         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8256         modern BIND to search name as TLD unless forbidden.
8258 2011-05-07  Petr Baudis  <pasky@suse.cz>
8259             Ulrich Drepper  <drepper@gmail.com>
8261         [BZ #12393]
8262         * elf/dl-load.c (fillin_rpath): Move trusted path check...
8263         (is_trusted_path): ...to here.
8264         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8265         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8266         using is_trusted_path_normalize() in setuid scripts.
8268 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8270         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8271         __BEGIN/__END_DECLS.
8273 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
8275         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8276         NSS_STATUS_NOTFOUND if no record was found.
8278 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8280         * sunrpc/Makefile (headers): Add rpc/netdb.h.
8281         (headers-not-in-tirpc): Remove rpc/netdb.h
8282         * resolv/netdb.h: Revert last change.
8284 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8286         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8287         circular dependency between libgcc.a and libc.a.
8289 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8291         * resolv/netdb.h: Don't include <rpc/netdb.h>.
8292         * nis/Makefile: Don't install rpcsvc/*.
8293         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8294         instead of <rpc/types.h>.
8295         (MAXHOSTNAMELEN): Define.
8297 2011-05-03  Andreas Schwab  <schwab@redhat.com>
8299         * elf/ldconfig.c (add_dir): Don't crash on empty path.
8301 2011-04-28  Maciej Babinski  <mbabinski@google.com>
8303         [BZ #12714]
8304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8305         gethostbyname4_r when IPv6 results are possible.
8307 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
8309         [BZ #12723]
8310         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8311         _PC_PIPE_BUF handling.
8313 2011-04-30  Bruno Haible  <bruno@clisp.org>
8315         [BZ #12717]
8316         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8317         * resolv/netdb.h (getnameinfo): Change type of flags parameter
8318         to 'int'.
8319         * inet/getnameinfo.c (getnameinfo): Likewise.
8321 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
8323         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8324         to groups setting in database lookup.
8325         * nss/nsswitch.conf: Add initgroups entry.
8327 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
8329         [BZ #12685]
8330         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8331         mode string.
8332         Patch by Eric Blake <eblake@redhat.com>.
8334 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
8336         * sunrpc/Makefile (need-export-routines): Add svc_run.
8337         (routines): Remove svc_run.
8338         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8339         * sunrpc/clnt_perr.c (clnt_perrno): Export.
8340         * sunrpc/svc_run.c (svc_run): Likewise.
8341         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8343 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
8345         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8346         problem in reallocation in last patch.
8348 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
8350         * sunrpc/Makefile: Move inclusion of Rules.
8352 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8354         * nss/nss_files/files-initgroups.c: New file.
8355         * nss/Makefile (libnss_files-routines): Add files-initgroups.
8356         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8357         _nss_files_initgroups_dyn.
8359 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
8361         * elf/elf.h (R_ARM_IRELATIVE): Define.
8363 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8365         * po/ru.po: Update from translation team.
8367 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8369         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8370         dependencies.
8372 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
8374         [BZ #12653]
8375         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8376         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8377         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8378         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8379         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8381 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8383         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8384         differing bytes.
8385         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8386         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8387         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8389 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8391         [BZ #12420]
8392         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8393         storing it.
8394         * stdlib/bug-getcontext.c: New file.
8395         * stdlib/Makefile: Add rules to build and run bug-getcontext.
8397 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8399         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8400         instructions into .machine "z9-109".
8401         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8402         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8404 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8406         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8407         between environment variables and auxiliary vector.
8409 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
8411         * Makefile: Add rules to build linkobj/libc.so.
8412         * include/libc-symbols.h: Define libc_hidden_nolink.
8413         * include/rpc/auth.h: Mark functions which are to be hidden.
8414         * include/rpc/auth_des.h: Likewise.
8415         * include/rpc/auth_unix.h: Likewise.
8416         * include/rpc/clnt.h: Likewise.
8417         * include/rpc/des_crypt.h: Likewise.
8418         * include/rpc/key_prot.h: Likewise.
8419         * include/rpc/pmap_clnt.h: Likewise.
8420         * include/rpc/pmap_prot.h: Likewise.
8421         * include/rpc/pmap_rmt.h: Likewise.
8422         * include/rpc/rpc_msg.h: Likewise.
8423         * include/rpc/svc.h: Likewise.
8424         * include/rpc/svc_auth.h: Likewise.
8425         * include/rpc/xdr.h: Likewise.
8426         * nis/Makefile: Link all DSOs against linkobj/libc.so.
8427         * nss/Makefile: Likewise.
8428         * sunrpc/Makefile: Don't install headers.  Build library with normal
8429         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
8430         * sunrpc/auth_des.c: Hide exported symbols by default, export some
8431         for the compat linking library.  Remove use of INTDEF/INTUSE.
8432         * sunrpc/auth_none.c: Likewise.
8433         * sunrpc/auth_unix.c: Likewise.
8434         * sunrpc/authdes_prot.c: Likewise.
8435         * sunrpc/authuxprot.c: Likewise.
8436         * sunrpc/clnt_gen.c: Likewise.
8437         * sunrpc/clnt_perr.c: Likewise.
8438         * sunrpc/clnt_raw.c: Likewise.
8439         * sunrpc/clnt_simp.c: Likewise.
8440         * sunrpc/clnt_tcp.c: Likewise.
8441         * sunrpc/clnt_udp.c: Likewise.
8442         * sunrpc/clnt_unix.c: Likewise.
8443         * sunrpc/des_crypt.c: Likewise.
8444         * sunrpc/des_soft.c: Likewise.
8445         * sunrpc/get_myaddr.c: Likewise.
8446         * sunrpc/key_call.c: Likewise.
8447         * sunrpc/key_prot.c: Likewise.
8448         * sunrpc/netname.c: Likewise.
8449         * sunrpc/pm_getmaps.c: Likewise.
8450         * sunrpc/pm_getport.c: Likewise.
8451         * sunrpc/pmap_clnt.c: Likewise.
8452         * sunrpc/pmap_prot.c: Likewise.
8453         * sunrpc/pmap_prot2.c: Likewise.
8454         * sunrpc/pmap_rmt.c: Likewise.
8455         * sunrpc/publickey.c: Likewise.
8456         * sunrpc/rpc_cmsg.c: Likewise.
8457         * sunrpc/rpc_common.c: Likewise.
8458         * sunrpc/rpc_dtable.c: Likewise.
8459         * sunrpc/rpc_prot.c: Likewise.
8460         * sunrpc/rpc_thread.c: Likewise.
8461         * sunrpc/rtime.c: Likewise.
8462         * sunrpc/svc.c: Likewise.
8463         * sunrpc/svc_auth.c: Likewise.
8464         * sunrpc/svc_authux.c: Likewise.
8465         * sunrpc/svc_raw.c: Likewise.
8466         * sunrpc/svc_run.c: Likewise.
8467         * sunrpc/svc_simple.c: Likewise.
8468         * sunrpc/svc_tcp.c: Likewise.
8469         * sunrpc/svc_udp.c: Likewise.
8470         * sunrpc/svc_unix.c: Likewise.
8471         * sunrpc/svcauth_des.c: Likewise.
8472         * sunrpc/xcrypt.c: Likewise.
8473         * sunrpc/xdr.c: Likewise.
8474         * sunrpc/xdr_array.c: Likewise.
8475         * sunrpc/xdr_float.c: Likewise.
8476         * sunrpc/xdr_intXX_t.c: Likewise.
8477         * sunrpc/xdr_mem.c: Likewise.
8478         * sunrpc/xdr_rec.c: Likewise.
8479         * sunrpc/xdr_ref.c: Likewise.
8480         * sunrpc/xdr_sizeof.c: Likewise.
8481         * sunrpc/xdr_stdio.c: Likewise.
8483 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
8485         [BZ #12650]
8486         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8487         * sysdeps/ia64/dl-tls.h: Likewise.
8488         * sysdeps/powerpc/dl-tls.h: Likewise.
8489         * sysdeps/s390/dl-tls.h: Likewise.
8490         * sysdeps/sh/dl-tls.h: Likewise.
8491         * sysdeps/sparc/dl-tls.h: Likewise.
8492         * sysdeps/x86_64/dl-tls.h: Likewise.
8493         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8495 2011-03-14  Andreas Schwab  <schwab@redhat.com>
8497         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8498         rpath element also skip the following colon.
8499         (expand_dynamic_string_token): Add is_path parameter and pass
8500         down to DL_DST_REQUIRED and _dl_dst_substitute.
8501         (decompose_rpath): Call expand_dynamic_string_token with
8502         non-zero is_path.  Ignore empty rpaths.
8503         (_dl_map_object_from_fd): Call expand_dynamic_string_token
8504         with zero is_path.
8506 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
8508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8509         Make cancelable.
8511 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
8513         [BZ #12655]
8514         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8515         Patch by Filipe David Manana <fdmanana@apache.org>.
8517 2011-04-07  Andreas Schwab  <schwab@redhat.com>
8519         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8520         Maintain aligned stack.
8521         (CHECK_RSP): Remove unused macro.
8523 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
8525         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8526         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8528 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
8530         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8532         * include/features.h: Mention __USE_XOPEN2K8 in comment.
8534 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
8536         [BZ #12518]
8537         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8538         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8539         * sysdeps/x86_64/memmove.c: New file.
8540         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8541         (memcpy): Renamed to ...
8542         (__new_memcpy): This.
8543         (memcpy): Provide GLIBC_2_14 memcpy.
8544         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8545         (memcpy): Provide GLIBC_2_2_5 memcpy.
8547 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8549         [BZ #12631]
8550         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8552 2011-03-30  Andreas Schwab  <schwab@redhat.com>
8554         * misc/syncfs.c: New file.
8555         * misc/Makefile (routines): Add syncfs.
8556         * posix/unistd.h: Declare syncfs.
8557         * sysdeps/unix/syscalls.list: Add syncfs.
8559 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8561         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8562         open_by_handle_at.
8563         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8564         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8565         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8566         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8568         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8569         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8571 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8573         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8574         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8575         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8577         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8581         * io/Makefile: Compile fallocate.c, fallocate64.c, and
8582         sync_file_range.c with -fexceptions.
8583         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8584         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8585         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8586         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8587         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8588         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8590         sync_file_range as cancellation point
8591         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
8592         now a wrapper around __call_sync_file_range with cancellation handling.
8593         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8594         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
8595         function name to __call_sync_file_range.
8596         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8597         Add call_sync_file_range.
8599 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8601         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8602         bits/timex.h.
8604 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8606         * iconv/iconv.h: Fix typo in comment.
8607         * io/fcntl.h: Likewise.
8608         * libio/stdio.h: Likewise.
8609         * posix/spawn.h: Likewise.
8610         * posix/unistd.h: Likewise.
8611         * stdlib/stdlib.h: Likewise.
8612         * time/time.h: Likewise.
8613         * wcsmbs/wchar.h: Likewise.
8615         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8616         open_by_handle): Add.
8617         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8618         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
8619         Augment a few comments.
8620         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8621         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8622         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8624         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8625         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8626         open_by_handle.
8628         * io/fcntl.h (AT_EMPTY_PATH): Define.
8630 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
8632         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8633         * sysdeps/unix/sysv/linux/bits/time.h: New file.
8634         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8635         to...
8636         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
8637         * Versions.def: Add GLIBC_2.14.
8638         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8639         Export.
8641 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
8643         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8644         round counter.
8645         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8647 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8649         [BZ #12597]
8650         * string/test-strncmp.c (do_page_test): New function.
8651         (check2): Likewise.
8652         (test_main): Call check2.
8653         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8655 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
8657         [BZ #12587]
8658         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8659         Handle cache information in CPU leaf 4.
8660         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8662 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
8664         [BZ #12583]
8665         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8666         character representation.
8667         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8669 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
8671         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8672         END(__isnan) to END(__isnanf) to match function entry point/label
8673         EALIGN(__isnanf,...).
8675 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
8677         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8679 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
8681         [BZ #12510]
8682         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8683         copy from the symbol referenced in the relocation to initialize the
8684         used variable.
8685         Patch by Piotr Bury <pbury@goahead.com>.
8686         * elf/Makefile: Add rules to build and tst-unique3.
8687         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8688         * elf/tst-unique3.cc: New file.
8689         * elf/tst-unique3.h: New file.
8690         * elf/tst-unique3lib.cc: New file.
8691         * elf/tst-unique3lib2.cc: New file.
8693         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8695 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
8697         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8698         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
8699         to _start.
8701 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
8703         * elf/dl-load.c (_dl_map_object): If we are looking for the first
8704         to-be-loaded object along a path to loader is ld.so.
8706 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8707             Ulrich Drepper  <drepper@gmail.com>
8709         * sysdeps/x86_64/memset.S: After aligning destination, code
8710         branches to different locations depending on the value of
8711         misalignment, when multiarch is enabled. Fix this.
8713 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8715         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8716         Set _x86_64_preferred_memory_instruction for AMD processsors.
8717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8718         Set bit_Prefer_SSE_for_memop for AMD processors.
8720 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
8722         * libio/fmemopen.c (fmemopen): Optimize a bit.
8724 2011-03-03  Andreas Schwab  <schwab@redhat.com>
8726         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8728 2011-03-03  Roland McGrath  <roland@redhat.com>
8730         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8732 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
8734         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8735         __bzero_ultra1 instead of __memset_ultra1.
8737 2011-02-23  Andreas Schwab  <schwab@redhat.com>
8738             Ulrich Drepper  <drepper@gmail.com>
8740         [BZ #12509]
8741         * include/link.h (struct link_map): Add l_orig_initfini.
8742         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8743         returning unsuccessfully.
8744         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8745         close of a file loaded at startup, restore the original l_initfini
8746         list.
8747         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8748         list, store the pointer.
8749         * elf/Makefile ($(objpfx)noload-mem): New rule.
8750         (noload-ENV): Define.
8751         (tests): Add $(objpfx)noload-mem.
8752         * elf/noload.c: Include <memcheck.h>.
8753         (main): Call mtrace.  Close all opened handles.
8755 2011-02-17  Andreas Schwab  <schwab@redhat.com>
8757         [BZ #12454]
8758         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8759         dependencies are missing.
8761 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8763         Fix __if_freereq crash: Unlike the generic version which uses free,
8764         Hurd needs munmap.
8765         * sysdeps/mach/hurd/ifreq.h: New file.
8767 2011-01-27  Petr Baudis  <pasky@suse.cz>
8768             Ulrich Drepper  <drepper@gmail.com>
8770         [BZ 12445]#
8771         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8772         to extend_alloca().
8773         * stdio-common/bug23.c: New file.
8774         * stdio-common/Makefile (tests): Add bug23.
8776 2010-09-28  Andreas Schwab  <schwab@redhat.com>
8777             Ulrich Drepper  <drepper@gmail.com>
8779         [BZ #12489]
8780         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8781         before performing relro protection.  At old place add assertion
8782         to make sure nothing changed.
8784 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
8785             Glauber de Oliveira Costa  <glommer@gmail.com>
8787         * elf/elf.h: Add new ARM TLS relocs.
8789 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8792         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8793         cast from r3.
8794         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
8795         'tests' variable.
8796         * sysdeps/wordsize-64/tst-writev.c: New file.
8798 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
8800         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8801         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8802         insns in _dl_start to prevent a TOC reference before relocs are
8803         resolved.
8805 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
8807         [BZ #12469]
8808         * Makeconfig: Remove RANLIB definition.
8809         * Makerules: Don't use RANLIB.
8810         * aclocal.m4: Remove ranlib test.
8811         * configure.in: No need to check for ranlib.
8812         * elf/rtld-Rules: Don't use RANLIB.
8814 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8816         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8817         protection macro.
8818         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8819         inclusion protection macro.
8821         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8822         SIGRTMIN and SIGRTMAX and print information in that case only when
8823         SIGRTMIN is defined.
8825 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
8827         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8828         arginfo fn returning -1.
8830         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8831         and thousands string is zero terminated.
8833 2011-02-03  Andreas Schwab  <schwab@redhat.com>
8835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8836         sysdeps/unix/sysv/linux/bits/socket.h.
8838 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8840         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8841         (__CPU_COUNT): Remove old macros.
8842         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8843         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8844         (__CPU_ALLOC, __CPU_FREE): Add macros.
8845         (__sched_cpualloc, __sched_cpufree): Add declarations.
8847 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
8849         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8850         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8851         * nscd/aicache.c (addhstaiX): Return timeout of added value.
8852         (readdhstai): Return value of addhstaiX call.
8853         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8854         (addgrbyX): Return value returned by cache_addgr.
8855         (readdgrbyname): Return value returned by addgrbyX.
8856         (readdgrbygid): Likewise.
8857         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8858         (addpwbyX): Return value returned by cache_addpw.
8859         (readdpwbyname): Return value returned by addhstbyX.
8860         (readdpwbyuid): Likewise.
8861         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8862         (addservbyX): Return value returned by cache_addserv.
8863         (readdservbyname): Return value returned by addservbyX:
8864         (readdservbyport): Likewise.
8865         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8866         (addhstbyX): Return value returned by cache_addhst.
8867         (readdhstbyname): Return value returned by addhstbyX.
8868         (readdhstbyaddr): Likewise.
8869         (readdhstbynamev6): Likewise.
8870         (readdhstbyaddrv6): Likewise.
8871         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8872         (readdinitgroups): Return value returned by addinitgroupsX.
8873         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8874         (prune_cache): Keep track of timeout value of re-added entries.
8875         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8876         * nscd/nscd.h: Adjust prototypes of readd* functions.
8878 2011-02-04  Roland McGrath  <roland@redhat.com>
8880         * nis/nis_server.c (nis_servstate): Use the right name for 0.
8881         (nis_stats): Likewise.
8882         * nis/nis_modify.c (nis_modify): Likewise.
8883         * nis/nis_remove.c (nis_remove): Likewise.
8884         * nis/nis_add.c (nis_add): Likewise.
8886         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8888         * posix/fnmatch_loop.c: Add some consts.
8890         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8892 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8894         [BZ #12460]
8895         * config.make.in (config-cflags-novzeroupper): Define.
8896         * configure.in: Substitute libc_cv_cc_novzeroupper.
8897         * elf/Makefile (AVX-CFLAGS): Define.
8898         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8899         (CFLAGS-tst-auditmod4a.c): Likewise.
8900         (CFLAGS-tst-auditmod4b.c): Likewise.
8901         (CFLAGS-tst-auditmod6b.c): Likewise.
8902         (CFLAGS-tst-auditmod6c.c): Likewise.
8903         (CFLAGS-tst-auditmod7b.c): Likewise.
8904         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8906 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
8908         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8909         function to the callback.
8910         Patch partly by Jiri Olsa <jolsa@redhat.com>.
8912 2011-02-02  Andreas Schwab  <schwab@redhat.com>
8914         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8915         of errno.
8917 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
8919         [BZ #11724]
8920         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8921         of constructors.
8922         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8923         of destructors.
8924         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8926         [BZ #11724]
8927         * elf/Makefile: Add rules to build and run new test.
8928         * elf/tst-initorder.c: New file.
8929         * elf/tst-initorder.exp: New file.
8930         * elf/tst-initordera1.c: New file.
8931         * elf/tst-initordera2.c: New file.
8932         * elf/tst-initordera3.c: New file.
8933         * elf/tst-initordera4.c: New file.
8934         * elf/tst-initorderb1.c: New file.
8935         * elf/tst-initorderb2.c: New file.
8936         * elf/tst-order-a1.c: New file.
8937         * elf/tst-order-a2.c: New file.
8938         * elf/tst-order-a3.c: New file.
8939         * elf/tst-order-a4.c: New file.
8940         * elf/tst-order-b1.c: New file.
8941         * elf/tst-order-b2.c: New file.
8942         * elf/tst-order-main.c: New file.
8943         New test case by George Gensure <werkt0@gmail.com>.
8945 2010-10-01  Andreas Schwab  <schwab@redhat.com>
8947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8948         decoding ACE if AI_CANONIDN.
8950 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
8952         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8954 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
8956         * version.h (RELEASE): Bump for 2.13 release.
8957         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8959         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8961         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8962         MADV_NOHUGEPAGE.
8963         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8964         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8965         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8966         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8967         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8968         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8970         * posix/getconf.c: Update copyright year.
8971         * catgets/gencat.c: Likewise.
8972         * csu/version.c: Likewise.
8973         * debug/catchsegv.sh: Likewise.
8974         * debug/xtrace.sh: Likewise.
8975         * elf/ldconfig.c: Likewise.
8976         * elf/ldd.bash.in: Likewise.
8977         * elf/sprof.c (print_version): Likewise.
8978         * iconv/iconv_prog.c: Likewise.
8979         * iconv/iconvconfig.c: Likewise.
8980         * locale/programs/locale.c: Likewise.
8981         * locale/programs/localedef.c: Likewise.
8982         * malloc/memusage.sh: Likewise.
8983         * malloc/mtrace.pl: Likewise.
8984         * nscd/nscd.c (print_version): Likewise.
8985         * nss/getent.c: Likewise.
8987         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8988         PF_CAIF, and PF_ALG.
8989         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8991 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
8993         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8994         (modules-names): Use them.
8995         (ifunc-test-modules, ifunc-pie-tests): Define.
8996         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8997         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8998         (test-extras): Likewise.
8999         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9000         $(compile-command.c).
9001         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9002         (all-built-dso): Define.
9003         (check-textrel.out, check-execstack.out): Depend on it.
9005         * configure.in: Don't override --enable-multi-arch.
9007 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
9009         [BZ #6812]
9010         * nscd/hstcache.c (tryagain): Define.
9011         (cache_addhst): Return tryagain not notfound for temporary errors.
9012         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9013         failed.
9015 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
9017         [BZ #10563]
9018         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9019         to make the syscall.
9020         * sysdeps/unix/sysv/linux/setgroups.c: New file.
9022         [BZ #12378]
9023         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9024         and fall back to matching as normal character if the string ends before
9025         the matching ']' is found.  This is what POSIX requires.
9026         * posix/testfnm.c: Adjust test result.
9027         * posix/globtest.sh: Adjust test result.  Add new test.
9028         * posix/tst-fnmatch.input: Likewise.
9029         * posix/tst-fnmatch2.c: Add new test.
9031 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
9033         * elf/Makefile (check-execstack): Revert last change.  Depend on
9034         check-execstack.h.
9035         (check-execstack.h): New target.
9036         (generated): Add check-execstack.h.
9037         * elf/check-execstack.c: Include "check-execstack.h".
9038         (main): Revert last change.
9039         (handle_file): Return zero if GNU_STACK is absent and
9040         DEFAULT_STACK_PERMS doesn't include PF_X.
9042 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
9044         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9045         in child fails because the descriptor is already closed.
9046         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9047         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9048         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9050         [BZ #12397]
9051         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9052         syscall.
9054         [BZ #10484]
9055         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9056         temporary buffer used to handle multi lookups locally.
9057         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9059 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9061         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9062         loader is ld.so.
9064 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
9066         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9067         alignment for SSE2.
9069 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9071         [BZ #12394]
9072         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9073         characters.  When rounding increased number of integer digits recompute
9074         number of groups.
9075         * stdio-common/tst-grouping.c: New file.
9076         * stdio-common/Makefile: Add rules to build and run tst-grouping.
9078 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
9080         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9081         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
9083         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9084         void.
9085         * bits/select.h: Likewise.
9087 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
9089         * po/ja.po: Update from translation team.
9091 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
9093         [BZ #11155]
9094         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9095         implementation just like for lxstat, fxstatat, et al.
9097 2010-12-27  Jim Meyering  <meyering@redhat.com>
9099         [BZ #12348]
9100         * posix/regexec.c (build_trtable): Return failure indication upon
9101         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
9103 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
9105         [BZ #12201]
9106         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9107         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9108         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9109         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9111         [BZ #12207]
9112         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9114         [BZ #12204]
9115         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9116         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9118 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9120         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9121         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9122         script has SORT_BY_INIT_PRIORITY.
9123         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9124         NO_CTORS_DTORS_SECTIONS is defined.
9125         * elf/soinit.c: Likewise.
9126         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9127         NO_CTORS_DTORS_SECTIONS is defined.
9128         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9129         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9130         * sysdeps/sh/init-first.c: Likewise.
9131         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9133 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
9135         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9136         always use the slow path.
9138 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
9140         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9141         similar rule which adds the sysdep directories to the header search in
9142         order to pick up the correct platform stackinfo.h.
9143         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9144         perform test if it is, otherwise return successfully without testing.
9145         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9146         DEFAULT_STACK_PERMS define in stackinfo.h.
9147         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9148         defined in stackinfo.h.
9149         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9150         DEFAULT_STACK_PERMS defined in stackinfo.h.
9151         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9152         * sysdeps/ia64/stackinfo.h: Likewise.
9153         * sysdeps/s390/stackinfo.h: Likewise.
9154         * sysdeps/sh/stackinfo.h: Likewise.
9155         * sysdeps/sparc/stackinfo.h: Likewise.
9156         * sysdeps/x86_64/stackinfo.h: Likewise.
9157         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9158         PF_X for powerpc64.  Retain PF_X for powerpc32.
9160 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
9162         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9163         accurately.
9164         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9165         GETDENTS_64BIT_ALIGNED.
9167 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
9169         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9171 2010-12-10  Andreas Schwab  <schwab@redhat.com>
9173         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9174         _GNU_SOURCE.
9176         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9177         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9178         Remove __restrict.
9179         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9180         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9182 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
9184         [BZ #11655]
9185         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9186         are initialized.
9188 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
9190         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9192 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
9194         * po/it.po: Update from translation team.
9196 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9198         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9199         unused codes.
9201 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
9203         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9205 2010-11-24  Andreas Schwab  <schwab@redhat.com>
9207         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9208         specially.
9209         (gaih_getanswer_slice): Likewise.
9211 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
9213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9215 2010-05-31  Petr Baudis  <pasky@suse.cz>
9217         [BZ #11149]
9218         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9219         silently even in the chroot mode.
9221 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
9223         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9224         last patch a bit.  Pretty printing
9226 2010-05-31  Petr Baudis <pasky@suse.cz>
9228         [BZ #10085]
9229         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9230         initialization of skip_initgroups_dyn.
9232 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
9234         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9235         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9237 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
9239         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9241 2010-11-11  Andreas Schwab  <schwab@redhat.com>
9243         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9244         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9245         (tst-fnmatch-ENV): Set MALLOC_TRACE.
9246         ($(objpfx)tst-fnmatch-mem): New rule.
9247         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9248         * posix/tst-fnmatch.c (main): Call mtrace.
9250 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
9252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9253         Support Intel processor model 6 and model 0x2c.
9255 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
9257         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9258           signed comparison.
9260 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
9262         [BZ #12205]
9263         * string/test-strncasecmp.c (check_result): New function.
9264         (do_one_test): Use it.
9265         (check1): New function.
9266         (test_main): Use it.
9267         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9268         Support strcasecmp and strncasecmp.
9270 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
9272         [BZ #12194]
9273         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9274         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9276 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9278         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9279         IFUNC support.
9280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9281         memset-x86-64.
9282         * sysdeps/x86_64/multiarch/bzero.S: New file.
9283         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9284         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9285         * sysdeps/x86_64/multiarch/memset.S: New file.
9286         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9288         Set bit_Prefer_SSE_for_memop for Intel processors.
9289         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9290         Define.
9291         (index_Prefer_SSE_for_memop): Define.
9292         (HAS_PREFER_SSE_FOR_MEMOP): Define.
9294 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
9296         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9297         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9299 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
9301         [BZ #12191]
9302         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9303         (__x86_64_raw_data_cache_size_half): Likewise.
9304         (__x86_64_raw_shared_cache_size): Likewise.
9305         (__x86_64_raw_shared_cache_size_half): Likewise.
9307         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9308         (__x86_64_raw_data_cache_size_half): Likewise.
9309         (__x86_64_raw_shared_cache_size): Likewise.
9310         (__x86_64_raw_shared_cache_size_half): Likewise.
9311         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9312         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9313         and __x86_64_raw_shared_cache_size_half.  Round
9314         __x86_64_data_cache_size_half, __x86_64_data_cache_size
9315         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9316         to multiple of 256 bytes.
9318 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
9320         [BZ #12167]
9321         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9322         of inacessible symlinks.  Verify result of symlink before returning it.
9323         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9324         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9326 2010-10-28  Erich Ritz  <erichritz@gmail.com>
9328         * math/math.h (isinf): Fix typo in comment.
9330 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
9332         * po/da.po: Update from translation team.
9334 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
9336         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9337         is added to the list.
9339 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9340             Ulrich Drepper  <drepper@gmail.com>
9342         * elf/dl-object.c (_dl_new_object): Don't append the new object to
9343         the global list here.  Move code to...
9344         (_dl_add_to_namespace_list): ...here.  New function.
9345         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9346         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9347         * elf/dl-load.c (lose): Don't remove the element from the list.
9348         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9349         (_dl_map_object): Likewise.
9351 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
9353         [BZ #12159]
9354         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9355         into all bytes of SSE register.
9356         Patch by Richard Li <richardpku@gmail.com>.
9358 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
9360         [BZ #12140]
9361         * malloc/malloc.c (_int_free): Fill correct number of bytes when
9362         perturbing.
9364 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
9366         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9367         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9368         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9369         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9371         submachine.
9372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9374 2010-10-22  Andreas Schwab  <schwab@redhat.com>
9376         * include/dlfcn.h (__RTLD_SECURE): Define.
9377         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
9378         mode & __RTLD_SECURE instead.
9379         (open_path): Rename preloaded parameter to secure.
9380         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9381         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9382         * elf/dl-deps.c (openaux): Likewise.
9383         * elf/rtld.c (struct map_args): Remove is_preloaded.
9384         (map_doit): Don't use it.
9385         (dl_main): Likewise.
9386         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9387         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9389 2010-09-09  Andreas Schwab  <schwab@redhat.com>
9391         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9392         (sysd-rules-targets): Remove duplicates.
9393         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9394         rtld-%.$o dependency.
9396 2010-10-18  Andreas Schwab  <schwab@redhat.com>
9398         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9399         _dl_map_object do it.
9401 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
9403         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9404         fast fma builtins, define the macros in the C99 standard.
9405         (FP_FAST_FMAF): Likewise.
9406         (FP_FAST_FMAL): Likewise.
9407         * sysdeps/x86_64/bits/mathdef.h: Likewise.
9409         * bits/mathdef.h: Update copyright year.
9410         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9412 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
9414         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9415         builtins, define the macros in the C99 standard.
9416         (FP_FAST_FMAF): Likewise.
9417         (FP_FAST_FMAL): Likewise.
9418         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9419         multiply/add.
9420         (FP_FAST_FMAF): Likewise.
9422 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
9424         [BZ #3268]
9425         * math/libm-test.inc (fma_test): Some new testcases.
9426         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9427         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9428         y and infinite z.  Do multiplication by C already in long double.
9429         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9431         y and infinite z.  Do bitwise or of inexact bit into u.d.
9432         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9433         * sysdeps/i386/fpu/s_fmaf.S: Removed.
9434         * sysdeps/i386/fpu/s_fma.S: Removed.
9435         * sysdeps/i386/fpu/s_fmal.S: Removed.
9437 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
9439         [BZ #3268]
9440         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9442         computation is not scheduled after fetestexcept.  Fix value
9443         of minimum denormal long double.
9445 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
9447         [BZ #3268]
9448         * math/libm-test.inc (fma_test): Add some more tests.
9449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9450         correctly.
9452 2010-10-15  Andreas Schwab  <schwab@redhat.com>
9454         * scripts/data/localplt-s390-linux-gnu.data: New file.
9455         * scripts/data/localplt-s390x-linux-gnu.data: New file.
9457 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
9459         [BZ #3268]
9460         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9461         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9462         instead of dbl-64.
9463         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9464         inlines.
9465         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9467         if one of x and y is very large and the other is subnormal.
9468         * sysdeps/s390/fpu/s_fmaf.c: New file.
9469         * sysdeps/s390/fpu/s_fma.c: New file.
9470         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9471         * sysdeps/powerpc/fpu/s_fma.S: New file.
9472         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9473         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9474         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9476 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
9478         [BZ #3268]
9479         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9480         fma tests.
9481         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9482         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9483         * sysdeps/i386/i686/multiarch/s_fma.c: Include
9484         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9485         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9486         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9487         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9489 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
9491         [BZ #12078]
9492         * posix/regcomp.c (parse_branch): One more memory leak plugged.
9493         * posix/bug-regex31.input: Add test case.
9495 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9497         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9498         * posix/bug-regex31.input: New file.
9500         [BZ #12078]
9501         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9502         (parse_sub_exp): Fix last change, use postorder.
9504         * posix/bug-regex31.c: New file.
9505         * posix/Makefile: Add rules to build and run bug-regex31.
9507         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9509         [BZ #12078]
9510         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9512         [BZ #12108]
9513         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9514         to have entries in sys_siglist.
9516         [BZ #12093]
9517         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9518         be NULL.
9520 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
9522         [BZ #3268]
9523         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9524         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9525         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9526         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9527         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9528         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9529         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9530         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9531         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9532         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9533         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9534         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9535         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9536         * math/ftestexcept.c (fetestexcept): Likewise.
9537         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9538         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9539         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9540         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9541         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9542         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9543         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9545 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9547         [BZ #12107]
9548         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9549         newline.
9551 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
9553         * string/bug-strstr1.c: New file.
9554         * string/Makefile: Add rules to build and run bug-strstr1.
9556 2010-10-05  Eric Blake  <eblake@redhat.com>
9558         [BZ #12092]
9559         * string/str-two-way.h (two_way_long_needle): Always clear memory
9560         when skipping input due to the shift table.
9562 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
9564         [BZ #12005]
9565         * malloc/mcheck.c: Handle large requests.
9567         [BZ #12077]
9568         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9569         for strncmp and strncasecmp.
9570         * string/stratcliff.c: Add tests for strcmp and strncmp.
9571         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9573 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9575         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9576         __set_fpscr.
9578 2010-09-30  Andreas Jaeger  <aj@suse.de>
9580         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9581         (CGROUP_SUPER_MAGIC): Define.
9582         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9583         Handle btrfs and cgroup file systems.
9584         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9585         Likewise.
9587 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
9589         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9590         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9592 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9594         [BZ #12067]
9595         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9596         trying to locate the ELF header.
9598 2010-09-27  Andreas Schwab  <schwab@redhat.com>
9600         [BZ #11611]
9601         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9602         Mask out sign-bit copies when constructing f_fsid.
9604 2010-09-24  Petr Baudis <pasky@suse.cz>
9606         * debug/stack_chk_fail_local.c: Add missing licence exception.
9607         * debug/warning-nop.c: Likewise.
9609 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
9611         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9612         implementing getdents64 using getdents syscall, set d_type if
9613         __ASSUME_GETDENTS32_D_TYPE.
9615 2010-09-16  Andreas Schwab  <schwab@redhat.com>
9617         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9618         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9620 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
9622         [BZ #12037]
9623         * posix/unistd.h: Undo change of feature selection for ftruncate from
9624         2010-01-11.
9626 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
9628         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9629         detection.
9631 2010-09-20  Andreas Schwab  <schwab@redhat.com>
9633         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9634         fanotify_mark.
9635         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9637 2010-09-14  Andreas Schwab  <schwab@redhat.com>
9639         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9640         variables after CHECK_SP call.
9641         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9643 2010-09-13  Andreas Schwab  <schwab@redhat.com>
9644             Ulrich Drepper  <drepper@redhat.com>
9646         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9647         re-relocationg ld.so.
9648         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9649         _dl_init_paths call.
9650         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
9651         here anymore.
9653 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
9655         * resolv/res_init.c (__res_vinit): Count the default server we added.
9657 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
9658             Ulrich Drepper  <drepper@redhat.com>
9660         [BZ #11968]
9661         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9662         (____longjmp_chk): Use %ebx for saving value across system call.
9663         Add unwind info.
9665 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9667         * manual/Makefile: Don't mix pattern rules with normal rules.
9669 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9671         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9672         operation.
9673         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9674         * libio/iofopncook.c (_IO_cookie_init): Likewise.
9675         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9676         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9677         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9678         Likewise.
9680 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
9682         [BZ #11979]
9683         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9684         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9686 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
9688         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9689         * sysdeps/x86_64/addmul_1.S: Likewise.
9690         * sysdeps/x86_64/lshift.S: Likewise.
9691         * sysdeps/x86_64/mul_1.S: Likewise.
9692         * sysdeps/x86_64/rshift.S: Likewise.
9693         * sysdeps/x86_64/sub_n.S: Likewise.
9694         * sysdeps/x86_64/submul_1.S: Likewise.
9696 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9698         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9699         Define __sched_param instead of SCHED_* and sched_param when
9700         <bits/sched.h> is included with __need_schedparam defined.
9701         * bits/sched.h [__need_schedparam]
9702         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9703         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9704         (__defined_schedparam): Define to 1.
9705         (__sched_param): New structure, identical to sched_param.
9706         (__need_schedparam): Undefine.
9708 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
9710         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9711         (epoll_create1): Declare.
9713         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9715 2010-08-31  Andreas Schwab  <schwab@redhat.com>
9717         [BZ #7066]
9718         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9719         shifting retval into place.
9721 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
9723         * nis/rpcsvc/nis.h: Update copyright notice.
9724         * nis/rpcsvc/nis.x: Likewise.
9725         * nis/rpcsvc/nis_callback.h: Likewise.
9726         * nis/rpcsvc/nis_callback.x: Likewise.
9727         * nis/rpcsvc/nis_object.x: Likewise.
9728         * nis/rpcsvc/nis_tags.h: Likewise.
9729         * nis/rpcsvc/yp.h: Likewise.
9730         * nis/rpcsvc/yp.x: Likewise.
9731         * nis/rpcsvc/ypupd.h: Likewise.
9732         * nis/yp_xdr.c: Likewise.
9733         * nis/ypupdate_xdr.c: Likewise.
9735         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
9736         mainly the body of pmap_getport.  Add parameters to specify timeouts.
9737         (pmap_getport): Use __libc_rpc_getport.
9738         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9739         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9740         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9742 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9745         fanotify_mark.
9747 2010-08-27  Roland McGrath  <roland@redhat.com>
9749         * sysdeps/i386/i686/multiarch/Makefile
9750         (CFLAGS-varshift.c): New variable.
9752 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
9754         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9755         * sysdeps/i386/i686/multiarch/varshift.c: New file.
9757         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9759         * sysdeps/x86_64/strlen.S: Minimal code improvement.
9761 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9763         * sysdeps/x86_64/strlen.S: Unroll the loop.
9764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9765         strlen-sse2 strlen-sse2-bsf.
9766         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9767         __strlen_no_bsf if bit_Slow_BSF is set.
9768         (__strlen_sse42): Removed.
9769         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9770         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9772 2010-08-25  Roland McGrath  <roland@redhat.com>
9774         * sysdeps/x86_64/multiarch/varshift.S: File removed.
9775         * sysdeps/x86_64/multiarch/varshift.c: New file.
9776         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9777         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9778         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9779         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9781 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9784         strlen-sse2 strlen-sse2-bsf.
9785         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9786         __strlen_sse2_bsf if bit_Slow_BSF is unset.
9787         (__strlen_sse2): Removed.
9788         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9789         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9791         bit_Slow_BSF for Atom.
9792         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9793         (index_Slow_BSF): Define.
9794         (HAS_SLOW_BSF): Define.
9796 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
9798         [BZ #10851]
9799         * resolv/res_init.c (__res_vinit): When no server address at all
9800         is given default to loopback.
9802 2010-08-24  Roland McGrath  <roland@redhat.com>
9804         * configure.in: Remove config-name.h generation.
9805         * configure: Regenerated.
9806         * config-name.in: File removed.
9807         * scripts/config-uname.sh: New file.
9808         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9809         ($(objdir)config-name.h): New target.
9811         * sunrpc/rpc_parse.h: Avoid nested comment.
9813 2010-08-24  Richard Henderson  <rth@redhat.com>
9814             Ulrich Drepper  <drepper@redhat.com>
9815             H.J. Lu  <hongjiu.lu@intel.com>
9817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9819         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9820         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
9821         _mm_alignr_epi8 with _mm_loadu_si128.
9822         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9823         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9824         (__m128i_shift_right): Removed.
9825         * sysdeps/i386/i686/multiarch/varshift.h: New file.
9826         * sysdeps/i386/i686/multiarch/varshift.S: New file.
9827         * sysdeps/x86_64/multiarch/varshift.h: New file.
9828         * sysdeps/x86_64/multiarch/varshift.S: New file.
9830 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
9832         * configure.in: Move assembler checks to before sysdep dir checking.
9834 2010-08-20  Petr Baudis  <pasky@suse.cz>
9836         * LICENSES: Sync the sunrpc license.
9838 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
9840         * sunrpc/auth_des.c: Update copyright notice once again.
9841         * sunrpc/auth_none.c: Likewise.
9842         * sunrpc/auth_unix.c: Likewise.
9843         * sunrpc/authdes_prot.c: Likewise.
9844         * sunrpc/authuxprot.c: Likewise.
9845         * sunrpc/bindrsvprt.c: Likewise.
9846         * sunrpc/clnt_gen.c: Likewise.
9847         * sunrpc/clnt_perr.c: Likewise.
9848         * sunrpc/clnt_raw.c: Likewise.
9849         * sunrpc/clnt_simp.c: Likewise.
9850         * sunrpc/clnt_tcp.c: Likewise.
9851         * sunrpc/clnt_udp.c: Likewise.
9852         * sunrpc/clnt_unix.c: Likewise.
9853         * sunrpc/des_crypt.c: Likewise.
9854         * sunrpc/des_soft.c: Likewise.
9855         * sunrpc/get_myaddr.c: Likewise.
9856         * sunrpc/getrpcport.c: Likewise.
9857         * sunrpc/key_call.c: Likewise.
9858         * sunrpc/key_prot.c: Likewise.
9859         * sunrpc/openchild.c: Likewise.
9860         * sunrpc/pm_getmaps.c: Likewise.
9861         * sunrpc/pm_getport.c: Likewise.
9862         * sunrpc/pmap_clnt.c: Likewise.
9863         * sunrpc/pmap_prot.c: Likewise.
9864         * sunrpc/pmap_prot2.c: Likewise.
9865         * sunrpc/pmap_rmt.c: Likewise.
9866         * sunrpc/rpc/auth.h: Likewise.
9867         * sunrpc/rpc/auth_unix.h: Likewise.
9868         * sunrpc/rpc/clnt.h: Likewise.
9869         * sunrpc/rpc/des_crypt.h: Likewise.
9870         * sunrpc/rpc/key_prot.h: Likewise.
9871         * sunrpc/rpc/netdb.h: Likewise.
9872         * sunrpc/rpc/pmap_clnt.h: Likewise.
9873         * sunrpc/rpc/pmap_prot.h: Likewise.
9874         * sunrpc/rpc/pmap_rmt.h: Likewise.
9875         * sunrpc/rpc/rpc.h: Likewise.
9876         * sunrpc/rpc/rpc_des.h: Likewise.
9877         * sunrpc/rpc/rpc_msg.h: Likewise.
9878         * sunrpc/rpc/svc.h: Likewise.
9879         * sunrpc/rpc/svc_auth.h: Likewise.
9880         * sunrpc/rpc/types.h: Likewise.
9881         * sunrpc/rpc/xdr.h: Likewise.
9882         * sunrpc/rpc_clntout.c: Likewise.
9883         * sunrpc/rpc_cmsg.c: Likewise.
9884         * sunrpc/rpc_common.c: Likewise.
9885         * sunrpc/rpc_cout.c: Likewise.
9886         * sunrpc/rpc_dtable.c: Likewise.
9887         * sunrpc/rpc_hout.c: Likewise.
9888         * sunrpc/rpc_main.c: Likewise.
9889         * sunrpc/rpc_parse.c: Likewise.
9890         * sunrpc/rpc_parse.h: Likewise.
9891         * sunrpc/rpc_prot.c: Likewise.
9892         * sunrpc/rpc_sample.c: Likewise.
9893         * sunrpc/rpc_scan.c: Likewise.
9894         * sunrpc/rpc_scan.h: Likewise.
9895         * sunrpc/rpc_svcout.c: Likewise.
9896         * sunrpc/rpc_tblout.c: Likewise.
9897         * sunrpc/rpc_util.c: Likewise.
9898         * sunrpc/rpc_util.h: Likewise.
9899         * sunrpc/rpcinfo.c: Likewise.
9900         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9901         * sunrpc/rpcsvc/key_prot.x: Likewise.
9902         * sunrpc/rpcsvc/klm_prot.x: Likewise.
9903         * sunrpc/rpcsvc/mount.x: Likewise.
9904         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9905         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9906         * sunrpc/rpcsvc/rex.x: Likewise.
9907         * sunrpc/rpcsvc/rstat.x: Likewise.
9908         * sunrpc/rpcsvc/rusers.x: Likewise.
9909         * sunrpc/rpcsvc/sm_inter.x: Likewise.
9910         * sunrpc/rpcsvc/spray.x: Likewise.
9911         * sunrpc/rpcsvc/yppasswd.x: Likewise.
9912         * sunrpc/rtime.c: Likewise.
9913         * sunrpc/svc.c: Likewise.
9914         * sunrpc/svc_auth.c: Likewise.
9915         * sunrpc/svc_authux.c: Likewise.
9916         * sunrpc/svc_raw.c: Likewise.
9917         * sunrpc/svc_run.c: Likewise.
9918         * sunrpc/svc_simple.c: Likewise.
9919         * sunrpc/svc_tcp.c: Likewise.
9920         * sunrpc/svc_udp.c: Likewise.
9921         * sunrpc/svc_unix.c: Likewise.
9922         * sunrpc/svcauth_des.c: Likewise.
9923         * sunrpc/xcrypt.c: Likewise.
9924         * sunrpc/xdr.c: Likewise.
9925         * sunrpc/xdr_array.c: Likewise.
9926         * sunrpc/xdr_float.c: Likewise.
9927         * sunrpc/xdr_mem.c: Likewise.
9928         * sunrpc/xdr_rec.c: Likewise.
9929         * sunrpc/xdr_ref.c: Likewise.
9930         * sunrpc/xdr_sizeof.c: Likewise.
9931         * sunrpc/xdr_stdio.c: Likewise.
9933         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9934         handling.
9936 2010-08-19  Andreas Schwab  <schwab@redhat.com>
9938         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9940 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
9942         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9943         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9944         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9945         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9946         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9947         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9948         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9949         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9950         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9951         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9952         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9953         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9954         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9955         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9957 2010-07-26  Anton Blanchard  <anton@samba.org>
9959         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9960         * malloc/arena.c (heap_trim): Likewise.
9962 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
9964         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9965         here.  Not...
9966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9967         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9969 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9971         * sysdeps/i386/elf/Makefile: New file.
9973 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9975         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9976         from fanotify_init.
9977         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9978         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9980 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
9982         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9983         of strncasecmp_l.
9984         * sysdeps/multiarch/strcmp.S: Likewise.
9986 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
9988         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9989         strncase_l-nonascii.
9990         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9991         Add strncase_l-ssse3.
9992         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9993         * sysdeps/x86_64/strcmp.S: Likewise.
9994         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9995         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9996         * sysdeps/x86_64/strncase.S: New file.
9997         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9998         * sysdeps/x86_64/strncase_l.S: New file.
9999         * string/Makefile (strop-tests): Add strncasecmp.
10000         * string/test-strncasecmp.c: New file.
10002         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10003         warning.
10005         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10006         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10008 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
10010         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10012 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
10014         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10015         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10016         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10018 2010-05-01  Alan Modra  <amodra@gmail.com>
10020         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10021         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10022         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10023         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10024         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10025         tidying.  Don't tail-call __sigjmp_save for static lib.
10026         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10027         save location.
10028         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10029         (CALL_MCOUNT): Add eh info, and nop after bl.
10030         (TAIL_CALL_SYSCALL_ERROR): New macro.
10031         (PSEUDO_RET): Use it.
10032         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10033         Correct save location of integer regs and cr.
10034         (_dl_profile_resolve): Correct cr save location.  Delete nops
10035         after bl when SHARED.  Reduce cfi size a little by better
10036         placement of cfi directives.
10037         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10038         make a stack frame.  Instead use parm save area as a temp.
10039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10040         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
10041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10042         Don't make a stack frame for parent, use parm save area.
10043         Increase child stack frame to 112 bytes.  Don't save unused reg,
10044         and adjust reg usage.  Set up cfi on error recovery and
10045         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10047         (__makecontext): Add dummy nop after jump to exit.
10048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10049         Use correct parm save area and cr save, reduce stack frame.
10050         Correct cfi for possible PSEUDO_RET frame setup.
10051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10052         Branch to local label emitted by PSEUDO_RET rather than
10053         __syscall_error.
10055 2010-08-12  Andreas Schwab  <schwab@redhat.com>
10057         [BZ #11904]
10058         * locale/programs/locale.c (print_assignment): New function.
10059         (show_locale_vars): Use it.
10061 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
10063         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10064         field.
10065         (struct statfs64): Likewise.
10066         (_STATFS_F_FLAGS): Define.
10067         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10068         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10069         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10070         (ST_VALID): Define locally.
10071         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10072         __statvfs_getflags, use the provided value.
10073         * sysdeps/unix/sysv/linux/kernel-features.h: Define
10074         __ASSUME_STATFS_F_FLAGS.
10076         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10078         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10079         Add sys/fanotify.h.
10080         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10081         fanotify_mask for GLIBC_2.13.
10082         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10083         fanotify_init and fanotify_mark.
10084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10085         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10087         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10088         Add prlimit.
10089         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10090         prlimit64 for GLIBC_2.13.
10091         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10092         prlimit64.
10093         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10094         syscall.
10095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10096         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10097         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10098         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10099         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
10100         add prlimit alias.
10101         * sysdeps/unix/sysv/linux/prlimit.c: New file.
10103         [BZ #11903]
10104         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10105         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10107         * nss/Makefile: Add rules to build and run tst-nss-test1.
10108         * shlib-versions: Add entry for libnss_test1.
10109         * nss/nss_test1.c: New file.
10110         * nss/tst-nss-test1.c: New file.
10112         * nss/nsswitch.c (__nss_database_custom): Define new variable.
10113         (__nss_configure_lookup): Set appropriate entry in
10114         __nss_configure_lookup to true.
10115         * nss/nsswitch.h: Define enum with indeces of databases in
10116         databases and __nss_database_custom arrays.  Declare
10117         __nss_database_custom.
10118         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10119         to avoid using nscd when custom rules are installed.
10120         * nss/getXXbyYY_r.c: Likewise.
10121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10123         * nss/nss_files/files-parse.c: Whitespace fixes.
10125 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
10127         [BZ #11883]
10128         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10129         * posix/fnmatch_loop.c: Likewise.
10131 2010-07-17  Andi Kleen  <ak@linux.intel.com>
10133         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10134         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10135         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10136         * Versions.def [GLIBC_2.13]: Add.
10138 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
10140         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10141         Also fail if tpwd after pwuid call is NULL.
10143 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10145         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10146         when converting to ms.
10148 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10150         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10151         EOPNOTSUPP errors with ENOTTY.
10152         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10153         EOPNOTSUPP errors with ENOTTY.
10155 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
10157         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10158         Add strcasecmp_l-ssse3.
10159         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10160         strcasecmp.
10161         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10162         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10163         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10165 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
10167         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10169         * string/Makefile (strop-tests): Add strcasecmp.
10170         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10171         strcasecmp_l-nonascii.
10172         (gen-as-const-headers): Add locale-defines.sym.
10173         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10174         * sysdeps/x86_64/strcasecmp.S: New file.
10175         * sysdeps/x86_64/strcasecmp_l.S: New file.
10176         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10177         * sysdeps/x86_64/locale-defines.sym: New file.
10178         * string/test-strcasecmp.c: New file.
10180         * string/test-strcasestr.c: Test both ends of the range of characters.
10181         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10183 2010-07-29  Roland McGrath  <roland@redhat.com>
10185         [BZ #11856]
10186         * manual/locale.texi (Yes-or-No Questions): Fix example code.
10188 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
10190         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10191         for ld.so.
10193 2010-07-27  Andreas Schwab  <schwab@redhat.com>
10195         * manual/memory.texi (Malloc Tunable Parameters): Document
10196         M_PERTURB.
10198 2010-07-26  Roland McGrath  <roland@redhat.com>
10200         [BZ #11840]
10201         * configure.in (-fgnu89-inline check): Set and substitute
10202         gnu89_inline, not libc_cv_gnu89_inline.
10203         * configure: Regenerated.
10204         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10206 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
10208         * string/test-strnlen.c: New file.
10209         * string/Makefile (strop-tests): Add strnlen.
10210         * string/tester.c (test_strnlen): Add a few more test cases.
10211         * string/tst-strlen.c: Better error reporting.
10213         * sysdeps/x86_64/strnlen.S: New file.
10215 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
10217         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10218         lower-latency instructions.
10220 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
10222         * string/test-strcasestr.c: New file.
10223         * string/test-strstr.c: New file.
10224         * string/Makefile (strop-tests): Add strstr and strcasestr.
10225         * string/str-two-way.h: Don't undefine MAX.
10226         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10228 2010-07-21  Andreas Schwab  <schwab@redhat.com>
10230         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10231         strcasestr-nonascii.
10232         (CFLAGS-strcasestr-nonascii.c): Define.
10233         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10234         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10235         Remove unused attribute.
10237 2010-07-20  Roland McGrath  <roland@redhat.com>
10239         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10240         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
10241         ld.so.cache was broken.  With it, there is no way to disable dsocaps
10242         like LD_HWCAP_MASK can disable hwcaps.
10244 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10246         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10248 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
10250         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10251         call in strcasestr.
10252         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10253         __strcasestr_sse42_nonascii.
10254         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10255         strcasestr-nonascii.c.
10256         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10258 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
10260         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10261         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10262         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10263         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10265 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
10267         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10268         fcntl.
10270 2010-07-06  Andreas Schwab  <schwab@redhat.com>
10272         [BZ #11577]
10273         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10274         dl_signal_cerror.
10276 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
10278         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10279         _PC_PIPE_BUF using F_GETPIPE_SZ.
10281 2010-07-05  Roland McGrath  <roland@redhat.com>
10283         * manual/arith.texi (Rounding Functions): Fix rint description
10284         implicit in round description.
10286 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
10288         * elf/Makefile: Fix linking for a few tests to make recent linker
10289         happy.
10291 2010-06-30  Andreas Schwab  <schwab@redhat.com>
10293         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10294         $(common-objpfx)libc_nonshared.a.
10296 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
10298         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10299         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10300         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10301         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10302         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10303         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10304         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10305         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10320         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10321         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10322         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10323         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10324         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10325         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10326         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10327         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10328         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10329         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10330         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10331         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10347 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10349         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10350         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
10351         * string/memmove.c (memmove): Renamed to ...
10352         (MEMMOVE): ...this.  Default to memmove.
10353         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10354         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10355         (END_CHK): Define.
10356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10357         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10358         mempcpy-ssse3-back memmove-ssse3-back.
10359         * sysdeps/x86_64/multiarch/bcopy.S: New file .
10360         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10361         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10362         * sysdeps/x86_64/multiarch/memcpy.S: New file.
10363         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10364         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10365         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10366         * sysdeps/x86_64/multiarch/memmove.c: New file.
10367         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10368         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10369         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10370         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10371         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10372         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10373         Define.
10374         (index_Fast_Copy_Backward): Define.
10375         (HAS_ARCH_FEATURE): Define.
10376         (HAS_FAST_REP_STRING): Define.
10377         (HAS_FAST_COPY_BACKWARD): Define.
10379 2010-06-21  Andreas Schwab  <schwab@redhat.com>
10381         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10382         Restore proper fallback handling.
10384 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
10386         [BZ #11701]
10387         * posix/group_member.c (__group_member): Correct checking loop.
10389         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10390         OOM in getpwuid_r correctly.  Return error number when the caller
10391         should return, otherwise -1.
10392         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10393         call returning > 0 value.
10394         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10396 2010-06-07  Andreas Schwab  <schwab@redhat.com>
10398         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10399         libc_nonshared.a from targets in modules-names.
10401 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
10403         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10404         requires it.
10406 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
10408         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10409         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10410         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10411         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10413 2010-06-02  Andreas Schwab  <schwab@redhat.com>
10415         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10417 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
10419         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10420         and F_GETPIPE_SZ.
10421         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10422         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10426         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10428 2010-06-14  Roland McGrath  <roland@redhat.com>
10430         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10432 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
10434         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10435         __REDIRECT followed by __THROW.
10436         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10437         * posix/getopt.h (getopt): Likewise.
10439 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10441         * hurd/lookup-at.c (__file_name_lookup_at): Accept
10442         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
10443         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10444         in AT_FLAGS.
10445         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10446         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10448 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
10450         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10452 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
10454         [BZ #11640]
10455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10456         Properly check family and model.
10458 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
10460         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10462 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
10464         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10466 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
10468         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10469         symbol reference.
10471 2010-05-19  Andreas Schwab  <schwab@redhat.com>
10473         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10474         symbol reference.
10476 2010-05-21  Andreas Schwab  <schwab@redhat.com>
10478         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10479         and internal_recvmmsg.
10480         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10481         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10482         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10483         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10485         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10486         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10487         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10489 2010-05-20  Andreas Schwab  <schwab@redhat.com>
10491         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10493 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
10495         POWER7 optimizations.
10496         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10497         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10499 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
10501         * version.h: Update for 2.13 development version.
10503 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
10505         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10506         exceptions.  Return 0.
10508 2010-05-07  Roland McGrath  <roland@redhat.com>
10510         * elf/ldconfig.c (main): Add a const.
10512 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
10514         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10515         (args_options): Add no-idn option.
10516         (ahosts_keys_int): Add idn_flags to ai_flags.
10517         (parse_option): Handle 'i' option to clear idn_flags.
10519         * malloc/malloc.c (_int_free): Possible race in the most recently
10520         added check.  Only act on the data if no current modification
10521         happened.
10523 See ChangeLog.17 for earlier changes.