ea77a933677a148dd581b8dcfe04b3752212363b
[platform/upstream/glibc.git] / ChangeLog
1 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4
5 2012-03-19  David S. Miller  <davem@davemloft.net>
6
7         * sysdeps/sparc/fpu/fenv_private.h: New file.
8         * sysdeps/sparc/fpu/math_private.h: Use it.
9         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10         Remove.
11         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12         (libc_feholdexcept_setroundl): Remove.
13         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14         Remove.
15         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17
18 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19
20         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21         int64_t instead of long int.
22         (INSERT_WORDS64): Likwise.
23
24 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25
26         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27         _Unwind_GetCFA return to _Unwind_Ptr first.
28
29 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
30
31         [BZ #13629]
32         * math/s_clog.c: Include <float.h>.
33         (__clog): Scale large or subnormal inputs.
34         * math/s_clogf.c: Likewise.
35         * math/s_clogl.c: Likewise.
36         * math/s_clog10.c: Include <float.h>.
37         (M_LOG10_2): Define.
38         (__clog10): Scale large or subnormal inputs.
39         * math/s_clog10f.c: Likewise.
40         * math/s_clog10l.c: Likewise.
41         * math/libm-test.inc (clog_test): Add more tests.
42         (clog10_test): Likewise.
43         * sysdeps/i386/fpu/libm-test-ulps: Update.
44         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45
46         [BZ #11451]
47         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48         x and y.
49         * math/libm-test.inc (atan2_test): Add another test.
50
51         * Makerules (common-objdir-compile): Remove.
52         * sysdeps/unix/Makefile (config-generated): Do not add
53         $(unix-generated) to variable.
54         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56         Remove rule.
57         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58         Likewise.
59         [generic bits/local_lim.h] (before-compile): Do not append to
60         variable.
61         [generic bits/local_lim.h] (common-generated): Likewise.
62         [generic sys/param.h] (before-compile): Do not append to variable.
63         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67         include.
68         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70         [generic sys/param.h] ($(addprefix
71         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72         [generic sys/param.h] (common-generated): Do not append to
73         variable.
74         [generic sys/param.h] (sysdep_headers): Likewise.
75         [generic bits/errno.h] (before-compile): Do not append to
76         variable.
77         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78         rule.
79         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82         [generic bits/errno.h] (common-generated): Do not append to
83         variable.
84         [generic bits/ioctls.h] (before-compile): Do not append to
85         variable.
86         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
87         rule.
88         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
89         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
90         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
91         rule.
92         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
93         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
94         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
95         [generic bits/ioctls.h] (common-generated): Do not append to
96         variable.
97         [generic sys/syscall.h] (syscall.h): Remove variable.
98         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
99         rule.
100         [generic sys/syscall.h] (before-compile): Do not append to
101         variable.
102         [generic sys/syscall.h] (common-generated): Likewise.
103         * sysdeps/unix/errnos-tmpl.c: Remove file.
104         * sysdeps/unix/errnos.awk: Likewise.
105         * sysdeps/unix/ioctls-tmpl.c: Likewise.
106         * sysdeps/unix/ioctls.awk: Likewise.
107         * sysdeps/unix/mk-local_lim.c: Likewise.
108         * sysdeps/unix/snarf-ioctls: Likewise.
109
110 2012-03-19  Richard Henderson  <rth@twiddle.net>
111
112         * sysdeps/i386/fpu/fenv_private.h: New file.
113         * sysdeps/i386/fpu/math_private.h: Use it.
114         (math_opt_barrier, math_force_eval): Remove.
115         (libc_feholdexcept_setround_53bit): Remove.
116         (libc_feupdateenv_53bit): Remove.
117         * sysdeps/x86_64/fpu/math_private.h: Likewise.
118         (math_opt_barrier, math_force_eval): Remove.
119         (libc_feholdexcept): Remove.
120         (libc_feholdexcept_setround): Remove.
121         (libc_fetestexcept, libc_fesetenv): Remove.
122         (libc_feupdateenv_test): Remove.
123         (libc_feupdateenv, libc_feholdsetround): Remove.
124         (libc_feresetround): Remove.
125
126         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
127         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
128
129         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
130         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
131         (libc_feupdateenv_testl): New.
132         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
133         (libc_feupdateenv_testf): New.
134         (libc_feupdateenv): Use libc_feupdateenv_test.
135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
136         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
137
138         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
139         (libc_feholdsetroundf, libc_feholdsetroundl): New.
140         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
141         (libc_feresetround_noex): New.
142         (libc_feresetround_noexf): New.
143         (libc_feresetround_noexl): New.
144         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
145         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
146         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
147         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
148         SET_RESTORE_ROUND.
149         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
150         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
151         (__cos): Likewise.
152         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
153         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
154         SET_RESTORE_ROUND_NOEX.
155         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
156         SET_RESTORE_ROUND_NOEXF.
157         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
158         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
159         (libc_feholdsetroundf): New.
160         (libc_feresetround, libc_feresetroundf): New.
161
162         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
163         (libc_feholdexcept_setround_53bit): Convert from macro to function.
164         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
165
166         * sysdeps/generic/math_private.h: Include <fenv.h>.
167         (default_libc_feholdexcept): New.
168         (default_libc_feholdexcept_setround): New.
169         (default_libc_fesetenv, default_libc_feupdateenv): New.
170         (libc_feholdexcept): Only define if undefined.
171         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
172         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
173         (libc_feholdexcept_setroundl): Likewise.
174         (libc_feholdexcept_setround_53bit): Likewise.
175         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
176         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
177         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
178         (libc_feupdateenv_53bit): Likewise.
179         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
180         (libc_feholdexcept): Convert from macro to inline function.
181         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
182         (libc_fesetenv, libc_feupdateenv): Likewise.
183
184         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
185         not previously defined.
186         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
187         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
188         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
189         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
190         * sysdeps/ieee754/flt-32/math_private.h: New file.
191         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
192         math_private.h below SET_FLOAT_WORD.
193         (__isnan, __isinf_ns, __finite): Remove.
194         (__isnanf, __isinf_nsf, __finitef): Remove.
195
196 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
197
198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
199
200 2012-03-17  David S. Miller  <davem@davemloft.net>
201
202         [BZ #6471]
203         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
204         for 2.16.
205
206 2012-03-16  David S. Miller  <davem@davemloft.net>
207
208         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
209         warnings.
210
211         [BZ #6471]
212         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
213         properly.
214         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
215         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
216         sysdep_routines when subdir is sysvipc.
217         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
218         __getshmlba helper.
219
220         * sysdeps/sparc/fpu/libm-test/ulps: Update.
221
222 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
223
224         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
225         [__LP64__].
226
227 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
228
229         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
230         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
231         (__lround): Renamed to ...
232         (__llround): This.  Replace long int with long long int.
233         Define lround functions as aliases of llround functions.
234         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
235
236 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
237
238         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
239         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
240         adresses to uintptr_t.  Replace "long int" and "unsigned long
241         int" with "greg_t" on va_arg.
242
243 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
244
245         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
246         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
247
248         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
249         Move e_machine check before EI_CLASS check.  Handle x32
250         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
251         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
252         SKIP_EM_IA_64 and include
253         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
254
255         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
256         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
257         (add_system_dir): New macro.
258
259         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
260         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
261
262 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
263
264         [BZ #2551]
265         [BZ #2552]
266         [BZ #2553]
267         [BZ #2554]
268         [BZ #2562]
269         [BZ #2563]
270         [BZ #2565]
271         [BZ #2566]
272         [BZ #2576]
273         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
274         (y0): Likewise.
275         * math/w_j0f.c (j0f): Likewise.
276         (y0f): Likewise.
277         * math/w_j0l.c (__j0l): Likewise.
278         (__y0l): Likewise.
279         * math/w_j1.c (j1): Likewise.
280         (y1): Likewise.
281         * math/w_j1f.c (j1f): Likewise.
282         (y1f): Likewise.
283         * math/w_j1l.c (__j1l): Likewise.
284         (__y1l): Likewise.
285         * math/w_jn.c (jn): Likewise.
286         (yn): Likewise.
287         * math/w_jnf.c (jnf): Likewise.
288         (ynf): Likewise.
289         * math/w_jnl.c (__jnl): Likewise.
290         (__ynl): Likewise.
291         * math/libm-test.inc (j0_test): Add more tests.
292         (j1_test): Likewise.
293         (jn_test): Likewise.  Add trailing semicolon to existing test.
294         (y0_test): Likewise.
295         (y1_test): Likewise.
296         * sysdeps/i386/fpu/libm-test-ulps: Update.
297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
298
299         [BZ #13851]
300         [BZ #13854]
301         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
302         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
303         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
304         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
305         (__tanl): Set errno for infinite argument.
306         * sysdeps/i386/fpu/mptan.c: Remove.
307         * sysdeps/i386/fpu/s_tan.S: Likewise.
308         * sysdeps/i386/fpu/s_tanl.S: Likewise.
309         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
310         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
311         * math/libm-test.inc (tan_test): Add more tests and enable more
312         tests for double and long double.
313         * sysdeps/i386/fpu/libm-test-ulps: Update.
314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315
316 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
317
318         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
319         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
320
321 2012-03-16  Roland McGrath  <roland@hack.frob.com>
322
323         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
324         * configure.in: Use it for both main tree and add-ons.
325         * configure: Regenerated.
326
327 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
328
329         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
330
331 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
332
333         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
334         in comment.
335
336         [BZ #13851]
337         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
338         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
339         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
340         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
341         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
342         infinite argument.
343         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
344         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
345         != 0 for prec == 2.
346         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
347         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
348         * sysdeps/i386/fpu/s_cosl.S: Likewise.
349         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
350         * sysdeps/i386/fpu/s_sinl.S: Likewise.
351         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
352         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
353         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
354         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
355         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
356         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
357         * math/libm-test.inc (cos_test): Add more tests and enable more
358         tests for long double.
359         (sin_test): Likewise.
360         (sincos_test): Likewise.
361         * sysdeps/i386/fpu/libm-test-ulps: Update.
362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363
364 2012-03-16  David S. Miller  <davem@davemloft.net>
365
366         * sysdeps/sparc/fpu/math_private.h: New file.
367
368 2012-03-15  David S. Miller  <davem@davemloft.net>
369
370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
371         file.
372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
374         file.
375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
380         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
381         sysdep routines.
382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
383
384         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
385         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
386
387         * sysdeps/sparc/sparc-ifunc.h: New file.
388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
389         sparc-ifunc.h
390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
392         Likewise.
393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
394         Likewise.
395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
399         Likewise.
400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
405         Likewise.
406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
407         Likewise.
408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
414         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
415         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
428         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
429         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
430         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
431         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
432
433 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
434
435         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
436         scaling.
437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
438
439 2012-03-15  Andreas Jaeger  <aj@suse.de>
440
441         [BZ #13852]
442         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
443         ieee754/flt-32 implementation for sin, cos and sincos.
444         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
445         * sysdeps/i386/fpu/s_cosf.S: Likewise.
446         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
447         * sysdeps/i386/fpu/s_sinf.S: Likewise.
448         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
449         ieee754/flt-32 implementation for tan.
450
451         * math/libm-test.inc (cos_test): Enable some large input tests for
452         float as well
453         (sin_test): Likewise.
454         (sincos_test): Likewise.
455         (tan_test): Add tests for large input.
456
457         * sysdeps/i386/fpu/libm-test-ulps: Update.
458
459 2012-03-15  Andreas Jaeger  <aj@suse.de>
460
461         [BZ #13658]
462         * math/libm-test.inc (cos_test): Add more test cases.
463         (sin_test): Likewise.
464         (sincos_test): Likewise.
465
466 2012-03-15  Andreas Jaeger  <aj@suse.de>
467
468         [BZ #13837]
469         * math/libm-test.inc (cos_test): Add a test case for large input
470         value.
471         (sin_test): Likewise.
472         (sincos_test): Likewise.
473
474 2012-03-15  Andreas Jaeger  <aj@suse.de>,
475         Joseph Myers  <joseph@codesourcery.com>
476
477         [BZ #13658]
478         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
479         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
480         * sysdeps/i386/fpu/branred.c: Likewise.
481         * sysdeps/i386/fpu/dosincos.c: Likewise.
482         * sysdeps/i386/fpu/mpa.c: Likewise.
483         * sysdeps/i386/fpu/s_cos.S: Likewise.
484         * sysdeps/i386/fpu/s_sin.S: Likewise.
485         * sysdeps/i386/fpu/s_sincos.S: Likewise.
486         * sysdeps/i386/fpu/sincos32.c: Likewise.
487
488         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
489         Define.
490         (libc_feupdateenv_53bit): Define.
491         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
492         Define.
493         (libc_feupdateenv_53bit): Define.
494
495         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
496         53 bit (without extend i386 double precision).
497
498         * math/libm-test.inc (sincos_test): Add tests for large input.
499         (sin): Likewise.
500         (cos): Likewise.
501
502         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
503
504 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
505
506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
507
508 2012-03-15  David S. Miller  <davem@davemloft.net>
509
510         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
511         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
512         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
513         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
526         file.
527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
529         file.
530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
532         file.
533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
535         file.
536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
538         fmin/fmax sysdep routines.
539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
540
541 2012-03-14  David S. Miller  <davem@davemloft.net>
542
543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
547         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
563         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
571         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
572         routines.
573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
574         file.
575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
577         file.
578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
580         file.
581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
583         file.
584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
586         file.
587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
589         file.
590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
591         file.
592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
593         file.
594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
595         file.
596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
597         New file.
598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
599         file.
600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
601         file.
602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
604         file.
605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
607         file.
608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
610         file.
611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
613         VIS3 routines.
614
615         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
616         New file.
617
618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
619
620         * sysdeps/sparc/configure.in: New file.
621         * sysdeps/sparc/configure: Generate.
622         * configure.in (libc_cv_sparc_as_vis3): Substitute.
623         * configure: Regenerate.
624         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
625         * config.make.in (have-as-vis3): New.
626         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
627         available use -Av9d instead of -Av9a.
628         * sysdeps/sparc/sparc64/Makefile: Likewise.
629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
631         New file.
632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
633         file.
634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
635         New file.
636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
637         file.
638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
639         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
640         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
643
644         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
645         fzeros/fnegs to load 0x80000000 into a float register instead of
646         using the stack.
647         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
648
649 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
650
651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
652         bits/syscall.h.
653         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
654         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
655         ($(inst_includedir)/bits/syscall.h): Remove rule.
656         ($(objpfx)bits/syscall.d): Include instead of
657         $(objpfx)syscall-list.d.
658         (generated): Change syscall-list.h and syscall-list.d to
659         bits/syscall.h and bits/syscall.d.
660
661 2012-03-14  Roland McGrath  <roland@hack.frob.com>
662
663         [BZ #13846]
664         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
665
666 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
667
668         [BZ #13841]
669         * math/s_csqrt.c: Include <float.h>.
670         (__csqrt): Scale large or subnormal inputs.
671         * math/s_csqrtf.c: Likewise.
672         * math/s_csqrtl.c: Likewise.
673         * math/libm-test.inc (csqrt_test): Add more tests.
674         * sysdeps/i386/fpu/libm-test-ulps: Update.
675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
676
677         [BZ #13840]
678         * math/libm-test.inc (hypot_test): Add more tests.
679
680 2012-03-13  David S. Miller  <davem@davemloft.net>
681
682         [BZ #13840]
683         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
684         double-precision for the calculation instead of scaling.
685
686 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
687
688         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
689         manipulate bits before adding and subtracting TWO52[sx].
690         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
691         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
692         Likewise.
693         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
694
695 2012-03-13  David S. Miller  <davem@davemloft.net>
696
697         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
698         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
700         rtld-global-offsets.h
701         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
702
703         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
704         large parameters.
705
706         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
707
708         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
709         'err' in the ifdef scope in which it is actually used.
710
711         * nss/nss_db/db-init.c: Include string.h
712
713 2012-03-12  David S. Miller  <davem@davemloft.net>
714
715         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
716         masking out of the most significant byte of random value used.
717         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
718         Fix coding style in previous change.
719
720         * sysdeps/unix/sysv/linux/kernel-features.h
721         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
722         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
723         expression.
724         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
725         later.
726
727 2012-03-11  David S. Miller  <davem@davemloft.net>
728
729         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
730         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
731         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
732         for 'resultvar' otherwise things get truncated on 64-bit.
733
734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
735         Fix masking out of the most significant byte of random value used.
736
737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
738
739 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
740
741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
742
743 2012-03-09  David S. Miller  <davem@davemloft.net>
744
745         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
746         variables with appropriate CPP guards.
747         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
748         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
749         on resulting framesize and the management of the outregs buffer for pltexit.
750         Preserve floating point return values across _dl_call_pltexit call.
751         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
752         framesize and the management of the outregs buffer for pltexit.
753         Preserve floating point return values across _dl_call_pltexit
754         call.
755         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
756         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
757         (print_exit): Fix format string for return register value.
758
759 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
760
761         * sunrpc/Makefile (others): Add rpcgen.
762         ($(objpfx)rpcgen): Remove special build rule and dependency on
763         libc.
764         * sunrpc/rpcgen.c: New file.
765
766 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
767
768         [BZ #13673]
769         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
770         * stdio-common/bug-vfprintf-nargs.c: Likewise.
771         * sysdeps/i386/crti.S: Likewise.
772         * sysdeps/i386/crtn.S: Likewise.
773         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
774         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
775         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
776         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
777         * sysdeps/sh/crti.S: Likewise.
778         * sysdeps/sh/crtn.S: Likewise.
779         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
780
781         [BZ #13673]
782         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
783         with URL.
784         * locale/programs/locfile-kw.gperf: Likewise.
785         * locale/programs/charmap-kw.h: Regenerated.
786         * locale/programs/locfile-kw.h: Likewise.
787
788         [BZ #13673]
789         * intl/plural.y: Replace FSF snail mail address with URL.
790         * intl/plural.c: Regenerated.
791
792 2012-03-09  Richard Henderson  <rth@twiddle.net>
793
794         * include/math_private.h: Remove file.
795         * math/math_private.h: Move file ...
796         * sysdeps/generic/math_private.h: ... here.
797
798         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
799         * sysdeps/powerpc/fpu/math_private.h: Likewise.
800         * sysdeps/x86_64/fpu/math_private.h: Likewise.
801
802         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
803         and <math_private.h>.
804         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
805         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
806         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
807         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
808         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
809         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
810         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
811         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
812         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
813         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
815         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
816         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
817         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
818         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
819         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
820         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
821         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
822         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
823         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
824         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
825         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
826         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
828         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
829         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
830         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
831         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
833         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
834         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
835         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
836         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
837         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
838         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
839         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
840         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
841         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
842         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
843         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
844         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
845         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
846         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
847         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
848         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
849         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
850         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
851         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
852         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
853         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
854         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
855         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
856         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
857         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
858         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
859         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
860         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
861         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
862         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
863         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
864         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
865         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
866         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
867         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
868         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
869         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
870         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
871         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
872         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
873         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
874         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
875         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
876         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
877         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
878         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
879         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
880         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
882         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
883         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
884         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
885         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
887         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
888         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
891         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
892         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
893         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
894         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
895         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
896         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
897         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
898         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
899         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
900         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
901         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
902         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
904         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
905         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
906         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
907         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
908         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
909         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
910         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
911         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
912         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
913         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
914         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
915         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
916         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
917         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
918         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
919         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
920         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
921         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
922         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
923         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
924         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
925         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
926         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
927         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
928         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
929         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
930         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
931         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
932         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
933         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
934         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
935         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
936         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
937         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
938         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
939         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
940         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
941         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
942         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
943         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
944         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
945         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
946         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
947         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
948         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
949         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
950         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
951         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
952         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
953         * sysdeps/ieee754/k_standard.c: Likewise.
954         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
955         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
956         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
957         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
958         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
959         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
960         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
961         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
962         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
963         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
964         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
965         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
966         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
967         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
968         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
969         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
970         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
971         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
972         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
973         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
974         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
975         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
976         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
977         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
978         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
979         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
980         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
981         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
982         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
983         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
984         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
985         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
986         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
987         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
988         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
989         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
990         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
991         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
992         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
993         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
994         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
995         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
996         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
997         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
998         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
999         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1000         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1001         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1002         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1003         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1004         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1005         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1006         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1007         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1008         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1009         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1010         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1011         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1012         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1013         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1014         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1015         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1016         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1017         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1018         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1019         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1020         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1021         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1022         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1025         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1026         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1027         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1028         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1030         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1031         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1032         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1033         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1034         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1035         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1036         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1037         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1038         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1039         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1040         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1041         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1042         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1043         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1044         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1045         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1046         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1047         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1048         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1049         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1050         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1051         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1052         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1053         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1055         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1056         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1057         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1058         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1062         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1063         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1064         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1065         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1066         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1067         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1068         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1069         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1070         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1071         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1073         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1074         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1075         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1076         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1077         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1078         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1079         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1080         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1081         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1082         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1083         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1084         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1085         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1086         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1087         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1088         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1089         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1090         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1091         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1092         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1093         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1094         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1095         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1096         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1097         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1098         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1099         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1100         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1101         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1102         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1103         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1104         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1105         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1106         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1107         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1108         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1109         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1110         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1111         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1112         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1113         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1114         * sysdeps/ieee754/s_lib_version.c: Likewise.
1115         * sysdeps/ieee754/s_matherr.c: Likewise.
1116         * sysdeps/ieee754/s_signgam.c: Likewise.
1117         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1118         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1119         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1120         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1121         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1122         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1123         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1124         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1125         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1126         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1127         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1128         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1129         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1130         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1131         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1132         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1133         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1134         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1135         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1138
1139 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1140
1141         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1142         * sunrpc/rpc_main.c: Likewise.
1143         * sunrpc/rpc_svcout.c: Likewise.
1144
1145 2012-03-09  David S. Miller  <davem@davemloft.net>
1146
1147         * include/math_private.h: New file.
1148
1149 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
1150
1151         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1152         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1153         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1154         from <bits/socket_type.h>.
1155         (enum __socket_type): Don't define here.
1156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1158         bits/socket_type.h.
1159
1160         [BZ #13566]
1161         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1162         checking __USE_GNU.
1163
1164         * Makerules ($(inst_includedir)/%.h): New rule.
1165         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1166         (install-others): Remove variable setting.
1167         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1168
1169 2012-03-08  Richard Henderson  <rth@twiddle.net>
1170
1171         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1172         from macro to inline function; merge with the
1173         !__LIBC_INTERNAL_MATH_INLINES version.
1174         (__ieee754_sqrtf): Likewise.
1175
1176         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1177         to inline function.
1178         (__rintf, __floor, __floorf): Likewise.
1179
1180         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1181         macro to inline function.
1182         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1183
1184         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1185         not <math/math_private.h>.
1186
1187 2012-03-08  David S. Miller  <davem@davemloft.net>
1188
1189         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1190         copyright year.
1191         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1192
1193 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
1194
1195         * resolv/gai_misc.c (handle_requests): Fix struct timespec
1196         normalization.
1197         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1198         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1199
1200 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
1201
1202         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
1203         be defined individually, they must be defined as a block.  Define
1204         S for printing a string instead of hidint the different by using a
1205         macro for adding the 'l'.
1206         * stdio-common/tst-fphex-wide.c: Adjust.
1207
1208 2012-03-07  Marek Polacek  <polacek@redhat.com>
1209
1210         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1211
1212 2012-03-08  Marek Polacek  <polacek@redhat.com>
1213
1214         [BZ #13806]
1215         * stdio-common/Makefile (tests): Add tst-fphex-wide.
1216         * stdio-common/tst-fphex.c: Define a few macros to make the
1217         test reusable.  Use them.
1218         * stdio-common/tst-fphex-wide.c: New file.
1219
1220 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
1221
1222         [BZ #6911]
1223         * manual/macros.texi (gnusystems): New macro.
1224         (nongnusystems): Likewise.
1225         (gnulinuxhurdsystems): Likewise.
1226         (gnuhurdsystems): Likewise..
1227         (gnulinuxsystems): Likewise.
1228         * manual/charset.texi: Use new macros or @theglibc{} to refer to
1229         variants of the GNU system, not "GNU system".
1230         * manual/conf.texi: Likewise.
1231         * manual/errno.texi: Likewise.  Update example of errno macro
1232         expansion.
1233         * manual/filesys.texi: Likewise.
1234         (getumask): Document as specific to GNU/Hurd.
1235         * manual/install.texi: Likewise.  Reword some references to
1236         GNU/Linux.
1237         * manual/intro.texi: Likewise.
1238         * manual/io.texi: Likewise.
1239         (File Name Portability): Detail which constraints are inapplicable
1240         to all GNU systems and which are only inapplicable to GNU/Hurd.
1241         * manual/job.texi: Likewise.
1242         * manual/llio.texi: Likewise.
1243         (O_NOCTTY): Document as present on GNU/Linux.
1244         * manual/maint.texi: Likewise.
1245         * manual/memory.texi: Likewise.
1246         * manual/pattern.texi: Likewise.
1247         * manual/pipe.texi: Likewise.
1248         * manual/process.texi: Likewise.
1249         * manual/resource.texi: Likewise.
1250         (RUSAGE_CHILDREN): Remove statement about specifying a particular
1251         child on GNU/Hurd.
1252         * manual/setjmp.texi: Likewise.
1253         * manual/signal.texi: Likewise.
1254         * manual/startup.texi: Likewise.
1255         * manual/stdio.texi: Likewise.
1256         * manual/terminal.texi: Likewise.
1257         (ONLCR): Document as POSIX.
1258         (OXTABS): Document availability on GNU/Linux as XTABS.
1259         (ONOEOT): Document availability separately from other bits.
1260         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1261         * manual/time.texi: Likewise.
1262         * manual/users.texi: Likewise.
1263         * INSTALL: Regenerated.
1264         * sysdeps/gnu/errlist.c: Regenerated.
1265
1266         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1267         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1268         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
1269         puts.
1270         * configure: Regenerated.
1271
1272 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
1273
1274         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1275         default includes instead of AC_HEADER_CHECK.
1276         * sysdeps/i386/configure: Regenerated.
1277
1278         [BZ #10716]
1279         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1280         * math/s_cacoshf.c (__cacoshf): Likewise.
1281         * math/s_cacoshl.c (__cacoshl): Likewise.
1282         * math/s_casinh.c (__casinh): Set signs of result from argument.
1283         * math/s_casinhf.c (__casinhf): Likewise.
1284         * math/s_casinhl.c (__casinhl): Likewise.
1285         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1286         (casinh_test): Add more tests.
1287         * sysdeps/i386/fpu/libm-test-ulps: Update.
1288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1289
1290 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
1291
1292         * po/zh_TW.po: Update from translation team.
1293
1294         * login/Makefile (distribute): Remove variable.
1295         * catgets/Makefile: Likewise.
1296         * mach/Makefile: Likewise.
1297         * malloc/Makefile: Likewise.
1298         * misc/Makefile: Likewise.
1299         * iconv/Makefile: Likewise.
1300         * nscd/Makefile: Likewise.
1301         * hurd/Makefile: Likewise.
1302         * manual/Makefile: Likewise.
1303         * locale/Makefile: Likewise.
1304         * intl/Makefile: Likewise.
1305         * conform/Makefile: Likewise.
1306         * nss/Makefile: Likewise.
1307         * time/Makefile: Likewise.
1308         * soft-fp/Makefile: Likewise.
1309         * dirent/Makefile: Likewise.
1310         * gmon/Makefile: Likewise.
1311         * po/Makefile: Likewise.
1312         * rt/Makefile: Likewise.
1313         * socket/Makefile: Likewise.
1314         * math/Makefile: Likewise.
1315         * signal/Makefile: Likewise.
1316         * debug/Makefile: Likewise.
1317         * elf/Makefile: Likewise.
1318         * timezone/Makefile: Likewise.
1319         * stdlib/Makefile: Likewise.
1320         * iconvdata/Makefile: Likewise.
1321         * sunrpc/Makefile: Likewise.
1322         * io/Makefile: Likewise.
1323         * argp/Makefile: Likewise.
1324         * inet/Makefile: Likewise.
1325         * hesiod/Makefile: Likewise.
1326         * grp/Makefile: Likewise.
1327         * csu/Makefile: Likewise.
1328         * wctype/Makefile: Likewise.
1329         * crypt/Makefile: Likewise.
1330         * libio/Makefile: Likewise.
1331         * string/Makefile: Likewise.
1332         * nis/Makefile: Likewise.
1333         * resolv/Makefile: Likewise.
1334         * stdio-common/Makefile: Likewise.
1335         * wcsmbs/Makefile: Likewise.
1336         * dlfcn/Makefile: Likewise.
1337         * posix/Makefile: Likewise.
1338
1339         * timezone/Makefile: Don't install timezone files, just the programs
1340         and scripts.
1341
1342 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
1343
1344         * nss/databases.def: Add missing gshadow entry.
1345
1346         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
1347
1348 2012-03-06  Marek Polacek  <polacek@redhat.com>
1349
1350         [BZ #13726]
1351         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1352         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1353         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1354         * stdio-common/tst-long-dbl-fphex.c: New file.
1355
1356 2012-03-06  David S. Miller  <davem@davemloft.net>
1357
1358         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1359         (set_obp_int): New function.
1360         (get_obp_int): New function.
1361         (__get_clockfreq_via_dev_openprom): Likewise.
1362         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1363         Avoid unused variable warnings on 'val' and use builtin_expect.
1364         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1365         __builtin_expect.
1366         (INLINE_CLONE_SYSCALL): Likewise.
1367
1368 2012-03-05  David S. Miller  <davem@davemloft.net>
1369
1370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1371
1372 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
1373
1374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1375
1376         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1377         only for |x| >= 40.
1378         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1379
1380 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1381
1382         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1383         Replace gettimeofday with __vdso_gettimeofday.
1384
1385         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1386         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1387         __vdso_clock_gettime and __vdso_getcpu.
1388
1389         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1390         time with __vdso_time.
1391
1392 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1393
1394         * manual/lang.texi (size_t): Note types to which size_t may be
1395         equivalent with the GNU C Library, but do not describe when
1396         differences between them are significant.
1397
1398 2012-03-05  Andreas Jaeger  <aj@suse.de>
1399
1400         * sysdeps/i386/fpu/libm-test-ulps: Update.
1401
1402 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1403
1404         [BZ #3976]
1405         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1406         (__ieee754_pow): Save and restore rounding mode and use
1407         round-to-nearest for main computations.
1408         * math/libm-test.inc (pow_test_tonearest): New function.
1409         (pow_test_towardzero): Likewise.
1410         (pow_test_downward): Likewise.
1411         (pow_test_upward): Likewise.
1412         (main): Call the new functions.
1413         * sysdeps/i386/fpu/libm-test-ulps: Update.
1414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1415
1416         [BZ #3976]
1417         * math/libm-test.inc (cosh_test_tonearest): New function.
1418         (cosh_test_towardzero): Likewise.
1419         (cosh_test_downward): Likewise.
1420         (cosh_test_upward): Likewise.
1421         (sinh_test_tonearest): Likewise.
1422         (sinh_test_towardzero): Likewise.
1423         (sinh_test_downward): Likewise.
1424         (sinh_test_upward): Likewise.
1425         (main): Call the new functions.
1426         * sysdeps/i386/fpu/libm-test-ulps: Update.
1427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1428
1429 2012-03-05  Tom de Vries  <tom@codesourcery.com>
1430
1431         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1432         default stack guard is set in last bytes.
1433         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1434
1435 2012-03-05  Kees Cook  <keescook@chromium.org>
1436
1437         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1438
1439         [BZ #13656]
1440         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1441         possibly allocate from heap instead of stack.
1442         * stdio-common/bug-vfprintf-nargs.c: New file.
1443         * stdio-common/Makefile (tests): Add nargs overflow test.
1444
1445 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
1446
1447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1448
1449 2012-03-03  Marek Polacek  <polacek@redhat.com>
1450
1451         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1452         * math/math_private.h: Likewise.
1453         * stdlib/tst-strtod.c: Likewise.
1454         * sysdeps/i386/i486/bits/atomic.h: Likewise.
1455         * sysdeps/x86_64/bits/atomic.h: Likewise.
1456
1457 2012-03-02  David S. Miller  <davem@davemloft.net>
1458
1459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1463         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1464         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1465         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1466         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1467
1468 2012-03-02  Roland McGrath  <roland@hack.frob.com>
1469
1470         [BZ #13792]
1471         * manual/examples/README: New file, says the example source files
1472         can be used under GPL>=2.
1473         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1474         line containing just "*/".
1475         * manual/examples/add.c: Add copyright header (GPL>=2).
1476         * manual/examples/argp-ex1.c: Likewise.
1477         * manual/examples/argp-ex2.c: Likewise.
1478         * manual/examples/argp-ex3.c: Likewise.
1479         * manual/examples/argp-ex4.c: Likewise.
1480         * manual/examples/atexit.c: Likewise.
1481         * manual/examples/db.c: Likewise.
1482         * manual/examples/dir.c: Likewise.
1483         * manual/examples/dir2.c: Likewise.
1484         * manual/examples/execinfo.c: Likewise.
1485         * manual/examples/filecli.c: Likewise.
1486         * manual/examples/filesrv.c: Likewise.
1487         * manual/examples/fmtmsgexpl.c: Likewise.
1488         * manual/examples/genpass.c: Likewise.
1489         * manual/examples/inetcli.c: Likewise.
1490         * manual/examples/inetsrv.c: Likewise.
1491         * manual/examples/isockad.c: Likewise.
1492         * manual/examples/longopt.c: Likewise.
1493         * manual/examples/memopen.c: Likewise.
1494         * manual/examples/memstrm.c: Likewise.
1495         * manual/examples/mkfsock.c: Likewise.
1496         * manual/examples/mkisock.c: Likewise.
1497         * manual/examples/mygetpass.c: Likewise.
1498         * manual/examples/pipe.c: Likewise.
1499         * manual/examples/popen.c: Likewise.
1500         * manual/examples/rprintf.c: Likewise.
1501         * manual/examples/search.c: Likewise.
1502         * manual/examples/select.c: Likewise.
1503         * manual/examples/setjmp.c: Likewise.
1504         * manual/examples/sigh1.c: Likewise.
1505         * manual/examples/sigusr.c: Likewise.
1506         * manual/examples/stpcpy.c: Likewise.
1507         * manual/examples/strdupa.c: Likewise.
1508         * manual/examples/strftim.c: Likewise.
1509         * manual/examples/strncat.c: Likewise.
1510         * manual/examples/subopt.c: Likewise.
1511         * manual/examples/swapcontext.c: Likewise.
1512         * manual/examples/termios.c: Likewise.
1513         * manual/examples/testopt.c: Likewise.
1514         * manual/examples/testpass.c: Likewise.
1515         * manual/examples/timeval_subtract.c: Likewise.
1516
1517         [BZ #13792]
1518         * manual/time.texi (Elapsed Time): Move timeval_subtract example
1519         function to ...
1520         * manual/timeval_subtract.c.texi: ... here, new file.
1521
1522 2012-03-02  David S. Miller  <davem@davemloft.net>
1523
1524         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1525
1526 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
1527
1528         [BZ #3976]
1529         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1530         (__sin): Save and restore rounding mode and use round-to-nearest
1531         for all computations.
1532         (__cos): Save and restore rounding mode and use round-to-nearest
1533         for all computations.
1534         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1535         <fenv.h>.
1536         (tan): Save and restore rounding mode and use round-to-nearest for
1537         all computations.
1538         * math/libm-test.inc (cos_test_tonearest): New function.
1539         (cos_test_towardzero): Likewise.
1540         (cos_test_downward): Likewise.
1541         (cos_test_upward): Likewise.
1542         (sin_test_tonearest): Likewise.
1543         (sin_test_towardzero): Likewise.
1544         (sin_test_downward): Likewise.
1545         (sin_test_upward): Likewise.
1546         (tan_test_tonearest): Likewise.
1547         (tan_test_towardzero): Likewise.
1548         (tan_test_downward): Likewise.
1549         (tan_test_upward): Likewise.
1550         (main): Call the new functions.
1551         * sysdeps/i386/fpu/libm-test-ulps: Update.
1552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1553
1554         [BZ #10135]
1555         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1556         small n, then large n, before computing and testing k+n.
1557         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1559         Likewise.
1560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1561         Likewise.
1562         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1563         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1564         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1565         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1566         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1568         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1569         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1570         * math/libm-test.inc (scalbn_test): Add more tests.
1571         (scalbln_test): Likewise.
1572
1573         * manual/filesys.texi (mode_t): Describe constraints on size and
1574         signedness, not exact equivalence to a particular type.
1575         (ino_t): Likewise.
1576         (ino64_t): Likewise.
1577         (dev_t): Likewise.
1578         (nlink_t): Likewise.
1579         (blkcnt_t): Likewise.
1580         (blkcnt64_t): Likewise.
1581         * manual/llio.texi (off_t): Likewise.
1582
1583         [BZ #3976]
1584         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1585         (__ieee754_exp): Save and restore rounding mode and use
1586         round-to-nearest for all computations.
1587         * math/libm-test.inc (exp_test_tonearest): New function.
1588         (exp_test_towardzero): Likewise.
1589         (exp_test_downward): Likewise.
1590         (exp_test_upward): Likewise.
1591         (main): Call the new functions.
1592         * sysdeps/i386/fpu/libm-test-ulps: Update.
1593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594
1595 2012-03-01  Chris Demetriou  <cgd@google.com>
1596
1597         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1598         have predictable order.
1599
1600 2012-03-01  David S. Miller  <davem@davemloft.net>
1601
1602         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1603
1604         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1605         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1606         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1607         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1608
1609         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1610         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1611         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1613         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1614         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1615         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1616         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1617         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1618
1619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1620
1621         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1622         * sysdeps/sparc/fpu/libm-test-ulps: to here.
1623         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1624
1625         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1626         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1627         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1628         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1629         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1630         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1631         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1632         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1633         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1634         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1635         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1637         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1638         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1639         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1640         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1641         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1642         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1643         * sysdeps/sparc/elf/configure: Regenerated.
1644
1645 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
1646
1647         * configure.in (AS, LD): Require binutils 2.20 or later.
1648         * configure: Regenerated.
1649         * manual/install.texi (Tools for Compilation): Give binutils 2.20
1650         as required minimum version.
1651         * INSTALL: Regenerated.
1652
1653         [BZ #2541]
1654         [BZ #4108]
1655         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1656         before squaring exponent.
1657         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1658         bottom long double and 27 bits of top long double before squaring
1659         exponent.
1660         * math/libm-test.inc (erfc_test): Add more tests.
1661         * sysdeps/i386/fpu/libm-test-ulps: Update.
1662         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1664
1665 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1666
1667         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1668         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1669         containing bit-fields.
1670         * soft-fp/extended.h (_FP_UNION_E): Likewise.
1671         * soft-fp/single.h (_FP_UNION_S): Likewise.
1672         * soft-fp/double.h (_FP_UNION_D): Likewise.
1673
1674 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1675
1676         [BZ #13786]
1677         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1678         not include ../strcmp.S.
1679         [USE_AS_STRNCASECMP_L]: Likewise.
1680         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1681         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1682         * sysdeps/i386/i686/multiarch/strncase_l-c.c
1683         (__strncasecmp_l_ia32): Define as alias to
1684         __strncasecmp_l_nonascii.
1685
1686         [BZ #5794]
1687         * math/libm-test.inc (expm1_test): Add test for bug 5794.
1688         * sysdeps/i386/fpu/libm-test-ulps: Update.
1689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1690
1691         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1693
1694 2012-02-29  Jeff Law  <law@redhat.com>
1695
1696         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1697         out of bounds read.
1698
1699 2012-02-29  Marek Polacek  <polacek@redhat.com>
1700
1701         [BZ #13706]
1702         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1703         * elf/Makefile: Add rules to run tst-unused-dep.out.
1704
1705 2012-02-28  David S. Miller  <davem@davemloft.net>
1706
1707         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1708         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1709         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1710         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1711         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1712         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1713
1714 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1715
1716         * math/libm-test.inc (llround_test): Move one test from
1717         lround_test.  Use TEST_f_L in moved test.
1718         (lround_test): Move misplaced test to llround_test.  Add testcase
1719         from bug 2561.
1720
1721 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
1722
1723         * sysdeps/x86_64/fpu/e_expf.S: New file.
1724         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1725
1726 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
1727
1728         [BZ #13637]
1729         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1730         of remain_len that may cause incomplete multi-byte character and
1731         false match.
1732         * posix/bug-regex33.c: New file.
1733         * posix/Makefile (tests): Add bug-regex33.
1734
1735 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
1736
1737         * manual/macros.texi: New file.
1738         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1739         * manual/libc.texinfo: Include macros.texi.
1740         * manual/creatute.texi: Likewise.
1741         * manual/install.texi: Likewise.
1742         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1743         @glibcadj{} in references to the GNU C Library.
1744         * manual/charset.texi: Likewise.
1745         * manual/conf.texi: Likewise.
1746         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
1747         when not using those macros.
1748         * manual/creature.texi: Likewise.
1749         * manual/crypt.texi: Likewise.
1750         * manual/errno.texi: Likewise.
1751         * manual/filesys.texi: Likewise.
1752         * manual/header.texi: Likewise.
1753         * manual/install.texi: Likewise.
1754         * manual/intro.texi: Likewise.
1755         * manual/io.texi: Likewise.
1756         * manual/job.texi: Likewise.
1757         * manual/lang.texi: Likewise.
1758         * manual/libc.texiinfo: Likewise.
1759         * manual/llio.texi: Likewise.
1760         * manual/locale.texi: Likewise.
1761         * manual/maint.texi: Likewise.
1762         * manual/math.texi: Likewise.
1763         * manual/memory.texi: Likewise.
1764         * manual/message.texi: Likewise.
1765         * manual/nss.texi: Likewise.
1766         * manual/pattern.texi: Likewise.
1767         * manual/process.texi: Likewise.
1768         * manual/resource.texi: Likewise.
1769         * manual/search.texi: Likewise.
1770         * manual/setjmp.texi: Likewise.
1771         * manual/signal.texi: Likewise.
1772         * manual/socket.texi: Likewise.
1773         * manual/startup.texi: Likewise.
1774         * manual/stdio.texi: Likewise.
1775         * manual/string.texi: Likewise.
1776         * manual/sysinfo.texi: Likewise.
1777         * manual/syslog.texi: Likewise.
1778         * manual/terminal.texi: Likewise.
1779         * manual/time.texi: Likewise.
1780         * manual/users.texi: Likewise.
1781         * INSTALL: Regenerated.
1782         * NOTES: Regenerated.
1783         * sysdeps/gnu/errlist.c: Regenerated.
1784
1785 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1786
1787         * include/dirent.h: Include <dirstream.h> before
1788         <dirent/dirent.h>.
1789
1790 2012-02-28  David S. Miller  <davem@davemloft.net>
1791
1792         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1793         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1794         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1795         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1796
1797 2012-02-27  David S. Miller  <davem@davemloft.net>
1798
1799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1801         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1802         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1803
1804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1805         frame pointer instead of stack pointer relative arg slot.
1806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1807         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1808         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1809
1810 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
1811
1812         [BZ #3992]
1813         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1814
1815 2012-02-27  David S. Miller  <davem@davemloft.net>
1816
1817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1821         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1822         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1823         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1824         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1825
1826 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1827
1828         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1829         later.  Allow versions 5-9.
1830         * configure: Regenerated.
1831         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1832         required minimum version and 4.6 as recommended version.  Do not
1833         mention bugs in GCC 2.7 and 2.8.
1834         * INSTALL: Regenerated.
1835
1836 2012-02-27  David S. Miller  <davem@davemloft.net>
1837
1838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1842         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1843         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1844         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1845         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1846
1847         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1848         manipulate bits before adding and subtracting TWO112[sx].
1849         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1850
1851 2012-02-27  Roland McGrath  <roland@hack.frob.com>
1852
1853         [BZ #13775]
1854         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1855         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1856         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1857         being in POSIX, because they are in 1003.1-2008.
1858
1859         * rt/tst-aio.c: Include <fcntl.h>.
1860         * rt/tst-aio7.c: Likewise.
1861         * rt/tst-aio64.c: Likewise.
1862
1863         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1864
1865 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1866
1867         * manual/install.texi (--with-headers): Describe headers as
1868         interface headers, not private headers.
1869         (Specific advice for GNU/Linux systems): Describe use of headers
1870         from "make headers_install", not private headers from older
1871         kernels.
1872         * INSTALL: Regenerated.
1873         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1874         Change to 2.6.19.
1875         * sysdeps/unix/sysv/linux/configure: Regenerated.
1876
1877         * manual/llio.texi (fclean): Remove documentation.
1878
1879         * manual/Makefile (libc-texi-generated): New variable.  Include
1880         version.texi.
1881         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1882         $(libc-texi-generated), not duplicated list of files.
1883         (version.texi, stamp-version): New rules.
1884         (realclean): Remove $(libc-texi-generated), not individual files
1885         from that list.  Do not remove dir-add.texinfo.
1886         * manual/libc.texinfo: Comment out uses of edition numbers and
1887         references to printed manual.  Remove last-updated dates.
1888         (EDITION): Comment out.
1889         (ISBN): Likewise.
1890         (VERSION, UPDATED): Remove.
1891         (version.texi): Include.
1892
1893 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
1894
1895         * sysdeps/posix/spawni.c: Include <signal.h>.
1896         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1897         * sysdeps/pthread/aio_fsync.c: Likewise.
1898
1899 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
1900
1901         * conform/Makefile (tests): Run only when not cross-compiling and
1902         when fast-check is not defined.
1903
1904         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1905         * conform/data/limits.h-data: Fixes for POSIX2008.
1906         * conform/run-conformtest.sh: Run all tests.
1907         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1908         headers.
1909         * include/bits/dlfcn.h: Likewise.
1910         * include/langinfo.h: Likewise.
1911         * include/monetary.h: Likewise.
1912         * include/sys/poll.h: Likewise.
1913
1914         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1915         for __USE_GNU.
1916         * posix/spawn.h: Define __need_sigset_t.
1917         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1918         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1919         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
1920         to get sigevent_t only.
1921         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1922         only for __USE_GNU.
1923         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1924         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1925         process_vm_writev only for __USE_GNU.
1926         * termios/termios.h: Declare tcgetsid also for POSIX2008.
1927
1928         * conform/Makefile: For now ignore errors from run-conformtest.
1929         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
1930         POSIX to avoid namespace pollution.  Don't prepend headers.
1931         * conform/data/aio.h-data: Fixes for POSIX testing.
1932         * conform/data/fcntl.h-data: Likewise.
1933         * conform/data/glob.h-data: Likewise.
1934         * conform/data/grp.h-data: Likewise.
1935         * conform/data/pthread.h-data: Likewise.
1936         * conform/data/pwd.h-data: Likewise.
1937         * conform/data/signal.h-data: Likewise.
1938         * conform/data/spawn.h-data: Likewise.
1939         * conform/data/stdio.h-data: Likewise.
1940         * conform/data/stdlib.h-data: Likewise.
1941         * conform/data/stropts.h-data: Likewise.
1942         * conform/data/sys/mman.h-data: Likewise.
1943         * conform/data/sys/stat.h-data: Likewise.
1944         * conform/data/sys/types.h-data: Likewise.
1945         * conform/data/sys/wait.h-data: Likewise.
1946         * conform/data/time.h-data: Likewise.
1947         * conform/data/unistd.h-data: Likewise.
1948         * conform/data/utime.h-data: Likewise.
1949
1950         * io/sys/stat.h: fchmod was always in POSIX.
1951         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1952         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1953         * rt/aio.h: Define __need_timespec before including <time.h>.
1954         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1955         struct.  Add forward declaration of pthread_attr_t and use it in
1956         sigevent.
1957         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1959         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1960         always remove CLK_TCK definition.
1961
1962 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
1963
1964         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1965
1966 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
1967
1968         * conform/run-conformtest.sh: New file.
1969         * conform/Makefile: Run run-conformtest for tests.
1970         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
1971         support.
1972
1973         * conform/data/uchar.h-data: New file.
1974         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1975         * conform/data/arpa/inet.h-data: Likewise.
1976         * conform/data/assert.h-data: Likewise.
1977         * conform/data/complex.h-data: Likewise.
1978         * conform/data/cpio.h-data: Likewise.
1979         * conform/data/ctype.h-data: Likewise.
1980         * conform/data/dirent.h-data: Likewise.
1981         * conform/data/dlfcn.h-data: Likewise.
1982         * conform/data/errno.h-data: Likewise.
1983         * conform/data/fcntl.h-data: Likewise.
1984         * conform/data/float.h-data: Likewise.
1985         * conform/data/fmtmsg.h-data: Likewise.
1986         * conform/data/fnmatch.h-data: Likewise.
1987         * conform/data/ftw.h-data: Likewise.
1988         * conform/data/glob.h-data: Likewise.
1989         * conform/data/grp.h-data: Likewise.
1990         * conform/data/iconv.h-data: Likewise.
1991         * conform/data/inttypes.h-data: Likewise.
1992         * conform/data/langinfo.h-data: Likewise.
1993         * conform/data/libgen.h-data: Likewise.
1994         * conform/data/limits.h-data: Likewise.
1995         * conform/data/locale.h-data: Likewise.
1996         * conform/data/math.h-data: Likewise.
1997         * conform/data/monetary.h-data: Likewise.
1998         * conform/data/mqueue.h-data: Likewise.
1999         * conform/data/ndbm.h-data: Likewise.
2000         * conform/data/net/if.h-data: Likewise.
2001         * conform/data/netdb.h-data: Likewise.
2002         * conform/data/netinet/in.h-data: Likewise.
2003         * conform/data/nl_types.h-data: Likewise.
2004         * conform/data/poll.h-data: Likewise.
2005         * conform/data/pthread.h-data: Likewise.
2006         * conform/data/pwd.h-data: Likewise.
2007         * conform/data/regex.h-data: Likewise.
2008         * conform/data/sched.h-data: Likewise.
2009         * conform/data/search.h-data: Likewise.
2010         * conform/data/semaphore.h-data: Likewise.
2011         * conform/data/setjmp.h-data: Likewise.
2012         * conform/data/signal.h-data: Likewise.
2013         * conform/data/spawn.h-data: Likewise.
2014         * conform/data/stdarg.h-data: Likewise.
2015         * conform/data/stdio.h-data: Likewise.
2016         * conform/data/stdlib.h-data: Likewise.
2017         * conform/data/string.h-data: Likewise.
2018         * conform/data/strings.h-data: Likewise.
2019         * conform/data/stropts.h-data: Likewise.
2020         * conform/data/sys/ipc.h-data: Likewise.
2021         * conform/data/sys/mman.h-data: Likewise.
2022         * conform/data/sys/msg.h-data: Likewise.
2023         * conform/data/sys/resource.h-data: Likewise.
2024         * conform/data/sys/select.h-data: Likewise.
2025         * conform/data/sys/sem.h-data: Likewise.
2026         * conform/data/sys/shm.h-data: Likewise.
2027         * conform/data/sys/socket.h-data: Likewise.
2028         * conform/data/sys/stat.h-data: Likewise.
2029         * conform/data/sys/statvfs.h-data: Likewise.
2030         * conform/data/sys/time.h-data: Likewise.
2031         * conform/data/sys/timeb.h-data: Likewise.
2032         * conform/data/sys/times.h-data: Likewise.
2033         * conform/data/sys/types.h-data: Likewise.
2034         * conform/data/sys/uio.h-data: Likewise.
2035         * conform/data/sys/un.h-data: Likewise.
2036         * conform/data/sys/utsname.h-data: Likewise.
2037         * conform/data/sys/wait.h-data: Likewise.
2038         * conform/data/syslog.h-data: Likewise.
2039         * conform/data/tar.h-data: Likewise.
2040         * conform/data/termios.h-data: Likewise.
2041         * conform/data/utime.h-data: Likewise.
2042         * conform/data/utmpx.h-data: Likewise.
2043         * conform/data/varargs.h-data: Likewise.
2044         * conform/data/wchar.h-data: Likewise.
2045         * conform/data/wctype.h-data: Likewise.
2046         * conform/data/wordexp.h-data: Likewise.
2047
2048         * include/stropts.h: New file.
2049         * include/uchar.h: New file.
2050         * include/aio.h: Changes to allow conformtest.pl to use the headers.
2051         * include/assert.h: Likewise.
2052         * include/ctype.h: Likewise.
2053         * include/dirent.h: Likewise.
2054         * include/dlfcn.h: Likewise.
2055         * include/fcntl.h: Likewise.
2056         * include/fnmatch.h: Likewise.
2057         * include/glob.h: Likewise.
2058         * include/grp.h: Likewise.
2059         * include/libio.h: Likewise.
2060         * include/locale.h: Likewise.
2061         * include/math.h: Likewise.
2062         * include/net/if.h: Likewise.
2063         * include/netdb.h: Likewise.
2064         * include/netinet/in.h: Likewise.
2065         * include/pthread.h: Likewise.
2066         * include/pwd.h: Likewise.
2067         * include/regex.h: Likewise.
2068         * include/sched.h: Likewise.
2069         * include/search.h: Likewise.
2070         * include/setjmp.h: Likewise.
2071         * include/signal.h: Likewise.
2072         * include/stdio.h: Likewise.
2073         * include/stdlib.h: Likewise.
2074         * include/string.h: Likewise.
2075         * include/sys/cdefs.h: Likewise.
2076         * include/sys/mman.h: Likewise.
2077         * include/sys/msg.h: Likewise.
2078         * include/sys/resource.h: Likewise.
2079         * include/sys/select.h: Likewise.
2080         * include/sys/socket.h: Likewise.
2081         * include/sys/stat.h: Likewise.
2082         * include/sys/statvfs.h: Likewise.
2083         * include/sys/time.h: Likewise.
2084         * include/sys/times.h: Likewise.
2085         * include/sys/uio.h: Likewise.
2086         * include/sys/utsname.h: Likewise.
2087         * include/sys/wait.h: Likewise.
2088         * include/termios.h: Likewise.
2089         * include/time.h: Likewise.
2090         * include/ulimit.h: Likewise.
2091         * include/unistd.h: Likewise.
2092         * include/utime.h: Likewise.
2093         * include/wchar.h: Likewise.
2094         * include/wctype.h: Likewise.
2095         * include/wordexp.h: Likewise.
2096
2097         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2098
2099         * time/time.h: TIME_UTC must be a macro.
2100         Make timespec_get available for ISO C11 only as well.
2101
2102 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
2103
2104         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2105         Reported by Peng Haitao <penght@cn.fujitsu.com>.
2106
2107 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2108
2109         * configure.in: Use -o not -a in test for unsupported multi-arch.
2110
2111 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2112
2113         * manual/texinfo.tex: Update to version 2012-01-19.16.
2114
2115 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2116
2117         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2118
2119 2012-02-24  Roland McGrath  <roland@hack.frob.com>
2120
2121         [BZ #13738]
2122         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2123         * manual/fdl-1.3.texi: New file.
2124         * manual/fdl-1.1.texi: File removed.
2125
2126         [BZ #13738]
2127         * manual/libc.texinfo (FDL_VERSION): New @set.
2128         Use it for mention of FDL in cover text.
2129         (Documentation License): Use it in @include file name.
2130
2131 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2132             Roland McGrath  <roland@hack.frob.com>
2133
2134         [BZ #5461]
2135         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2136         not LONG_LONG_MAX and LONG_LONG_MIN.
2137         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2138         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
2139         name.
2140         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2141
2142 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2143
2144         [BZ #2547]
2145         [BZ #11365]
2146         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2147         manipulate bits before adding and subtracting TWO23[sx].
2148         * math/libm-test.inc (nearbyint_test): Add more tests.
2149
2150 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2151
2152         [BZ #2548]
2153         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2154         bits before adding and subtracting TWO23[sx].
2155         * math/libm-test.inc (rint_test): Add more tests.
2156         (rint_test_tonearest): Likewise.
2157         (rint_test_towardzero): Likewise.
2158         (rint_test_downward): Likewise.
2159         (rint_test_upward: Likewise.
2160
2161 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2162
2163         [BZ #10110]
2164         * include/stdc-predef.h: New file.  Extracted from features.h.
2165         * include/features.h: Include stdc-predef.h.
2166         * Makefile (headers): Add stdc-predef.h.
2167         * CONFORMANCE (Compiler limitations): Update.
2168
2169 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2170
2171         * manual/libc.texinfo (VERSION, UPDATED): Revert.
2172
2173 2012-02-21  David S. Miller  <davem@davemloft.net>
2174
2175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2176         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2177
2178 2012-02-20  David S. Miller  <davem@davemloft.net>
2179
2180         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2181         using a normal save/restore sequence, rather than allocating a
2182         dummy stack frame just to store a frame pointer and restore.
2183         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2184
2185 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2186
2187         * manual/install.texi: Fix stray word in line-wrapped comment.
2188
2189 2012-02-20  David S. Miller  <davem@davemloft.net>
2190
2191         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2192         both binutils and gcc support GOTDATA.
2193
2194         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2195         "rd %pc" in the PIC register setup sequences.
2196
2197         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2198         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2199         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2200         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2201         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2202         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2203         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2204         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2205         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2206         (SYSCALL_ERROR_HANDLER): Likewise.
2207         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2208         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2210         (SYSCALL_ERROR_HANDLER): Likewise.
2211
2212         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2213         (HAVE_GCC_GOTDATA): New.
2214         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2215         relocation support in both binutils and gcc.
2216         * sysdeps/sparc/elf/configure: Regenerate.
2217
2218         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2219         * sysdeps/sparc/sparc32/elf/configure: Delete.
2220         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2221         * sysdeps/sparc/sparc64/elf/configure: Delete.
2222         * sysdeps/sparc/elf/configure.in: New file.
2223         * sysdeps/sparc/elf/configure: Generate.
2224
2225         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2226         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2227         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2228         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2229         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2230
2231 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2232
2233         * manual/install.texi: Do not mention specific glibc version
2234         numbers.
2235         * manual/libc.texinfo (VERSION, UPDATED): Update.
2236         (@copying): Use @copyright{} and range of years.
2237
2238 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2239
2240         [BZ #13695]
2241         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2242         [crti.S not in sysdirs] (generated): Do not append.
2243         [crti.S not in sysdirs] (omit-deps): Likewise.
2244         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2245         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2246         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2247         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2248         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2249         Likewise.
2250         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2251         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2252         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2253         * csu/defs.awk: Remove file.
2254         * sysdeps/generic/initfini.c: Likewise.
2255         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2256         variable.
2257         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2258         Likewise.
2259
2260 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2261
2262         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2263         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2264         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2265         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2266         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2267         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2268         <bits/epoll.h>.
2269         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2270         (__EPOLL_PACKED): Define to empty if not defined by
2271         <bits/epoll.h>.
2272         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2274         bits/epoll.h.
2275
2276 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2277
2278         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2279         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2280         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2281         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2282         <bits/timerfd.h>.
2283         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2285         bits/timerfd.h.
2286
2287 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2288
2289         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2290         in C locale.
2291         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2292         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2293         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295
2296 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
2297
2298         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2299         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2300
2301 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
2302
2303         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2304         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2305         defined.
2306         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2307         Likewise.
2308         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2309         entry for 2.16.
2310
2311 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
2312
2313         * math/w_acos.c: Use non-signaling floating-point comparisons.
2314         * math/w_acosf.c: Likewise.
2315         * math/w_acosh.c: Likewise.
2316         * math/w_acoshf.c: Likewise.
2317         * math/w_acoshl.c: Likewise.
2318         * math/w_acosl.c: Likewise.
2319         * math/w_asin.c: Likewise.
2320         * math/w_asinf.c: Likewise.
2321         * math/w_asinl.c: Likewise.
2322         * math/w_atanh.c: Likewise.
2323         * math/w_atanhf.c: Likewise.
2324         * math/w_atanhl.c: Likewise.
2325         * math/w_exp2.c: Likewise.
2326         * math/w_exp2f.c: Likewise.
2327         * math/w_exp2l.c: Likewise.
2328         * math/w_j0.c: Likewise.
2329         * math/w_j0f.c: Likewise.
2330         * math/w_j0l.c: Likewise.
2331         * math/w_j1.c: Likewise.
2332         * math/w_j1f.c: Likewise.
2333         * math/w_j1l.c: Likewise.
2334         * math/w_jn.c: Likewise.
2335         * math/w_jnf.c: Likewise.
2336         * math/w_log.c: Likewise.
2337         * math/w_log10.c: Likewise.
2338         * math/w_log10f.c: Likewise.
2339         * math/w_log10l.c: Likewise.
2340         * math/w_log2.c: Likewise.
2341         * math/w_log2f.c: Likewise.
2342         * math/w_log2l.c: Likewise.
2343         * math/w_logf.c: Likewise.
2344         * math/w_logl.c: Likewise.
2345         * math/w_sqrt.c: Likewise.
2346         * math/w_sqrtf.c: Likewise.
2347         * math/w_sqrtl.c: Likewise.
2348         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2349         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2350         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2351         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2352         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2353
2354 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2355
2356         [BZ #9739]
2357         * manual/string.texi (strnlen): Use correct parameter name in
2358         equivalent expression.
2359
2360 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2361
2362         [BZ #11174]
2363         * manual/users.texi (seteuid): Consistently use neweuid for
2364         argument name.
2365
2366 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2367
2368         [BZ #13704]
2369         * manual/nss.texi (Services in the NSS configuration): Correct
2370         list of services in example configuration file.
2371
2372 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
2373
2374         [BZ #11322]
2375         * manual/arith.texi: Remove statements about negative zero
2376         behaving identically to zero.
2377
2378 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2379
2380         [BZ #5993]
2381         * manual/install.texi: Do not document upgrading from libc5.
2382
2383 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2384
2385         [BZ #4596]
2386         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2387
2388 2012-02-18  David S. Miller  <davem@davemloft.net>
2389
2390         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2391         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2392         %o7 across the call.
2393         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2394         instead.
2395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2396         SETUP_PIC_REG_LEAF.
2397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2398         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2399         * sysdeps/sparc/crtn.S: Likewise.
2400
2401 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
2402
2403         * aout/Makefile: Remove.
2404
2405 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
2406
2407         [BZ #13058]
2408         * manual/examples/argp-ex1.c (main): Format definition in GNU
2409         style.
2410         * manual/examples/argp-ex2.c (main): Likewise.
2411         * manual/examples/argp-ex3.c (main): Likewise.
2412         * manual/examples/argp-ex4.c (main): Likewise.
2413         * manual/examples/longopt.c (main): Use new-style prototype
2414         definition.
2415         * manual/examples/strncat.c (main): Specify return type and use
2416         (void) for arguments.
2417         * manual/examples/subopt.c (main): Use char **argv argument.
2418
2419 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2420
2421         [BZ #5077]
2422         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2423         rounding modes.
2424
2425 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
2426
2427         [BZ #6907]
2428         * manual/string.texi (strchr): Change when strchrnul is
2429         recommended.
2430
2431 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
2432
2433         [BZ #174]
2434         * manual/locale.texi (setlocale): Document LOCPATH.
2435
2436 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2437
2438         [BZ #10210]
2439         * manual/process.texi (execle): Move @dots{} before last argument.
2440
2441 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
2442
2443         [BZ #12047]
2444         * manual/charset.texi (Generic Charset Conversion): Fix typo
2445         (LC_TYPE -> LC_CTYPE).
2446
2447 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
2448
2449         [BZ #5805]
2450         * manual/arith.texi (scalbn): Use @var{} on parameter names.
2451         (scalbnf): Likewise.
2452         (scalbnl): Likewise.
2453         (scalbln): Likewise.
2454         (scalblnf): Likewise.
2455         (scalblnl): Likewise.
2456         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2457         (vwarnx): Likewise.
2458         (verr): Likewise.
2459         (verrx): Likewise.
2460         * manual/filesys.texi (telldir): Use braces around return type.
2461         * manual/llio.texi (mmap): Add space after comma.
2462         (mmap64): Likewise.
2463         * manual/math.texi (jn): Use @var{} on parameter names.
2464         (jnf): Likewise.
2465         (jnl): Likewise.
2466         (yn): Likewise.
2467         (ynf): Likewise.
2468         (ynl): Likewise.
2469         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2470         line.
2471         * manual/resource.texi (ulimit): Use @dots{} instead of literal
2472         "...".
2473         (sched_get_priority_min): Remove semicolon on @deftypefun line.
2474         (sched_get_priority_max): Likewise.
2475         * manual/signal.texi (sigvec): Add space after comma.
2476         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2477         names.
2478         (if_indextoname): Likewise.
2479         (if_freenameindex): Likewise.
2480         (sendto): Use ',' instead of '.' in prototype.
2481         * manual/startup.texi (syscall): Use @dots{} instead of literal
2482         "...".
2483         * manual/stdio.texi (__fpending): Separate initial words of
2484         paragraph from @deftypefun line.
2485         * manual/syslog.texi (syslog): Use @dots{} instead of literal
2486         "...".
2487         (vsyslog): Use @var{} on parameter names.
2488         * manual/terminal.texi (stty): Use @var{} on parameter names.
2489         * manual/users.texi (getutmp): Use @var{} on parameter names.
2490         (getutmpx): Likewise.
2491
2492 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2493
2494         [BZ #6884]
2495         * manual/stdio.texi (fopen): Fix typos in description of
2496         ",ccs=STRING".
2497
2498 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
2499
2500         [BZ #4026]
2501         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2502         get clock_id definition.
2503
2504 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
2505
2506         [BZ #4822]
2507         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2508         (madvise): Cast every argument to void on its own.
2509
2510 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2511
2512         [BZ #9902]
2513         * manual/startup.texi (Exit Status): Fix typo.
2514
2515 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2516
2517         [BZ #10140]
2518         * manual/examples/argp-ex1.c: Include <stdlib.h>.
2519         * manual/examples/argp-ex2.c: Likewise.
2520         * manual/examples/argp-ex3.c: Likewise.
2521
2522 2012-02-16  Richard Henderson  <rth@redhat.com>
2523
2524         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2525         * sysdeps/s390/s390-32/initfini.c: Remove.
2526         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2527         * sysdeps/s390/s390-64/initfini.c: Remove.
2528
2529 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2530
2531         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2532         compiler output for sysdeps/generic/initfini.c.
2533         * sysdeps/sh/elf/initfini.c: Remove file.
2534
2535 2012-02-16  David S. Miller  <davem@davemloft.net>
2536
2537         [BZ #11494]
2538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2539
2540         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2541         * sysdeps/sparc/crti.S: New file.
2542         * sysdeps/sparc/crtn.S: New file.
2543         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2544         * sysdeps/sparc/sparc64/Makefile: Likewise.
2545
2546 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
2547
2548         [BZ #3335]
2549         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2550
2551 2012-02-15  Roland McGrath  <roland@hack.frob.com>
2552
2553         [BZ #4822]
2554         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2555
2556         * mach/devstream.c (cookie_io_functions_t): Macro removed.
2557         (write, read, close): Likewise.
2558         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2559
2560 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
2561
2562         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2563         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2564         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2565         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2566         <bits/signalfd.h>.
2567         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2569         bits/signalfd.h.
2570
2571 2012-02-14  Marek Polacek  <polacek@redhat.com>
2572
2573         * sysdeps/x86_64/crti.S: New file.
2574         * sysdeps/x86_64/crtn.S: New file.
2575         * sysdeps/x86_64/elf/initfini.c: Remove file.
2576
2577 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2578
2579         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2580         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2581         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2582         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2583         <bits/inotify.h>.
2584         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2586         bits/inotify.h.
2587
2588 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2589
2590         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2591         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2592         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2593         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2594         <bits/eventfd.h>.
2595         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2597         bits/eventfd.h.
2598
2599 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
2600
2601         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2602         __feraiseexcept instead of feraiseexcept.
2603
2604         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2605         nanosleep invocations.
2606         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2607         strings, and add error checking for a nanosleep invocations.
2608
2609 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
2610
2611         Replace FSF snail mail address with URLs, as per GNU coding standards.
2612         Most of the snail mail addresses were wrong anyway, and omitting
2613         them makes the source code easier to maintain.  Almost all of the
2614         changes are to license notices and to locale LC_IDENTIFICATION
2615         addresses, except for this one:
2616         * manual/libc.texinfo: In "Published by", give the FSF's URL,
2617         not its snail mail address.
2618
2619 2012-02-09  Richard Henderson  <rth@twiddle.net>
2620
2621         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2622         of kernel-features.h.
2623
2624         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2625
2626 2012-02-08  Marek Polacek  <polacek@redhat.com>
2627
2628         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2629         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2630         * sysdeps/gnu/_G_config.h: Likewise.
2631         * sysdeps/generic/_G_config.h: Likewise.
2632
2633 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
2634
2635         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2636         tests.
2637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2638
2639         * sysdeps/powerpc/powerpc32/crti.S: New file.
2640         * sysdeps/powerpc/powerpc32/crtn.S: New file.
2641         * sysdeps/powerpc/powerpc64/crti.S: New file.
2642         * sysdeps/powerpc/powerpc64/crtn.S: New file.
2643
2644         * Makeconfig (have-initfini): Don't set.
2645         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2646         * configure.in (nopic_initfini): Don't substitute.
2647         * config.h.in (HAVE_INITFINI): Don't #undef.
2648         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2649         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2650
2651 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
2652
2653         Support crti.S and crtn.S provided directly by architectures.
2654         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2655         [crti.S in sysdirs] (omit-deps): Likewise.
2656         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2657         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2658         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2659         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2660         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2661         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2662         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2663         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2664         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2665         compiler output for sysdeps/generic/initfini.c.
2666         * sysdeps/i386/elf/Makefile: Remove file.
2667         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2668
2669 2012-02-07  Marek Polacek  <polacek@redhat.com>
2670
2671         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2672         * sysdeps/gnu/_G_config.h: Likewise.
2673         * sysdeps/mach/hurd/_G_config.h: Likewise.
2674
2675 2012-02-07  Marek Polacek  <polacek@redhat.com>
2676
2677         * math/Makefile (tests): Add tst-CMPLX2.
2678         * math/tst-CMPLX2.c: New file.
2679
2680 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
2681
2682         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2683
2684         * math/libm-test.inc (jn_test): Add missing L suffix.
2685
2686 2012-02-06  Marek Polacek  <polacek@redhat.com>
2687
2688         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2689         * sysdeps/i386/fpu/e_powf.S: Likewise.
2690         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2691         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2692         * sysdeps/i386/fpu/e_acosh.S: Likewise.
2693         * sysdeps/i386/fpu/e_pow.S: Likewise.
2694         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2695         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2696         * sysdeps/i386/fpu/s_expm1.S: Likewise.
2697         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2698         * sysdeps/i386/fpu/e_log2.S: Likewise.
2699         * sysdeps/i386/fpu/e_log2l.S: Likewise.
2700         * sysdeps/i386/fpu/e_scalb.S: Likewise.
2701         * sysdeps/i386/fpu/e_powl.S: Likewise.
2702         * sysdeps/i386/fpu/s_log1p.S: Likewise.
2703         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2704         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2705         * sysdeps/i386/fpu/e_logl.S: Likewise.
2706         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2707         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2708         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2709         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2710         * sysdeps/i386/fpu/e_log2f.S: Likewise.
2711         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2712         * sysdeps/i386/fpu/e_log.S: Likewise.
2713         * sysdeps/i386/fpu/s_cexp.S: Likewise.
2714         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2715         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2716         * sysdeps/i386/fpu/e_logf.S: Likewise.
2717         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2718         * sysdeps/i386/fpu/e_atanh.S: Likewise.
2719         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2720         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2721         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2722         * sysdeps/i386/fpu/e_log10.S: Likewise.
2723         * sysdeps/i386/fpu/s_frexp.S: Likewise.
2724         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2725         * sysdeps/i386/fpu/s_asinh.S: Likewise.
2726         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2727         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2728         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2729         * sysdeps/i386/asm-syntax.h: Likewise.
2730         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2731         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2732         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2733         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2734         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2735         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2736         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2737         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2738         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2739         * sysdeps/powerpc/sysdep.h: Likewise.
2740         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2741         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2742
2743 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2744
2745         [BZ #411]
2746         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2747
2748 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2749
2750         * sysdeps/i386/sysdep.h: Include <features.h>.
2751         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2752         version.
2753
2754 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
2755
2756         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2757         Define.
2758         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2759         LOAD_PIC_REG_STR.
2760
2761 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2762
2763         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2764         (SETUP_PIC_REG): Use GET_PC_THUNK.
2765         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2766         macro.
2767
2768 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2769
2770         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2771         for non-PIC compilation.
2772         (SETUP_PIC_REG): Add .p2align directive.
2773         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2774         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2775         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2776         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2777         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2778         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2779         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2780         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2781         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2782         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2783         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2784         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2785         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2786         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2787         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2788         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2789         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2790         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2791         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2792         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2793         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2794         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2795         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2796         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2797         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2799         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2800         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2801         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2802         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2803         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2804         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2805         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2806         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2807         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2808         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2809         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2810         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2811         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2812         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2813         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2814
2815 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2816
2817         * math/tst-CMPLX.c: Include <stdio.h>.
2818
2819 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
2820
2821         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2822         float.
2823         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2824         * sysdeps/sparc/bits/mathdef.h: Likewise.
2825
2826 2012-01-31  Marek Polacek  <polacek@redhat.com>
2827
2828         * libio/libio.h: Don't define _PARAMS.
2829         * locale/programs/config.h: Don't define PARAMS.
2830         * stdlib/strtol_l.c: Likewise.
2831         (__strtol_l): Remove PARAMS from the prototype.
2832
2833 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
2834
2835         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
2836         names.  Just use the correct names.  Remove unnecessary wrapper
2837         functions.
2838         * malloc/arena.c: Likewise.
2839         * malloc/hooks.c: Likewise.
2840
2841         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2842         ARENA_TEST says not to.  Simplify test for creation of a new arena.
2843         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2844
2845 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
2846
2847         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2848         into tail calls.
2849         (update_get_addr): New function.
2850         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2851         GET_ADDR_MODULE parameter.
2852
2853 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2854
2855         * crypt/cert.c: Remove __STDC__ conditionals.
2856         * crypt/crypt-entry.c: Likewise.
2857         * crypt/crypt_util.c: Likewise.
2858         * libio/filedoalloc.c: Likewise.
2859         * libio/fileops.c: Likewise.
2860         * libio/genops.c: Likewise.
2861         * libio/iofclose.c: Likewise.
2862         * libio/iofdopen.c: Likewise.
2863         * libio/iofopen.c: Likewise.
2864         * libio/iofopen64.c: Likewise.
2865         * libio/iogetdelim.c: Likewise.
2866         * libio/iopopen.c: Likewise.
2867         * libio/obprintf.c: Likewise.
2868         * libio/oldfileops.c: Likewise.
2869         * libio/oldiofclose.c: Likewise.
2870         * libio/oldiofdopen.c: Likewise.
2871         * libio/oldiofopen.c: Likewise.
2872         * libio/oldiopopen.c: Likewise.
2873         * libio/wfiledoalloc.c: Likewise.
2874         * libio/wgenops.c: Likewise.
2875         * locale/programs/xmalloc.c: Likewise.
2876         * misc/syslog.c: Likewise.
2877         * stdio-common/xbug.c: Likewise.
2878         * string/memchr.c: Likewise.
2879         * string/memcmp.c: Likewise.
2880         * string/memrchr.c: Likewise.
2881         * string/rawmemchr.c: Likewise.
2882         * sysdeps/posix/getcwd.c: Likewise.
2883         * time/strftime_l.c: Likewise.
2884
2885 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2886
2887         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2888         * config.make.in (config-cflags-sse2avx): Define.
2889         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2890         Fix typo.
2891
2892 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
2893
2894         * scripts/config.guess: Update from upstream config git repository.
2895         * scripts/config.sub: Likewise.
2896
2897 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
2898
2899         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2900         (EM_NUM): Update.
2901         (R_TILEPRO_*, R_TILEGX_*): New macros.
2902
2903         * scripts/firstversions.awk: Fix bug in version range handling.
2904
2905         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2906
2907         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2908
2909         * include/sys/epoll.h: New file.
2910         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2911         libc_hidden_def.
2912
2913 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
2914
2915         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2916         Avoid unnecessary __WORDSIZE == 64 test.
2917         (fmaxf): Use VEX format if possible.
2918         (fmax): Likewise.
2919         (fminf): Likewise.
2920         (fmin): Likewise.
2921
2922         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2923         * math/math_private.h: Remove libc_fegetround* and
2924         libc_fesetround*.
2925         * sysdeps/i386/configure.in: Check for -msse2avx.
2926         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2927         also if SSE2AVX is defined.
2928         Remove libc_fegetround* and libc_fesetround*.
2929         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2930         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
2931         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2932         of HAS_YMM_USABLE.
2933         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2934         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2935         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2938
2939         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2940
2941 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2942
2943         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2944         size is not set.
2945         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2946
2947 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
2948
2949         [BZ #13618]
2950         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2951         relocation.
2952         * Makeconfig (libm): Define.
2953         * elf/Makefile: Add rules to build and run tst-relsort1.
2954         * elf/tst-relsort1.c: New file.
2955         * elf/tst-relsort1mod1.c: New file.
2956         * elf/tst-relsort1mod2.c: New file.
2957
2958 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
2959
2960         * math/s_ldexp.c: Remove __STDC__ conditionals.
2961         * math/s_ldexpf.c: Likewise.
2962         * math/s_ldexpl.c: Likewise.
2963         * math/s_nextafter.c: Likewise.
2964         * math/s_nexttowardf.c: Likewise.
2965         * math/s_significand.c: Likewise.
2966         * math/s_significandf.c: Likewise.
2967         * math/s_significandl.c: Likewise.
2968         * math/w_jnl.c: Likewise.
2969         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2970         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2971         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2972         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2973         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2975         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2976         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2977         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2978         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2979         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2980         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2981         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2982         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2983         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2984         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2985         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2986         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2987         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2988         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2989         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2990         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2991         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2992         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2993         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2994         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2995         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2996         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2997         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2998         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2999         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3000         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3001         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3002         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3003         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3004         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3005         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3006         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3007         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3008         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3009         * sysdeps/ieee754/k_standard.c: Likewise.
3010         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3011         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3012         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3013         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3014         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3015         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3016         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3017         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3018         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3019         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3020         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3021         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3022         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3023         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3024         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3026         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3027         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3028         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3029         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3030         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3031         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3032         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3033         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3034         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3035         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3036         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3037         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3039         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3040         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3041         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3042         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3043         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3044         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3045         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3046         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3047         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3048         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3049         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3050         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3052         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3053         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3054         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3055         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3057         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3058         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3059         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3060         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3061         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3062         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3063         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3064         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3065         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3066         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3067         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3068         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3069         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3070         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3071         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3072         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3073         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3074         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3075         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3076         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3077         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3078         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3079         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3080         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3081         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3082         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3083         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3084         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3085         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3086         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3087         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3088         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3089         * sysdeps/ieee754/s_matherr.c: Likewise.
3090         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3091         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3092         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3094
3095 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3096
3097         * crypt/md5.h: Remove __STDC__ conditionals.
3098         * libio/libioP.h: Likewise.
3099         * locale/programs/config.h: Likewise.
3100         * sysdeps/generic/sysdep.h: Likewise.
3101         * sysdeps/i386/asm-syntax.h: Likewise.
3102         * sysdeps/s390/asm-syntax.h: Likewise.
3103         * sysdeps/unix/sysdep.h: Likewise.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3106
3107 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3108
3109         * libio/libio.h: Remove __STDC__ conditionals.
3110         * malloc/obstack.h: Likewise.
3111         * math/complex.h: Likewise.
3112         * math/math.h: Likewise.
3113         * sysdeps/generic/_G_config.h: Likewise.
3114         * sysdeps/gnu/_G_config.h: Likewise.
3115         * sysdeps/mach/hurd/_G_config.h: Likewise.
3116         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3117         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3118         * sysdeps/sparc/bits/mathdef.h: Likewise.
3119
3120 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
3121
3122         [BZ #13583]
3123         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3124         Clean up HAS_* macros.
3125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3126         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3127         possible.
3128         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3129         HAS_AVX.
3130         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3131         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3132         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3133         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3134         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3135
3136 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
3137
3138         * elf/tst-unique3.cc (gets): Remove declaration.
3139         * elf/tst-unique3lib.cc (gets): Likewise.
3140         * elf/tst-unique3lib2.cc (gets): Likewise.
3141         * elf/tst-unique4.cc (gets): Likewise.
3142
3143 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
3144
3145         * include/stdio.h: Add C++ protection.  Add gets declarations and
3146         definitions.
3147         * debug/tst-chk1.c: Don't declare gets here.
3148         * stdio-common/tst-gets.c: Likewise.
3149
3150 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
3151
3152         * posix/glob: Remove directory.
3153
3154 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
3155
3156         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3157
3158 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
3159
3160         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3161         of the non-standard EPFNOSUPPORT.
3162
3163 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3164
3165         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3166         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3167         ANYWHERE set to 1 only on KERN_NO_SPACE error.
3168
3169 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
3170
3171         * wcsmbs/uchar.h: Test __STDC_VERSION__.
3172
3173 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
3174
3175         * nscd/aicache.c (addhstaiX): Do not cache negative results of
3176         transient errors.
3177         * nscd/grpcache.c (cache_addgr): Likewise.
3178         * nscd/hstcache.c (cache_addhst): Likewise.
3179         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3180         * nscd/pwdcache.c (cache_addpw): Likewise.
3181         * nscd/servicescache.c (cache_addserv): Likewise.
3182
3183 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
3184
3185         * malloc/malloc.c: Various cleanups.
3186         * malloc/hooks.c: Likewise.
3187
3188         * stdlib/Makefile (tests): Add bug-fmtmsg1.
3189         * stdlib/bug-fmtmsg1.c: New file.
3190
3191         * stdlib/fmtmsg.c (init): Add missing unlock.
3192         Patch by Peng Haitao <penght@cn.fujitsu.com>.
3193
3194 2012-01-12  Marek Polacek  <polacek@redhat.com>
3195
3196         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3197         and _GNU_SOURCE.
3198
3199 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
3200
3201         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3202         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3203         macro to ensure uniqueness of label name.
3204         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3205         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3206
3207 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
3208
3209         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3210
3211         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3212         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3213         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3215
3216 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
3217
3218         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3219
3220         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3221         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3222         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3223
3224         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3225
3226         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3227         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3228         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3229         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3230
3231         * math/bits/math-finite.h: Add ldexp support.
3232
3233 2012-01-10  Marek Polacek  <polacek@redhat.com>
3234
3235         * locale/programs/localedef.h (show_archive_content): Add noreturn
3236         attribute.
3237
3238 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
3239
3240         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3241
3242 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3243
3244         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3245
3246         * io/Makefile (headers): Add bits/poll2.h.
3247
3248 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
3249
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3251         typo #include statement.
3252
3253 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3254
3255         * include/sys/cdefs.h: Define __attribute_alloc_size.
3256         * catgets/gencat.c: Add alloc_size attribute and apply consistently
3257         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3258         * elf/pldd.c: Likewise.
3259         * iconv/iconv_charmap.c: Likewise.
3260         * iconv/iconvconfig.c: Likewise.
3261         * iconv/strtab.c: Likewise.
3262         * locale/programs/locale.c: Likewise.
3263         * locale/programs/localedef.h: Likewise.
3264         * locale/programs/simple-hash.c: Likewise.
3265         * nscd/nscd.h: Likewise.
3266         * nss/makedb.c: Likewise.
3267         * sysdeps/generic/ldconfig.h: Likewise.
3268         * locale/programs/localedef.c: Remove xmalloc prototype.
3269         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3270
3271 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3272
3273         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3274         appropriate.
3275
3276 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3277
3278         * math/Makefile (tests): Add tst-CMPLX.
3279         * math/tst-CMPLX.c: New file.
3280
3281         * math/complex.h (CMPLXL): Fix typo.
3282
3283         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3284         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3285         GLIBC_2.16.
3286         * debug/tst-chk1.c: Add poll and ppoll tests.
3287         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3288         * include/sys/poll.h: Add hidden proto for ppoll.
3289         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3290         * sysdeps/mach/hurd/ppoll.c: Likewise.
3291         * io/ppoll.c: Likewise.
3292         * debug/poll_chk.c: New file.
3293         * debug/ppoll_chk.c: New file.
3294         * include/bits/poll2.h: New file.
3295         * io/bits/poll2.h: New file.
3296
3297         [BZ #1350]
3298         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3299
3300         * configure.in: static is always set to yes.  Remove.
3301         * config.make.in: Don't set build-static.
3302         * Makeconfig: Remove use of build-static.
3303         * dlfcn/Makefile: Likewise.
3304         * elf/Makefile: Likewise.
3305         * math/Makefile: Likewise.
3306         * misc/Makefile: Likewise.
3307         * nptl/Makefile: Likewise.
3308         * sysdeps/mach/hurd/Makefile: Likewise.
3309
3310         * configure.in: PWD_P is not used anymore.
3311         * config.make.in: Remove PWD_P entry.
3312
3313         * configure.in: Remove last remnants of RANLIB.
3314         No need to check for signed size_t anymore.
3315         Don't set libc_commonpagesize and libc_relro_required here for Alpha
3316         and IA-64.
3317         Remove __builtin_expect test because we require at least gcc 3.4.
3318         * aclocal.m4: Likewise.
3319
3320         * wcsmbs/mbrtoc16.c: Implement using towc function.
3321         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3322         * wcsmbs/wcsmbsload.c: Likewise.
3323         * iconv/gconv_simple.c: Likewise.
3324         * iconv/gconv_int.h: Likewise.
3325         * iconv/gconv_builtin.h: Likewise.
3326         * iconv/iconv_prog.c: Remove CHAR16 handling.
3327
3328         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3329
3330         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3331
3332         * configure.in: Remove --with-elf and --enable-bounded options.
3333         Dont set base_machine for ia64.  More non-ELF conditions removed.
3334         Remove testing and setting of leading underscore information.
3335         * config.make.in (build-bounded): Set to no.
3336         * config.h.in: Remove NO_UNDERSCORES entry.
3337         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
3338         them.
3339         * csu/start.c: Remove !NO_UNDERSCORE code.
3340         * locale/localeinfo.h: Likewise.
3341         * sysdeps/generic/machine-gmon.h: Likewise.
3342         * sysdeps/generic/sysdep.h: Likewise.
3343         * sysdeps/i386/sysdep.h: Likewise.
3344         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3345         * sysdeps/mach/sysdep.h: Likewise.
3346         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3347         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3348         * sysdeps/sh/sysdep.h: Likewise.
3349         * sysdeps/sparc/sparc32/alloca.S: Likewise.
3350         * sysdeps/unix/i386/sysdep.S: Likewise.
3351         * sysdeps/unix/sparc/start.c: Likewise.
3352         * sysdeps/unix/sparc/sysdep.S: Likewise.
3353         * sysdeps/unix/sparc/sysdep.h: Likewise.
3354         * sysdeps/unix/start.c: Likewise.
3355         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3356         * sysdeps/x86_64/sysdep.h: Likewise.
3357
3358 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
3359
3360         [BZ #13553]
3361         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3362         for non-gcc.
3363         * argp/argp-fmtstream.h: Use const instead __const.
3364         * argp/argp.h: Likewise.
3365         * assert/assert.h: Likewise.
3366         * bits/fenv.h: Likewise.
3367         * bits/sched.h: Likewise.
3368         * bits/sigset.h: Likewise.
3369         * bits/sigthread.h: Likewise.
3370         * catgets/nl_types.h: Likewise.
3371         * conform/data/pthread.h-data: Likewise.
3372         * crypt/crypt-private.h: Likewise.
3373         * crypt/crypt.h: Likewise.
3374         * crypt/crypt_util.c: Likewise.
3375         * ctype/ctype.h: Likewise.
3376         * debug/execinfo.h: Likewise.
3377         * debug/mbsnrtowcs_chk.c: Likewise.
3378         * debug/mbsrtowcs_chk.c: Likewise.
3379         * debug/wcsnrtombs_chk.c: Likewise.
3380         * debug/wcsrtombs_chk.c: Likewise.
3381         * debug/wcstombs_chk.c: Likewise.
3382         * dirent/dirent.h: Likewise.
3383         * dlfcn/dlfcn.h: Likewise.
3384         * elf/neededtest4.c: Likewise.
3385         * grp/grp.h: Likewise.
3386         * gshadow/gshadow.h: Likewise.
3387         * iconv/gconv.h: Likewise.
3388         * iconv/gconv_int.h: Likewise.
3389         * iconv/gconv_simple.c: Likewise.
3390         * iconv/iconv.h: Likewise.
3391         * iconv/loop.c: Likewise.
3392         * iconv/skeleton.c: Likewise.
3393         * include/aio.h: Likewise.
3394         * include/aliases.h: Likewise.
3395         * include/argz.h: Likewise.
3396         * include/arpa/inet.h: Likewise.
3397         * include/assert.h: Likewise.
3398         * include/dirent.h: Likewise.
3399         * include/dlfcn.h: Likewise.
3400         * include/execinfo.h: Likewise.
3401         * include/fcntl.h: Likewise.
3402         * include/fenv.h: Likewise.
3403         * include/glob.h: Likewise.
3404         * include/grp.h: Likewise.
3405         * include/libintl.h: Likewise.
3406         * include/mntent.h: Likewise.
3407         * include/netdb.h: Likewise.
3408         * include/pwd.h: Likewise.
3409         * include/rpc/netdb.h: Likewise.
3410         * include/sched.h: Likewise.
3411         * include/search.h: Likewise.
3412         * include/shadow.h: Likewise.
3413         * include/signal.h: Likewise.
3414         * include/stdio.h: Likewise.
3415         * include/stdlib.h: Likewise.
3416         * include/string.h: Likewise.
3417         * include/sys/socket.h: Likewise.
3418         * include/sys/stat.h: Likewise.
3419         * include/sys/statfs.h: Likewise.
3420         * include/sys/statvfs.h: Likewise.
3421         * include/sys/syslog.h: Likewise.
3422         * include/sys/time.h: Likewise.
3423         * include/sys/uio.h: Likewise.
3424         * include/time.h: Likewise.
3425         * include/unistd.h: Likewise.
3426         * include/utmp.h: Likewise.
3427         * include/wchar.h: Likewise.
3428         * include/wctype.h: Likewise.
3429         * inet/aliases.h: Likewise.
3430         * inet/arpa/inet.h: Likewise.
3431         * inet/netinet/ether.h: Likewise.
3432         * inet/netinet/in.h: Likewise.
3433         * intl/libintl.h: Likewise.
3434         * io/bits/fcntl2.h: Likewise.
3435         * io/fcntl.h: Likewise.
3436         * io/ftw.h: Likewise.
3437         * io/sys/poll.h: Likewise.
3438         * io/sys/stat.h: Likewise.
3439         * io/sys/statfs.h: Likewise.
3440         * io/sys/statvfs.h: Likewise.
3441         * io/utime.h: Likewise.
3442         * libio/bits/stdio.h: Likewise.
3443         * libio/bits/stdio2.h: Likewise.
3444         * libio/libio.h: Likewise.
3445         * libio/libioP.h: Likewise.
3446         * libio/stdio.h: Likewise.
3447         * locale/lc-ctype.c: Likewise.
3448         * locale/locale.h: Likewise.
3449         * login/utmp.h: Likewise.
3450         * malloc/arena.c: Likewise.
3451         * malloc/malloc.c: Likewise.
3452         * malloc/malloc.h: Likewise.
3453         * malloc/mcheck.c: Likewise.
3454         * malloc/mtrace.c: Likewise.
3455         * math/bits/mathcalls.h: Likewise.
3456         * math/fenv.h: Likewise.
3457         * math/math_private.h: Likewise.
3458         * misc/bits/error.h: Likewise.
3459         * misc/bits/syslog.h: Likewise.
3460         * misc/err.h: Likewise.
3461         * misc/error.h: Likewise.
3462         * misc/fstab.h: Likewise.
3463         * misc/mntent.h: Likewise.
3464         * misc/regexp.h: Likewise.
3465         * misc/search.h: Likewise.
3466         * misc/sgtty.h: Likewise.
3467         * misc/sys/mman.h: Likewise.
3468         * misc/sys/syslog.h: Likewise.
3469         * misc/sys/uio.h: Likewise.
3470         * misc/sys/xattr.h: Likewise.
3471         * misc/ttyent.h: Likewise.
3472         * nis/rpcsvc/ypclnt.h: Likewise.
3473         * nss/nss.h: Likewise.
3474         * posix/bits/unistd.h: Likewise.
3475         * posix/fnmatch.h: Likewise.
3476         * posix/glob.h: Likewise.
3477         * posix/sched.h: Likewise.
3478         * posix/spawn.h: Likewise.
3479         * posix/sys/wait.h: Likewise.
3480         * posix/unistd.h: Likewise.
3481         * posix/wordexp.h: Likewise.
3482         * pwd/pwd.h: Likewise.
3483         * resolv/netdb.h: Likewise.
3484         * resource/sys/resource.h: Likewise.
3485         * rt/aio.h: Likewise.
3486         * rt/bits/mqueue2.h: Likewise.
3487         * rt/mqueue.h: Likewise.
3488         * shadow/shadow.h: Likewise.
3489         * signal/signal.h: Likewise.
3490         * socket/send.c: Likewise.
3491         * socket/sendto.c: Likewise.
3492         * socket/sys/socket.h: Likewise.
3493         * stdio-common/printf.h: Likewise.
3494         * stdlib/bits/stdlib.h: Likewise.
3495         * stdlib/fmtmsg.h: Likewise.
3496         * stdlib/monetary.h: Likewise.
3497         * stdlib/stdlib.h: Likewise.
3498         * stdlib/ucontext.h: Likewise.
3499         * streams/stropts.h: Likewise.
3500         * string/argz.h: Likewise.
3501         * string/bits/string2.h: Likewise.
3502         * string/string.h: Likewise.
3503         * string/strings.h: Likewise.
3504         * sunrpc/rpc/auth.h: Likewise.
3505         * sunrpc/rpc/auth_des.h: Likewise.
3506         * sunrpc/rpc/clnt.h: Likewise.
3507         * sunrpc/rpc/netdb.h: Likewise.
3508         * sunrpc/rpc/pmap_clnt.h: Likewise.
3509         * sunrpc/rpc/xdr.h: Likewise.
3510         * sysdeps/generic/inttypes.h: Likewise.
3511         * sysdeps/generic/net/if.h: Likewise.
3512         * sysdeps/generic/sys/swap.h: Likewise.
3513         * sysdeps/gnu/net/if.h: Likewise.
3514         * sysdeps/gnu/utmpx.h: Likewise.
3515         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3516         * sysdeps/i386/i486/bits/string.h: Likewise.
3517         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3518         * sysdeps/s390/bits/string.h: Likewise.
3519         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3520         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3521         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3522         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3523         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3524         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3525         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3526         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3527         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3528         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3529         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3530         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3531         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3532         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3533         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3534         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3535         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3537         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3538         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3540         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3541         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3542         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3543         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3544         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3545         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3546         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3547         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3548         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3549         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3550         * sysvipc/sys/ipc.h: Likewise.
3551         * sysvipc/sys/msg.h: Likewise.
3552         * sysvipc/sys/sem.h: Likewise.
3553         * sysvipc/sys/shm.h: Likewise.
3554         * termios/termios.h: Likewise.
3555         * time/sys/time.h: Likewise.
3556         * time/time.h: Likewise.
3557         * wcsmbs/bits/wchar2.h: Likewise.
3558         * wcsmbs/uchar.h: Likewise.
3559         * wcsmbs/wchar.h: Likewise.
3560         * wctype/wctype.h: Likewise.
3561
3562         [BZ #13551]
3563         * Makeconfig: Remove all but ELF support including AIX support.
3564         * Makerules: Likewise.
3565         * config.h.in: Likewise.
3566         * config.make.in: Likewise.
3567         * configure: Likewise.
3568         * configure.in: Likewise.
3569         * csu/Makefile: Likewise.
3570         * csu/version.c: Likewise.
3571         * debug/Makefile: Likewise.
3572         * dlfcn/Makefile: Likewise.
3573         * elf/Makefile: Likewise.
3574         * extra-lib.mk: Likewise.
3575         * iconv/Makefile: Likewise.
3576         * include/libc-symbols.h: Likewise.
3577         * include/shlib-compat.h: Likewise.
3578         * resolv/Makefile: Likewise.
3579         * resolv/res_libc.c: Likewise.
3580         * rt/Makefile: Likewise.
3581         * sysdeps/i386/asm-syntax.h: Likewise.
3582         * sysdeps/i386/sysdep.h: Likewise.
3583         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3584         * sysdeps/mach/sysdep.h: Likewise.
3585         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3586         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3587         * sysdeps/s390/asm-syntax.h: Likewise.
3588         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3589         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3590         * sysdeps/sh/sysdep.h: Likewise.
3591         * sysdeps/unix/sparc/sysdep.h: Likewise.
3592         * sysdeps/wordsize-32/divdi3.c: Likewise.
3593         * sysdeps/x86_64/sysdep.h: Likewise.
3594
3595         * argp/Versions: Remove _argp_unlock_xxx.
3596
3597         [BZ #13559]
3598         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
3599         * abilist/libBrokenLocale.abilist: Likewise.
3600         * abilist/libanl.abilist: Likewise.
3601         * abilist/libc.abilist: Likewise.
3602         * abilist/libcrypt.abilist: Likewise.
3603         * abilist/libdl.abilist: Likewise.
3604         * abilist/libm.abilist: Likewise.
3605         * abilist/libnsl.abilist: Likewise.
3606         * abilist/libpthread.abilist: Likewise.
3607         * abilist/libresolv.abilist: Likewise.
3608         * abilist/librt.abilist: Likewise.
3609         * abilist/libthread_db.abilist: Likewise.
3610         * abilist/libutil.abilist: Likewise.
3611         * abilist/libnss_db.abilist: New file.
3612
3613         * scripts/abilist.awk: Add support for indirect functions.
3614
3615         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3616
3617         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3618
3619         * shlib-versions: Remove entries for ports architectures.
3620
3621         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
3622         files in ports.
3623         * elf/stackguard-macros.h: Remove support for IA-64.
3624         * elf/tst-auditmod1.c: Likewise.
3625         * sysdeps/generic/ldsodefs.h: Likewise.
3626
3627         * sysdeps/unix/sysv/linux/configure.in: Ports should define
3628         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3629         configure files.
3630
3631         [BZ #13552]
3632         * configure.in: Remove --enable-omitfp support.
3633         * FAQ.in: Adjust.
3634         * config.make.in: Likewise.
3635         * Makeconfig: Likewise.
3636         * manual/install.texi: Likewise.
3637
3638         In case anyone cares, the IA-64 architecture could move to ports.
3639         * sysdeps/ia64/*: Removed.
3640         * sysdeps/unix/sysv/linux/ia64/*: Removed.
3641         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3642
3643         [BZ #13555]
3644         * configure.in: Remove entries for unsupported architectures.
3645
3646         [BZ #13533]
3647         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3648         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
3649         routines.
3650         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3651         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3652         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
3653         fall back to using wcrtomb.
3654         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3655         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
3656         renaming.
3657         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3658         * wcsmbs/tst-c16c32-1.c: New file.
3659
3660         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3661         local variable.
3662
3663         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3664
3665         * elf/tst-unique3.cc: Add explicit declaration of gets.
3666         * elf/tst-unique3lib.cc: Likewise.
3667         * elf/tst-unique3lib2.cc: Likewise.
3668         * elf/tst-unique4.cc: Likewise.
3669
3670         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3671
3672 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
3673
3674         [BZ #13566]
3675         * assert/assert.h (static_assert): Don't define for C++.
3676         * libio/stdio.h (gets): Do declare for C++ <= C++11.
3677         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3678
3679 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
3680
3681         * iconv/loop.c (single loop): Fix assertion in storing of
3682         remaining bytes.
3683
3684         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3685
3686 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
3687
3688         * posix/getconf.c: Update copyright year.
3689         * nss/getent.c: Likewise.
3690         * nss/makedb.c: Likewise.
3691         * iconv/iconvconfig.c: Likewise.
3692         * iconv/iconv_prog.c: Likewise.
3693         * elf/ldconfig.c: Likewise.
3694         * elf/pldd.c: Likewise.
3695         * elf/sotruss.ksh: Likewise.
3696         * catgets/gencat.c: Likewise.
3697         * csu/version.c: Likewise.
3698         * elf/ldd.bash.in: Likewise.
3699         * elf/sprof.c (print_version): Likewise.
3700         * locale/programs/locale.c: Likewise.
3701         * locale/programs/localedef.c: Likewise.
3702         * login/programs/pt_chown.c: Likewise.
3703         * nscd/nscd.c (print_version): Likewise.
3704         * debug/xtrace.sh: Likewise.
3705         * malloc/memusage.sh: Likewise.
3706         * malloc/mtrace.pl: Likewise.
3707         * debug/catchsegv.sh: Likewise.
3708
3709 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
3710
3711         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3712         pure attribute.
3713
3714 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
3715
3716         [BZ #13533]
3717         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3718         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3719         transformations.
3720         * iconv/gconv_int.h: Likewise.
3721         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3722         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3723         from libc for GLIBC_2.16.
3724         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3725         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3726         * wcsmbs/uchar.h: Really define mbstate_t.
3727         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3728         * wcsmbs/c16rtomb.c: New file.
3729         * wcsmbs/mbrtoc16.c: New file.
3730         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3731         for C/POSIX locale.
3732         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3733         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3734
3735         * wcsmbs/wchar.h: Add missing __restrict.
3736
3737 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3738
3739         [BZ #13532]
3740         * time/Makefile (routines): Add timespec_get.
3741         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3742         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
3743         timespec for ISO C11.
3744         * time/timespec_get.c: New file.
3745         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3746         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3747
3748         [BZ #13531]
3749         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3750         * stdlib/stdlib.h: Declare aligned_alloc.
3751         * Versions.def: Add GLIBC_2.16 for libc.
3752         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3753
3754         [BZ 13527]
3755         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3756         ISO C11.
3757
3758         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3759         code.
3760
3761         [BZ #13528]
3762         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3763
3764         [BZ #13529]
3765         * assert/assert.h (static_assert): Define.
3766
3767         * version.h: Update for 2.16 development version.
3768
3769         [BZ #13526]
3770         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3771         _ISOC11_SOURCE.
3772
3773         * version.h (RELEASE): Bump for 2.15 release.
3774         * include/features.h (__GLIBC_MINOR__): Bump to 15.
3775
3776         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3777         Patch by Marek Polacek <mpolacek@redhat.com>.
3778
3779         * bits/byteswap.h: Protect long long constants with __extension__.
3780         * sysdeps/i386/bits/byteswap.h: Likewise.
3781         * sysdeps/ia64/bits/byteswap.h: Likewise.
3782         * sysdeps/s390/bits/byteswap.h: Likewise.
3783         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3784
3785 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3786
3787         [BZ #13540]
3788         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3789         destination buffer.
3790         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3791
3792 2011-12-23  Marek Polacek  <polacek@redhat.com>
3793
3794         * elf/dl-addr.c (determine_info): Add inline keyword.
3795         * elf/tst-auditmod4b.c (check_avx): Likewise.
3796         * elf/tst-auditmod6b.c (check_avx): Likewise.
3797         * elf/tst-auditmod6c.c (check_avx): Likewise.
3798         * elf/tst-auditmod7b.c (check_avx): Likewise.
3799
3800 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3801
3802         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3803         !__SSE_MATH__.
3804
3805 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3806
3807         [BZ #13540]
3808         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3809         processing for last bytes.
3810
3811 2011-08-06  Bruno Haible  <bruno@clisp.org>
3812
3813         [BZ #13061]
3814         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3815         U+0385, not to U+1FEE.
3816
3817         [BZ #13062]
3818         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3819         entry for U+00A5 U+0301.
3820
3821 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3822
3823         [BZ #13166]
3824         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3825         buffer for the output is too small.
3826
3827         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3828         optimization.
3829
3830         [BZ #13185]
3831         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3832         SSE flags if possible.
3833
3834 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3835
3836         [BZ #13540]
3837         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3838         processing for last bytes.
3839
3840 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
3841
3842         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3843         (syscall-list-default-options, syscall-list-default-condition)
3844         (syscall-list-includes): Define.
3845         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3846         list of ABIs and options and #if conditions for each ABI.  Do not
3847         handle common syscalls between ABIs specially.
3848         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3849         Remove.
3850         (syscall-list-variants, syscall-list-32bit-options)
3851         (syscall-list-32bit-condition, syscall-list-64bit-options)
3852         (syscall-list-64bit-condition): Define.
3853         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3854         (syscall-list-variants, syscall-list-32bit-options)
3855         (syscall-list-32bit-condition, syscall-list-64bit-options)
3856         (syscall-list-64bit-condition): Define.
3857         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3858         Remove.
3859         (syscall-list-variants, syscall-list-32bit-options)
3860         (syscall-list-32bit-condition, syscall-list-64bit-options)
3861         (syscall-list-64bit-condition): Define.
3862         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3863         Remove.
3864         (syscall-list-variants, syscall-list-32bit-options)
3865         (syscall-list-32bit-condition, syscall-list-64bit-options)
3866         (syscall-list-64bit-condition): Define.
3867
3868 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3869
3870         * locale/iso-639.def: Add brx entry.
3871
3872         [BZ #13328]
3873         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3874         Proposed by Mariusz_Cukr <marcukr@op.pl>.
3875
3876         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3877         __feraiseexcept_renamed.
3878
3879 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3880
3881         [BZ #13538]
3882         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3883         EPOLLET with unsigned values.
3884         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3885         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3886
3887         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3888         to large cancellation.
3889         * math/s_cacoshf.c: Likewise.
3890         * math/s_cacoshl.c: Likewise.
3891
3892 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
3893
3894         [BZ #13305]
3895         [BZ #12786]
3896         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3897         * math/s_cacoshf.c: Likewise.
3898         * math/s_cacoshl.c: Likewise.
3899
3900 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3901
3902         [BZ #13439]
3903         * iconv/gconv.h: Define __GCONV_SWAP.
3904         * iconvdata/unicode.c: The swap bit must be stored in __flags.
3905         * iconvdata/utf-16.c: Likewise.
3906         * iconvdata/utf-32.c: Likewise.
3907
3908 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3909
3910         [BZ #13524]
3911         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3912         numerator after shifting it by one limb.
3913
3914 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
3915
3916         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3917         under [__USE_EXTERN_INLINES].
3918
3919 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3920
3921         [BZ #13446]
3922         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3923
3924 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3925
3926         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3927         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3928         optimized code.
3929         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3930         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3931         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3932         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3933         for strncasecmp/strncasecmp_l compilation.
3934         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3935         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3936
3937 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
3938
3939         [BZ #13484]
3940         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3941         of __asm__.
3942
3943 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3944
3945         [BZ #13506]
3946         * time/tzfile.c (__tzfile_read): Check values from file header.
3947
3948 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
3949
3950         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3951         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3952         * powerpc/powerpc32/dl-start.S: Likewise.
3953         * powerpc/powerpc32/elf/start.S: Likewise.
3954         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3955         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3956         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3957         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3958         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3959         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3960         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3961         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3962         * powerpc/powerpc32/fpu/s_round.S: Likewise.
3963         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3964         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3965         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3966         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3967         * powerpc/powerpc32/memset.S: Likewise.
3968         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3969         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3970         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3971         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3972         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3973         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3974         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3975         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3976         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3977         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3978         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3979         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3980         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3981
3982 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3983
3984         * math/libm-test.inc: Added more nearbyint tests.
3985         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3986         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3988         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3989
3990 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
3991
3992         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3993         FD_CLOEXEC.
3994
3995 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3996
3997         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3998         Add wcscpy-ssse3 wcscpy-c.
3999         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4000         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4001         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4002         * sysdeps/x86_64/wcschr.S: New file.
4003         * sysdeps/x86_64/wcsrchr.S: New file.
4004         * string/test-strcmp.c: Remove checking of wcscmp function for
4005         wrong alignments.
4006         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4007         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4008         wcsrchr-sse2 wcsrchr-c.
4009         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4010         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4011         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4012         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4013         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4014         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4015         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4016         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4017         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4018         * wcsmbc/wcschr.c (WCSCHR): New macro.
4019
4020 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4021
4022         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4023         * wcsmbs/test-wcsrchr.c: New file.
4024         * string/test-strrchr.c: Add wcsrchr support.
4025         (WIDE): New macro.
4026         * wcsmbs/test-wcscpy.c: New file.
4027         * string/test-strcpy.c: Add wcscpy support.
4028         (WIDE): New macro.
4029
4030 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
4031
4032         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4033         the inner loop.
4034
4035 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
4036
4037         [BZ #13472]
4038         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4039
4040 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
4041
4042         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4043         Minor optimizations.
4044
4045         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4046         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4047         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4048
4049 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
4050
4051         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4052         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4053         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4054         for gcc to avoid warnings.
4055         * inet/Makefile (tests): Add tst-checks.
4056         * inet/tst-checks.c: New file.
4057
4058         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4059         warning.
4060
4061         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4062         __wmemcmp_sse2.
4063
4064         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4065         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4066
4067         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4068
4069 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
4070
4071         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4072         problem.
4073
4074         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4075
4076 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
4077
4078         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4079         conditional on GCC version.
4080         (__arch_compare_and_exchange_val_8_acq)
4081         (__arch_compare_and_exchange_val_16_acq)
4082         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4083         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4084         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4085
4086 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
4087
4088         * sysdeps/sh/backtrace.c: New file.
4089
4090 2011-12-02  Andreas Schwab  <schwab@redhat.com>
4091
4092         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
4093         parenthesis.
4094
4095 2011-12-01  Andreas Schwab  <schwab@redhat.com>
4096
4097         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4098         falling back to utime.
4099
4100 2011-11-30  Andreas Schwab  <schwab@redhat.com>
4101
4102         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4103         expectations for float.
4104
4105 2011-11-29  Andreas Schwab  <schwab@redhat.com>
4106
4107         * locale/weight.h (findidx): Add parameter len.
4108         * locale/weightwc.h (findidx): Likewise.
4109         * posix/fnmatch_loop.c (FCT): Adjust caller.
4110         * posix/regcomp.c (build_equiv_class): Likewise.
4111         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4112         * posix/regexec.c (check_node_accept_bytes): Likewise.
4113         * string/strcoll_l.c (STRCOLL): Likewise.
4114         * string/strxfrm_l.c (STRXFRM): Likewise.
4115
4116 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
4117
4118         * Makefile.in: Remove CVSOPT handling.
4119         * configure.in: Remove use of AC_REVISION.
4120         * iconvdata/Makefile (distribute): No need to filter out CVS.
4121         * scripts/list-sources.sh: Remove CVS, subversion and monotone
4122         handling.
4123
4124 2011-11-16  Andreas Schwab  <schwab@redhat.com>
4125
4126         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4127         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4128         [USE_AS_STRNCASECMP_L]: Likewise.
4129         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4130         NO_TLS_DIRECT_SEG_REFS.
4131         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4132         Fix argument offsets for non-PIC.
4133         [USE_AS_STRNCASECMP_L]: Likewise.
4134         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4135         NO_TLS_DIRECT_SEG_REFS.
4136
4137 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
4138
4139         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4140         O_CLOEXEC.
4141         * locale/loadlocale.c (_nl_load_locale): Likewise.
4142
4143 2011-11-15  Andreas Schwab  <schwab@redhat.com>
4144
4145         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4146         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4147         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4148         (SYSCALL_GETTIME): Set errno on error.
4149
4150         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4151         count references to noai6ai_cached.
4152
4153 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
4154
4155         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4156
4157         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4158         FD_CLOEXEC for /proc/self/maps.
4159
4160         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4161         FD_CLOEXEC for /proc/meminfo.
4162
4163         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4164         gai.conf.
4165
4166         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
4167         FD_CLOEXEC for given file.
4168
4169         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4170
4171         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4172         FD_CLOEXEC for /etc/hosts.
4173         (_gethtent): Likewise.
4174
4175         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4176
4177         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4178         cancellation and set FD_CLOEXEC for /etc/netgroup.
4179
4180         * nss/nss_files/files-key.c (search): Don't allow cancellation when
4181         reading /etc/publickey.
4182
4183         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4184         allow cancellation when reading /etc/group.
4185
4186         * nss/nss_files/files-alias.c (internal_setent): Don't allow
4187         cancellation.
4188         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
4189
4190         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4191         when using data file.
4192
4193         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4194
4195         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4196         (write_nis_obj): Use "c" and "e" in fopen.
4197
4198         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4199
4200         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4201
4202         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4203
4204         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4205
4206         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4207         locale.alias.
4208
4209         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4210
4211         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4212
4213         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4214
4215         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4216         file parsing and set FD_CLOEXEC.
4217
4218 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4219
4220         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4221
4222 2011-11-14  Andreas Schwab  <schwab@redhat.com>
4223
4224         * malloc/arena.c (arena_get2): Don't call reused_arena when
4225         _int_new_arena failed.
4226
4227 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4228
4229         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4230         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4231         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4232         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4233         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4234         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4235         to compile strcasecmp and strncasecmp.
4236         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4237         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4238
4239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4240
4241 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
4242
4243         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4244         locale-defines.sym to gen-as-const-headers.
4245         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4246         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4248         to compile strcasecmp and strncasecmp.
4249         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4250         strcasecmp_l and strncasecmp_l.
4251         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4252         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4253         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4254         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4255         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4256         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4257         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4258         * sysdeps/i386/i686/multiarch/strncase.S: New file.
4259         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4260         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4261         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4262
4263 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
4264
4265         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4266         result of SYSDEP_GETTIME_CPU to retval.
4267         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4268         parameter list to macro.  Remove trailing semicolon.  Adjust users.
4269
4270         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4271         variable.
4272
4273         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4274         mantissa words.
4275         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4276
4277         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4278         from unused variable.
4279
4280         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4281         DWARF definitions.
4282         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4283         for assembling.
4284
4285         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4286         over namespaces.
4287
4288         * sunrpc/rpc_prot.c (rejected): Fix case value.
4289
4290         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4291         unsigned long long int to avoid warnings in shift.
4292
4293         * posix/regex_internal.c (re_string_reconstruct): Actually use result
4294         of use of trans.
4295         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4296         variable tmp.
4297
4298         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4299         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4300         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4301
4302         * nis/nis_table.c (nis_list): Use variable of correct type for
4303         result of __follow_path call.
4304
4305 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4306
4307         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4308         of math functions ceil, trunc, floor, round, and sqrt, when
4309         avaliable on the platform.
4310         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4311         name clash.
4312         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4313         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4314         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4315
4316 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
4317
4318         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4319         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4320
4321 2011-11-11  Roland McGrath  <roland@hack.frob.com>
4322
4323         * include/unistd.h: Fix __readlink return type.
4324         Reported by Chris Metcalf <cmetcalf@tilera.com>.
4325
4326 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
4327
4328         * stdlib/ucontext.h: Undo last change for makecontext.
4329
4330 2011-11-11  Andreas Schwab  <schwab@redhat.com>
4331
4332         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4333
4334         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4335         * setjmp/setjmp.h: Mark functions as non-leaf.
4336         * setjmp/bits/setjmp2.h: Likewise.
4337         * stdlib/ucontext.h: Likewise.
4338
4339 2011-11-10  Andreas Schwab  <schwab@redhat.com>
4340
4341         * malloc/arena.c (_int_new_arena): Don't increment narenas.
4342         (reused_arena): Don't check arena limit.
4343         (arena_get2): Atomically check arena limit.
4344
4345 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
4346
4347         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4348         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4349
4350         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4351         instructions.
4352
4353 2011-11-07  Andreas Schwab  <schwab@redhat.com>
4354
4355         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4356         handler when locking.
4357
4358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4359         Fix size of allocated buffer.
4360
4361 2011-11-04  Andreas Schwab  <schwab@redhat.com>
4362
4363         [BZ #10103]
4364         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4365         declarations for long double functions.
4366         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4367
4368         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4369
4370 2011-11-03  Andreas Schwab  <schwab@redhat.com>
4371
4372         * nscd/nscd.c (main): Don't start AVC thread until credentials are
4373         installed.
4374
4375         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4376         is disabled.
4377
4378 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4379
4380         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4381
4382 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
4383
4384         * include/alloca.h (stackinfo_alloca_round): Define.
4385         (extend_alloca): Use it.
4386         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4387         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4388         here.
4389
4390         * scripts/check-local-headers.sh: Ignore libaudit.h.
4391
4392         * nscd/Makefile (extra-objs): Make recursively expanded.
4393
4394 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
4395
4396         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4397         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4398
4399         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4400         * posix/tst-rfc3484-2.c: Likewise.
4401         * posix/tst-rfc3484-3.c: Likewise.
4402
4403         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4404         process_vm_writev.
4405         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4406         process_vm_writev.
4407         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4408         process_vm_writev from libc using GLIBC_2.15 version.
4409
4410         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4411
4412 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
4413
4414         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4415         stack usage.
4416
4417 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
4418
4419         [BZ #13367]
4420         * nss/getent.c (initgroups_keys): Show error message in case no group
4421         names are given.
4422
4423         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4424         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4425         __bump_nl_timestamp.
4426         * nscd/connections (nscd_init): When host database is served open
4427         netlink socket and request notification about configuration changes.
4428         (main_loop_poll): Track netlink file descriptor and bump timestamp
4429         in case data becomes available.
4430         (main_loop_epoll): Likewise.
4431         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4432         (database_pers_head): Add extra_data fileds.
4433         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4434         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4435         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4436         Adjust caller.
4437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4438         in6ai data, call __free_in6ai.
4439         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4440         Add -DHAVE_NETLINK.
4441         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
4442         interface information.  Reuse previous data if netlink timestamp
4443         is not changed.
4444         (__bump_nl_timestamp): New function.
4445         (__free_in6ai): New function.
4446
4447 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
4448
4449         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4450         close_not_cancel_no_status here.
4451         (__check_pf): Reorganize code a bit to not call close twice if OOM.
4452
4453 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4454
4455         [BZ #13276]
4456         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4457         return value.
4458
4459         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4460         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4461         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4462
4463 2011-07-03  Andreas Jaeger  <aj@suse.de>
4464
4465         [BZ #10709]
4466         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4467         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4468         * math/libm-test.inc (sin_test): Add test case.
4469
4470 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4471
4472         [BZ #13337]
4473         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4474         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4475
4476         * elf/chroot_canon.c (chroot_canon): Cleanups.
4477
4478         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4479
4480         [BZ #13335]
4481         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4482         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4483
4484         * string/test-strchr.c: Make usable for strchrnul testing.
4485         * string/test-strchrnul.c: New file.
4486         * string/Makefile (strop-tests): Add strchrnul.
4487
4488         * po/it.po: Update from translation team.
4489         * po/es.po: Likewise.
4490
4491 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
4492
4493         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4494         the three constants needed as parameters.  Drop the others.
4495         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4496         __m128i_strloadu_tolower.
4497         Create and initialize variable zero and use it in all the places
4498         where _mm_setzero_si128 was used.
4499
4500         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4501         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4502         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4503         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4504         anymore.
4505         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4506         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4507         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4508         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4509         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4510         __mpranred, __mptan.
4511         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4512         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4513         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4514         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4515         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4516         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4517         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4518         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4519         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4520
4521 2011-10-28  Andreas Schwab  <schwab@redhat.com>
4522
4523         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4524         redefine if SHARED.
4525         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4526
4527         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4528         wide char related routines to wcsmbs subdir.
4529
4530 2011-10-27  Andreas Schwab  <schwab@redhat.com>
4531
4532         [BZ #13344]
4533         * misc/sys/cdefs.h (__THROWNL): Define.
4534         * posix/unistd.h: Use __THREADNL instead of __THREAD
4535         for memory synchronization functions.
4536
4537 2011-10-26  Roland McGrath  <roland@hack.frob.com>
4538
4539         [BZ #13349]
4540         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4541         doesn't exist.
4542         * manual/stdio.texi (Obstack Streams): Node removed.
4543
4544 2011-10-26  Andreas Schwab  <schwab@redhat.com>
4545
4546         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4547         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4549
4550         * math/math_private.h (math_force_eval): Allow non-addressable
4551         arguments.
4552         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4553
4554 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4555
4556         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4557         file is not needed.
4558
4559         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4560         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4562         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4563         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4564         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4565         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4566         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4567         Add AVX variants.
4568         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4569         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4570         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4571         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4572         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4573         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4574         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4575         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4576         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4577         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4578         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4579         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4580         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4581         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4582         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4583         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4584         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4585         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4586         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4587
4588         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4589         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
4590
4591         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4592         place.  Use VEX encoding when compiling for AVX.
4593
4594 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4595
4596         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4597         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4598
4599         * string/test-strchr.c (do_test): Don't generate NUL bytes.
4600
4601 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4602
4603         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4604         useless if() expression.
4605         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4606         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4607         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4609         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4610         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4611         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4612         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4613         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4614         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4615         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4616         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4617         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4618         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4619         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4620         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4621         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4622         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4623         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4624
4625         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4626
4627 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4628
4629         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4630         condition.
4631         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4632
4633 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4634
4635         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4636         .text section.  Avoid duplicate constants.
4637         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4639         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4641         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4645         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4646         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4647         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4648         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4649         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4650         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4651         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4652         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4653         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4654         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4655         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4657         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4658         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4659         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4660         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4661         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4662         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4663         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4664         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4665         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4666         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4667         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4668         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4669         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4670         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4671         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4672         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4673         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4674         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4675         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4676         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4677         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4678         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4679         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4680         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4681         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4682
4683 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
4684
4685         * sysdeps/x86_64/dla.h: Move to ...
4686         * sysdeps/x86_64/fpu/dla.h: ...here.
4687         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4688         situations.  Use __builtin_fma only for gcc 4.6 and up.
4689
4690         * config.make.in: Add have-mfma4 entry.
4691         * configure.in: Substitute libc_cv_cc_fma4.
4692         * math/Makefile (dbl-only-routines): Add sincostab.
4693         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4694         Use __sincostab not sincos.
4695         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4696         name is a macro.
4697         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4698         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4699         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
4701         using __copysign.
4702         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
4703         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
4704         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4705         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4706         and __inv.
4707         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4708         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4709         __copysign.
4710         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
4711         define aliases when function name is a macro.
4712         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4713         sysdeps/ieee754/dbl-64/sincos.tbl.
4714         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4715         fma4-enabled routines.
4716         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4717         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4718         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4719         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4720         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4721         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4722         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4723         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4724         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4725         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4726         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4727         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4728         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4729         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4730         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4731         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4732         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4733         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4734         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4735         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4736         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4737         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4738         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4739         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4740         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4741         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4742         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4743         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4744         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4745         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4746
4747         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4748         rename.
4749         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4750         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4751         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4752         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4753         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4754         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4755         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4756         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4757
4758 2011-10-24  Andreas Schwab  <schwab@redhat.com>
4759
4760         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4761
4762 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4763
4764         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4765
4766         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4767         prediction.
4768         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4769
4770         * string/strnlen.c: Don't define STRNLEN, reverse logic.
4771         Remove unused variable magic_bits.
4772         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4773
4774         * string/strnlen.c: Define and use STRNLEN macro.
4775         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4776         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4777         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4778         * wcsmbs/wcslen.c: Define and use WCSLEN.
4779         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4780         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4781         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4782         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4783         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4784         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4785         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4786
4787 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4788
4789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4790         strnlen-sse2-no-bsf.
4791         Rename strlen-no-bsf to strlen-sse2-no-bsf.
4792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4793         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4794         Add strnlen support.
4795         (USE_AS_STRNLEN): New macro.
4796         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4797         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4798         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4799         * sysdeps/x86_64/wcslen.S: New file.
4800
4801 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
4802
4803         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4804         XMM-moves are used for copying on small sizes.
4805
4806 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4807
4808         * wcsmbs/Makefile (strop-tests): Add wcschr.
4809         * wcsmbs/test-wcschr.c: New file.
4810         * string/test-strchr.c: Update.
4811         Add wcschr support.
4812         (WIDE): New macro.
4813
4814 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4815
4816         * wcsmbs/Makefile (strop-tests): Add wcslen.
4817         * wcsmbs/test-wcslen.c: New file.
4818         * string/test-strlen.c: Update.
4819         Add wcslen support.
4820         (WIDE): New macro.
4821
4822 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4823
4824         * po/it.po: Update from translation team.
4825
4826 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4827
4828         * sysdeps/x86_64/wcscmp.S: Update.
4829         Fix wrong comparison semantics.
4830         wcscmp shall use signed comparison not unsigned.
4831         Don't use substraction to avoid overflow bug.
4832         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4833         * wcsmbc/wcscmp.c: Likewise.
4834         * string/test-strcmp.c: Likewise.
4835         Add new tests to check cases with negative values.
4836
4837 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4838
4839         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4840         * sysdeps/x86_64/dla.h: ...here.  New file.
4841         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4845         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4846         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4847         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4848         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4849         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4850
4851 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
4852
4853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4854         __ynl_finite aliases.
4855
4856 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4857
4858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4859
4860         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4861         define DLA_FMA.
4862         [DLA_FMA] (EMULV): Use DLA_FMA.
4863         [DLA_FMA] (MUL12): Use EMULV.
4864         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4865         that are not needed.
4866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4867         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4868         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4869         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4870         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4871         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4872         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4873
4874 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
4875
4876         * math/s_nan.c: Undef __nan.
4877         * math/s_nanf.c: Undef __nanf.
4878         * math/s_nanl.c: Undef __nanl.
4879         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4880         "math_private.h".
4881
4882 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4883
4884         * math/s_catan.c: Add branch predictions.
4885         * math/s_catanf.c: Likewise.
4886         * math/s_catanh.c: Likewise.
4887         * math/s_catanhf.c: Likewise.
4888         * math/s_catanhl.c: Likewise.
4889         * math/s_catanl.c: Likewise.
4890         * math/s_cexp.c: Likewise.
4891         * math/s_cexpf.c: Likewise.
4892         * math/s_cexpl.c: Likewise.
4893         * math/s_clog.c: Likewise.
4894         * math/s_clog10.c: Likewise.
4895         * math/s_clog10f.c: Likewise.
4896         * math/s_clog10l.c: Likewise.
4897         * math/s_clogf.c: Likewise.
4898         * math/s_clogl.c: Likewise.
4899         * math/s_csqrt.c: Likewise.
4900         * math/s_csqrtf.c: Likewise.
4901         * math/s_csqrtl.c: Likewise.
4902         * math/s_ctanf.c: Likewise.
4903         * math/s_ctanh.c: Likewise.
4904         * math/s_ctanhf.c: Likewise.
4905         * math/s_ctanhl.c: Likewise.
4906         * math/s_ctanl.c: Likewise.
4907
4908         * math/math_private.h: Define __nan, __nanf, __nanl.
4909         * math/s_cacosh.c: Include <math_private.h>.
4910         * math/s_cacoshl.c: Likewise.
4911         * math/s_casinh.c: Likewise.
4912         * math/s_casinhf.c: Likewise.
4913         * math/s_casinhl.c: Likewise.
4914         * math/s_ccos.c: Rely entire on ccosh.
4915         * math/s_ccosf.c: Rely entire on ccoshf.
4916         * math/s_ccosl.c: Rely entirely on ccoshl.
4917         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
4918         Remove tests for FE_INVALID.
4919         * math/s_ccoshf.c: Likewise.
4920         * math/s_ccoshl.c: Likewise.
4921         * math/s_csin.c: Likewise.
4922         * math/s_csinf.c: Likewise.
4923         * math/s_csinh.c Likewise.
4924         * math/s_csinhf.c: Likewise.
4925         * math/s_csinhl.c: Likewise.
4926         * math/s_csinl.c: Likewise.
4927         * math/s_ctan.c: Likewise.
4928         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4929         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4930         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4931
4932 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
4933
4934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4935         compilation problems.
4936
4937         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4938         __builtin_expect.
4939
4940 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
4941
4942         * sysdeps/i386/configure.in: Test for -mfma4 option.
4943         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4944         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4945         COMMON_CPUID_INDEX_80000001.
4946         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4947         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4948         use it if FMA3 is not supported.
4949         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4950
4951         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4952         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4953
4954 2011-10-20  Andreas Schwab  <schwab@redhat.com>
4955
4956         [BZ #12892]
4957         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4958         it would create a cycle with a link time dependency.
4959
4960 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
4961
4962         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4963         instruction.
4964         * string/Makefile (strop-tests): Add rawmemchr.
4965         * string/test-rawmemchr.c: New file.
4966
4967         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4968         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
4969         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
4970         when compiling str{,n}casecmp and when AVX is available.  Hook up
4971         new optimized code in initializers.
4972
4973 2011-10-19  Andreas Schwab  <schwab@redhat.com>
4974
4975         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4976         __feraiseexcept instead of feraiseexcept.
4977
4978 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
4979
4980         * math/math_private.h: Define defaults for libc_fetestexcept and
4981         libc_feupdateenv.
4982         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4983         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4984         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4985         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4986         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4987         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4988         libc_fetestexcept and libc_feupdateenv.
4989
4990         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4991         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4992         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4993         * sysdeps/x86_64/fpu/math_private.h: Define special version of
4994         libc_feholdexcept_setround.
4995
4996         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4997         Add s_nearbyint-c and s_nearbyintf-c.
4998         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4999         nearbyintf inlines.
5000         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5001         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5002         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5003         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5004
5005         * math/math_private.h: Define defaults for libc_fegetround,
5006         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5007         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5008         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5009         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5010         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5011         standard functions.
5012         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5013         Remove comments and hacks for old compiler versions.
5014         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5015         libc_fegetround, libc_fesetround, libc_feholdexcept, and
5016         libc_feholdexceptl.
5017
5018 2011-10-18  Andreas Schwab  <schwab@redhat.com>
5019
5020         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5021         (__feraiseexcept_renamed): Add __NTH.
5022         (feraiseexcept): Add __NTH.  Rename local variables to fix
5023         namespace violations.
5024
5025 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
5026
5027         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5028
5029         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5030
5031         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5032         recently added interfaces.
5033         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5034
5035         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5036         about macro parameter expansion.
5037
5038         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5039         __NO_MATH_INLINES is defined.  Cleanups.
5040
5041         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5042         and __floorf is target has SSE4.1.
5043         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5044         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5045         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5046         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5047
5048         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5049         name.
5050         (floorf): Likewise.
5051
5052         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5053
5054 2011-10-17  Andreas Schwab  <schwab@redhat.com>
5055
5056         * misc/sys/cdefs.h: Fix last change.
5057
5058         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5059         database lookup.
5060
5061 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
5062
5063         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5064
5065         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5066         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5067         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5068         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5069         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5070         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5071         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5072         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5073         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5074         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5075         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5076         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5077         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5078         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5079         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5080         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5081         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5082         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5083         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5084         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5085         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5086         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5087
5088         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5089         ceil, ceilf, floor, floorf.
5090
5091         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5092         Perform IRELATIVE relocations last.
5093
5094         * elf/do-rel.h: Add another parameter nrelative, replacing the
5095         local variable with the same name.  Change name of the function
5096         to end in Rel or Rela (uppercase).
5097         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5098         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
5099         elf_dynamic_do_##reloc function.
5100
5101 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
5102
5103         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5104         is sufficient, at least on modern CPUs.
5105
5106         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5107
5108         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5109         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5110
5111         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5112         __expl_finite.
5113         * math/bits/math-finite.h: Add entries for exp.
5114         * math/e_expl.c: Add __*_finite alias.
5115         * sysdeps/i386/fpu/e_exp.S: Likewise.
5116         * sysdeps/i386/fpu/e_expf.S: Likewise.
5117         * sysdeps/i386/fpu/e_expl.c: Likewise.
5118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5119         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5120         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5122         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5123         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5124         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5125
5126         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5127         is sufficient, at least on modern CPUs.
5128
5129         * ctype/ctype-info.c (__ctype_init): Define.
5130         * include/ctype.h (__ctype_init): Declare.
5131         (__ctype_b_loc): The variable is always initialized.
5132         (__ctype_toupper_loc): Likewise.
5133         (__ctype_tolower_loc): Likewise.
5134         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5135         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5136
5137 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
5138
5139         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5140
5141         * configure.in: Also look in $cxxmachine/include for C++ system
5142         headers.
5143
5144 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5145
5146         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5147         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5148         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5149         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
5150         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5151         (USE_AS_WMEMCMP): New macro.
5152         Fixing indents.
5153         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5154         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5155         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5156         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5157         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5158         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5159         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5160         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5161         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5162         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5163         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5164         (USE_AS_WMEMCMP): New macro.
5165         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5166         * sysdeps/string/test-memcmp.c: Update.
5167         Fix simple_wmemcmp.
5168         Add new tests.
5169         * wcsmbs/wmemcmp.c: Update.
5170         (WMEMCMP): New macro.
5171         Fix overflow bug.
5172
5173 2011-10-12  Andreas Jaeger  <aj@suse.de>
5174
5175         [BZ #13268]
5176         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5177
5178 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
5179
5180         * libio/iofwide.c (do_length): Avoid warning.
5181
5182         * ctype/ctype.h (__isctype_f): Add missing __THROW.
5183
5184 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
5185
5186         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5187
5188         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5189         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5190         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5191         * sysdeps/i386/i686/fpu/e_log.S: New file.
5192         * sysdeps/i386/i686/fpu/e_logf.S: New file.
5193         * sysdeps/i386/i686/fpu/e_logl.S: New file.
5194
5195         * ctype/ctype.h: Add support for inlined isXXX functions when
5196         compiling C++ code.
5197
5198 2011-10-14  Andreas Schwab  <schwab@redhat.com>
5199
5200         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5201
5202         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5203
5204 2011-10-13  Roland McGrath  <roland@hack.frob.com>
5205
5206         [BZ #13291]
5207         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5208
5209 2011-10-13  Andreas Schwab  <schwab@redhat.com>
5210
5211         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5212         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5213         feraiseexcept.
5214
5215         * sysdeps/x86_64/memrchr.S: Check for zero size.
5216
5217         * string/stratcliff.c: Add memrchr tests.
5218
5219 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5220
5221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5222         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5223         rawmemchr-sse2 rawmemchr-sse2-bsf.
5224         * sysdeps/i386/i686/multiarch/memchr.S: New file.
5225         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5226         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5227         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5228         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5229         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5230         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5231         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5232         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5233         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5234         * string/memrchr.c (MEMRCHR): New macro.
5235
5236 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
5237
5238         Add integration with gcc's -ffinite-math-only and optimize wrapper
5239         functions in libm.
5240         * Versions.def: Define GLIBC_2.15 version for libm.
5241         * math/Makefile (headers): Add bits/math-finite.h.
5242         * math/bits/math-finite.h: New file.
5243         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5244         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5245         * math/e_acoshl.c: Add __*_finite alias.
5246         * math/e_acosl.c: Likewise.
5247         * math/e_asinl.c: Likewise.
5248         * math/e_atan2l.c: Likewise.
5249         * math/e_atanhl.c: Likewise.
5250         * math/e_coshl.c: Likewise.
5251         * math/e_exp10.c: Likewise.
5252         * math/e_exp10f.c: Likewise.
5253         * math/e_exp10l.c: Likewise.
5254         * math/e_exp2l.c: Likewise.
5255         * math/e_fmodl.c: Likewise.
5256         * math/e_gammal_r.c: Likewise.
5257         * math/e_hypotl.c: Likewise.
5258         * math/e_j0l.c: Likewise.
5259         * math/e_j1l.c: Likewise.
5260         * math/e_jnl.c: Likewise.
5261         * math/e_lgammal_r.c: Likewise.
5262         * math/e_log10l.c: Likewise.
5263         * math/e_log2l.c: Likewise.
5264         * math/e_logl.c: Likewise.
5265         * math/e_powl.c: Likewise.
5266         * math/e_sinhl.c: Likewise.
5267         * math/e_sqrtl.c: Likewise.
5268         * math/e_scalb.c: Completely rewritten and optimized.
5269         * math/e_scalbf.c: Likewise.
5270         * math/e_scalbl.c: Likewise.
5271         * math/w_acos.c: Likewise.
5272         * math/w_acosf.c: Likewise.
5273         * math/w_acosl.c: Likewise.
5274         * math/w_acosh.c: Likewise.
5275         * math/w_acoshf.c: Likewise.
5276         * math/w_acoshl.c: Likewise.
5277         * math/w_asin.c: Likewise.
5278         * math/w_asinf.c: Likewise.
5279         * math/w_asinl.c: Likewise.
5280         * math/w_atan2.c: Likewise.
5281         * math/w_atan2f.c: Likewise.
5282         * math/w_atan2l.c: Likewise.
5283         * math/w_atanh.c: Likewise.
5284         * math/w_atanhf.c: Likewise.
5285         * math/w_atanhl.c: Likewise.
5286         * math/w_exp10.c: Likewise.
5287         * math/w_exp10f.c: Likewise.
5288         * math/w_exp10l.c: Likewise.
5289         * math/w_fmod.c: Likewise.
5290         * math/w_fmodf.c: Likewise.
5291         * math/w_fmodl.c: Likewise.
5292         * math/w_j0.c: Likewise.
5293         * math/w_j0f.c: Likewise.
5294         * math/w_j0l.c: Likewise.
5295         * math/w_j1.c: Likewise.
5296         * math/w_j1f.c: Likewise.
5297         * math/w_j1l.c: Likewise.
5298         * math/w_jn.c: Likewise.
5299         * math/w_jnf.c: Likewise.
5300         * math/w_log.c: Likewise.
5301         * math/w_logf.c: Likewise.
5302         * math/w_logl.c: Likewise.
5303         * math/w_log10.c: Likewise.
5304         * math/w_log10f.c: Likewise.
5305         * math/w_log10l.c: Likewise.
5306         * math/w_log2.c: Likewise.
5307         * math/w_log2f.c: Likewise.
5308         * math/w_log2l.c: Likewise.
5309         * math/w_pow.c: Likewise.
5310         * math/w_powf.c: Likewise.
5311         * math/w_powl.c: Likewise.
5312         * math/w_remainder.c: Likewise.
5313         * math/w_remainderf.c: Likewise.
5314         * math/w_remainderl.c: Likewise.
5315         * math/w_scalb.c: Likewise.
5316         * math/w_scalbf.c: Likewise.
5317         * math/w_scalbl.c: Likewise.
5318         * math/w_sqrt.c: Likewise.
5319         * math/w_sqrtf.c: Likewise.
5320         * math/w_sqrtl.c: Likewise.
5321         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5322         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
5323         used.
5324         * math/math_private.h: Declare __kernel_standard_f.
5325         * math/w_cosh.c: Remove cruft and optimize a bit.
5326         * math/w_coshf.c: Likewise.
5327         * math/w_coshl.c: Likewise.
5328         * math/w_exp2.c: Likewise.
5329         * math/w_exp2f.c: Likewise.
5330         * math/w_exp2l.c: Likewise.
5331         * math/w_hypot.c: Likewise.
5332         * math/w_hypotf.c: Likewise.
5333         * math/w_hypotl.c: Likewise.
5334         * math/w_lgamma.c: Likewise.
5335         * math/w_lgamma_r.c: Likewise.
5336         * math/w_lgammaf.c: Likewise.
5337         * math/w_lgammaf_r.c: Likewise.
5338         * math/w_lgammal.c: Likewise.
5339         * math/w_lgammal_r.c: Likewise.
5340         * math/w_sinh.c: Likewise.
5341         * math/w_sinhf.c: Likewise.
5342         * math/w_sinhl.c: Likewise.
5343         * math/w_tgamma.c: Likewise.
5344         * math/w_tgammaf.c: Likewise.
5345         * math/w_tgammal.c: Likewise.
5346         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5347         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5348         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5349         Minor optimizations.  Pretty printing.  Remove cruft.
5350         * sysdeps/i386/fpu/e_acosf.S: Likewise.
5351         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5352         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5353         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5354         * sysdeps/i386/fpu/e_acosl.c: Likewise.
5355         * sysdeps/i386/fpu/e_asin.S: Likewise.
5356         * sysdeps/i386/fpu/e_asinf.S: Likewise.
5357         * sysdeps/i386/fpu/e_atan2.S: Likewise.
5358         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5359         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5360         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5361         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5362         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5363         * sysdeps/i386/fpu/e_exp10.S: Likewise.
5364         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5365         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5366         * sysdeps/i386/fpu/e_exp2.S: Likewise.
5367         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5368         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5369         * sysdeps/i386/fpu/e_fmod.S: Likewise.
5370         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5371         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5372         * sysdeps/i386/fpu/e_hypot.S: Likewise.
5373         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5374         * sysdeps/i386/fpu/e_log.S: Likewise.
5375         * sysdeps/i386/fpu/e_log10.S: Likewise.
5376         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5377         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5378         * sysdeps/i386/fpu/e_log2.S: Likewise.
5379         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5380         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5381         * sysdeps/i386/fpu/e_logf.S: Likewise.
5382         * sysdeps/i386/fpu/e_logl.S: Likewise.
5383         * sysdeps/i386/fpu/e_pow.S: Likewise.
5384         * sysdeps/i386/fpu/e_powf.S: Likewise.
5385         * sysdeps/i386/fpu/e_powl.S: Likewise.
5386         * sysdeps/i386/fpu/e_remainder.S: Likewise.
5387         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5388         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5389         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5390         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5391         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5392         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5393         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5394         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5395         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5396         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5398         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5399         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5400         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5401         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5402         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5403         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5404         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5405         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5406         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5408         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5409         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5410         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5411         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5412         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5413         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5415         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5416         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5417         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5418         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5419         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5420         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5421         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5422         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5423         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5424         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5425         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5426         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5427         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5428         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5429         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5430         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5431         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5432         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5433         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5434         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5435         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5436         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5437         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5438         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5439         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5440         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5441         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5442         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5443         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5444         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5445         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5446         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5447         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5448         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5449         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5450         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5451         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5452         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5453         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5454         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5455         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5456         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5457         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5459         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5460         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5461         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5462         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5463         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5464         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5465         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5466         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5467         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5468         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5469         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5470         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5471         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5472         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5473         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5474         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5475         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5476         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5477         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5478         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5479         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5480         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5481         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5482         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5483         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5484         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5485         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5486         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5487         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5488         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5489         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5490         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5491         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5492         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5493         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5494         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5495         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5496         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5497         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5498         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5499         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5500         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5501         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5502         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5503         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5504         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5505         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
5506         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5507         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5508         (__isnanf): Likewise.
5509         (__isinf_ns): Likewise.
5510         (__isinf_nsf): Likewise.
5511         (__finite): Likewise.
5512         (__finitef): Likewise.
5513         (__ieee754_sqrt): Define as macro.
5514         (__ieee754_sqrtf): Define as macro.
5515         (__ieee754_sqrtl): Define as macro.
5516         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5517         inlined copy.
5518         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5519         __FINITE_MATH_ONLY__ consistent.
5520         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5521
5522 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
5523
5524         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5525         of rawmemchr.
5526
5527         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5528
5529 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
5530
5531         * po/ja.po: Update from translation team.
5532
5533 2011-10-08  Roland McGrath  <roland@hack.frob.com>
5534
5535         * locale/programs/locarchive.c (prepare_address_space): New function.
5536         (create_archive, enlarge_archive, open_archive): Use it.
5537
5538         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5539         inside [SHARED], where it is used.
5540
5541         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5542
5543         * nss/getent.c (netgroup_keys): Remove unused variable.
5544         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5545
5546 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
5547
5548         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5549         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5551         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5552         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5553         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5554         * math/Makefile (libm-calls): Add s_isinf_ns.
5555         * math/divtc3.c: Use __isinf_nsl instead of isinf.
5556         * math/multc3.c: Likewise.
5557         * math/s_casin.c: Likewise.
5558         * math/s_casinf.c: Likewise.
5559         * math/s_casinl.c: Likewise.
5560         * math/s_ccos.c: Likewise.
5561         * math/s_ccosf.c: Likewise.
5562         * math/s_ccosl.c: Likewise.
5563         * math/s_ctan.c: Likewise.
5564         * math/s_ctanf.c: Likewise.
5565         * math/s_ctanh.c: Likewise.
5566         * math/s_ctanhf.c: Likewise.
5567         * math/s_ctanhl.c: Likewise.
5568         * math/s_ctanl.c: Likewise.
5569         * math/w_fmod.c: Likewise.
5570         * math/w_fmodf.c: Likewise.
5571         * math/w_fmodl.c: Likewise.
5572         * math/w_remainder.c: Likewise.
5573         * math/w_remainderf.c: Likewise.
5574         * math/w_remainderl.c: Likewise.
5575         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5576         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5577         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5578         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5579         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5580         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5581         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5582         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5583
5584         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5585         of the number.
5586         * stdio-common/printf_fphex.c: Likewise.
5587         * stdio-common/printf_size.c: Likewise.
5588
5589         * math/e_exp10.c: Include math_private.h using <...> not "...".
5590         * math/e_exp10f.c: Likewise.
5591         * math/e_exp10l.c: Likewise.
5592         * math/e_exp2l.c: Likewise.
5593         * math/e_j0l.c: Likewise.
5594         * math/e_j1l.c: Likewise.
5595         * math/e_jnl.c: Likewise.
5596         * math/e_lgammal_r.c: Likewise.
5597         * math/e_rem_pio2l.c: Likewise.
5598         * math/e_scalb.c: Likewise.
5599         * math/e_scalbf.c: Likewise.
5600         * math/e_scalbl.c: Likewise.
5601         * math/k_cosl.c: Likewise.
5602         * math/k_sinl.c: Likewise.
5603         * math/k_tanl.c: Likewise.
5604         * math/s_cacoshf.c: Likewise.
5605         * math/s_catan.c: Likewise.
5606         * math/s_catanf.c: Likewise.
5607         * math/s_catanh.c: Likewise.
5608         * math/s_catanhf.c: Likewise.
5609         * math/s_catanhl.c: Likewise.
5610         * math/s_catanl.c: Likewise.
5611         * math/s_ccosh.c: Likewise.
5612         * math/s_ccoshf.c: Likewise.
5613         * math/s_ccoshl.c: Likewise.
5614         * math/s_cexp.c: Likewise.
5615         * math/s_cexpf.c: Likewise.
5616         * math/s_cexpl.c: Likewise.
5617         * math/s_clog.c: Likewise.
5618         * math/s_clog10.c: Likewise.
5619         * math/s_clog10f.c: Likewise.
5620         * math/s_clog10l.c: Likewise.
5621         * math/s_clogf.c: Likewise.
5622         * math/s_clogl.c: Likewise.
5623         * math/s_csin.c: Likewise.
5624         * math/s_csinf.c: Likewise.
5625         * math/s_csinh.c: Likewise.
5626         * math/s_csinhf.c: Likewise.
5627         * math/s_csinhl.c: Likewise.
5628         * math/s_csinl.c: Likewise.
5629         * math/s_csqrt.c: Likewise.
5630         * math/s_csqrtf.c: Likewise.
5631         * math/s_csqrtl.c: Likewise.
5632         * math/s_ctan.c: Likewise.
5633         * math/s_ctanf.c: Likewise.
5634         * math/s_ctanh.c: Likewise.
5635         * math/s_ctanhf.c: Likewise.
5636         * math/s_ctanhl.c: Likewise.
5637         * math/s_ctanl.c: Likewise.
5638         * math/s_ldexp.c: Likewise.
5639         * math/s_ldexpf.c: Likewise.
5640         * math/s_ldexpl.c: Likewise.
5641         * math/s_significand.c: Likewise.
5642         * math/s_significandf.c: Likewise.
5643         * math/s_significandl.c: Likewise.
5644         * math/w_acos.c: Likewise.
5645         * math/w_acosf.c: Likewise.
5646         * math/w_acosh.c: Likewise.
5647         * math/w_acoshf.c: Likewise.
5648         * math/w_acoshl.c: Likewise.
5649         * math/w_acosl.c: Likewise.
5650         * math/w_asin.c: Likewise.
5651         * math/w_asinf.c: Likewise.
5652         * math/w_asinl.c: Likewise.
5653         * math/w_atan2.c: Likewise.
5654         * math/w_atan2f.c: Likewise.
5655         * math/w_atan2l.c: Likewise.
5656         * math/w_atanh.c: Likewise.
5657         * math/w_atanhf.c: Likewise.
5658         * math/w_atanhl.c: Likewise.
5659         * math/w_cosh.c: Likewise.
5660         * math/w_coshf.c: Likewise.
5661         * math/w_coshl.c: Likewise.
5662         * math/w_dremf.c: Likewise.
5663         * math/w_exp10.c: Likewise.
5664         * math/w_exp10f.c: Likewise.
5665         * math/w_exp10l.c: Likewise.
5666         * math/w_exp2.c: Likewise.
5667         * math/w_exp2f.c: Likewise.
5668         * math/w_fmod.c: Likewise.
5669         * math/w_fmodf.c: Likewise.
5670         * math/w_fmodl.c: Likewise.
5671         * math/w_hypot.c: Likewise.
5672         * math/w_hypotf.c: Likewise.
5673         * math/w_hypotl.c: Likewise.
5674         * math/w_j0.c: Likewise.
5675         * math/w_j0f.c: Likewise.
5676         * math/w_j0l.c: Likewise.
5677         * math/w_j1.c: Likewise.
5678         * math/w_j1f.c: Likewise.
5679         * math/w_j1l.c: Likewise.
5680         * math/w_jn.c: Likewise.
5681         * math/w_jnf.c: Likewise.
5682         * math/w_jnl.c: Likewise.
5683         * math/w_lgamma.c: Likewise.
5684         * math/w_lgamma_r.c: Likewise.
5685         * math/w_lgammaf.c: Likewise.
5686         * math/w_lgammaf_r.c: Likewise.
5687         * math/w_lgammal.c: Likewise.
5688         * math/w_lgammal_r.c: Likewise.
5689         * math/w_log.c: Likewise.
5690         * math/w_log10.c: Likewise.
5691         * math/w_log10f.c: Likewise.
5692         * math/w_log10l.c: Likewise.
5693         * math/w_log2.c: Likewise.
5694         * math/w_log2f.c: Likewise.
5695         * math/w_log2l.c: Likewise.
5696         * math/w_logf.c: Likewise.
5697         * math/w_logl.c: Likewise.
5698         * math/w_pow.c: Likewise.
5699         * math/w_powf.c: Likewise.
5700         * math/w_powl.c: Likewise.
5701         * math/w_remainder.c: Likewise.
5702         * math/w_remainderf.c: Likewise.
5703         * math/w_remainderl.c: Likewise.
5704         * math/w_scalb.c: Likewise.
5705         * math/w_scalbf.c: Likewise.
5706         * math/w_scalbl.c: Likewise.
5707         * math/w_sinh.c: Likewise.
5708         * math/w_sinhf.c: Likewise.
5709         * math/w_sinhl.c: Likewise.
5710         * math/w_sqrt.c: Likewise.
5711         * math/w_sqrtf.c: Likewise.
5712         * math/w_sqrtl.c: Likewise.
5713         * math/w_tgamma.c: Likewise.
5714         * math/w_tgammaf.c: Likewise.
5715         * math/w_tgammal.c: Likewise.
5716
5717         * po/ja.po: Update from translation team.
5718
5719 2011-09-29  Andreas Jaeger  <aj@suse.de>
5720
5721         [BZ #13179]
5722         * sunrpc/netname.c (netname2host): Fix logic.
5723
5724         [BZ #6779]
5725         [BZ #6783]
5726         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5727         correctly.
5728         * math/w_remainder.c (__remainder): Likewise.
5729         * math/w_remainderf.c (__remainderf): Likewise.
5730         * math/libm-test.inc (remainder_test): Add test cases.
5731
5732 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5733
5734         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
5735         sdiv_qrnnd.
5736
5737 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5738
5739         * string/test-memcmp.c: Avoid unncessary #defines.
5740         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5741
5742 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5743
5744         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5745         Use new sse2 version for core i3 - i7 as it's faster
5746         than sse42 version.
5747         (bit_Prefer_PMINUB_for_stringop): New.
5748         * sysdeps/x86_64/rawmemchr.S: Update.
5749         Replace with faster SSE2 version.
5750         * sysdeps/x86_64/memrchr.S: New file.
5751         * sysdeps/x86_64/memchr.S: Update.
5752         Replace with faster SSE2 version.
5753
5754 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
5755
5756         * elf/dl-load.c (lose): Add cast to avoid warning.
5757
5758 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5759
5760         * po/ca.po: Update from translation team.
5761
5762         * inet/getnetgrent_r.c: Hook up nscd.
5763         * nscd/Makefile (routines): Add nscd_netgroup.
5764         (nscd-modules): Add netgroupcache.
5765         (CFLAGS-netgroupcache.c): Define.
5766         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5767         (cache_search): Add const to second parameter.
5768         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5769         INNETGR.
5770         (dbs): Add netgrdb entry.
5771         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5772         (verify_persistent_db): Handle netgrdb.
5773         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5774         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5775         GETFDNETGR.
5776         (netgroup_response_header): Define.
5777         (innetgroup_response_header): Define.
5778         (datahead): Add netgroup_response_header and innetgroup_response_header
5779         elements.
5780         * nscd/nscd.conf: Add entries for netgroup cache.
5781         * nscd/nscd.h (dbtype): Add netgrdb.
5782         (_PATH_NSCD_NETGROUP_DB): Define.
5783         (netgroup_iov_disabled): Declare.
5784         (xmalloc, xcalloc, xrealloc): Move declarations here.
5785         (cache_search): Adjust prototype.
5786         Add netgroup-related prototypes.
5787         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5788         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5789         (__nscd_innetgr): Declare.
5790         * nscd/selinux.c (perms): Use access_vector_t as element type and
5791         add netgroup-related initializers.
5792         * nscd/netgroupcache.c: New file.
5793         * nscd/nscd_netgroup.c: New file.
5794         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5795         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5796         For four parameters use innetgr.
5797         * nss/nss_files/files-init.c: Add definition and callback for netgr.
5798         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5799         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5800         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5801
5802         * nscd/connections.c (register_traced_file): Don't register file
5803         for disabled databases.
5804
5805 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
5806
5807         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5808
5809         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5810         from tree and freeing node.
5811
5812 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
5813
5814         * nss/nsswitch.c (__nss_database_lookup): Handle
5815         nss_parse_service_list out of memory case.
5816
5817 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
5818
5819         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5820         out of memory case.
5821
5822 2011-10-04  Andreas Schwab  <schwab@redhat.com>
5823
5824         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5825         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5826         pass it down.
5827         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5828         elf_machine_rela, elf_machine_lazy_rel.
5829         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5830         (ELF_DYNAMIC_DO_REL): Likewise.
5831         (ELF_DYNAMIC_DO_RELA): Likewise.
5832         (ELF_DYNAMIC_RELOCATE): Likewise.
5833         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5834         to ELF_DYNAMIC_DO_REL.
5835         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5836         (dl_main): In trace mode always set __RTLD_NOIFUNC.
5837         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5838         elf_machine_rela.
5839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5840         skip_ifunc, don't call ifunc function if non-zero.
5841         (elf_machine_rela): Likewise.
5842         (elf_machine_lazy_rel): Likewise.
5843         (elf_machine_lazy_rela): Likewise.
5844         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5845         (elf_machine_lazy_rel): Likewise.
5846         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5847         Likewise.
5848         (elf_machine_lazy_rel): Likewise.
5849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5850         Likewise.
5851         (elf_machine_lazy_rel): Likewise.
5852         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5853         (elf_machine_lazy_rel): Likewise.
5854         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5855         (elf_machine_lazy_rel): Likewise.
5856         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5857         (elf_machine_lazy_rel): Likewise.
5858         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5859         (elf_machine_lazy_rel): Likewise.
5860         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5861         (elf_machine_lazy_rel): Likewise.
5862         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5863         (elf_machine_lazy_rel): Likewise.
5864
5865 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
5866
5867         * nss/nss_files/files-init.c (_nss_files_init): Use static
5868         initialization for all the *_traced_file variables.
5869
5870 2011-09-28  Andreas Schwab  <schwab@redhat.com>
5871
5872         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5873
5874 2011-09-27  Roland McGrath  <roland@hack.frob.com>
5875
5876         [BZ #13226]
5877         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5878
5879 2011-09-27  Andreas Schwab  <schwab@redhat.com>
5880
5881         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5882         Reread the line before reparsing it.
5883
5884 2011-09-26  Andreas Schwab  <schwab@redhat.com>
5885
5886         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5887
5888 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
5889             Maxim Kuvyrkov  <maxim@codesourcery.com>
5890             Joseph Myers  <joseph@codesourcery.com>
5891
5892         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5893         if needed for __stack_chk_guard.
5894
5895 2011-09-19  Roland McGrath  <roland@hack.frob.com>
5896
5897         * sysdeps/posix/spawni.c (script_execute): Always define it.
5898         It will be optimized away if unused.
5899         (maybe_script_execute): New function.
5900         (__spawni): Call it.
5901
5902         * Makerules: Don't include tls.make.
5903         (config-tls): Always set to thread.
5904         * tls.make.c: File removed.
5905
5906 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
5907
5908         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5909         * config.make.in (CPPFLAGS-config): New substituted variable.
5910
5911 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5912
5913         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5914
5915         [BZ #13192]
5916         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5917         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5918
5919 2011-09-15  Roland McGrath  <roland@hack.frob.com>
5920
5921         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5922         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5923         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5924         (CALL_FAIL): Likewise.
5925         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5926         (CALL_FAIL): Macro removed.
5927         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5928
5929 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5930
5931         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5932         for __FINITE_MATH_ONLY__ == 1.
5933
5934 2011-09-15  Andreas Schwab  <schwab@redhat.com>
5935
5936         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5937         __ieee754_sqrt instead of sqrt.
5938         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5939         __ieee754_sqrtf instead of sqrtf.
5940         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5941         __floorf instead of floorf.
5942         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5943         __floorf, __truncf instead of floorf, truncf.
5944
5945 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
5946
5947         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5948
5949         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5950         __extern_always_inline.
5951         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5952         32-bit.
5953
5954 2011-09-14  Andreas Schwab  <schwab@redhat.com>
5955
5956         * elf/rtld.c (dl_main): Also relocate in dependency order when
5957         doing symbol dependency testing.
5958
5959 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
5960
5961         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5962         Always define `refsym'.
5963
5964 2011-09-13  Andreas Schwab  <schwab@redhat.com>
5965
5966         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5967         (__FD_ELT): Renamed from __FDELT.
5968         * misc/bits/select2.h (__FD_ELT): Likewise.
5969         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5970         __FD_MASK instead of __FDELT, __FDMASK.
5971         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5972         Likewise.
5973         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5974         Likewise.
5975
5976         * elf/Makefile (gen-ldd): Fix pattern.
5977
5978         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5979         (init_tls): Likewise.
5980
5981 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
5982
5983         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5984
5985 2011-09-12  Andreas Schwab  <schwab@redhat.com>
5986
5987         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5988         `struct cmsghdr *' instead of `void *'.
5989         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5990         Likewise.
5991
5992 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5993
5994         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5995         if non-absolute.
5996         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5997         ldd_rewrite_script.
5998
5999 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
6000
6001         * configure.in: Remove --with-tls option.
6002         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6003         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6004         out in case it is missing.
6005         * sysdeps/ia64/elf/configure.in: Likewise.
6006         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6007         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6008         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6009         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6010         * sysdeps/sh/elf/configure.in: Likewise.
6011         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6012         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6013         * sysdeps/x86_64/elf/configure.in: Likewise.
6014         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6015         * sysdeps/mach/hurd/tls.h: Likewise.
6016
6017         [BZ #13067]
6018         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6019
6020         [BZ #13090]
6021         * configure.in: Fix use of AC_INIT.
6022
6023         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6024
6025 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
6026
6027         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6028         __set_errno.
6029         * malloc/hooks.c: Likewise.
6030
6031         [BZ #11929]
6032         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
6033         variables statically.
6034         (narenas): Initialize.
6035         (list_lock): Initialize.
6036         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
6037         initializtion of main_arena and list_lock.  Small cleanups.
6038         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6039         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
6040         Add initializers to main_arena and mp_.
6041         (malloc_state): Remove pagesize member.  Change all users to use
6042         GLRO(dl_pagesize).
6043
6044         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6045         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
6046         is always initialized.
6047
6048         * malloc/malloc.c: Removed unused configurations and dead code.
6049         * malloc/arena.c: Likewise.
6050         * malloc/hooks.c: Likewise.
6051         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6052
6053         * include/tls.h: Removed.  USE___THREAD must always be defined.
6054         * bits/libc-tsd.h: Don't handle !USE___THREAD.
6055         * elf/dl-libc.c: Likewise.
6056         * elf/dl-tsd.c: Likewise.
6057         * include/errno.h: Likewise.
6058         * include/netdb.h: Likewise.
6059         * include/resolv.h: Likewise.
6060         * inet/herrno-loc.c: Likewise.
6061         * inet/herrno.c: Likewise.
6062         * malloc/arena.c: Likewise.
6063         * malloc/hooks.c: Likewise.
6064         * malloc/malloc.c: Likewise.
6065         * resolv/res-state.c: Likewise.
6066         * resolv/res_libc.c: Likewise.
6067         * sysdeps/i386/dl-machine.h: Likewise.
6068         * sysdeps/ia64/dl-machine.h: Likewise.
6069         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6070         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6071         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6072         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6073         * sysdeps/sh/dl-machine.h: Likewise.
6074         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6075         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6076         * sysdeps/unix/i386/sysdep.S: Likewise.
6077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6078         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6083         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6087         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6088         * sysdeps/x86_64/dl-machine.h: Likewise.
6089         * tls.make.c: Likewise.
6090
6091         * configure.in: Remove --with-__thread option.  Make tests for
6092         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6093         tls_model attribute fail if no support is available.  Remove
6094         USE_IN_LIBIO.
6095         * Makeconfig: Adjust for dropped configure option.  All features are
6096         now mandatory.
6097         * Makerules: Likewise.
6098         * Versions.def: Likewise.
6099         * argp/argp-fmtstream.c: Likewise.
6100         * argp/argp-fmtstream.h: Likewise.
6101         * argp/argp-help.c: Likewise.
6102         * assert/assert.c: Likewise.
6103         * config.h.in: Likewise.
6104         * config.make.in: Likewise.
6105         * configure: Likewise.
6106         * configure.in: Likewise.
6107         * csu/Versions: Likewise.
6108         * csu/init.c: Likewise.
6109         * elf/tst-audit2.c: Likewise.
6110         * elf/tst-tls10.c: Likewise.
6111         * elf/tst-tls10.h: Likewise.
6112         * elf/tst-tls11.c: Likewise.
6113         * elf/tst-tls12.c: Likewise.
6114         * elf/tst-tls14.c: Likewise.
6115         * elf/tst-tlsmod11.c: Likewise.
6116         * elf/tst-tlsmod12.c: Likewise.
6117         * elf/tst-tlsmod13.c: Likewise.
6118         * elf/tst-tlsmod13a.c: Likewise.
6119         * elf/tst-tlsmod14a.c: Likewise.
6120         * elf/tst-tlsmod15b.c: Likewise.
6121         * elf/tst-tlsmod16a.c: Likewise.
6122         * elf/tst-tlsmod16b.c: Likewise.
6123         * elf/tst-tlsmod7.c: Likewise.
6124         * elf/tst-tlsmod8.c: Likewise.
6125         * elf/tst-tlsmod9.c: Likewise.
6126         * gmon/gmon.c: Likewise.
6127         * grp/fgetgrent_r.c: Likewise.
6128         * grp/putgrent.c: Likewise.
6129         * hurd/fopenport.c: Likewise.
6130         * include/libc-symbols.h: Likewise.
6131         * include/tls.h: Likewise.
6132         * intl/gettextP.h: Likewise.
6133         * intl/loadinfo.h: Likewise.
6134         * locale/global-locale.c: Likewise.
6135         * locale/localeinfo.h: Likewise.
6136         * mach/devstream.c: Likewise.
6137         * malloc/arena.c: Likewise.
6138         * malloc/set-freeres.c: Likewise.
6139         * misc/err.c: Likewise.
6140         * misc/getttyent.c: Likewise.
6141         * misc/mntent_r.c: Likewise.
6142         * posix/getopt.c: Likewise.
6143         * posix/wordexp.c: Likewise.
6144         * pwd/fgetpwent_r.c: Likewise.
6145         * resolv/Versions: Likewise.
6146         * resolv/res_hconf.c: Likewise.
6147         * shadow/fgetspent_r.c: Likewise.
6148         * shadow/putspent.c: Likewise.
6149         * stdio-common/printf_fphex.c: Likewise.
6150         * stdio-common/tmpfile.c: Likewise.
6151         * stdlib/abort.c: Likewise.
6152         * stdlib/fmtmsg.c: Likewise.
6153         * sunrpc/auth_unix.c: Likewise.
6154         * sunrpc/clnt_perr.c: Likewise.
6155         * sunrpc/clnt_tcp.c: Likewise.
6156         * sunrpc/clnt_udp.c: Likewise.
6157         * sunrpc/clnt_unix.c: Likewise.
6158         * sunrpc/openchild.c: Likewise.
6159         * sunrpc/svc_simple.c: Likewise.
6160         * sunrpc/svc_tcp.c: Likewise.
6161         * sunrpc/svc_udp.c: Likewise.
6162         * sunrpc/svc_unix.c: Likewise.
6163         * sunrpc/xdr.c: Likewise.
6164         * sunrpc/xdr_array.c: Likewise.
6165         * sunrpc/xdr_rec.c: Likewise.
6166         * sunrpc/xdr_ref.c: Likewise.
6167         * sunrpc/xdr_stdio.c: Likewise.
6168
6169 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6170
6171         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6172
6173 2011-07-03  Andreas Jaeger  <aj@suse.de>
6174
6175         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6176         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6177         regenerate with gen-libm-tests.pl.
6178
6179 2010-05-12  Petr Baudis  <pasky@suse.cz>
6180
6181         [BZ #11589]
6182         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6183         around j0() zero points by switching to j1().
6184         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6185         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6186         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6187         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6188
6189 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6190
6191         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6192         instead of 0.
6193         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6194         instead of 0.                              .
6195         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6196         Patch in part by Pavel Roskin <proski@gnu.org>.
6197
6198         [BZ #13138]
6199         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6200         realloc.
6201         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
6202         Free memory block if necessary.
6203
6204         [BZ #12847]
6205         * libio/genops.c (INTDEF): For string streams the _lock pointer can
6206         be NULL.  Don't lock in this case.
6207
6208 2011-09-09  Roland McGrath  <roland@hack.frob.com>
6209
6210         * elf/elf.h (ELFOSABI_GNU): New macro.
6211         (ELFOSABI_LINUX): Define to that.
6212
6213 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
6214
6215         * string/strncat.c (strncat): Undef the symbol in case it has been
6216         defined in bits/string.h.
6217
6218 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6219
6220         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6221
6222         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6223         link map.
6224
6225 2011-08-17  Andreas Jaeger  <aj@suse.de>
6226
6227         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6228
6229 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6230             Ian Lance Taylor  <iant@google.com>
6231
6232         * math/libm-test.inc (lround_test): New testcase.
6233         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6234
6235 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
6236
6237         * Makefile: Remove support for automatic cvs check-ins.
6238         * Makerules: Likewise.
6239         * config.make.in: Likewise.
6240         * configure.in: Likewise.
6241         * intl/Makefile: Likewise.
6242         * locale/Makefile: Likewise.
6243         * po/Makefile: Likewise.
6244         * posix/Makefile: Likewise.
6245         * sysdeps/gnu/Makefile: Likewise.
6246         * sysdeps/mach/hurd/Makefile: Likewise.
6247         * sysdeps/sparc/sparc32/Makefile: Likewise.
6248
6249         [BZ #13118]
6250         * posix/Makefile (bug-regex32-ENV): Define.
6251         Patch by John Stanley <jpsinthemix@verizon.net>.
6252
6253         * misc/Makefile (headers): Add bits/select2.h.
6254         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6255         * misc/bits/select2.h: New file.
6256         * include/bits/select2.h: New file.
6257         * debug/Makefile (routines): Add fdelt_chk.
6258         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6259         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6260         FD_ISSET.
6261         * debug/fdelt_chk.c: New file.
6262
6263         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
6264         * wcsmbs/test-wmemcmp.c: Likewise.
6265         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6266         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6267
6268 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6269
6270         * string/Makefile (strop-tests): Add memcmp.
6271         * string/test-wmemcmp.c: New file.
6272         * string/test-memcmp.c: Add wmemcmp support.
6273
6274 2011-09-08  Roland McGrath  <roland@hack.frob.com>
6275
6276         [BZ #13153]
6277         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6278         2011-07-19 change.
6279
6280         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6281         garbage value in a __mach_port_mod_refs call in the cases of the
6282         task-self and thread-self ports.
6283
6284 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6285
6286         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6287
6288 2011-09-08  Andreas Schwab  <schwab@redhat.com>
6289
6290         * elf/dl-load.c (lose): Check for non-null L.
6291
6292 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6293
6294         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6295
6296         * elf/dl-libc.c (dlerror_run): Pass back error code from
6297         dl_catch_error.
6298
6299         [BZ #13123]
6300         * elf/dl-load.c (lose): Free l_origin if it is valid.
6301
6302         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6303         names.
6304         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6305         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6306         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6307         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6308         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6309         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6310
6311 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6312
6313         * sysdeps/powerpc/fpu/e_hypot.c: New file.
6314         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6315         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6316         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6317         * sysdeps/powerpc/fpu/k_cosf.c: New file.
6318         * sysdeps/powerpc/fpu/k_sinf.c: New file.
6319         * sysdeps/powerpc/fpu/s_cosf.c: New file.
6320         * sysdeps/powerpc/fpu/s_sinf.c: New file.
6321         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6322         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6323
6324 2011-08-15  Alan Modra  <amodra@gmail.com>
6325
6326         [BZ #13092]
6327         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6328         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6329         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
6330         ppc_mcount to static-only-routines.
6331         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6332         __mcount_internal.
6333         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6334         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
6335
6336 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
6337
6338         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6339         for finite and infinity parameters.
6340
6341 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6342
6343         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6344         and add nop instructions for throughput optimization.
6345         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6346
6347 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
6348
6349         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6350         aligned copy for power7 with vector-scalar instructions.
6351         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6352
6353 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
6354
6355         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6356         AVX check.
6357
6358 2011-09-07  Andreas Schwab  <schwab@redhat.com>
6359
6360         [BZ #13144]
6361         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6362         last change.
6363
6364 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6365
6366         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6367         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6368         syscall wrapper around clock_gettime in __vdso_clock_gettime.
6369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6370         clock_gettime.
6371
6372 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6373
6374         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6375         Forgot to demangle the pointer.
6376
6377         * sysdeps/i386/sysdep.h: Define atom_text_section.
6378         * sysdeps/x86_64/sysdep.h: Likewise.
6379         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6380         section with atom_text_section.
6381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6382         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6383         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6385         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6386
6387         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6388         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6389         already be defined.  Change to take two parameters and don't assign
6390         result to variable.  Adjust all users.
6391         Define INTERNAL_GETTIME if not already defined.
6392         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6393         call.
6394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6395         HAVE_CLOCK_GETTIME_VSYSCALL.
6396         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6397
6398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6399         gettimeofday vsyscall, just use time.
6400
6401 2011-09-06  Andreas Schwab  <schwab@redhat.com>
6402
6403         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6404         <errno.h>.
6405
6406 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6407
6408         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6409         syscall on x86-64.
6410         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6411         syscall.
6412         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6413         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6414         syscall if possible.
6415
6416 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6417
6418         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6419         e_ident.  Don't pass to find_mapsXX.
6420         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6421
6422 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6423
6424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6425         strchr-sse2-no-bsf strrchr-sse2-no-bsf
6426         * sysdeps/x86_64/multiarch/strchr.S: Update.
6427         Check bit_slow_BSF bit.
6428         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6429         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6430         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6431
6432 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6433
6434         [BZ #13134]
6435         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6436         before glibc 2.15.
6437         (tryshell): Define.
6438         (__spawni): Change last parameter to be flag.  Test
6439         SPAWN_XFLAGS_USE_PATH flag to use path or not.
6440         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6441         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6442         * posix/spawni.c: Likewise.
6443         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6444         * posix/spawnp.c: Likewise.  Change normal version to use
6445         SPAWN_XFLAGS_USE_PATH.
6446         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6447         SPAWN_XFLAGS_TRY_SHELL.
6448
6449         [BZ #13150]
6450         * posix/glob.h: Remove gcc 1.x support.
6451
6452         [BZ #13068]
6453         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6454
6455 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6456
6457         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6458         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6459         strrchr-sse2-bsf
6460         * sysdeps/i386/i686/multiarch/strchr.S: New file.
6461         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6462         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6463         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6464         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6465         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6466
6467 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6468
6469         * sysdeps/x86_64/wcscmp.S: New file.
6470
6471         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6472         wcscmp-c wcscmp-sse2
6473         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6474         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6475         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6476         * wcsmbs/wcscmp.c: Allow renaming.
6477
6478 2011-09-05  David S. Miller  <davem@davemloft.net>
6479
6480         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6481         stack slot, rather than the struct return pointer slot.
6482         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6483         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6485         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6486
6487 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6488
6489         * po/ja.po: Update from translation team.
6490
6491         [BZ #13144]
6492         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6493         kernel in 64-bit binaries.
6494
6495 2011-09-01  David S. Miller  <davem@davemloft.net>
6496
6497         * elf/elf.h (HWCAP_SPARC_*): Move to..
6498         * sysdeps/sparc/sysdep.h: this new file and add new values.
6499         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6500         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6501         _DL_HWCAP_COUNT to 24.
6502         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6503         entries.
6504         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6505         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6506         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6507         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6508         instead of magic constants.
6509         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6510
6511 2011-08-31  David S. Miller  <davem@davemloft.net>
6512
6513         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6515         Reimplement to do errno handling inline.
6516         (SYSCALL_ERROR_HANDLER): New macro.
6517         (__SYSCALL_STRING): Do not do errno handling in asm.
6518         (__CLONE_SYSCALL_STRING): Delete.
6519         (__INTERNAL_SYSCALL_STRING): Delete.
6520         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6521         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6522         (PSEUDO): Reimplement to do errno handling inline.
6523         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6524         (SYSCALL_ERROR_HANDLER): New macro.
6525         (__SYSCALL_STRING): Do not do errno handling in asm.
6526         (__CLONE_SYSCALL_STRING): Delete.
6527         (__INTERNAL_SYSCALL_STRING): Delete.
6528         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6529         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6530         i386.
6531         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6532         (inline_syscall*): Add 'err' argument.
6533         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6534         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6535         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6536         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6537
6538         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6539         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6540
6541 2011-08-30  Andreas Schwab  <schwab@redhat.com>
6542
6543         * elf/rtld.c (dl_main): Relocate objects in dependency order.
6544
6545 2011-08-29  Jiri Olsa <jolsa@redhat.com>
6546
6547         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6548         directive.
6549
6550 2011-08-24  David S. Miller  <davem@davemloft.net>
6551
6552         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6553
6554 2011-08-24  Andreas Schwab  <schwab@redhat.com>
6555
6556         * elf/Makefile: Add rules to build and run unload8 test.
6557         * elf/unload8.c: New file.
6558         * elf/unload8mod1.c: New file.
6559         * elf/unload8mod1x.c: New file.
6560         * elf/unload8mod2.c: New file.
6561         * elf/unload8mod3.c: New file.
6562
6563         * elf/dl-close.c (_dl_close_worker): Reset private search list if
6564         it wasn't used.
6565
6566 2011-08-23  David S. Miller  <davem@davemloft.net>
6567
6568         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6569         subtract stack bias.
6570         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6571         %sp not %fp in calculations.
6572         (_JMPBUF_UNWINDS_ADJ): Likewise.
6573
6574         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6575         (aio_suspend): Call it to force an exception region around the
6576         AIO_MISC_WAIT() invocation.
6577
6578 2011-08-23  Andreas Schwab  <schwab@redhat.com>
6579
6580         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6581         backslash.
6582
6583 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
6584
6585         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6586         protection macro.
6587         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6588         and <dl-machine.h>.
6589         (Elf64_FuncDesc): Remove.
6590
6591 2011-08-22  David S. Miller  <davem@davemloft.net>
6592
6593         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6594         sigaltstack check, add missing cfi directives.
6595         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6596         missing cfi directives, and sigaltstack handling.
6597
6598 2011-08-16  Andreas Schwab  <schwab@redhat.com>
6599
6600         [BZ #11724]
6601         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6602         object is seen twice.
6603         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6604
6605         * elf/Makefile (distribute): Add tst-initorder2.c.
6606         (tests): Add tst-initorder2.
6607         (modules-names): Add tst-initorder2a tst-initorder2b
6608         tst-initorder2c tst-initorder2d.  Add rules to build them.
6609         ($(objpfx)tst-initorder2.out): New rule.
6610         * elf/tst-initorder2.c: New file.
6611         * elf/tst-initorder2.exp: New file.
6612
6613 2011-08-22  Andreas Schwab  <schwab@redhat.com>
6614
6615         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6616
6617         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6618         dependencies back to end of function.
6619
6620         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6621         $(elfobjdir)/ld.so.
6622
6623 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
6624
6625         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6626         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6628         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6629         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6630         of __vdso_gettimeofday.
6631         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6632         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
6633         attribute_hidden.
6634         (_libc_vdso_platform_setup): Remove initialization of
6635         __vdso_gettimeofday and __vdso_time.
6636
6637 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6638
6639         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6640         and fgetc_unlocked.
6641         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6642         getc_unlocked.
6643
6644         * elf/dl-open.c (add_to_global): Report additions to the global scope
6645         for LD_DEBUG=scopes.
6646         (dl_open_worker): Also print scope of newly loaded dependencies.
6647         (_dl_show_scope): Indicate if there is no scope.
6648
6649         [BZ #13114]
6650         * stdio-common/Makefile (tests): Add bug24.
6651         * stdio-common/bug24.c: New file.
6652
6653 2011-08-19  Andreas Jaeger  <aj@suse.de>
6654
6655         [BZ #13114]
6656         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6657         non-existant file when using close-on-exec mode.
6658
6659 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6660
6661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6662         the very first instruction.
6663
6664         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6665         the CFI state in the end.
6666         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6667         inclusion of dl-trampoline.h.
6668         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6669
6670 2011-08-19  Andreas Schwab  <schwab@redhat.com>
6671
6672         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6673         expectations for long double.
6674
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6676         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6677
6678 2011-08-14  David S. Miller  <davem@davemloft.net>
6679
6680         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6681         artificual limit depends upon the system page size.
6682
6683 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6684
6685         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6686         * resolv/Makefile: Define CFLAGS-libresolv.
6687
6688 2011-08-17  Andreas Schwab  <schwab@redhat.com>
6689
6690         * nss/makedb.c (compute_tables): Make variables used in nested
6691         function static.
6692
6693 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6694
6695         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6696         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6697         if buffer was too small.
6698
6699         * elf/pldd.c (main): Attach to all threads in the process.
6700         Rewrite /proc handling to use *at functions.
6701
6702 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
6703
6704         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6705         specifies first scope to show.
6706         (dl_open_worker): Update callers.  Move printing scope of new
6707         object to before the relocation.
6708         * elf/rtld.c (dl_main): Update _dl_show_scope call.
6709         * sysdeps/generic/ldsodefs.h: Update declaration.
6710
6711         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6712         string for the scope number.
6713
6714 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
6715
6716         * nscd/servicescache.c (cache_addserv): Make sure written is always
6717         initialized.
6718
6719 2011-08-14  Roland McGrath  <roland@hack.frob.com>
6720
6721         * sysdeps/i386/i486/bits/atomic.h
6722         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6723         statement expression, so as to suppress "set but not used" warning.
6724         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6725
6726         * string/strncat.c (STRNCAT): Use prototype definition.
6727
6728         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6729         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6730         -Iprograms here.
6731         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6732         (localedef-modules): Add localedef.
6733         (locale-modules): Add locale.
6734
6735         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6736         * elf/rtld.c (dl_main): Invert order of assignment in last change,
6737         to avoid a warning.
6738
6739 2011-08-14  David S. Miller  <davem@davemloft.net>
6740
6741         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6742         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6743
6744 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
6745
6746         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6747         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6748         * elf/rtld.c (dl_main): Set l_name of vDSO.
6749         Call _dl_show_scope when DL_DEBUG_SCOPES.
6750         (process_dl_debug): Recognize scopes flag and also set it for all.
6751         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6752         Declare _dl_show_scope.
6753
6754         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6755         (do_dlopen): Pass caller_dlopen to dl_open.
6756         (__libc_dlopen_mode): Initialize caller_dlopen.
6757
6758         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6759         of libc.  Make tolower call locale-independent.  Optimize a bit by
6760         using isdigit instead of isalnum.
6761         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6762
6763 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
6764
6765         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6766         was a dependency or dynamically loaded.
6767
6768 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
6769
6770         * intl/l10nflist.c: Allow architecture-specific pop function.
6771         * sysdeps/x86_64/l10nflist.c: New file.
6772
6773         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6774         classification.
6775
6776 2011-08-10  Andreas Schwab  <schwab@redhat.com>
6777
6778         * include/dirent.h: Add libc_hidden_proto for scandirat and
6779         scandirat64.  Don't declare __scandirat64.
6780         * dirent/scandirat.c: Add libc_hidden_def.
6781         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6782         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6783
6784 2011-08-10  David S. Miller  <davem@davemloft.net>
6785
6786         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6787         enum.
6788         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6789         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6790         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6791
6792 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
6793
6794         * Versions.def [libc]: Add GLIBC_2.15.
6795         * dirent/Makefile (routines): Add scandirat and scandirat64.
6796         * dirent/Versions [libc]: Export scandirat and scandirat64 for
6797         GLIBC_2.15.
6798         * dirent/dirent.h: Declare scandirat and scandirat64.
6799         * dirent/scandirat.c: New file.
6800         * dirent/scandirat64.c: New file.
6801         * sysdeps/wordsize-64/scandirat.c: New file.
6802         * sysdeps/wordsize-64/scandirat64.c: New file.
6803         * dirent/opendir.c: Define opendirat.
6804         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
6805         using scandirat.
6806         * dirent/scandir64.c: Adjust for scandir.c change.
6807         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
6808         __scandirat64, and __scandir_cancel_handler.
6809         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
6810         additional parameter and use openat instead of open (outside of ld.so).
6811         Add new __opendir as wrapper around __opendirat.
6812         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6813         here without requiring old scandirat implementation.
6814
6815 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
6816
6817         * dirent/scandir.c (cancel_handler): Renamed to
6818         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
6819         defined.  Adjust users.
6820         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6821         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6822
6823 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
6824
6825         * string/test-string.h (IMPL): Use __STRING to expand name and then
6826         stringify it.
6827
6828         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
6829         of cleanups.
6830
6831 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6832
6833         * string/Makefile: Update.
6834         (strop-tests): Append strncat.
6835         * string/test-wcscmp.c: New file.
6836         New comprehensive test for wcscmp.
6837         * string/test-strcmp.c: Update.
6838         (WIDE): New define.
6839
6840 2011-07-22  Andreas Schwab  <schwab@redhat.com>
6841
6842         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6843         line.
6844
6845 2011-07-26  Andreas Schwab  <schwab@redhat.com>
6846
6847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6848         encoding to ACE if AI_IDN.
6849
6850 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
6851
6852         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6853         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6854
6855 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6856
6857         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6858         Fix overflow bug in strncat.
6859         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6860
6861         * string/test-strncat.c: Update.
6862         Add new tests for checking overflow bugs.
6863
6864 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6865
6866         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6867         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6868         * sysdeps/i386/i686/multiarch/strcat.S: New file.
6869         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6871         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6872         * sysdeps/i386/i686/multiarch/strncat.S: New file.
6873         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6874         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6875
6876         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6877         (USE_AS_STRCAT): Define.
6878         Add strcat and strncat support.
6879         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6880
6881 2011-07-25  Andreas Schwab  <schwab@redhat.com>
6882
6883         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6884         __n bigger than INT_MAX+1.
6885         (__strncmp_g): Likewise.
6886
6887 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
6888
6889         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6890         * libio/stido.h: Likewise.
6891
6892         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6893         (AF_NFC): Define.
6894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6895         (AF_NFC): Define.
6896
6897         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6898         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6899         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6900         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6901         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6902
6903         [BZ #13021]
6904         * scripts/test-installation.pl: Don't expect libnss_test1 to be
6905         installed.
6906
6907         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6908         typo.
6909         (_dl_x86_64_save_sse): Likewise.
6910
6911 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
6912
6913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6914         OSXSAVE.
6915         (_dl_x86_64_save_sse): Likewise.
6916
6917         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6918
6919         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6920
6921 2011-07-21  Andreas Schwab  <schwab@redhat.com>
6922
6923         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6924         change.
6925         (_dl_x86_64_save_sse): Use correct AVX check.
6926
6927 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6928
6929         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6930         bug in strncpy/strncat.
6931         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6932
6933 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
6934
6935         * string/tester.c (test_strcat): Add tests for different alignments
6936         of source and destination.
6937         (test_strncat): Likewise.
6938
6939 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6940
6941         [BZ #12852]
6942         * posix/glob.c (glob): Check passed in values before using them in
6943         expressions to avoid some overflows.
6944         (glob_in_dir): Likewise.
6945
6946         [BZ #13007]
6947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6948         check for AVX enablement so that we don't crash with old kernels and
6949         new hardware.
6950         * elf/tst-audit4.c: Add same checks here.
6951         * elf/tst-audit6.c: Likewise.
6952
6953         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6954
6955 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
6956
6957         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6958
6959 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6960
6961         * po/cs.po: Update from translation team.
6962         * po/bg.po: Likewise.
6963
6964 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
6965
6966         * misc/sys/cdefs.h: Add support for const attribute.
6967         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6968         to gnu_dev_{major,minor,makedev} functions.
6969
6970 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
6971
6972         * intl/dcigettext.c (get_output_charset): Add missing bracket.
6973
6974 2011-07-20  Andreas Schwab  <schwab@redhat.com>
6975
6976         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6977         strlen results.
6978
6979 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6980
6981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6982         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6983         register in order to avoid conflicts with the soft frame pointer
6984         being held in r11 when necessary.
6985         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6986         (INTERNAL_VSYSCALL_NCS): Likewise.
6987
6988 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
6989
6990         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6991         * elf/dl-fini.c (_dl_fini): Adjust caller.
6992         * elf/dl-close.c (_dl_close_worker): Likewise.
6993         * sysdeps/generic/ldsodefs.h: Adjust declaration.
6994
6995 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
6996
6997         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6998         "aux_cache->nlibs < 0".
6999
7000         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7001         in the reload-count case.
7002
7003 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7004
7005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7006         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7007         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7008         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7009         * sysdeps/x86_64/multiarch/strcat.S: New file.
7010         * sysdeps/x86_64/multiarch/strncat.S: New file.
7011         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7012         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7013         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7014         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7015         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7016         (USE_AS_STRCAT): Define.
7017         Add strcat and strncat support.
7018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7019         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7020         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7021         * string/strncat.c: Update.
7022         (USE_AS_STRNCAT): Define.
7023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7024         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7025         and i7.
7026         * sysdeps/x86_64/multiarch/init-arch.h
7027         (bit_Prefer_PMINUB_for_stringop): New.
7028         (index_Prefer_PMINUB_for_stringop): Likewise.
7029         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7030         bit_Prefer_PMINUB_for_stringop.
7031
7032 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7033
7034         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7035         buffer64.
7036         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7037         of casting of buffer.
7038         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7039         buffer32 and buffer64.
7040         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7041         writes instead of casting of buffer.
7042         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7043         buffer32.
7044         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7045         casting of buffer.
7046
7047 2011-07-19  Andreas Schwab  <schwab@redhat.com>
7048
7049         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7050
7051 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7052
7053         * nscd/nscd.c (termination_handler): Don't do anything for a database
7054         if it has not yet been initialized.
7055
7056 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7057
7058         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7059
7060 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
7061
7062         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7063
7064 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7065
7066         * po/nl.po: Update from translation team.
7067         * po/sv.po: Likewise.
7068
7069 2011-07-16  Roland McGrath  <roland@hack.frob.com>
7070
7071         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7072         now disallowed by GCC.
7073
7074         * configure.in (use-default-link): Default to yes if a test -shared
7075         link meets our qualifications.
7076         * configure: Regenerated.
7077
7078         * config.make.in (output-format): New variable.
7079         * configure.in: Check for ld --print-output-format support.
7080         * configure: Regenerated.
7081         * Makerules ($(common-objpfx)format.lds)
7082         [$(output-format) != unknown]: Just use $(output-format),
7083         instead of the linker-script munging.
7084
7085 2011-07-14  Roland McGrath  <roland@hack.frob.com>
7086
7087         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7088         of $(common-objpfx)shlib.lds.
7089         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7090
7091         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7092         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7093
7094         * configure.in (-z relro check): Adjust test code to add a large
7095         writable data section after it.
7096         * configure: Regenerated.
7097
7098 2011-07-11  Roland McGrath  <roland@hack.frob.com>
7099
7100         * configure.in (-z relro check): Fix test code to make the variable
7101         truly const.
7102         * configure: Regenerated.
7103
7104 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
7105
7106         * nscd/nscd.h (struct traced_file): Define.
7107         (struct database_dyn): Remove inotify_descr, reset_res, and filename
7108         elements.  Add traced_files.
7109         (inotify_fd): Declare.
7110         (register_traced_file): Declare.
7111         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7112         (inotify_fd): Export.
7113         (resolv_conf_descr): Remove.
7114         (nscd_init): Move inotify descriptor creation to main.
7115         Don't register files for notification here.
7116         (register_traced_file): New function.
7117         (invalidate_cache): Don't use reset_res to determine whether to call
7118         res_init, go through the list of registered files.
7119         (main_loop_poll): The inotify descriptors are now stored in the
7120         structures for the traced files.
7121         (main_loop_epoll): Likewise
7122         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
7123         to __nss_disable_nscd.
7124         * nscd/cache.c (prune_cache): There is no single inotify descriptor
7125         for a database anymore.  Check the records for all the registered
7126         files instead.
7127         * nss/Makefile (libnss_files-routines): Add files-init.
7128         (libnss_db-routines): Add db-init.
7129         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7130         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7131         * nss/nss_db/db-init.c: New file.
7132         * nss/nss_files/files-init.c: New file.
7133         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
7134         __nss_lookup_function.
7135         (__nss_lookup_function): Call nss_load_library.
7136         (nss_load_all_libraries): New function.
7137         (__nss_disable_nscd): Take parameter with callback function for files
7138         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
7139         used for the cached services.
7140         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7141         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7142         options for features to all the files in nscd.
7143
7144         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7145
7146 2011-07-10  Roland McGrath  <roland@hack.frob.com>
7147
7148         * csu/elf-init.c (__libc_csu_init): Comment typo.
7149
7150 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
7151
7152         * po/pl.po: Update from translation team.
7153         * po/ja.po: Likewise.
7154         * po/ru.po: Likewise.
7155         * po/ko.po: Likewise.
7156         * po/fr.po: Likewise.
7157
7158 2011-07-09  Roland McGrath  <roland@hack.frob.com>
7159
7160         * configure.in (.ctors/.dtors header and trailer check):
7161         Use an empirical test on a built program.
7162         * configure: Regenerated.
7163
7164         * configure.in (-z relro check): Use an empirical test on a built DSO.
7165         Detect, but do not require, on ia64.
7166         * configure: Regenerated.
7167
7168         * configure.in (READELF): Find it with AC_CHECK_TOOL.
7169         Update tests that use readelf to use $READELF instead.
7170         * configure: Regenerated.
7171
7172 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
7173
7174         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7175         if the result is not used.
7176
7177 2011-07-05  Andreas Jaeger  <aj@suse.de>
7178
7179         [BZ#9696]
7180         * stdlib/tst-strtod.c: Add testcase.
7181
7182 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
7183
7184         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7185         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7186         The latter has a higher limit.  Take additional parameter to pass to
7187         the new function.
7188         (__pathconf): Pass file to __statfs_link_max.
7189         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7190         __statfs_link_max.
7191         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7192         __statfs_link_max.
7193
7194         [BZ #12868]
7195         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7196         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7197         Handle Lustre.
7198         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7199         (__statfs_filesize_max): Likewise.
7200         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7201
7202 2011-07-05  Andreas Jaeger  <aj@suse.de>
7203
7204         * resolv/res_comp.c (dn_skipname): Remove unused variable.
7205
7206 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7207
7208         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7209         `status' variable.
7210         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7211         Likewise.
7212
7213 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7214
7215         * Makefile (strop-tests): Add strncat.
7216         * string/test-strncat.c: New file.
7217
7218 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
7219
7220         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7221
7222 2011-06-21  Andreas Jaeger  <aj@suse.de>
7223
7224         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7225         Copy rule from iconvdata/Makefile.
7226
7227 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7228
7229         [BZ #12922]
7230         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7231         but no long options are defined, just return 'W'.
7232
7233 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
7234
7235         [BZ #9696]
7236         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7237
7238 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7239
7240         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7241         netgroups to read.
7242         (innetgr): Likewise.
7243
7244 2011-07-05  Roland McGrath  <roland@hack.frob.com>
7245
7246         * config.make.in (install_root): Default to $(DESTDIR).
7247
7248 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
7249
7250         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7251
7252 2011-07-02  Roland McGrath  <roland@hack.frob.com>
7253
7254         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7255
7256         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7257         containing directory rather than embedding absolute directory names.
7258
7259         * scripts/check-local-headers.sh: Rewritten using awk.
7260         Match by word, not by line.  Print error messages for matches.
7261         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7262
7263         * Makerules [shlib-lds-flags empty]:
7264         ($(common-objpfx)libc_pic.opts): New target.
7265         ($(common-objpfx)libc_pic.os.clean): New target.
7266         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7267
7268         * config.make.in (OBJCOPY): New variable.
7269         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7270         * configure: Regenerated.
7271
7272         * config.make.in (use-default-link): New variable.
7273         * configure.in (use_default_link): Grok --with-default-link to set it.
7274         * configure: Regenerated.
7275         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7276         (shlib-lds, shlib-lds-flags): Define to empty.
7277
7278         * Makerules (shlib-lds): New variable.
7279         (shlib-lds-flags): New variable.
7280         (build-shlib, build-moduile, build-module-asneeded): Use it.
7281         ($(common-objpfx)libc.so): Use $(shlib-lds).
7282         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7283         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7284
7285         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7286         DT_FLAGS/DT_FLAGS_1 with zero flags.
7287
7288         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7289         linker script munging.
7290
7291 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
7292
7293         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7294         as 128-bit value.
7295         * crypt/sha512.c (sha512_process_block): Perform total addition using
7296         128-bit if possible.
7297         (__sha512_finish_ctx): Likewise.
7298         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7299         as 64-bit value.
7300         * crypt/sha256.c (SWAP64): Define.
7301         (sha256_process_block): Perform total addition using 64-bit if
7302         possible.
7303         (__sha256_finish_ctx): Likewise.
7304
7305 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
7306
7307         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
7308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7309         * nscd/hstcache.c (cache_addhst): Likewise.
7310         * nscd/grpcache.c (cache_addgr): Likewise.
7311         * nscd/aicache.c (addhstaiX): Likewise
7312         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7313
7314 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
7315
7316         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7317         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7318         * nscd/hstcache.c (cache_addhst): Likewise.
7319         * nscd/grpcache.c (cache_addgr): Likewise.
7320         * nscd/aicache.c (addhstaiX): Likewise
7321
7322 2011-07-01  Andreas Schwab  <schwab@redhat.com>
7323
7324         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7325         domain only when needed.
7326
7327 2011-06-30  Andreas Schwab  <schwab@redhat.com>
7328
7329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7330         is always restored.
7331
7332 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
7333
7334         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7335         are re-adding the entry.
7336         * nscd/servicescache.c (cache_addserv): Likewise.
7337
7338 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7339
7340         * sysdeps/generic/dl-irel.h: fix protection against multiple
7341         inclusions.
7342         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7343
7344 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
7345
7346         [BZ #12935]
7347         * malloc/memusage.sh: Fix quoting in message.
7348         * debug/xtrace.sh: Likewise.
7349
7350         * configure.in: Remove support for --experimental-malloc option, make
7351         it the default.
7352         * config.make.in: Likewise.
7353         * malloc/Makefile: Likewise.
7354
7355 2011-06-27  Andreas Schwab  <schwab@redhat.com>
7356
7357         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7358         two-byte characters.
7359
7360 2011-06-27  Roland McGrath  <roland@hack.frob.com>
7361
7362         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7363         AC_CACHE_CHECK invocation.
7364         * configure: Regenerated.
7365
7366         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7367
7368 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
7369
7370         [BZ #12350]
7371         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
7372         bit from old_res_options.
7373
7374         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7375
7376         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7377         value type for setfct.
7378
7379 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
7380
7381         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7382         __gettimeofday instead of gettimeofday.
7383
7384 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
7385
7386         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7387
7388 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7389
7390         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7391
7392         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7393         info.
7394
7395 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7396
7397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7398         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7399         strcpy-sse2-unaligned strncpy-sse2-unaligned
7400         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7401         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7402         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7403         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7404         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7405         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7406         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7407         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7408         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7409         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7410         (STRCPY): Support SSE2 and SSSE3 versions.
7411
7412 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
7413
7414         [BZ #12874]
7415         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7416         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7417         kernels which artificially limit size of requests.
7418
7419 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7420
7421         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7422         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7423         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7424         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7425         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7426         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7427         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7428         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7429         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7431         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7432         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7433         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7434         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7435         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7437         Enable unaligned load optimization for Intel Core i3, i5 and i7
7438         processors.
7439         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7440         Define.
7441         (index_Fast_Unaligned_Load): Define.
7442         (HAS_FAST_UNALIGNED_LOAD): Define.
7443
7444 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7445
7446         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7447
7448 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7449
7450         [BZ #12907]
7451         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7452         until it is clear that the information is realy needed.
7453         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7454
7455 2011-06-22  Andreas Schwab  <schwab@redhat.com>
7456
7457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7458
7459 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7460
7461         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7462         /sys/devices/system/cpu/online if it is usable.
7463
7464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7465         reading the information from the /proc filesystem to once a second.
7466
7467 2011-06-21  Andreas Jaeger  <aj@suse.de>
7468
7469         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7470         NULL after inclusion of kernel headers.
7471
7472 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
7473
7474         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7475         calls to internal_setent.
7476
7477         [BZ #12885]
7478         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7479         addresses using gethostbyname4_r ignore IPv4 addresses.
7480
7481         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7482         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
7483
7484         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7485
7486 2011-06-20  David S. Miller  <davem@davemloft.net>
7487
7488         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7489         inclusions.
7490         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7491
7492         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7493         (elf_irel): Use it.
7494         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7495         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7496         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7497         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7498         * sysdeps/x86_64/dl-irel.h: Likewise.
7499
7500         * elf/dl-runtime.c: Use elf_ifunc_invoke.
7501         * elf/dl-sym.c: Likewise.
7502
7503 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7504
7505         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
7506         need to dereference resplen2.
7507
7508 2011-06-14  Andreas Schwab  <schwab@redhat.com>
7509
7510         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7511
7512 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7513
7514         * Makeconfig: Define vardbdir and inst_vardbdir.
7515         * nss/Makefile: Add rules to install db-Makefile.
7516
7517         * nss/nss_db/db-XXX.c: Cleanup.
7518
7519         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7520         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7521         GLIBC_PRIVATE.
7522         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7523         * nss/makedb.c: Implement -g option to specify that value strings
7524         are generated and should not be added to table iterated over for
7525         get*ent calls.
7526         * nss/nss_db/db-initgroups.c: New file.
7527
7528         * nss/getent.c: Add support for initgroups lookups through getgrouplist
7529         interface.
7530
7531         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7532         (internal_getgrouplist): Adjust to name change.
7533         Update use_initgroups_entry if this is not the first call.
7534         * nss/databases.def: Add initgroups entry.
7535
7536         * nss/makedb.c (compute_tables): Check result of multiple hash table
7537         sizes to minimize maximum chain length.
7538
7539 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
7540
7541         * Versions.def: Add entry for libnss_db.
7542         * shlib-versions: Likewise.
7543         * nss/Makefile: Add rules to build libnss_db.
7544         * nss/Versions: Add libnss_db information.  Organize libnss_files
7545         entries better.
7546         * nss/db-Makefile: Add gshadow support.  Change rules for the new
7547         makedb progra.  Some minor improvements to generate smaller files.
7548         * nss/nss_db/nss_db.h: Move NSS database header data structures to
7549         here from...
7550         * nss/makedb.c: ...here.
7551         Improve database format to be smaller and require less memory at
7552         runtime.
7553         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
7554         db anymore.
7555         * nss/nss_db/db-netgrp.c: Likewise.
7556         * nss/nss_db/db-open.c: Likewise.
7557         * nss/nss_files/flies-XXX.x: Adjust comments.
7558         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7559         * nss/nss_files/files-grp.c: Likewise.
7560         * nss/nss_files/files-hosts.c: Likewise.
7561         * nss/nss_files/files-network.c: Likewise.
7562         * nss/nss_files/files-proto.c: Likewise.
7563         * nss/nss_files/files-pwd.c: Likewise.
7564         * nss/nss_files/files-rpc.c: Likewise.
7565         * nss/nss_files/files-service.c: Likewise.
7566         * nss/nss_files/files-sgrp.c: Likewise.
7567         * nss/nss_files/files-spwd.c: Likewise.
7568         * nss/nss_db/db-alias.c: Removed.
7569         * nss/nss_db/dummy-db.h: Removed.
7570
7571 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
7572
7573         * nss/makedb.c: Rewritten to not use database library.
7574         * nss/Makefile: Update to build new makedb program.
7575
7576 2011-06-14  Andreas Jaeger  <aj@suse.de>
7577
7578         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7579         memset declaration.
7580
7581 2011-06-10  Andreas Schwab  <schwab@redhat.com>
7582
7583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7584         tmpbuf.
7585
7586 2011-06-10  Roland McGrath  <roland@hack.frob.com>
7587
7588         * Makerules (shlib.lds): Fail if the linker script comes out empty.
7589         * elf/Makefile ($(objpfx)ld.so): Likewise.
7590
7591         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7592         Don't list ld.so twice in dependencies.
7593
7594         * posix/bug-regex31.c: Include <stdlib.h>.
7595
7596         * nscd/hstcache.c (cache_addhst): Remove unused variable.
7597
7598         * nis/nss_compat/compat-spwd.c
7599         (getspent_next_nss_netgr): Remove unused variable.
7600         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7601
7602         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7603         nonmembers" output to use the right array.
7604
7605         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7606
7607         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7608
7609         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7610         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7611         * catgets/gencat.c (read_input_file): Likewise.
7612         * locale/programs/locarchive.c (enlarge_archive): Likewise.
7613
7614         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7615         variable definition inside #if's controlling its use.
7616
7617         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7618
7619         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7620
7621         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7622
7623         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7624         unreachable code.
7625
7626         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7627
7628         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7629         * configure: Regenerated.
7630
7631         * Makerules: Revert last change.
7632         * elf/Makefile: Likewise.
7633
7634 2011-06-09  Roland McGrath  <roland@hack.frob.com>
7635
7636         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7637         * elf/Makefile ($(objpfx)librtld.os): Likewise.
7638         (reloc-link): Likewise.
7639
7640 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
7641
7642         * elf/Makefile: Add rules to build pldd.
7643         * elf/pldd.c: New file.
7644         * elf/pldd-xx.c: New file.
7645
7646 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
7647
7648         * version.h: Update for 2.15 development version.
7649
7650 2011-06-07  David S. Miller  <davem@davemloft.net>
7651
7652         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7653         ifuncs.
7654         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7655         elf_machine_lazy_rel): Likewise.
7656         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7657         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7658         elf_machine_lazy_rel): Likewise.
7659         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7660         dl_hwcap via passed in argument.
7661         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7662         Likewise.
7663
7664 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7665
7666         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
7667
7668 2011-06-06  Roland McGrath  <roland@hack.frob.com>
7669
7670         [BZ #12849]
7671         * manual/fdl-1.1.texi: New file, verbatim from:
7672         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7673         * manual/lgpl-2.1.texi: New file, verbatim from:
7674         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7675         * manual/Makefile (licenses): New variable, list those new file names.
7676         (texis): Use it.
7677         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7678
7679         * manual/fdl.texi: File removed.
7680         * manual/lesser.texi: File removed.
7681         * manual/libc.texinfo (Copying, Documentation License):
7682         Use new @include file names, put @appendix directive before @include.
7683
7684 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
7685
7686         [BZ #12841]
7687         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7688         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7689         (mq_open): Add __NTH.
7690
7691 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
7692
7693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7694         Assume Intel Core i3/i5/i7 processor if AVX is available.
7695
7696 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7697
7698         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7699         typo.
7700
7701 2011-05-31  Andreas Schwab  <schwab@redhat.com>
7702
7703         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7704         memory.  Use alloca_account.  Fix memory leak when retrying.
7705
7706 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7707
7708         * version.h (RELEASE): Bump for 2.14 release.
7709         * include/features.h (__GLIBC_MINOR__): Bump to 14.
7710
7711         * config.make.in (RANLIB): Remove entry.
7712
7713 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
7714
7715         * po/Makefile (po-sed-cmd): Add ksh to extensions.
7716         (libc.pot): Work around missing support for .ksh extension in xgettext.
7717
7718         [BZ #12684]
7719         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7720         if both request failed.
7721         (send_dg): In case of server errors clear resplen or *resplen2.
7722
7723         [BZ #12454]
7724         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7725         when there are multiple maps.
7726         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7727         (_dl_fini): Remove test here.
7728
7729         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7730
7731 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
7732
7733         [BZ #12350]
7734         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7735         bit from old_res_options.
7736         (gaih_inet): Likewise.
7737
7738         [BZ #11099]
7739         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7740         as signed.
7741
7742         * resolv/res_init.c (res_setoptions): Make the code more compact.
7743
7744         [BZ #11558]
7745         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7746         set RES_USEVC.
7747
7748         [BZ #11634]
7749         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7750
7751         * malloc/malloc.h: Mark malloc hook variables as deprecated.
7752
7753         [BZ #11781]
7754         * malloc/malloc.h: Declare malloc hook variables as volatile.
7755
7756         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7757         in last patch.
7758
7759         [BZ #11799]
7760         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7761         raise in the comment.
7762         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7763         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7764         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7765
7766 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
7767
7768         [BZ #12811]
7769         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7770         grow the buffers more if it already has to be sufficient.
7771         (build_wcs_upper_buffer): Likewise.
7772         * posix/regexec.c (check_matching): Likewise.
7773         (clean_state_log_if_needed): Likewise.
7774         (extend_buffers): Don't enlarge buffers beyond size of the input
7775         buffer.
7776         Patches mostly by Emil Wojak <emil@wojak.eu>.
7777         * posix/bug-regex32.c: New file.
7778         * posix/Makefile (tests): Add bug-regex32.
7779
7780         * locale/findlocale.c (_nl_find_locale): Return right away if
7781         _nl_explode_name failed.
7782         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7783
7784         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7785
7786         * debug/xtrace.sh: Unify messages.
7787         * malloc/memusage.sh: Likewise.
7788
7789         [BZ #12813]
7790         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7791         time symbol from vDSO.  Substitute with vsyscall if not available.
7792         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7793         __vdso_time.
7794
7795         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7796         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7797         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7798         Add sendmmsg and internal_sendmmsg.
7799         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7800         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7801         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7802
7803         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7804         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7805         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7806
7807 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
7808
7809         [BZ #12813]
7810         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7811         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
7812         available.
7813         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7814         __vdso_getcpu.
7815
7816         [BZ #12814]
7817         * iconvdata/Makefile (tests): Add bug-iconv9.
7818         * iconvdata/bug-iconv9.c: New file.
7819
7820 2011-05-27  Andreas Schwab  <schwab@redhat.com>
7821
7822         [BZ #12814]
7823         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7824
7825 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
7826
7827         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7828         (struct user_regs_struct): Change intcs field back to cs.
7829
7830 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
7831
7832         * po/ja.po: Update from translation team.
7833
7834 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
7835
7836         [BZ #12795]
7837         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7838         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7839
7840 2011-05-20  Andreas Schwab  <schwab@redhat.com>
7841
7842         * stdlib/longlong.h: Update from GCC.
7843
7844 2011-05-23  Andreas Schwab  <schwab@redhat.com>
7845
7846         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7847         parameter name.
7848         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7849         Add parameter name.
7850         (__sysconf): Pass it down.
7851
7852 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
7853
7854         [BZ #12671]
7855         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7856         some situations.
7857         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7858         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7859         add in in __libc_use_alloca calls.  Adjust callers.
7860         (glob): Use malloc in some situations.
7861
7862         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7863         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7864         pltexit.
7865
7866 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
7867
7868         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7869         and CLOCK_BOOTTIME_ALARM.
7870
7871         [BZ #12782]
7872         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7873         is returned.
7874
7875         * string/_strerror.c (__strerror_r): Print negative errors as signed
7876         numbers.
7877
7878         [BZ #12777]
7879         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7880         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7881         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7882
7883         * configure.in: Fix typo in redirection and correct removal of test
7884         files in two cases.
7885
7886         [BZ #12788]
7887         * locale/setlocale.c (new_composite_name): Fix test to check for
7888         identical name of all categories.
7889
7890         [BZ #12792]
7891         * libio/filedoalloc.c (local_isatty): New function.
7892         (_IO_file_doallocate): Use local_isatty.
7893         * stdio-common/perror.c (perror): In case a new stream is used
7894         forward the stream error.
7895         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7896         error flag.
7897
7898 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
7899
7900         [BZ #11869]
7901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7902         alloca.
7903         * include/alloca.h (extend_alloca_account): Define.
7904
7905         [BZ #11857]
7906         * posix/regex.h: Fix comments with documentation of user-accessible
7907         fields after compilation and describe correct free'ing of pattern
7908         after re_compile_pattern.
7909         Patch by Reuben Thomas <rrt@sc3d.org>.
7910
7911 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
7912
7913         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7914         and -mno-altivec to prevent the compiler from using Altivec and/or
7915         VSX instructions when the corresponding registers are not available.
7916
7917 2011-05-19  Andreas Schwab  <schwab@redhat.com>
7918
7919         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7920
7921 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
7922
7923         * libio/freopen.c (freopen): Use __dup2, not dup2.
7924         * libio/freopen64.c (freopen64): Likewise.
7925
7926 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7927
7928         [BZ #12775]
7929         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7930         * math/Makefile (tests): Add test-powl.
7931         (CFLAGS-test-powl.c): Define.
7932         * math/test-powl.c: New file.
7933
7934 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7935
7936         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7937
7938 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
7939
7940         [BZ #11837]
7941         * iconvdata/gb18030.c: Update to GB18020-2005.
7942
7943 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
7944
7945         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7946         RE_SYNTAX_POSIX_AWK): Update to match recent development.
7947         Patch by Aharon Robbins <arnold@skeeve.com>.
7948
7949         [BZ #11892]
7950         * stdlib/putenv.c (putenv): Don't always create copy of the variable
7951         on the stack.
7952
7953         [BZ #11895]
7954         * misc/pselect.c (__pselect): Handle timeout value errors hidden
7955         through underflows.
7956
7957         [BZ #12766]
7958         * misc/error.c (error_at_line): Ensure file_name and old_file_name
7959         point to strings before performing equality test for error_one_per_line
7960         mode.
7961
7962         [BZ #11697]
7963         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7964
7965         [BZ #11820]
7966         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7967         (struct user_fpregs_struct): Avoid __uint*_t types.
7968
7969         [BZ #6420]
7970         * malloc/mtrace.c (tr_where): Add additional parameter to point to
7971         symbol info.  Use it instead of calling _dl_addr locally.
7972         (lock_and_info): New function.
7973         (tr_freehook): Call lock_and_info and pass symbol info as additional
7974         parameter to tr_where.
7975         (tr_mallochook): Likewise.
7976         (tr_reallochook): Likewise.
7977         (tr_memalignhook): Likewise.
7978
7979         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
7980         used and couldn't be at all thread-safe.
7981
7982 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
7983
7984         * libio/freopen.c (freopen): Don't close old file descriptor
7985         before the new one is opened.  Instead dup the new file descriptor
7986         to the old one after the new stream is created.
7987         * libio/freopen64.c (freopen64): Likewise.
7988         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7989         * libio/fileops.c (_IO_new_file_close_it): Handle new
7990         _IO_FLAGS2_NOCLOSE flag.
7991         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7992         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7993         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7994         _IO_FLAGS2_NOCLOSE flag.
7995         * include/unistd.h: Add hidden_proto for dup3.
7996         Define __have_dup3.
7997         * io/dup3.c: Define hidden symbol.
7998         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7999
8000         [BZ #7101]
8001         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8002         when an incomplete long option is used.
8003         * posix/tst-getopt_long1.c: New file.
8004         * posix/Makefile (tests): Add tst-getopt_long1.
8005
8006         [BZ #10138]
8007         * scripts/config.guess: Update from autoconf-2.68.
8008         * scripts/config.sub: Likewise.
8009
8010         [BZ #10157]
8011         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8012         tests into ...
8013         (has_cpuclock): ...this.  New function.
8014         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8015         macro here based on has_cpuclock code.
8016
8017         [BZ #10149]
8018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8019         First byte (not low byte) is now always NUL.
8020         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8021
8022         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8023         Use non-cancelable interfaces.
8024
8025         [BZ #9809]
8026         * locale/iso-639.def: Add entry for Sorani.
8027
8028         [BZ #11901]
8029         * include/stdlib.h: Move include protection to the right place.
8030         Define abort_msg_s.  Declare __abort_msg with it.
8031         * stdlib/abort.c (__abort_msg): Adjust type.
8032         * assert/assert.c (__assert_fail_base): New function.  Majority
8033         of code from __assert_fail.  Allocate memory for __abort_msg with
8034         mmap.
8035         (__assert_fail): Now call __assert_fail_base.
8036         * assert/assert-perr.c: Remove bulk of implementation.  Use
8037         __assert_fail_base.
8038         * include/assert.hL Declare __assert_fail_base.
8039         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8040         mmap.
8041         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8042
8043 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
8044
8045         [BZ #11952]
8046         [BZ #12453]
8047         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8048         until all modules are registered in the DTV.
8049         * elf/Makefile: Add rules to build and run tst-tls19.
8050         * elf/tst-tls19.c: New file.
8051         * elf/tst-tls19mod1.c: New file.
8052         * elf/tst-tls19mod2.c: New file.
8053         * elf/tst-tls19mod3.c: New file.
8054         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8055
8056         [BZ #12083]
8057         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8058         correctly.
8059
8060         [BZ #12601]
8061         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8062         two-byte sequence errors.
8063         * iconvdata/Makefile (tests): Add bug-iconv8.
8064         * iconvdata/bug-iconv8.c: New file.
8065
8066         [BZ #12626]
8067         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8068         buf2 definition.
8069
8070         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8071
8072         [BZ #12432]
8073         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8074         (dummy_getcfa): New function.
8075         (init): Get _Unwind_GetCFA address, use dummy if not found.
8076         (backtrace_helper): In recursion check, also check whether CFA changes.
8077         (__backtrace): Completely initialize arg.
8078
8079         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8080         storing incomplete byte sequence in state object.  Avoid testing for
8081         guaranteed too small input if we know there is enough data available.
8082
8083 2011-05-11  Andreas Schwab  <schwab@redhat.com>
8084
8085         * Makeconfig (+link-pie): Indent.
8086         * Rules (binaries-pie): Define if $(have-fpie) and
8087         $(build-shared).
8088         (binaries-shared): Also filter out $(binaries-pie).
8089         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8090         * nscd/Makefile (others-pie): Add nscd.
8091         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8092         ($(objpfx)nscd): Remove command override.
8093         * login/Makefile (others-pie): Add pt_chown.
8094         ($(objpfx)pt_chown): Remove command override.
8095         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8096         remove command overrides.
8097
8098 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
8099
8100         * libio/tst_putwc.c: Fix error messages.
8101
8102         [BZ #12724]
8103         * libio/fileops.c (_IO_new_file_close_it): Always flush when
8104         currently writing and seek to current position when not.
8105         * libio/Makefile (tests): Add bug-fclose1.
8106         * libio/bug-fclose1.c: New file.
8107
8108 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
8109
8110         [BZ #12511]
8111         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8112         don't set DF_1_NODELETE here.
8113         (do_lookup_x): When entering new entry test for copy relocation
8114         and if necessary set DF_1_NODELETE flag.
8115         * elf/tst-unique4.cc: New file.
8116         * elf/tst-unique4.h: New file.
8117         * elf/tst-unique4lib.cc: New file.
8118         * elf/Makefile: Add rules to build and run tst-unique4.
8119         Patch by Piotr Bury <pbury@goahead.com>.
8120
8121 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
8122
8123         [BZ #12052]
8124         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8125
8126         [BZ #12625]
8127         * misc/mntent_r.c (addmntent): Flush the stream after the output
8128
8129         [BZ #12393]
8130         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8131         (is_trusted_path_normalize): Skip initial colon.  Append slash
8132         to empty buffer.  Duplicate is_trusted_path code but allow
8133         constructed patch to be prefix.
8134         (is_dst): Allow $ORIGIN followed by /.
8135         (_dl_dst_substitute): Correct clearing of check_for_trusted.
8136         Correct testing of result of is_trusted_path_normalize
8137         (decompose_rpath): Fix warning.
8138
8139 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
8140
8141         [BZ #11257]
8142         * grp/initgroups.c (internal_getgrouplist): When we found the service
8143         list through the initgroups entry in nsswitch.conf do not always
8144         continue on a successful lookup.  Don't always use the
8145         __nss_group_database value if it is set.
8146         * nss/nsswitch.conf (initgroups): Change action for successful db
8147         lookup to continue for compatibility.
8148
8149 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
8150
8151         [BZ #11532]
8152         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8153         and CP774 modules.
8154         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8155         and CP774 modules.
8156         * iconvdata/tst-tables.sh: Likewise.
8157         * iconvdata/cp770.c: New file.
8158         * iconvdata/cp771.c: New file.
8159         * iconvdata/cp772.c: New file.
8160         * iconvdata/cp773.c: New file.
8161         * iconvdata/cp774.c: New file.
8162         * iconvdata/testdata/CP770: New file.
8163         * iconvdata/testdata/CP770..UTF8: New file.
8164         * iconvdata/testdata/CP771: New file.
8165         * iconvdata/testdata/CP771..UTF8: New file.
8166         * iconvdata/testdata/CP772: New file.
8167         * iconvdata/testdata/CP772..UTF8: New file.
8168         * iconvdata/testdata/CP773: New file.
8169         * iconvdata/testdata/CP773..UTF8: New file.
8170         * iconvdata/testdata/CP774: New file.
8171         * iconvdata/testdata/CP774..UTF8: New file.
8172
8173         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8174         END CHARMAP line.
8175         * iconvdata/gen-8bit-gap.sh: Likewise.
8176         * iconvdata/gen-8bit.sh: Likewise.
8177
8178         * locale/iso-639.def: Add ary entry.
8179
8180         [BZ #11258]
8181         * locale/C-translit.h.in: Add U20A1 transliteration.
8182
8183         [BZ #12178]
8184         * locale/iso-639.def: Add wae entry.
8185         Patch by Kevin Bortis <bortis@translate-wae.ch>.
8186
8187         [BZ #12545]
8188         * locale/programs/localedef.c (construct_output_path): Use ssize_t
8189         for n.
8190
8191         [BZ #12711]
8192         * locale/C-translit.h.in: Add entry for U20B9.
8193         Patch by pravin.d.s@gmail.com.
8194
8195 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
8196
8197         [BZ #12713]
8198         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8199         ENAMETOOLONG use generic getcwd.
8200         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
8201         in rtld.  Use *stat64.
8202         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8203         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8204         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8205         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8206         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8207         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8208         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8209         __fstatat64 macros.
8210         * include/dirent.h: Add libc_hidden_proto for rewinddir.
8211         * dirent/rewinddir.c: Add libc_hidden_def.
8212         * sysdeps/mach/hurd/rewinddir.c: Likewise.
8213         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
8214
8215         * include/dirent.h (__alloc_dir): Add flags parameter.
8216         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8217         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8218         __alloc_dir.
8219         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
8220         from fdopendir if O_CLOEXEC is already set.
8221
8222 2011-03-15  Alan Modra  <amodra@gmail.com>
8223
8224         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8225         l_tls_firstbyte_offset non-zero.  Save padding offset in
8226         l_tls_firstbyte_offset for later use.
8227         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8228         freeing static tls block.
8229
8230 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
8231
8232         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8233         where #ifdef was intended.  The intent is to prevent ARG_MAX from
8234         being defined by the kernel headers.
8235
8236 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
8237
8238         [BZ #12734]
8239         * resolv/resolv.h: Define RES_NOTLDQUERY.
8240         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8241         no-tld-query and set RES_NOTLDQUERY.
8242         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8243         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8244         modern BIND to search name as TLD unless forbidden.
8245
8246 2011-05-07  Petr Baudis  <pasky@suse.cz>
8247             Ulrich Drepper  <drepper@gmail.com>
8248
8249         [BZ #12393]
8250         * elf/dl-load.c (fillin_rpath): Move trusted path check...
8251         (is_trusted_path): ...to here.
8252         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8253         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8254         using is_trusted_path_normalize() in setuid scripts.
8255
8256 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8257
8258         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8259         __BEGIN/__END_DECLS.
8260
8261 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
8262
8263         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8264         NSS_STATUS_NOTFOUND if no record was found.
8265
8266 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8267
8268         * sunrpc/Makefile (headers): Add rpc/netdb.h.
8269         (headers-not-in-tirpc): Remove rpc/netdb.h
8270         * resolv/netdb.h: Revert last change.
8271
8272 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8273
8274         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8275         circular dependency between libgcc.a and libc.a.
8276
8277 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8278
8279         * resolv/netdb.h: Don't include <rpc/netdb.h>.
8280         * nis/Makefile: Don't install rpcsvc/*.
8281         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8282         instead of <rpc/types.h>.
8283         (MAXHOSTNAMELEN): Define.
8284
8285 2011-05-03  Andreas Schwab  <schwab@redhat.com>
8286
8287         * elf/ldconfig.c (add_dir): Don't crash on empty path.
8288
8289 2011-04-28  Maciej Babinski  <mbabinski@google.com>
8290
8291         [BZ #12714]
8292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8293         gethostbyname4_r when IPv6 results are possible.
8294
8295 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
8296
8297         [BZ #12723]
8298         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8299         _PC_PIPE_BUF handling.
8300
8301 2011-04-30  Bruno Haible  <bruno@clisp.org>
8302
8303         [BZ #12717]
8304         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8305         * resolv/netdb.h (getnameinfo): Change type of flags parameter
8306         to 'int'.
8307         * inet/getnameinfo.c (getnameinfo): Likewise.
8308
8309 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
8310
8311         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8312         to groups setting in database lookup.
8313         * nss/nsswitch.conf: Add initgroups entry.
8314
8315 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
8316
8317         [BZ #12685]
8318         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8319         mode string.
8320         Patch by Eric Blake <eblake@redhat.com>.
8321
8322 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
8323
8324         * sunrpc/Makefile (need-export-routines): Add svc_run.
8325         (routines): Remove svc_run.
8326         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8327         * sunrpc/clnt_perr.c (clnt_perrno): Export.
8328         * sunrpc/svc_run.c (svc_run): Likewise.
8329         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8330
8331 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
8332
8333         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8334         problem in reallocation in last patch.
8335
8336 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
8337
8338         * sunrpc/Makefile: Move inclusion of Rules.
8339
8340 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8341
8342         * nss/nss_files/files-initgroups.c: New file.
8343         * nss/Makefile (libnss_files-routines): Add files-initgroups.
8344         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8345         _nss_files_initgroups_dyn.
8346
8347 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
8348
8349         * elf/elf.h (R_ARM_IRELATIVE): Define.
8350
8351 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8352
8353         * po/ru.po: Update from translation team.
8354
8355 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8356
8357         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8358         dependencies.
8359
8360 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
8361
8362         [BZ #12653]
8363         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8364         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8365         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8366         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8367         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8368
8369 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8370
8371         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8372         differing bytes.
8373         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8375         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8376
8377 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8378
8379         [BZ #12420]
8380         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8381         storing it.
8382         * stdlib/bug-getcontext.c: New file.
8383         * stdlib/Makefile: Add rules to build and run bug-getcontext.
8384
8385 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8386
8387         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8388         instructions into .machine "z9-109".
8389         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8390         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8391
8392 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8393
8394         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8395         between environment variables and auxiliary vector.
8396
8397 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
8398
8399         * Makefile: Add rules to build linkobj/libc.so.
8400         * include/libc-symbols.h: Define libc_hidden_nolink.
8401         * include/rpc/auth.h: Mark functions which are to be hidden.
8402         * include/rpc/auth_des.h: Likewise.
8403         * include/rpc/auth_unix.h: Likewise.
8404         * include/rpc/clnt.h: Likewise.
8405         * include/rpc/des_crypt.h: Likewise.
8406         * include/rpc/key_prot.h: Likewise.
8407         * include/rpc/pmap_clnt.h: Likewise.
8408         * include/rpc/pmap_prot.h: Likewise.
8409         * include/rpc/pmap_rmt.h: Likewise.
8410         * include/rpc/rpc_msg.h: Likewise.
8411         * include/rpc/svc.h: Likewise.
8412         * include/rpc/svc_auth.h: Likewise.
8413         * include/rpc/xdr.h: Likewise.
8414         * nis/Makefile: Link all DSOs against linkobj/libc.so.
8415         * nss/Makefile: Likewise.
8416         * sunrpc/Makefile: Don't install headers.  Build library with normal
8417         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
8418         * sunrpc/auth_des.c: Hide exported symbols by default, export some
8419         for the compat linking library.  Remove use of INTDEF/INTUSE.
8420         * sunrpc/auth_none.c: Likewise.
8421         * sunrpc/auth_unix.c: Likewise.
8422         * sunrpc/authdes_prot.c: Likewise.
8423         * sunrpc/authuxprot.c: Likewise.
8424         * sunrpc/clnt_gen.c: Likewise.
8425         * sunrpc/clnt_perr.c: Likewise.
8426         * sunrpc/clnt_raw.c: Likewise.
8427         * sunrpc/clnt_simp.c: Likewise.
8428         * sunrpc/clnt_tcp.c: Likewise.
8429         * sunrpc/clnt_udp.c: Likewise.
8430         * sunrpc/clnt_unix.c: Likewise.
8431         * sunrpc/des_crypt.c: Likewise.
8432         * sunrpc/des_soft.c: Likewise.
8433         * sunrpc/get_myaddr.c: Likewise.
8434         * sunrpc/key_call.c: Likewise.
8435         * sunrpc/key_prot.c: Likewise.
8436         * sunrpc/netname.c: Likewise.
8437         * sunrpc/pm_getmaps.c: Likewise.
8438         * sunrpc/pm_getport.c: Likewise.
8439         * sunrpc/pmap_clnt.c: Likewise.
8440         * sunrpc/pmap_prot.c: Likewise.
8441         * sunrpc/pmap_prot2.c: Likewise.
8442         * sunrpc/pmap_rmt.c: Likewise.
8443         * sunrpc/publickey.c: Likewise.
8444         * sunrpc/rpc_cmsg.c: Likewise.
8445         * sunrpc/rpc_common.c: Likewise.
8446         * sunrpc/rpc_dtable.c: Likewise.
8447         * sunrpc/rpc_prot.c: Likewise.
8448         * sunrpc/rpc_thread.c: Likewise.
8449         * sunrpc/rtime.c: Likewise.
8450         * sunrpc/svc.c: Likewise.
8451         * sunrpc/svc_auth.c: Likewise.
8452         * sunrpc/svc_authux.c: Likewise.
8453         * sunrpc/svc_raw.c: Likewise.
8454         * sunrpc/svc_run.c: Likewise.
8455         * sunrpc/svc_simple.c: Likewise.
8456         * sunrpc/svc_tcp.c: Likewise.
8457         * sunrpc/svc_udp.c: Likewise.
8458         * sunrpc/svc_unix.c: Likewise.
8459         * sunrpc/svcauth_des.c: Likewise.
8460         * sunrpc/xcrypt.c: Likewise.
8461         * sunrpc/xdr.c: Likewise.
8462         * sunrpc/xdr_array.c: Likewise.
8463         * sunrpc/xdr_float.c: Likewise.
8464         * sunrpc/xdr_intXX_t.c: Likewise.
8465         * sunrpc/xdr_mem.c: Likewise.
8466         * sunrpc/xdr_rec.c: Likewise.
8467         * sunrpc/xdr_ref.c: Likewise.
8468         * sunrpc/xdr_sizeof.c: Likewise.
8469         * sunrpc/xdr_stdio.c: Likewise.
8470
8471 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
8472
8473         [BZ #12650]
8474         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8475         * sysdeps/ia64/dl-tls.h: Likewise.
8476         * sysdeps/powerpc/dl-tls.h: Likewise.
8477         * sysdeps/s390/dl-tls.h: Likewise.
8478         * sysdeps/sh/dl-tls.h: Likewise.
8479         * sysdeps/sparc/dl-tls.h: Likewise.
8480         * sysdeps/x86_64/dl-tls.h: Likewise.
8481         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8482
8483 2011-03-14  Andreas Schwab  <schwab@redhat.com>
8484
8485         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8486         rpath element also skip the following colon.
8487         (expand_dynamic_string_token): Add is_path parameter and pass
8488         down to DL_DST_REQUIRED and _dl_dst_substitute.
8489         (decompose_rpath): Call expand_dynamic_string_token with
8490         non-zero is_path.  Ignore empty rpaths.
8491         (_dl_map_object_from_fd): Call expand_dynamic_string_token
8492         with zero is_path.
8493
8494 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
8495
8496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8497         Make cancelable.
8498
8499 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
8500
8501         [BZ #12655]
8502         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8503         Patch by Filipe David Manana <fdmanana@apache.org>.
8504
8505 2011-04-07  Andreas Schwab  <schwab@redhat.com>
8506
8507         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8508         Maintain aligned stack.
8509         (CHECK_RSP): Remove unused macro.
8510
8511 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
8512
8513         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8514         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8515
8516 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
8517
8518         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8519
8520         * include/features.h: Mention __USE_XOPEN2K8 in comment.
8521
8522 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
8523
8524         [BZ #12518]
8525         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8526         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8527         * sysdeps/x86_64/memmove.c: New file.
8528         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8529         (memcpy): Renamed to ...
8530         (__new_memcpy): This.
8531         (memcpy): Provide GLIBC_2_14 memcpy.
8532         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8533         (memcpy): Provide GLIBC_2_2_5 memcpy.
8534
8535 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8536
8537         [BZ #12631]
8538         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8539
8540 2011-03-30  Andreas Schwab  <schwab@redhat.com>
8541
8542         * misc/syncfs.c: New file.
8543         * misc/Makefile (routines): Add syncfs.
8544         * posix/unistd.h: Declare syncfs.
8545         * sysdeps/unix/syscalls.list: Add syncfs.
8546
8547 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8548
8549         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8550         open_by_handle_at.
8551         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8552         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8554         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8556         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8557         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8558
8559 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8560
8561         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8562         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8563         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8565         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8567         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8568
8569         * io/Makefile: Compile fallocate.c, fallocate64.c, and
8570         sync_file_range.c with -fexceptions.
8571         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8572         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8573         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8574         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8575         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8576         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8577         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8578         sync_file_range as cancellation point
8579         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
8580         now a wrapper around __call_sync_file_range with cancellation handling.
8581         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8582         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
8583         function name to __call_sync_file_range.
8584         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8585         Add call_sync_file_range.
8586
8587 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8588
8589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8590         bits/timex.h.
8591
8592 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8593
8594         * iconv/iconv.h: Fix typo in comment.
8595         * io/fcntl.h: Likewise.
8596         * libio/stdio.h: Likewise.
8597         * posix/spawn.h: Likewise.
8598         * posix/unistd.h: Likewise.
8599         * stdlib/stdlib.h: Likewise.
8600         * time/time.h: Likewise.
8601         * wcsmbs/wchar.h: Likewise.
8602
8603         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8604         open_by_handle): Add.
8605         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8606         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
8607         Augment a few comments.
8608         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8609         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8610         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8611         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8612         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8613         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8614         open_by_handle.
8615
8616         * io/fcntl.h (AT_EMPTY_PATH): Define.
8617
8618 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
8619
8620         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8621         * sysdeps/unix/sysv/linux/bits/time.h: New file.
8622         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8623         to...
8624         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
8625         * Versions.def: Add GLIBC_2.14.
8626         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8627         Export.
8628
8629 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
8630
8631         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8632         round counter.
8633         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8634
8635 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8636
8637         [BZ #12597]
8638         * string/test-strncmp.c (do_page_test): New function.
8639         (check2): Likewise.
8640         (test_main): Call check2.
8641         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8642
8643 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
8644
8645         [BZ #12587]
8646         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8647         Handle cache information in CPU leaf 4.
8648         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8649
8650 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
8651
8652         [BZ #12583]
8653         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8654         character representation.
8655         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8656
8657 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
8658
8659         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8660         END(__isnan) to END(__isnanf) to match function entry point/label
8661         EALIGN(__isnanf,...).
8662
8663 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
8664
8665         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8666
8667 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
8668
8669         [BZ #12510]
8670         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8671         copy from the symbol referenced in the relocation to initialize the
8672         used variable.
8673         Patch by Piotr Bury <pbury@goahead.com>.
8674         * elf/Makefile: Add rules to build and tst-unique3.
8675         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8676         * elf/tst-unique3.cc: New file.
8677         * elf/tst-unique3.h: New file.
8678         * elf/tst-unique3lib.cc: New file.
8679         * elf/tst-unique3lib2.cc: New file.
8680
8681         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8682
8683 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
8684
8685         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8686         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
8687         to _start.
8688
8689 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
8690
8691         * elf/dl-load.c (_dl_map_object): If we are looking for the first
8692         to-be-loaded object along a path to loader is ld.so.
8693
8694 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8695             Ulrich Drepper  <drepper@gmail.com>
8696
8697         * sysdeps/x86_64/memset.S: After aligning destination, code
8698         branches to different locations depending on the value of
8699         misalignment, when multiarch is enabled. Fix this.
8700
8701 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8702
8703         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8704         Set _x86_64_preferred_memory_instruction for AMD processsors.
8705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8706         Set bit_Prefer_SSE_for_memop for AMD processors.
8707
8708 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
8709
8710         * libio/fmemopen.c (fmemopen): Optimize a bit.
8711
8712 2011-03-03  Andreas Schwab  <schwab@redhat.com>
8713
8714         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8715
8716 2011-03-03  Roland McGrath  <roland@redhat.com>
8717
8718         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8719
8720 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
8721
8722         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8723         __bzero_ultra1 instead of __memset_ultra1.
8724
8725 2011-02-23  Andreas Schwab  <schwab@redhat.com>
8726             Ulrich Drepper  <drepper@gmail.com>
8727
8728         [BZ #12509]
8729         * include/link.h (struct link_map): Add l_orig_initfini.
8730         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8731         returning unsuccessfully.
8732         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8733         close of a file loaded at startup, restore the original l_initfini
8734         list.
8735         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8736         list, store the pointer.
8737         * elf/Makefile ($(objpfx)noload-mem): New rule.
8738         (noload-ENV): Define.
8739         (tests): Add $(objpfx)noload-mem.
8740         * elf/noload.c: Include <memcheck.h>.
8741         (main): Call mtrace.  Close all opened handles.
8742
8743 2011-02-17  Andreas Schwab  <schwab@redhat.com>
8744
8745         [BZ #12454]
8746         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8747         dependencies are missing.
8748
8749 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8750
8751         Fix __if_freereq crash: Unlike the generic version which uses free,
8752         Hurd needs munmap.
8753         * sysdeps/mach/hurd/ifreq.h: New file.
8754
8755 2011-01-27  Petr Baudis  <pasky@suse.cz>
8756             Ulrich Drepper  <drepper@gmail.com>
8757
8758         [BZ 12445]#
8759         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8760         to extend_alloca().
8761         * stdio-common/bug23.c: New file.
8762         * stdio-common/Makefile (tests): Add bug23.
8763
8764 2010-09-28  Andreas Schwab  <schwab@redhat.com>
8765             Ulrich Drepper  <drepper@gmail.com>
8766
8767         [BZ #12489]
8768         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8769         before performing relro protection.  At old place add assertion
8770         to make sure nothing changed.
8771
8772 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
8773             Glauber de Oliveira Costa  <glommer@gmail.com>
8774
8775         * elf/elf.h: Add new ARM TLS relocs.
8776
8777 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
8778
8779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8780         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8781         cast from r3.
8782         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
8783         'tests' variable.
8784         * sysdeps/wordsize-64/tst-writev.c: New file.
8785
8786 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
8787
8788         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8789         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8790         insns in _dl_start to prevent a TOC reference before relocs are
8791         resolved.
8792
8793 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
8794
8795         [BZ #12469]
8796         * Makeconfig: Remove RANLIB definition.
8797         * Makerules: Don't use RANLIB.
8798         * aclocal.m4: Remove ranlib test.
8799         * configure.in: No need to check for ranlib.
8800         * elf/rtld-Rules: Don't use RANLIB.
8801
8802 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8803
8804         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8805         protection macro.
8806         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8807         inclusion protection macro.
8808
8809         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8810         SIGRTMIN and SIGRTMAX and print information in that case only when
8811         SIGRTMIN is defined.
8812
8813 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
8814
8815         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8816         arginfo fn returning -1.
8817
8818         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8819         and thousands string is zero terminated.
8820
8821 2011-02-03  Andreas Schwab  <schwab@redhat.com>
8822
8823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8824         sysdeps/unix/sysv/linux/bits/socket.h.
8825
8826 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8827
8828         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8829         (__CPU_COUNT): Remove old macros.
8830         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8831         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8832         (__CPU_ALLOC, __CPU_FREE): Add macros.
8833         (__sched_cpualloc, __sched_cpufree): Add declarations.
8834
8835 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
8836
8837         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8838         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8839         * nscd/aicache.c (addhstaiX): Return timeout of added value.
8840         (readdhstai): Return value of addhstaiX call.
8841         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8842         (addgrbyX): Return value returned by cache_addgr.
8843         (readdgrbyname): Return value returned by addgrbyX.
8844         (readdgrbygid): Likewise.
8845         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8846         (addpwbyX): Return value returned by cache_addpw.
8847         (readdpwbyname): Return value returned by addhstbyX.
8848         (readdpwbyuid): Likewise.
8849         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8850         (addservbyX): Return value returned by cache_addserv.
8851         (readdservbyname): Return value returned by addservbyX:
8852         (readdservbyport): Likewise.
8853         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8854         (addhstbyX): Return value returned by cache_addhst.
8855         (readdhstbyname): Return value returned by addhstbyX.
8856         (readdhstbyaddr): Likewise.
8857         (readdhstbynamev6): Likewise.
8858         (readdhstbyaddrv6): Likewise.
8859         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8860         (readdinitgroups): Return value returned by addinitgroupsX.
8861         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8862         (prune_cache): Keep track of timeout value of re-added entries.
8863         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8864         * nscd/nscd.h: Adjust prototypes of readd* functions.
8865
8866 2011-02-04  Roland McGrath  <roland@redhat.com>
8867
8868         * nis/nis_server.c (nis_servstate): Use the right name for 0.
8869         (nis_stats): Likewise.
8870         * nis/nis_modify.c (nis_modify): Likewise.
8871         * nis/nis_remove.c (nis_remove): Likewise.
8872         * nis/nis_add.c (nis_add): Likewise.
8873
8874         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8875
8876         * posix/fnmatch_loop.c: Add some consts.
8877
8878         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8879
8880 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8881
8882         [BZ #12460]
8883         * config.make.in (config-cflags-novzeroupper): Define.
8884         * configure.in: Substitute libc_cv_cc_novzeroupper.
8885         * elf/Makefile (AVX-CFLAGS): Define.
8886         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8887         (CFLAGS-tst-auditmod4a.c): Likewise.
8888         (CFLAGS-tst-auditmod4b.c): Likewise.
8889         (CFLAGS-tst-auditmod6b.c): Likewise.
8890         (CFLAGS-tst-auditmod6c.c): Likewise.
8891         (CFLAGS-tst-auditmod7b.c): Likewise.
8892         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8893
8894 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
8895
8896         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8897         function to the callback.
8898         Patch partly by Jiri Olsa <jolsa@redhat.com>.
8899
8900 2011-02-02  Andreas Schwab  <schwab@redhat.com>
8901
8902         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8903         of errno.
8904
8905 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
8906
8907         [BZ #11724]
8908         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8909         of constructors.
8910         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8911         of destructors.
8912         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8913
8914         [BZ #11724]
8915         * elf/Makefile: Add rules to build and run new test.
8916         * elf/tst-initorder.c: New file.
8917         * elf/tst-initorder.exp: New file.
8918         * elf/tst-initordera1.c: New file.
8919         * elf/tst-initordera2.c: New file.
8920         * elf/tst-initordera3.c: New file.
8921         * elf/tst-initordera4.c: New file.
8922         * elf/tst-initorderb1.c: New file.
8923         * elf/tst-initorderb2.c: New file.
8924         * elf/tst-order-a1.c: New file.
8925         * elf/tst-order-a2.c: New file.
8926         * elf/tst-order-a3.c: New file.
8927         * elf/tst-order-a4.c: New file.
8928         * elf/tst-order-b1.c: New file.
8929         * elf/tst-order-b2.c: New file.
8930         * elf/tst-order-main.c: New file.
8931         New test case by George Gensure <werkt0@gmail.com>.
8932
8933 2010-10-01  Andreas Schwab  <schwab@redhat.com>
8934
8935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8936         decoding ACE if AI_CANONIDN.
8937
8938 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
8939
8940         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8941
8942 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
8943
8944         * version.h (RELEASE): Bump for 2.13 release.
8945         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8946
8947         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8948
8949         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8950         MADV_NOHUGEPAGE.
8951         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8952         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8953         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8954         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8955         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8957
8958         * posix/getconf.c: Update copyright year.
8959         * catgets/gencat.c: Likewise.
8960         * csu/version.c: Likewise.
8961         * debug/catchsegv.sh: Likewise.
8962         * debug/xtrace.sh: Likewise.
8963         * elf/ldconfig.c: Likewise.
8964         * elf/ldd.bash.in: Likewise.
8965         * elf/sprof.c (print_version): Likewise.
8966         * iconv/iconv_prog.c: Likewise.
8967         * iconv/iconvconfig.c: Likewise.
8968         * locale/programs/locale.c: Likewise.
8969         * locale/programs/localedef.c: Likewise.
8970         * malloc/memusage.sh: Likewise.
8971         * malloc/mtrace.pl: Likewise.
8972         * nscd/nscd.c (print_version): Likewise.
8973         * nss/getent.c: Likewise.
8974
8975         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8976         PF_CAIF, and PF_ALG.
8977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8978
8979 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
8980
8981         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8982         (modules-names): Use them.
8983         (ifunc-test-modules, ifunc-pie-tests): Define.
8984         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8985         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8986         (test-extras): Likewise.
8987         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8988         $(compile-command.c).
8989         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8990         (all-built-dso): Define.
8991         (check-textrel.out, check-execstack.out): Depend on it.
8992
8993         * configure.in: Don't override --enable-multi-arch.
8994
8995 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
8996
8997         [BZ #6812]
8998         * nscd/hstcache.c (tryagain): Define.
8999         (cache_addhst): Return tryagain not notfound for temporary errors.
9000         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9001         failed.
9002
9003 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
9004
9005         [BZ #10563]
9006         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9007         to make the syscall.
9008         * sysdeps/unix/sysv/linux/setgroups.c: New file.
9009
9010         [BZ #12378]
9011         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9012         and fall back to matching as normal character if the string ends before
9013         the matching ']' is found.  This is what POSIX requires.
9014         * posix/testfnm.c: Adjust test result.
9015         * posix/globtest.sh: Adjust test result.  Add new test.
9016         * posix/tst-fnmatch.input: Likewise.
9017         * posix/tst-fnmatch2.c: Add new test.
9018
9019 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
9020
9021         * elf/Makefile (check-execstack): Revert last change.  Depend on
9022         check-execstack.h.
9023         (check-execstack.h): New target.
9024         (generated): Add check-execstack.h.
9025         * elf/check-execstack.c: Include "check-execstack.h".
9026         (main): Revert last change.
9027         (handle_file): Return zero if GNU_STACK is absent and
9028         DEFAULT_STACK_PERMS doesn't include PF_X.
9029
9030 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
9031
9032         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9033         in child fails because the descriptor is already closed.
9034         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9035         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9036         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9037
9038         [BZ #12397]
9039         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9040         syscall.
9041
9042         [BZ #10484]
9043         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9044         temporary buffer used to handle multi lookups locally.
9045         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9046
9047 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9048
9049         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9050         loader is ld.so.
9051
9052 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
9053
9054         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9055         alignment for SSE2.
9056
9057 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9058
9059         [BZ #12394]
9060         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9061         characters.  When rounding increased number of integer digits recompute
9062         number of groups.
9063         * stdio-common/tst-grouping.c: New file.
9064         * stdio-common/Makefile: Add rules to build and run tst-grouping.
9065
9066 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
9067
9068         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9069         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
9070
9071         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9072         void.
9073         * bits/select.h: Likewise.
9074
9075 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
9076
9077         * po/ja.po: Update from translation team.
9078
9079 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
9080
9081         [BZ #11155]
9082         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9083         implementation just like for lxstat, fxstatat, et al.
9084
9085 2010-12-27  Jim Meyering  <meyering@redhat.com>
9086
9087         [BZ #12348]
9088         * posix/regexec.c (build_trtable): Return failure indication upon
9089         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
9090
9091 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
9092
9093         [BZ #12201]
9094         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9095         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9096         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9097         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9098
9099         [BZ #12207]
9100         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9101
9102         [BZ #12204]
9103         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9104         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9105
9106 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9107
9108         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9109         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9110         script has SORT_BY_INIT_PRIORITY.
9111         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9112         NO_CTORS_DTORS_SECTIONS is defined.
9113         * elf/soinit.c: Likewise.
9114         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9115         NO_CTORS_DTORS_SECTIONS is defined.
9116         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9117         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9118         * sysdeps/sh/init-first.c: Likewise.
9119         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9120
9121 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
9122
9123         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9124         always use the slow path.
9125
9126 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
9127
9128         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9129         similar rule which adds the sysdep directories to the header search in
9130         order to pick up the correct platform stackinfo.h.
9131         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9132         perform test if it is, otherwise return successfully without testing.
9133         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9134         DEFAULT_STACK_PERMS define in stackinfo.h.
9135         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9136         defined in stackinfo.h.
9137         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9138         DEFAULT_STACK_PERMS defined in stackinfo.h.
9139         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9140         * sysdeps/ia64/stackinfo.h: Likewise.
9141         * sysdeps/s390/stackinfo.h: Likewise.
9142         * sysdeps/sh/stackinfo.h: Likewise.
9143         * sysdeps/sparc/stackinfo.h: Likewise.
9144         * sysdeps/x86_64/stackinfo.h: Likewise.
9145         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9146         PF_X for powerpc64.  Retain PF_X for powerpc32.
9147
9148 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
9149
9150         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9151         accurately.
9152         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9153         GETDENTS_64BIT_ALIGNED.
9154
9155 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
9156
9157         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9158
9159 2010-12-10  Andreas Schwab  <schwab@redhat.com>
9160
9161         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9162         _GNU_SOURCE.
9163
9164         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9165         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9166         Remove __restrict.
9167         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9168         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9169
9170 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
9171
9172         [BZ #11655]
9173         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9174         are initialized.
9175
9176 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
9177
9178         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9179
9180 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
9181
9182         * po/it.po: Update from translation team.
9183
9184 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9185
9186         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9187         unused codes.
9188
9189 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
9190
9191         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9192
9193 2010-11-24  Andreas Schwab  <schwab@redhat.com>
9194
9195         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9196         specially.
9197         (gaih_getanswer_slice): Likewise.
9198
9199 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
9200
9201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9202
9203 2010-05-31  Petr Baudis  <pasky@suse.cz>
9204
9205         [BZ #11149]
9206         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9207         silently even in the chroot mode.
9208
9209 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
9210
9211         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9212         last patch a bit.  Pretty printing
9213
9214 2010-05-31  Petr Baudis <pasky@suse.cz>
9215
9216         [BZ #10085]
9217         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9218         initialization of skip_initgroups_dyn.
9219
9220 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
9221
9222         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9223         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9224
9225 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
9226
9227         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9228
9229 2010-11-11  Andreas Schwab  <schwab@redhat.com>
9230
9231         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9232         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9233         (tst-fnmatch-ENV): Set MALLOC_TRACE.
9234         ($(objpfx)tst-fnmatch-mem): New rule.
9235         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9236         * posix/tst-fnmatch.c (main): Call mtrace.
9237
9238 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
9239
9240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9241         Support Intel processor model 6 and model 0x2c.
9242
9243 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
9244
9245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9246           signed comparison.
9247
9248 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
9249
9250         [BZ #12205]
9251         * string/test-strncasecmp.c (check_result): New function.
9252         (do_one_test): Use it.
9253         (check1): New function.
9254         (test_main): Use it.
9255         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9256         Support strcasecmp and strncasecmp.
9257
9258 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
9259
9260         [BZ #12194]
9261         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9262         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9263
9264 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9265
9266         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9267         IFUNC support.
9268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9269         memset-x86-64.
9270         * sysdeps/x86_64/multiarch/bzero.S: New file.
9271         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9272         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9273         * sysdeps/x86_64/multiarch/memset.S: New file.
9274         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9276         Set bit_Prefer_SSE_for_memop for Intel processors.
9277         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9278         Define.
9279         (index_Prefer_SSE_for_memop): Define.
9280         (HAS_PREFER_SSE_FOR_MEMOP): Define.
9281
9282 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
9283
9284         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9285         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9286
9287 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
9288
9289         [BZ #12191]
9290         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9291         (__x86_64_raw_data_cache_size_half): Likewise.
9292         (__x86_64_raw_shared_cache_size): Likewise.
9293         (__x86_64_raw_shared_cache_size_half): Likewise.
9294
9295         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9296         (__x86_64_raw_data_cache_size_half): Likewise.
9297         (__x86_64_raw_shared_cache_size): Likewise.
9298         (__x86_64_raw_shared_cache_size_half): Likewise.
9299         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9300         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9301         and __x86_64_raw_shared_cache_size_half.  Round
9302         __x86_64_data_cache_size_half, __x86_64_data_cache_size
9303         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9304         to multiple of 256 bytes.
9305
9306 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
9307
9308         [BZ #12167]
9309         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9310         of inacessible symlinks.  Verify result of symlink before returning it.
9311         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9312         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9313
9314 2010-10-28  Erich Ritz  <erichritz@gmail.com>
9315
9316         * math/math.h (isinf): Fix typo in comment.
9317
9318 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
9319
9320         * po/da.po: Update from translation team.
9321
9322 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
9323
9324         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9325         is added to the list.
9326
9327 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9328             Ulrich Drepper  <drepper@gmail.com>
9329
9330         * elf/dl-object.c (_dl_new_object): Don't append the new object to
9331         the global list here.  Move code to...
9332         (_dl_add_to_namespace_list): ...here.  New function.
9333         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9334         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9335         * elf/dl-load.c (lose): Don't remove the element from the list.
9336         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9337         (_dl_map_object): Likewise.
9338
9339 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
9340
9341         [BZ #12159]
9342         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9343         into all bytes of SSE register.
9344         Patch by Richard Li <richardpku@gmail.com>.
9345
9346 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
9347
9348         [BZ #12140]
9349         * malloc/malloc.c (_int_free): Fill correct number of bytes when
9350         perturbing.
9351
9352 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
9353
9354         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9355         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9356         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9357         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9359         submachine.
9360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9361
9362 2010-10-22  Andreas Schwab  <schwab@redhat.com>
9363
9364         * include/dlfcn.h (__RTLD_SECURE): Define.
9365         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
9366         mode & __RTLD_SECURE instead.
9367         (open_path): Rename preloaded parameter to secure.
9368         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9369         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9370         * elf/dl-deps.c (openaux): Likewise.
9371         * elf/rtld.c (struct map_args): Remove is_preloaded.
9372         (map_doit): Don't use it.
9373         (dl_main): Likewise.
9374         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9375         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9376
9377 2010-09-09  Andreas Schwab  <schwab@redhat.com>
9378
9379         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9380         (sysd-rules-targets): Remove duplicates.
9381         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9382         rtld-%.$o dependency.
9383
9384 2010-10-18  Andreas Schwab  <schwab@redhat.com>
9385
9386         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9387         _dl_map_object do it.
9388
9389 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
9390
9391         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9392         fast fma builtins, define the macros in the C99 standard.
9393         (FP_FAST_FMAF): Likewise.
9394         (FP_FAST_FMAL): Likewise.
9395         * sysdeps/x86_64/bits/mathdef.h: Likewise.
9396
9397         * bits/mathdef.h: Update copyright year.
9398         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9399
9400 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
9401
9402         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9403         builtins, define the macros in the C99 standard.
9404         (FP_FAST_FMAF): Likewise.
9405         (FP_FAST_FMAL): Likewise.
9406         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9407         multiply/add.
9408         (FP_FAST_FMAF): Likewise.
9409
9410 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
9411
9412         [BZ #3268]
9413         * math/libm-test.inc (fma_test): Some new testcases.
9414         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9415         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9416         y and infinite z.  Do multiplication by C already in long double.
9417         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9419         y and infinite z.  Do bitwise or of inexact bit into u.d.
9420         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9421         * sysdeps/i386/fpu/s_fmaf.S: Removed.
9422         * sysdeps/i386/fpu/s_fma.S: Removed.
9423         * sysdeps/i386/fpu/s_fmal.S: Removed.
9424
9425 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
9426
9427         [BZ #3268]
9428         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9430         computation is not scheduled after fetestexcept.  Fix value
9431         of minimum denormal long double.
9432
9433 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
9434
9435         [BZ #3268]
9436         * math/libm-test.inc (fma_test): Add some more tests.
9437         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9438         correctly.
9439
9440 2010-10-15  Andreas Schwab  <schwab@redhat.com>
9441
9442         * scripts/data/localplt-s390-linux-gnu.data: New file.
9443         * scripts/data/localplt-s390x-linux-gnu.data: New file.
9444
9445 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
9446
9447         [BZ #3268]
9448         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9449         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9450         instead of dbl-64.
9451         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9452         inlines.
9453         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9455         if one of x and y is very large and the other is subnormal.
9456         * sysdeps/s390/fpu/s_fmaf.c: New file.
9457         * sysdeps/s390/fpu/s_fma.c: New file.
9458         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9459         * sysdeps/powerpc/fpu/s_fma.S: New file.
9460         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9461         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9462         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9463
9464 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
9465
9466         [BZ #3268]
9467         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9468         fma tests.
9469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9470         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9471         * sysdeps/i386/i686/multiarch/s_fma.c: Include
9472         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9473         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9474         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9475         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9476
9477 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
9478
9479         [BZ #12078]
9480         * posix/regcomp.c (parse_branch): One more memory leak plugged.
9481         * posix/bug-regex31.input: Add test case.
9482
9483 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9484
9485         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9486         * posix/bug-regex31.input: New file.
9487
9488         [BZ #12078]
9489         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9490         (parse_sub_exp): Fix last change, use postorder.
9491
9492         * posix/bug-regex31.c: New file.
9493         * posix/Makefile: Add rules to build and run bug-regex31.
9494
9495         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9496
9497         [BZ #12078]
9498         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9499
9500         [BZ #12108]
9501         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9502         to have entries in sys_siglist.
9503
9504         [BZ #12093]
9505         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9506         be NULL.
9507
9508 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
9509
9510         [BZ #3268]
9511         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9512         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9513         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9514         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9515         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9516         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9517         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9518         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9519         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9520         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9521         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9522         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9523         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9524         * math/ftestexcept.c (fetestexcept): Likewise.
9525         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9526         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9527         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9528         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9529         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9530         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9531         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9532
9533 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9534
9535         [BZ #12107]
9536         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9537         newline.
9538
9539 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
9540
9541         * string/bug-strstr1.c: New file.
9542         * string/Makefile: Add rules to build and run bug-strstr1.
9543
9544 2010-10-05  Eric Blake  <eblake@redhat.com>
9545
9546         [BZ #12092]
9547         * string/str-two-way.h (two_way_long_needle): Always clear memory
9548         when skipping input due to the shift table.
9549
9550 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
9551
9552         [BZ #12005]
9553         * malloc/mcheck.c: Handle large requests.
9554
9555         [BZ #12077]
9556         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9557         for strncmp and strncasecmp.
9558         * string/stratcliff.c: Add tests for strcmp and strncmp.
9559         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9560
9561 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9562
9563         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9564         __set_fpscr.
9565
9566 2010-09-30  Andreas Jaeger  <aj@suse.de>
9567
9568         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9569         (CGROUP_SUPER_MAGIC): Define.
9570         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9571         Handle btrfs and cgroup file systems.
9572         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9573         Likewise.
9574
9575 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
9576
9577         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9578         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9579
9580 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9581
9582         [BZ #12067]
9583         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9584         trying to locate the ELF header.
9585
9586 2010-09-27  Andreas Schwab  <schwab@redhat.com>
9587
9588         [BZ #11611]
9589         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9590         Mask out sign-bit copies when constructing f_fsid.
9591
9592 2010-09-24  Petr Baudis <pasky@suse.cz>
9593
9594         * debug/stack_chk_fail_local.c: Add missing licence exception.
9595         * debug/warning-nop.c: Likewise.
9596
9597 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
9598
9599         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9600         implementing getdents64 using getdents syscall, set d_type if
9601         __ASSUME_GETDENTS32_D_TYPE.
9602
9603 2010-09-16  Andreas Schwab  <schwab@redhat.com>
9604
9605         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9606         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9607
9608 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
9609
9610         [BZ #12037]
9611         * posix/unistd.h: Undo change of feature selection for ftruncate from
9612         2010-01-11.
9613
9614 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
9615
9616         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9617         detection.
9618
9619 2010-09-20  Andreas Schwab  <schwab@redhat.com>
9620
9621         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9622         fanotify_mark.
9623         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9624
9625 2010-09-14  Andreas Schwab  <schwab@redhat.com>
9626
9627         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9628         variables after CHECK_SP call.
9629         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9630
9631 2010-09-13  Andreas Schwab  <schwab@redhat.com>
9632             Ulrich Drepper  <drepper@redhat.com>
9633
9634         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9635         re-relocationg ld.so.
9636         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9637         _dl_init_paths call.
9638         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
9639         here anymore.
9640
9641 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
9642
9643         * resolv/res_init.c (__res_vinit): Count the default server we added.
9644
9645 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
9646             Ulrich Drepper  <drepper@redhat.com>
9647
9648         [BZ #11968]
9649         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9650         (____longjmp_chk): Use %ebx for saving value across system call.
9651         Add unwind info.
9652
9653 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9654
9655         * manual/Makefile: Don't mix pattern rules with normal rules.
9656
9657 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9658
9659         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9660         operation.
9661         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9662         * libio/iofopncook.c (_IO_cookie_init): Likewise.
9663         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9664         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9665         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9666         Likewise.
9667
9668 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
9669
9670         [BZ #11979]
9671         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9672         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9673
9674 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
9675
9676         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9677         * sysdeps/x86_64/addmul_1.S: Likewise.
9678         * sysdeps/x86_64/lshift.S: Likewise.
9679         * sysdeps/x86_64/mul_1.S: Likewise.
9680         * sysdeps/x86_64/rshift.S: Likewise.
9681         * sysdeps/x86_64/sub_n.S: Likewise.
9682         * sysdeps/x86_64/submul_1.S: Likewise.
9683
9684 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9685
9686         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9687         Define __sched_param instead of SCHED_* and sched_param when
9688         <bits/sched.h> is included with __need_schedparam defined.
9689         * bits/sched.h [__need_schedparam]
9690         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9691         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9692         (__defined_schedparam): Define to 1.
9693         (__sched_param): New structure, identical to sched_param.
9694         (__need_schedparam): Undefine.
9695
9696 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
9697
9698         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9699         (epoll_create1): Declare.
9700
9701         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9702
9703 2010-08-31  Andreas Schwab  <schwab@redhat.com>
9704
9705         [BZ #7066]
9706         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9707         shifting retval into place.
9708
9709 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
9710
9711         * nis/rpcsvc/nis.h: Update copyright notice.
9712         * nis/rpcsvc/nis.x: Likewise.
9713         * nis/rpcsvc/nis_callback.h: Likewise.
9714         * nis/rpcsvc/nis_callback.x: Likewise.
9715         * nis/rpcsvc/nis_object.x: Likewise.
9716         * nis/rpcsvc/nis_tags.h: Likewise.
9717         * nis/rpcsvc/yp.h: Likewise.
9718         * nis/rpcsvc/yp.x: Likewise.
9719         * nis/rpcsvc/ypupd.h: Likewise.
9720         * nis/yp_xdr.c: Likewise.
9721         * nis/ypupdate_xdr.c: Likewise.
9722
9723         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
9724         mainly the body of pmap_getport.  Add parameters to specify timeouts.
9725         (pmap_getport): Use __libc_rpc_getport.
9726         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9727         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9728         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9729
9730 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
9731
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9733         fanotify_mark.
9734
9735 2010-08-27  Roland McGrath  <roland@redhat.com>
9736
9737         * sysdeps/i386/i686/multiarch/Makefile
9738         (CFLAGS-varshift.c): New variable.
9739
9740 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
9741
9742         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9743         * sysdeps/i386/i686/multiarch/varshift.c: New file.
9744
9745         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9746
9747         * sysdeps/x86_64/strlen.S: Minimal code improvement.
9748
9749 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9750
9751         * sysdeps/x86_64/strlen.S: Unroll the loop.
9752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9753         strlen-sse2 strlen-sse2-bsf.
9754         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9755         __strlen_no_bsf if bit_Slow_BSF is set.
9756         (__strlen_sse42): Removed.
9757         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9758         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9759
9760 2010-08-25  Roland McGrath  <roland@redhat.com>
9761
9762         * sysdeps/x86_64/multiarch/varshift.S: File removed.
9763         * sysdeps/x86_64/multiarch/varshift.c: New file.
9764         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9765         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9766         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9767         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9768
9769 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9770
9771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9772         strlen-sse2 strlen-sse2-bsf.
9773         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9774         __strlen_sse2_bsf if bit_Slow_BSF is unset.
9775         (__strlen_sse2): Removed.
9776         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9777         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9779         bit_Slow_BSF for Atom.
9780         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9781         (index_Slow_BSF): Define.
9782         (HAS_SLOW_BSF): Define.
9783
9784 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
9785
9786         [BZ #10851]
9787         * resolv/res_init.c (__res_vinit): When no server address at all
9788         is given default to loopback.
9789
9790 2010-08-24  Roland McGrath  <roland@redhat.com>
9791
9792         * configure.in: Remove config-name.h generation.
9793         * configure: Regenerated.
9794         * config-name.in: File removed.
9795         * scripts/config-uname.sh: New file.
9796         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9797         ($(objdir)config-name.h): New target.
9798
9799         * sunrpc/rpc_parse.h: Avoid nested comment.
9800
9801 2010-08-24  Richard Henderson  <rth@redhat.com>
9802             Ulrich Drepper  <drepper@redhat.com>
9803             H.J. Lu  <hongjiu.lu@intel.com>
9804
9805         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9807         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9808         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
9809         _mm_alignr_epi8 with _mm_loadu_si128.
9810         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9811         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9812         (__m128i_shift_right): Removed.
9813         * sysdeps/i386/i686/multiarch/varshift.h: New file.
9814         * sysdeps/i386/i686/multiarch/varshift.S: New file.
9815         * sysdeps/x86_64/multiarch/varshift.h: New file.
9816         * sysdeps/x86_64/multiarch/varshift.S: New file.
9817
9818 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
9819
9820         * configure.in: Move assembler checks to before sysdep dir checking.
9821
9822 2010-08-20  Petr Baudis  <pasky@suse.cz>
9823
9824         * LICENSES: Sync the sunrpc license.
9825
9826 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
9827
9828         * sunrpc/auth_des.c: Update copyright notice once again.
9829         * sunrpc/auth_none.c: Likewise.
9830         * sunrpc/auth_unix.c: Likewise.
9831         * sunrpc/authdes_prot.c: Likewise.
9832         * sunrpc/authuxprot.c: Likewise.
9833         * sunrpc/bindrsvprt.c: Likewise.
9834         * sunrpc/clnt_gen.c: Likewise.
9835         * sunrpc/clnt_perr.c: Likewise.
9836         * sunrpc/clnt_raw.c: Likewise.
9837         * sunrpc/clnt_simp.c: Likewise.
9838         * sunrpc/clnt_tcp.c: Likewise.
9839         * sunrpc/clnt_udp.c: Likewise.
9840         * sunrpc/clnt_unix.c: Likewise.
9841         * sunrpc/des_crypt.c: Likewise.
9842         * sunrpc/des_soft.c: Likewise.
9843         * sunrpc/get_myaddr.c: Likewise.
9844         * sunrpc/getrpcport.c: Likewise.
9845         * sunrpc/key_call.c: Likewise.
9846         * sunrpc/key_prot.c: Likewise.
9847         * sunrpc/openchild.c: Likewise.
9848         * sunrpc/pm_getmaps.c: Likewise.
9849         * sunrpc/pm_getport.c: Likewise.
9850         * sunrpc/pmap_clnt.c: Likewise.
9851         * sunrpc/pmap_prot.c: Likewise.
9852         * sunrpc/pmap_prot2.c: Likewise.
9853         * sunrpc/pmap_rmt.c: Likewise.
9854         * sunrpc/rpc/auth.h: Likewise.
9855         * sunrpc/rpc/auth_unix.h: Likewise.
9856         * sunrpc/rpc/clnt.h: Likewise.
9857         * sunrpc/rpc/des_crypt.h: Likewise.
9858         * sunrpc/rpc/key_prot.h: Likewise.
9859         * sunrpc/rpc/netdb.h: Likewise.
9860         * sunrpc/rpc/pmap_clnt.h: Likewise.
9861         * sunrpc/rpc/pmap_prot.h: Likewise.
9862         * sunrpc/rpc/pmap_rmt.h: Likewise.
9863         * sunrpc/rpc/rpc.h: Likewise.
9864         * sunrpc/rpc/rpc_des.h: Likewise.
9865         * sunrpc/rpc/rpc_msg.h: Likewise.
9866         * sunrpc/rpc/svc.h: Likewise.
9867         * sunrpc/rpc/svc_auth.h: Likewise.
9868         * sunrpc/rpc/types.h: Likewise.
9869         * sunrpc/rpc/xdr.h: Likewise.
9870         * sunrpc/rpc_clntout.c: Likewise.
9871         * sunrpc/rpc_cmsg.c: Likewise.
9872         * sunrpc/rpc_common.c: Likewise.
9873         * sunrpc/rpc_cout.c: Likewise.
9874         * sunrpc/rpc_dtable.c: Likewise.
9875         * sunrpc/rpc_hout.c: Likewise.
9876         * sunrpc/rpc_main.c: Likewise.
9877         * sunrpc/rpc_parse.c: Likewise.
9878         * sunrpc/rpc_parse.h: Likewise.
9879         * sunrpc/rpc_prot.c: Likewise.
9880         * sunrpc/rpc_sample.c: Likewise.
9881         * sunrpc/rpc_scan.c: Likewise.
9882         * sunrpc/rpc_scan.h: Likewise.
9883         * sunrpc/rpc_svcout.c: Likewise.
9884         * sunrpc/rpc_tblout.c: Likewise.
9885         * sunrpc/rpc_util.c: Likewise.
9886         * sunrpc/rpc_util.h: Likewise.
9887         * sunrpc/rpcinfo.c: Likewise.
9888         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9889         * sunrpc/rpcsvc/key_prot.x: Likewise.
9890         * sunrpc/rpcsvc/klm_prot.x: Likewise.
9891         * sunrpc/rpcsvc/mount.x: Likewise.
9892         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9893         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9894         * sunrpc/rpcsvc/rex.x: Likewise.
9895         * sunrpc/rpcsvc/rstat.x: Likewise.
9896         * sunrpc/rpcsvc/rusers.x: Likewise.
9897         * sunrpc/rpcsvc/sm_inter.x: Likewise.
9898         * sunrpc/rpcsvc/spray.x: Likewise.
9899         * sunrpc/rpcsvc/yppasswd.x: Likewise.
9900         * sunrpc/rtime.c: Likewise.
9901         * sunrpc/svc.c: Likewise.
9902         * sunrpc/svc_auth.c: Likewise.
9903         * sunrpc/svc_authux.c: Likewise.
9904         * sunrpc/svc_raw.c: Likewise.
9905         * sunrpc/svc_run.c: Likewise.
9906         * sunrpc/svc_simple.c: Likewise.
9907         * sunrpc/svc_tcp.c: Likewise.
9908         * sunrpc/svc_udp.c: Likewise.
9909         * sunrpc/svc_unix.c: Likewise.
9910         * sunrpc/svcauth_des.c: Likewise.
9911         * sunrpc/xcrypt.c: Likewise.
9912         * sunrpc/xdr.c: Likewise.
9913         * sunrpc/xdr_array.c: Likewise.
9914         * sunrpc/xdr_float.c: Likewise.
9915         * sunrpc/xdr_mem.c: Likewise.
9916         * sunrpc/xdr_rec.c: Likewise.
9917         * sunrpc/xdr_ref.c: Likewise.
9918         * sunrpc/xdr_sizeof.c: Likewise.
9919         * sunrpc/xdr_stdio.c: Likewise.
9920
9921         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9922         handling.
9923
9924 2010-08-19  Andreas Schwab  <schwab@redhat.com>
9925
9926         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9927
9928 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
9929
9930         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9931         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9932         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9933         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9934         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9935         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9936         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9937         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9939         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9940         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9941         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9942         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9943         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9944
9945 2010-07-26  Anton Blanchard  <anton@samba.org>
9946
9947         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9948         * malloc/arena.c (heap_trim): Likewise.
9949
9950 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
9951
9952         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9953         here.  Not...
9954         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9955         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9956
9957 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9958
9959         * sysdeps/i386/elf/Makefile: New file.
9960
9961 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9962
9963         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9964         from fanotify_init.
9965         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9967
9968 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
9969
9970         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9971         of strncasecmp_l.
9972         * sysdeps/multiarch/strcmp.S: Likewise.
9973
9974 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
9975
9976         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9977         strncase_l-nonascii.
9978         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9979         Add strncase_l-ssse3.
9980         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9981         * sysdeps/x86_64/strcmp.S: Likewise.
9982         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9983         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9984         * sysdeps/x86_64/strncase.S: New file.
9985         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9986         * sysdeps/x86_64/strncase_l.S: New file.
9987         * string/Makefile (strop-tests): Add strncasecmp.
9988         * string/test-strncasecmp.c: New file.
9989
9990         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9991         warning.
9992
9993         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9994         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9995
9996 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9997
9998         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9999
10000 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
10001
10002         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10003         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10004         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10005
10006 2010-05-01  Alan Modra  <amodra@gmail.com>
10007
10008         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10009         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10010         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10011         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10012         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10013         tidying.  Don't tail-call __sigjmp_save for static lib.
10014         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10015         save location.
10016         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10017         (CALL_MCOUNT): Add eh info, and nop after bl.
10018         (TAIL_CALL_SYSCALL_ERROR): New macro.
10019         (PSEUDO_RET): Use it.
10020         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10021         Correct save location of integer regs and cr.
10022         (_dl_profile_resolve): Correct cr save location.  Delete nops
10023         after bl when SHARED.  Reduce cfi size a little by better
10024         placement of cfi directives.
10025         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10026         make a stack frame.  Instead use parm save area as a temp.
10027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10028         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
10029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10030         Don't make a stack frame for parent, use parm save area.
10031         Increase child stack frame to 112 bytes.  Don't save unused reg,
10032         and adjust reg usage.  Set up cfi on error recovery and
10033         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10035         (__makecontext): Add dummy nop after jump to exit.
10036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10037         Use correct parm save area and cr save, reduce stack frame.
10038         Correct cfi for possible PSEUDO_RET frame setup.
10039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10040         Branch to local label emitted by PSEUDO_RET rather than
10041         __syscall_error.
10042
10043 2010-08-12  Andreas Schwab  <schwab@redhat.com>
10044
10045         [BZ #11904]
10046         * locale/programs/locale.c (print_assignment): New function.
10047         (show_locale_vars): Use it.
10048
10049 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
10050
10051         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10052         field.
10053         (struct statfs64): Likewise.
10054         (_STATFS_F_FLAGS): Define.
10055         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10056         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10057         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10058         (ST_VALID): Define locally.
10059         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10060         __statvfs_getflags, use the provided value.
10061         * sysdeps/unix/sysv/linux/kernel-features.h: Define
10062         __ASSUME_STATFS_F_FLAGS.
10063
10064         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10065
10066         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10067         Add sys/fanotify.h.
10068         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10069         fanotify_mask for GLIBC_2.13.
10070         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10071         fanotify_init and fanotify_mark.
10072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10073         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10074
10075         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10076         Add prlimit.
10077         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10078         prlimit64 for GLIBC_2.13.
10079         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10080         prlimit64.
10081         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10082         syscall.
10083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10085         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10086         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10087         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
10088         add prlimit alias.
10089         * sysdeps/unix/sysv/linux/prlimit.c: New file.
10090
10091         [BZ #11903]
10092         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10093         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10094
10095         * nss/Makefile: Add rules to build and run tst-nss-test1.
10096         * shlib-versions: Add entry for libnss_test1.
10097         * nss/nss_test1.c: New file.
10098         * nss/tst-nss-test1.c: New file.
10099
10100         * nss/nsswitch.c (__nss_database_custom): Define new variable.
10101         (__nss_configure_lookup): Set appropriate entry in
10102         __nss_configure_lookup to true.
10103         * nss/nsswitch.h: Define enum with indeces of databases in
10104         databases and __nss_database_custom arrays.  Declare
10105         __nss_database_custom.
10106         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10107         to avoid using nscd when custom rules are installed.
10108         * nss/getXXbyYY_r.c: Likewise.
10109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10110
10111         * nss/nss_files/files-parse.c: Whitespace fixes.
10112
10113 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
10114
10115         [BZ #11883]
10116         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10117         * posix/fnmatch_loop.c: Likewise.
10118
10119 2010-07-17  Andi Kleen  <ak@linux.intel.com>
10120
10121         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10122         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10123         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10124         * Versions.def [GLIBC_2.13]: Add.
10125
10126 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
10127
10128         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10129         Also fail if tpwd after pwuid call is NULL.
10130
10131 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10132
10133         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10134         when converting to ms.
10135
10136 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10137
10138         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10139         EOPNOTSUPP errors with ENOTTY.
10140         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10141         EOPNOTSUPP errors with ENOTTY.
10142
10143 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
10144
10145         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10146         Add strcasecmp_l-ssse3.
10147         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10148         strcasecmp.
10149         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10150         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10151         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10152
10153 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
10154
10155         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10156
10157         * string/Makefile (strop-tests): Add strcasecmp.
10158         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10159         strcasecmp_l-nonascii.
10160         (gen-as-const-headers): Add locale-defines.sym.
10161         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10162         * sysdeps/x86_64/strcasecmp.S: New file.
10163         * sysdeps/x86_64/strcasecmp_l.S: New file.
10164         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10165         * sysdeps/x86_64/locale-defines.sym: New file.
10166         * string/test-strcasecmp.c: New file.
10167
10168         * string/test-strcasestr.c: Test both ends of the range of characters.
10169         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10170
10171 2010-07-29  Roland McGrath  <roland@redhat.com>
10172
10173         [BZ #11856]
10174         * manual/locale.texi (Yes-or-No Questions): Fix example code.
10175
10176 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
10177
10178         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10179         for ld.so.
10180
10181 2010-07-27  Andreas Schwab  <schwab@redhat.com>
10182
10183         * manual/memory.texi (Malloc Tunable Parameters): Document
10184         M_PERTURB.
10185
10186 2010-07-26  Roland McGrath  <roland@redhat.com>
10187
10188         [BZ #11840]
10189         * configure.in (-fgnu89-inline check): Set and substitute
10190         gnu89_inline, not libc_cv_gnu89_inline.
10191         * configure: Regenerated.
10192         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10193
10194 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
10195
10196         * string/test-strnlen.c: New file.
10197         * string/Makefile (strop-tests): Add strnlen.
10198         * string/tester.c (test_strnlen): Add a few more test cases.
10199         * string/tst-strlen.c: Better error reporting.
10200
10201         * sysdeps/x86_64/strnlen.S: New file.
10202
10203 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
10204
10205         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10206         lower-latency instructions.
10207
10208 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
10209
10210         * string/test-strcasestr.c: New file.
10211         * string/test-strstr.c: New file.
10212         * string/Makefile (strop-tests): Add strstr and strcasestr.
10213         * string/str-two-way.h: Don't undefine MAX.
10214         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10215
10216 2010-07-21  Andreas Schwab  <schwab@redhat.com>
10217
10218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10219         strcasestr-nonascii.
10220         (CFLAGS-strcasestr-nonascii.c): Define.
10221         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10222         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10223         Remove unused attribute.
10224
10225 2010-07-20  Roland McGrath  <roland@redhat.com>
10226
10227         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10228         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
10229         ld.so.cache was broken.  With it, there is no way to disable dsocaps
10230         like LD_HWCAP_MASK can disable hwcaps.
10231
10232 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10233
10234         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10235
10236 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
10237
10238         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10239         call in strcasestr.
10240         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10241         __strcasestr_sse42_nonascii.
10242         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10243         strcasestr-nonascii.c.
10244         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10245
10246 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
10247
10248         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10249         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10250         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10251         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10252
10253 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
10254
10255         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10256         fcntl.
10257
10258 2010-07-06  Andreas Schwab  <schwab@redhat.com>
10259
10260         [BZ #11577]
10261         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10262         dl_signal_cerror.
10263
10264 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
10265
10266         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10267         _PC_PIPE_BUF using F_GETPIPE_SZ.
10268
10269 2010-07-05  Roland McGrath  <roland@redhat.com>
10270
10271         * manual/arith.texi (Rounding Functions): Fix rint description
10272         implicit in round description.
10273
10274 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
10275
10276         * elf/Makefile: Fix linking for a few tests to make recent linker
10277         happy.
10278
10279 2010-06-30  Andreas Schwab  <schwab@redhat.com>
10280
10281         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10282         $(common-objpfx)libc_nonshared.a.
10283
10284 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
10285
10286         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10287         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10288         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10289         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10290         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10291         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10292         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10293         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10308         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10309         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10310         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10311         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10312         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10313         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10314         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10315         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10316         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10317         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10318         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10319         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10334
10335 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10336
10337         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10338         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
10339         * string/memmove.c (memmove): Renamed to ...
10340         (MEMMOVE): ...this.  Default to memmove.
10341         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10342         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10343         (END_CHK): Define.
10344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10345         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10346         mempcpy-ssse3-back memmove-ssse3-back.
10347         * sysdeps/x86_64/multiarch/bcopy.S: New file .
10348         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10349         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10350         * sysdeps/x86_64/multiarch/memcpy.S: New file.
10351         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10352         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10353         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10354         * sysdeps/x86_64/multiarch/memmove.c: New file.
10355         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10356         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10357         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10358         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10359         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10361         Define.
10362         (index_Fast_Copy_Backward): Define.
10363         (HAS_ARCH_FEATURE): Define.
10364         (HAS_FAST_REP_STRING): Define.
10365         (HAS_FAST_COPY_BACKWARD): Define.
10366
10367 2010-06-21  Andreas Schwab  <schwab@redhat.com>
10368
10369         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10370         Restore proper fallback handling.
10371
10372 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
10373
10374         [BZ #11701]
10375         * posix/group_member.c (__group_member): Correct checking loop.
10376
10377         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10378         OOM in getpwuid_r correctly.  Return error number when the caller
10379         should return, otherwise -1.
10380         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10381         call returning > 0 value.
10382         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10383
10384 2010-06-07  Andreas Schwab  <schwab@redhat.com>
10385
10386         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10387         libc_nonshared.a from targets in modules-names.
10388
10389 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
10390
10391         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10392         requires it.
10393
10394 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
10395
10396         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10397         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10399         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10400
10401 2010-06-02  Andreas Schwab  <schwab@redhat.com>
10402
10403         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10404
10405 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
10406
10407         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10408         and F_GETPIPE_SZ.
10409         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10410         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10411         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10413         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10414         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10415
10416 2010-06-14  Roland McGrath  <roland@redhat.com>
10417
10418         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10419
10420 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
10421
10422         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10423         __REDIRECT followed by __THROW.
10424         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10425         * posix/getopt.h (getopt): Likewise.
10426
10427 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10428
10429         * hurd/lookup-at.c (__file_name_lookup_at): Accept
10430         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
10431         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10432         in AT_FLAGS.
10433         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10434         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10435
10436 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
10437
10438         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10439
10440 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
10441
10442         [BZ #11640]
10443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10444         Properly check family and model.
10445
10446 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
10447
10448         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10449
10450 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
10451
10452         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10453
10454 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
10455
10456         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10457         symbol reference.
10458
10459 2010-05-19  Andreas Schwab  <schwab@redhat.com>
10460
10461         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10462         symbol reference.
10463
10464 2010-05-21  Andreas Schwab  <schwab@redhat.com>
10465
10466         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10467         and internal_recvmmsg.
10468         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10469         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10470         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10471         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10472
10473         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10474         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10475         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10476
10477 2010-05-20  Andreas Schwab  <schwab@redhat.com>
10478
10479         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10480
10481 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
10482
10483         POWER7 optimizations.
10484         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10485         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10486
10487 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
10488
10489         * version.h: Update for 2.13 development version.
10490
10491 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
10492
10493         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10494         exceptions.  Return 0.
10495
10496 2010-05-07  Roland McGrath  <roland@redhat.com>
10497
10498         * elf/ldconfig.c (main): Add a const.
10499
10500 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
10501
10502         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10503         (args_options): Add no-idn option.
10504         (ahosts_keys_int): Add idn_flags to ai_flags.
10505         (parse_option): Handle 'i' option to clear idn_flags.
10506
10507         * malloc/malloc.c (_int_free): Possible race in the most recently
10508         added check.  Only act on the data if no current modification
10509         happened.
10510
10511 See ChangeLog.17 for earlier changes.