Remove __ASSUME_XFS_RESTRICTED_CHOWN.
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/unix/sysv/linux/kernel-features.h
4         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8         Remove conditional code.
9
10 2014-06-25  Will Newton  <will.newton@linaro.org>
11
12         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13         (_dl_arm_cap_flags): Add HWCAP2 values.
14         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15         (_DL_HWCAP_COUNT): Increase to 37.
16         (_DL_HWCAP_LAST): New define.
17         (_DL_HWCAP2_LAST): New define.
18         (_dl_procinfo): Add support for printing
19         AT_HWCAP2 entries.
20         (_dl_string_hwcap): Use _dl_hwcap_string.
21
22 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23
24         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25
26 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27
28         * README: Do not mention ports directory.
29
30         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31         Remove macro.
32         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33         <kernel-features.h>.
34         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35         conditional variable definition.
36         (__futimes): Update comment.
37         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
39
40         [BZ #16560]
41         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42         arguments close to 0.
43         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44         Likewise.
45         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46         Likewise.
47         * math/auto-libm-test-in: Add more tests of exp10.
48         * math/auto-libm-test-out: Regenerated.
49         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50
51         * sysdeps/unix/sysv/linux/kernel-features.h
52         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
53         * sysdeps/unix/sysv/linux/readv.c: Do not include
54         <kernel-features.h>.
55         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
56         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
57         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
58         unconditional.
59         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
60         conditional code.
61         * sysdeps/unix/sysv/linux/writev.c: Do not include
62         <kernel-features.h>.
63         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
64         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
65         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
66         unconditional.
67         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
68         conditional code.
69
70 2014-06-25  Will Newton  <will.newton@linaro.org>
71
72         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
73         comment changes throughout the file.  Remove checks
74         for HAVE_*_H definitions that are not required.
75         (__gen_tempname): Call abort if an unknown kind value is
76         passed.
77
78 2014-06-25  Andreas Schwab  <schwab@suse.de>
79
80         [BZ #17086]
81         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
82         scalbln, scalblnf, scalblnl in libc.
83
84 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
85
86         [BZ #17086]
87         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
88         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
89         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
90
91 2014-06-24  Roland McGrath  <roland@hack.frob.com>
92
93         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
94         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
95         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
96         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
97         Update #include.
98         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
99         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
100         Update #include.
101         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
102         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
103         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
104         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
105         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
106         * sysdeps/x86/bits/pthreadtypes.h: ... here.
107         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
108         * sysdeps/x86/bits/semaphore.h: ... here.
109         * sysdeps/x86/nptl/elide.h: Moved ...
110         * sysdeps/x86/elide.h: ... here.
111         * sysdeps/x86_64/nptl/Implies: File removed.
112         * sysdeps/i386/nptl/Implies: File removed.
113
114 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
115
116         [BZ #16539]
117         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
118         return the argument for normal arguments with exponent below -64.
119         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
120         Likewise.
121         * math/auto-libm-test-in: Add another test of expm1.
122         * math/auto-libm-test-out: Regenerated.
123
124         [BZ #16287]
125         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
126         calling __erfcl for arguments at least 16.
127         * math/auto-libm-test-in: Add more tests of erf.
128         * math/auto-libm-test-out: Regenerated.
129
130         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
131         individual architectures.
132         * sysdeps/unix/sysv/linux/configure: Regenerated.
133         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
134         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
135         * sysdeps/unix/sysv/linux/powerpc/configure.ac
136         (ldd_rewrite_script): Define variable.
137         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
139         file.
140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
141         generated file.
142         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
143         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
144         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
145         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
146         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
147         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
148         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
149         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
150
151 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
152
153         [BZ #17084]
154         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
155         Rename member __data.d to __data.__elision_data.
156
157 2014-06-24  Wilco  <wdijkstr@arm.com>
158
159         * NEWS: Add 16918 to fixed bug list.
160
161 2014-06-24  Wilco  <wdijkstr@arm.com>
162
163         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
164
165 2014-06-24  Wilco  <wdijkstr@arm.com>
166
167         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
168         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
169         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
170         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
171         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
172         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
173         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
174         Use _FPU_MASK_RM.
175
176 2014-06-24  Wilco  <wdijkstr@arm.com>
177
178         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
179
180 2014-06-24  Wilco  <wdijkstr@arm.com>
181
182         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
183         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
184         * sysdeps/arm/fesetround.c (fesetround): Remove space.
185         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
186
187 2014-06-24  Wilco  <wdijkstr@arm.com>
188
189         [BZ #16918]
190         * sysdeps/arm/feupdateenv.c (feupdateenv):
191         Rewrite to reduce FPSCR accesses and fix return value.
192
193 2014-06-24  Wilco  <wdijkstr@arm.com>
194
195         * sysdeps/arm/fclrexcpt.c (feclearexcept):
196         Optimize to avoid unnecessary FPSCR writes.
197         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
198         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
199         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
200         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
201
202 2014-06-24  Wilco  <wdijkstr@arm.com>
203
204         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
205         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
206         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
207         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
208         Call libc_fetestexcept_vfp.
209         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
210         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
211         __SOFTFP__ ifdef so that they can be built for softfp.
212
213 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
214
215         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
216         argument type signed char.
217
218         * Makerules (check-abi): Dump diff of symlist if the test
219         fails.
220
221 2014-06-23  Roland McGrath  <roland@hack.frob.com>
222
223         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
224         using abort.
225
226         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
227         Remove unused variable ST.
228
229 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
230
231         [BZ #16354]
232         [BZ #17061]
233         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
234         small arguments before calling __expm1.
235         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
236         small arguments before calling __expm1f.
237         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
238         small arguments before calling __expm1l.
239         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
240         Likewise.
241         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
242         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
243         spurious underflow for some cosh tests.
244         * math/auto-libm-test-out: Regenerated.
245         * sysdeps/i386/fpu/libm-test-ulps: Update.
246
247         [BZ #17050]
248         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
249         (__ieee754_y1): Set errno if return value overflows.
250         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
251         (__ieee754_y1f): Set errno if return value overflows.
252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
253         (__ieee754_y1l): Set errno if return value overflows.
254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
255         (__ieee754_y1l): Set errno if return value overflows.
256         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
257         * math/auto-libm-test-out: Regenerated.
258
259         * math/gen-auto-libm-tests.c: Document use of
260         ignore-zero-inf-sign.
261         (input_flag_type): Add value flag_ignore_zero_inf_sign.
262         (input_flags): Add ignore-zero-inf-sign.
263         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
264         * math/gen-libm-test.pl (generate_testfile): Handle
265         ignore-zero-inf-sign.
266         * math/auto-libm-test-in: Mark some cpow tests with
267         ignore-zero-inf-sign and some with xfail-rounding.
268         * math/auto-libm-test-out: Regenerated.
269         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
270         * sysdeps/i386/fpu/libm-test-ulps: Update.
271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
272
273         [BZ #16315]
274         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
275         overflowing or underflowing operations take place with sign of
276         result.
277         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
278         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
279         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
280         (__ieee754_pow): Recompute overflowing and underflowing results in
281         original rounding mode.
282         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
283         (__powl_helper): Allow negative argument X and scale negated value
284         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
285         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
286         overflowing or underflowing operations take place with sign of
287         result.
288         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
289         Include <math.h>.
290         * math/auto-libm-test-in: Add more tests of pow.
291         * math/auto-libm-test-out: Regenerated.
292         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
293         (pow_tonearest_test_data): Remove.
294         (pow_test_tonearest): Likewise.
295         (pow_towardzero_test_data): Likewise.
296         (pow_test_towardzero): Likewise.
297         (pow_downward_test_data): Likewise.
298         (pow_test_downward): Likewise.
299         (pow_upward_test_data): Likewise.
300         (pow_test_upward): Likewise.
301         (main): Don't call removed functions.
302         * sysdeps/i386/fpu/libm-test-ulps: Update.
303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
304
305 2014-06-23  Roland McGrath  <roland@hack.frob.com>
306
307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
308         Moved ...
309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
311         Moved ...
312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
314         Moved ...
315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
317         Moved ...
318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
320         File removed.
321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
322         File removed.
323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
324         File removed.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
326         File removed.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
328         File removed.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
330         File removed.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
332         File removed.
333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
334         File removed.
335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
336         File removed.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
338         File removed.
339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
340         File removed.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
342         File removed.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
344         Moved ...
345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
347         Moved ...
348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
349         ... here.
350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
351         Moved ...
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
354         Moved ...
355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
357         Moved ...
358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
360         Moved ...
361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
363         Moved ...
364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
366         Moved ...
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
369         Moved ...
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
373         ... here.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
375         Moved ...
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
378         Moved ...
379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
380         ... here.
381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
382         Moved ...
383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
384         ... here.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
386         Moved ...
387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
388         ... here.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
390         Moved ...
391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
393         Moved ...
394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
398         Moved ...
399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
400         ... here.
401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
402         Moved ...
403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
404         ... here.
405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
406         Moved ...
407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
409         Moved ...
410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
412         Moved ...
413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
415         Moved ...
416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
418         Moved ...
419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
420         ... here.
421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
422         Moved ...
423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
425         Moved ...
426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
428         Moved ...
429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
431         Moved ...
432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
436         Moved ...
437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
439         Moved ...
440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
442         Moved ...
443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
444         ... here.
445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
446         Moved ...
447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
448         ... here.
449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
450         Moved ...
451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
452         ... here.
453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
454         Moved ...
455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
457         Moved ...
458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
460         Moved ...
461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
463         Moved ...
464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
465         ... here.
466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
467         Moved ...
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
469         ... here.
470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
471         Moved ...
472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
473         ... here.
474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
475         Moved ...
476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
478         Moved ...
479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
480
481 2014-06-23  Will Newton  <will.newton@linaro.org>
482             Wilco  <wdijkstr@arm.com>
483
484         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
485         implementation.  Include get-rounding-mode.h.
486         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
487         [!libc_feholdsetround_noex_ctx]: Define
488         libc_feholdsetround_noex_ctx.
489         [!libc_feholdsetround_noexf_ctx]: Define
490         libc_feholdsetround_noexf_ctx.
491         [!libc_feholdsetround_noexl_ctx]: Define
492         libc_feholdsetround_noexl_ctx.
493         (libc_feholdsetround_ctx): New function.
494         (libc_feresetround_ctx): New function.
495         (libc_feholdsetround_noex_ctx): New function.
496         (libc_feresetround_noex_ctx): New function.
497
498 2014-06-23  Roland McGrath  <roland@hack.frob.com>
499
500         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
501         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
502         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
503         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
504         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
505         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
506
507         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
508         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
509         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
510         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
511         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
512         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
514         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
515         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
516         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
517         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
518         Moved ...
519         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
520         ... here.
521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
522         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
524         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
526         Moved ...
527         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
529         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
531         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
532         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
533         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
535         Moved ...
536         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
538         Moved ...
539         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
541         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
543         Moved ...
544         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
546         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
547         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
548         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
549         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
550         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
552         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
554         Moved ...
555         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
556         ... here.
557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
558         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
560         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
561         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
562         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
568         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
570         Moved ...
571         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
573         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
574         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
575         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
577         Moved ...
578         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
580         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
581         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
582         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
583
584         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
585         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
586         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
587         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
588         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
589         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
590         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
591         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
593         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
594         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
595         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
596         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
597         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
598         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
599         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
600         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
601         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
602         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
603         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
604         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
605         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
606         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
607         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
608         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
609         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
610         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
611         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
612
613 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
614
615         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
616         (FALLOC_FL_COLLAPSE_RANGE): New macro.
617         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
618         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
619         (IPV6_PMTUDISC_INTERFACE): Likewise.
620         (IPV6_PMTUDISC_OMIT): Likewise.
621
622 2014-06-23  Andreas Schwab  <schwab@suse.de>
623
624         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
625         Remove unused errout label.
626
627 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
628
629         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
630         macro: hardware supports Vector Crypto instructions.
631
632 2014-06-23  Will Newton  <will.newton@linaro.org>
633
634         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
635         rather than __builtin_expect.
636
637         * elf/dl-lookup.c (undefined_msg): Remove variable.
638         (_dl_lookup_symbol_x): Replace undefined_msg with string
639         literal.
640
641         * elf/dl-lookup.c (do_lookup_unique): New function.
642         (do_lookup_x): Move STB_GNU_UNIQUE handling code
643         to a separate function.
644
645 2014-06-23  Andreas Schwab  <schwab@suse.de>
646
647         [BZ #17079]
648         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
649         before reading the next line.
650
651 2014-06-23  Will Newton  <will.newton@linaro.org>
652
653         * test-skeleton.c (signal_handler): Use printf and %m
654         rather than perror.  Use printf rather than fprintf to
655         stderr.  Use puts rather than fputs to stderr.
656         (main): Likewise.
657
658 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
659
660         * nscd/nscd.c (thread_info_t): Remove typedef.
661         (thread_info): Remove variable.
662
663 2014-06-21  Allan McRae  <allan@archlinux.org>
664
665         * NEWS: Mention CVE-2014-4043.
666
667 2014-06-20  Roland McGrath  <roland@hack.frob.com>
668
669         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
670         * nptl/smp.h: ... here.
671
672         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
673
674         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
675         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
676         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
677         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
678
679         * nptl/allocatestack.c: Include <stack-aliasing.h>.
680         * nptl/stack-aliasing.h: New file.
681         * sysdeps/i386/i686/stack-aliasing.h: New file.
682         * sysdeps/i386/i686/nptl/Makefile: File removed.
683         * sysdeps/x86_64/stack-aliasing.h: New file.
684         * sysdeps/x86_64/nptl/Makefile
685         (CFLAGS-pthread_create.c): Variable removed.
686
687         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
688         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
689         old file.
690         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
691         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
692         old file.
693
694 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
695
696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
697         (__ASSUME_SIGFRAME_V2): Remove macro.
698         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
699         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
700         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
701         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
702         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
703         Declare as function.  Remove conditional macro definitions.
704         (__default_rt_sa_restorer): Likewise.
705         (__default_sa_restorer_v1): Remove declaration.
706         (__default_sa_restorer_v2): Likewise.
707         (__default_rt_sa_restorer_v1): Likewise.
708         (__default_rt_sa_restorer_v2): Likewise.
709         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
710         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
711         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
712
713 2014-06-20  Roland McGrath  <roland@hack.frob.com>
714
715         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
716         (libpthread-routines): Add sysdep.
717         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
718         * sysdeps/unix/sysv/linux/sparc/Versions
719         (libpthread: GLIBC_2.3.3): New version set.
720         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
721         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
722         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
723         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
724         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
725         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
726         Moved ...
727         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
728         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
729         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
730         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
731         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
732         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
733         * sysdeps/sparc/nptl/sem_init.c: ... here.
734         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
735         * sysdeps/sparc/nptl/sem_post.c: ... here.
736         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
737         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
738         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
739         * sysdeps/sparc/nptl/sem_wait.c: ... here.
740         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
741         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
742         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
743         (libpthread-routines): Add cpu_relax.
744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
745         File removed.
746         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
747         (librt: GLIBC_2.3.3): New version set.
748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
749         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
750         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
751         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
754         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
756         Moved ...
757         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
759         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
761         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
763         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
765         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
767         Moved ...
768         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
769         Update #include.
770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
771         Moved ...
772         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
773         Update #include.
774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
775         Moved ...
776         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
777         Update #include.
778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
779         Moved ...
780         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
781         Update #include.
782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
783         Moved ...
784         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
785         Update #include.
786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
787         Moved ...
788         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
789         Update #include.
790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
791         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
797         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
799         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
801         Moved ...
802         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
804         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
806         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
807
808 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
809
810         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
811         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
812         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
813         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
814         * nscd/nscd.c: Likewise.
815         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
816         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
817         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
818         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
819
820         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
821         <kernel-features.h>.
822         (init_mq_netlink): Remove conditional have_sock_cloexec
823         definitions.  Remove code conditional on have_sock_cloexec < 0.
824         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
825         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
826         * sysdeps/unix/sysv/linux/opensock.c: Do not include
827         <kernel-features.h>.
828         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
829         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
830
831 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
832
833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
834         Add tests for memset_chk and memset.
835
836         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
837         with AVX2_Usable.
838
839 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
840
841         [BZ #16046]
842         * elf/tst-dl-iter-static.c: New file.
843         * elf/Makefile (tests-static): Add tst-dl-iter-static.
844
845         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
846         error.
847
848 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
849
850         * sysdeps/unix/sysv/linux/kernel-features.h
851         (__ASSUME_F_GETOWN_EX): Remove macro.
852         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
853         <kernel-features.h>.
854         (miss_F_GETOWN_EX): Remove variable or macro.
855         (do_fcntl): Do not check miss_F_GETOWN_EX.
856         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
857
858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
859         Remove macro.
860         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
861         [!__ASSUME_AT_RANDOM]: Remove conditional code.
862         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
863
864         * sysdeps/unix/sysv/linux/kernel-features.h
865         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
866         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
867         [ADJ_OFFSET_SS_READ]: Make code unconditional.
868         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
869
870 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
871
872         [BZ #17075]
873         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
874         Fix calculation of the symbol's value.
875         * sysdeps/arm/tst-armtlsdescloc.c: New file.
876         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
877         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
878         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
879         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
880         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
881         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
882         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
883         (modules-names): Add `tst-armtlsdescmod',
884         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
885         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
886         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
887         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
888         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
889         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
890         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
891         ($(objpfx)tst-armtlsdescloc): New dependency.
892         ($(objpfx)tst-armtlsdescextnow): Likewise.
893         ($(objpfx)tst-armtlsdescextlazy): Likewise.
894         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
895         TLS scheme support.
896         * sysdeps/arm/configure: Regenerate.
897
898 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
899
900         * include/fcntl.h (__atfct_seterrno): Remove prototype.
901         (__atfct_seterrno_2): Likewise.
902         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
903         <kernel-features.h>.
904         (__ASSUME_ATFCTS): Do not undefine and redefine.
905         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
906         (__have_atfcts): Remove conditional definition.
907         (__fxstatat([__NR_fstatat64]: Make code unconditional.
908         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
909         unreachable if [__ASSUME_ATFCTS].
910         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
911         not undefine and redefine.
912         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
913         <kernel-features.h>.
914         (faccessat) [__NR_faccessat]: Make code unconditional.
915         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
916         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
917         <kernel-features.h>.
918         (fchmodat) [__NR_fchmodat]: Make code unconditional.
919         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
920         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
921         <kernel-features.h>.
922         (fchownat) [__NR_fchownat]: Make code unconditional.
923         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
924         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
925         <kernel-features.h>.
926         (futimesat) [__NR_futimesat]: Make code unconditional.
927         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
928         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
929         <kernel-features.h>.
930         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
931         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
932         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
933         <kernel-features.h>.
934         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
935         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
936         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
937         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
938         <kernel-features.h>.
939         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
940         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
941         * sysdeps/unix/sysv/linux/linkat.c: Do not include
942         <kernel-features.h>.
943         (linkat) [__NR_linkat]: Make code unconditional.
944         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
945         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
946         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
947         <kernel-features.h>.
948         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
949         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
950         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
951         <kernel-features.h>.
952         (mkdirat) [__NR_mkdirat]: Make code unconditional.
953         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
954         * sysdeps/unix/sysv/linux/openat.c: Do not include
955         <kernel-features.h>.
956         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
957         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
958         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
959         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
960         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
961         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
962         <kernel-features.h>.
963         (readlinkat) [__NR_readlinkat]: Make code unconditional.
964         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
965         result of INLINE_SYSCALL directly, not via int variable.
966         * sysdeps/unix/sysv/linux/renameat.c: Do not include
967         <kernel-features.h>.
968         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
969         (renameat) [__NR_renameat]: Make code unconditional.
970         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
971         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
972         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
973         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
974         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
975         (__ASSUME_ATFCTS): Do not undefine and redefine.
976         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
977         <kernel-features.h>.
978         (symlinkat) [__NR_symlinkat]: Make code unconditional.
979         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
980         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
981         <kernel-features.h>.
982         (unlinkat) [__NR_unlinkat]: Make code unconditional.
983         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
984         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
985         (__ASSUME_ATFCTS): Do not undefine and redefine.
986         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
987         <kernel-features.h>.
988         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
989         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
990         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
991         <kernel-features.h>.
992         (__xmknodat) [__NR_mknodat]: Make code unconditional.
993         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
994
995 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
996
997         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
998
999 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1000
1001         [BZ #17069]
1002         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1003         constructed tree before returning error.
1004         * posix/bug-regexp36.c: Expand test case.
1005
1006 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1007
1008         [BZ #6803]
1009         * math/libm-test.inc (scalbln_test_date):
1010         Add errno expectations.
1011         * math/w_scalblnf.c: New File.
1012         Add wrapper which checks for setting errno to ERANGE.
1013         Add weak_alias for corresponding scalbln function.
1014         * math/w_scalbln.c: Likewise.
1015         * math/w_scalblnl.c: Likewise.
1016         * math/Makefile (libm-calls): Add w_scalbln.
1017         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1018         Remove weak_alias for corresponding scalbln function.
1019         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1020         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1021         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1022         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1023         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1024         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1025         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1026         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1027         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1028         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1029         Remove long_double_symbol for scalblnl function in libm, libc.
1030         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1031         Add wrapper which checks for setting errno to ERANGE.
1032         Add long_double_symbol for scalblnl function in libm, libc.
1033         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1034         Remove long_double_symbol for scalblnl in libm.
1035         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1036         Add wrapper which checks for setting errno to ERANGE.
1037         Add long_double_symbol for scalblnl function in libm.
1038         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1039         Do not use wrapper because of own implementation.
1040
1041 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1042
1043         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1044         3 bytes for __pad1 for x32.
1045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1046
1047 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1048             H.J. Lu  <hongjiu.lu@intel.com>
1049
1050         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1051         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1052         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1053         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1054         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1055
1056 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1057
1058         [BZ #17069]
1059         * posix/regcomp.c (parse_expression): Deallocate partially
1060         constructed tree before returning error.
1061         * posix/Makefile.c (tests): Add bug-regex36.
1062         (generated): Add bug-regex36.mtrace.
1063         (tests-special): Add $(objpfx)bug-regex36-mem.out
1064         (bug-regex36-ENV): New variable.
1065         ($(objpfx)bug-regex36-mem.out): New rule.
1066         * posix/bug-regex36.c: New file.
1067
1068 2014-06-19  Will Newton  <will.newton@linaro.org>
1069
1070         * malloc/malloc.c (systrim): If extra is zero then return
1071         early.
1072
1073 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1074
1075         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1076
1077 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1078
1079         * sysdeps/aarch64/strchr.S: New file.
1080
1081 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1082
1083         [BZ #17022]
1084         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1085         from arguments -2 or below.
1086         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1087         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1088
1089 2014-06-18  Andreas Schwab  <schwab@suse.de>
1090
1091         [BZ #17062]
1092         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1093         of a bracket expr not to run off the end of the string.
1094         * posix/Makefile (tests): Add tst-fnmatch3.
1095         * posix/tst-fnmatch3.c: New file.
1096
1097 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1098
1099         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1100         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1101         [$(cross-compiling) = no]: Likewise.
1102         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1103         [$(cross-compiling) = no]: Likewise.
1104
1105 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1106
1107         [BZ #17031]
1108         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1109         double, adjusted for any remainder from the high double.
1110         * math/libm-test.inc (nearbyint): Add tests.
1111         (rint): Likewise.
1112
1113 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1114
1115         * nptl/sysdeps/powerpc/Makefile: Moved ...
1116         * sysdeps/powerpc/nptl/Makefile: ... here.
1117         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1118         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1119         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1120         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1121         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1122         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1123         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1124         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1125         * nptl/sysdeps/powerpc/tls.h: Moved ...
1126         * sysdeps/powerpc/nptl/tls.h: ... here.
1127
1128 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1129
1130         [BZ #16681]
1131         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1132         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1133         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1134         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1135         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1136         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1137         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1138         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1139         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1140
1141 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1142
1143         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1144
1145 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1146
1147         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1148         defined operator.
1149
1150         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1151         $TIMEOUTFACTOR.
1152
1153 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1154
1155         [BZ #17058]
1156         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1157         non-executed part of the test.
1158
1159 2014-06-16  Andreas Schwab  <schwab@suse.de>
1160
1161         * string/bits/string2.h (strdup, strndup): Update feature guard.
1162
1163 2014-06-14  David S. Miller  <davem@davemloft.net>
1164
1165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1166
1167 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1168
1169         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1170         that was previously under [RESET_PID].
1171         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1172
1173         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1174         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1175         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1177         (__libc_vfork): New strong alias.
1178         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1179
1180 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1181
1182         * sysdeps/generic/elide.h: New file.
1183
1184 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1185
1186         * Makefile (installed-headers): Adjust path of pthread.h header.
1187
1188 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1189
1190         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1191         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1192         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1193         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1194
1195         * nptl/sysdeps/s390/Makefile: Moved ...
1196         * sysdeps/s390/nptl/Makefile: ... here.
1197         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1198         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1199         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1200         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1201         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1202         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1203         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1204         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1205         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1206         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1207         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1208         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1209         * nptl/sysdeps/s390/tls.h: Moved ...
1210         * sysdeps/s390/nptl/tls.h: ... here.
1211
1212         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1213         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1214
1215 2014-06-13  David S. Miller  <davem@davemloft.net>
1216
1217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1220         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1224         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1225         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1226         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1227         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1228         Remove RESET_PID cpp guards.
1229         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1230         Remove RESET_PID cpp guards.
1231         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1232
1233 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1234
1235         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1236         __sp to uintptr_t.
1237
1238 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1239
1240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1242         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1243         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1244         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1247         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1249         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1250         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1252         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1254         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1255         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1256         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1257         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1259         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1260
1261         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1262         (pthread_rwlock_rdlock): Add elision.
1263         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1264         (pthread_rwlock_wrlock): Add elision.
1265         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1266         (pthread_rwlock_trywrlock): Add elision.
1267         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1268         (pthread_rwlock_tryrdlock): Add elision.
1269         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1270         (pthread_rwlock_tryrdlock): Add elision unlock.
1271         * nptl/sysdeps/pthread/pthread.h:
1272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1273         (PTHREAD_RWLOCK_INITIALIZER,
1274         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1275         Handle new elision field.
1276         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1277         * sysdeps/arm/nptl/bits/pthreadtypes.h
1278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1279         * sysdeps/sh/nptl/bits/pthreadtypes.h
1280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1281         * sysdeps/tile/nptl/bits/pthreadtypes.h
1282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1283         * sysdeps/a/nptl/bits/pthreadtypes.h
1284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1285         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1287         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1289         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1291         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1293         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1295         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1297         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1299         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1301         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1302         (elision_init): Set try_xbegin to zero when no RTM.
1303         * sysdeps/x86/nptl/bits/pthreadtypes.h
1304         (pthread_rwlock_t): Change __pad1 to __rwelision.
1305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1306
1307 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1308
1309         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1310         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1311         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1312         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1313
1314 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1315
1316         [BZ #16996]
1317         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1318         that the cached result has been set before returning it.
1319
1320 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1321
1322         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1323         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1324         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1325         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1326         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1327         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1328
1329         * nptl/sysdeps/sparc/Makefile: Moved ...
1330         * sysdeps/sparc/nptl/Makefile: ... here.
1331         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1332         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1333         * nptl/sysdeps/sparc/tls.h: Moved ...
1334         * sysdeps/sparc/nptl/tls.h: ... here.
1335         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1336         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1337         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1338         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1339         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1340         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1341         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1342         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1343         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1344         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1345         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1346         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1347         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1348         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1349         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1350         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1353         Update #include.
1354         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1356         Update #include.
1357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1359         Update #include.
1360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1362         Update #include.
1363
1364         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1365
1366         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1367         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1368
1369         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1370         (struct list_links): Type removed.
1371         (struct thread_node, struct timer_node): Replace struct list_links
1372         with struct list_head.
1373         (list_unlink_ip): Likewise.
1374         * sysdeps/pthread/timer_routines.c
1375         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1376         (list_append, list_insbefore): Likewise.
1377         (list_init): Function removed.
1378         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1379         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1380         * sysdeps/pthread/Makefile: ... here, new file.
1381
1382         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1383         * sysdeps/nptl/Implies: ... here.
1384         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1385         * nptl/sysdeps/pthread/list.h: Moved ...
1386         * include/list.h: ... here.
1387         * nptl/sysdeps/pthread/createthread.c: Moved ...
1388         * nptl/createthread.c: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1390         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1391         * nptl/pt-longjmp.c: ... here.
1392         * nptl/sysdeps/pthread/Makefile: Moved ...
1393         * sysdeps/nptl/Makefile: ... here.
1394         * nptl/sysdeps/pthread/Subdirs: Moved ...
1395         * sysdeps/nptl/Subdirs: ... here.
1396         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1397         * sysdeps/nptl/aio_misc.h: ... here.
1398         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1399         * sysdeps/nptl/bits/libc-lock.h: ... here.
1400         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1401         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1402         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1403         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1404         * nptl/sysdeps/pthread/configure: Moved ...
1405         * sysdeps/nptl/configure: ... here.
1406         * nptl/sysdeps/pthread/configure.ac: Moved ...
1407         * sysdeps/nptl/configure.ac: ... here.
1408         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1409         * sysdeps/nptl/gai_misc.h: ... here.
1410         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1411         * sysdeps/nptl/librt-cancellation.c: ... here.
1412         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1413         * sysdeps/nptl/malloc-machine.h: ... here.
1414         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1415         * sysdeps/nptl/pthread-functions.h: ... here.
1416         * nptl/sysdeps/pthread/pthread.h: Moved ...
1417         * sysdeps/nptl/pthread.h: ... here.
1418         * nptl/sysdeps/pthread/setxid.h: Moved ...
1419         * sysdeps/nptl/setxid.h: ... here.
1420         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1421         * sysdeps/nptl/sigfillset.c: ... here.
1422         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1423         * sysdeps/nptl/tcb-offsets.h: ... here.
1424         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1425         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1426         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1427         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1428         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1429         * sysdeps/pthread/allocalim.h: ... here.
1430         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1431         * sysdeps/pthread/bits/sigthread.h: ... here.
1432         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1433         * sysdeps/pthread/flockfile.c: ... here.
1434         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1435         * sysdeps/pthread/ftrylockfile.c: ... here.
1436         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1437         * sysdeps/pthread/funlockfile.c: ... here.
1438         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1439         * sysdeps/pthread/posix-timer.h: ... here.
1440         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1441         * sysdeps/pthread/timer_create.c: ... here.
1442         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1443         * sysdeps/pthread/timer_delete.c: ... here.
1444         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1445         * sysdeps/pthread/timer_getoverr.c: ... here.
1446         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1447         * sysdeps/pthread/timer_gettime.c: ... here.
1448         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1449         * sysdeps/pthread/timer_routines.c: ... here.
1450         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1451         * sysdeps/pthread/timer_settime.c: ... here.
1452         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1453         * sysdeps/pthread/tst-timer.c: ... here.
1454         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1455         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1456
1457         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1458         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1459
1460         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1461         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1462         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1463         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1464         Update #include target.
1465         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1466         * sysdeps/i386/i686/nptl/Makefile: ... here.
1467         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1468         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1469         Update #include target.
1470         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1471         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1472         * nptl/sysdeps/i386/Makefile: Moved ...
1473         * sysdeps/i386/nptl/Makefile: ... here.
1474         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1475         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1476         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1477         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1478         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1479         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1480         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1481         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1482         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1483         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1484         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1485         * nptl/sysdeps/i386/tls.h: Moved ...
1486         * sysdeps/i386/nptl/tls.h: ... here.
1487
1488         * sysdeps/sh/Makefile [$(subdir) = csu]
1489         (gen-as-const-headers): Add tcb-offsets.sym.
1490         * nptl/sysdeps/sh/Makefile: File removed.
1491         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1492         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1493         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1494         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1495         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1496         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1497         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1498         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1499         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1500         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1501         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1502         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1503         * nptl/sysdeps/sh/tls.h: Moved ...
1504         * sysdeps/sh/nptl/tls.h: ... here.
1505         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1506         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1507         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1508         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1509         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1510         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1511         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1512         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1513         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1514         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1515         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1516         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1517         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1518         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1519         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1520         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1522         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1524         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1526         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1528         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1530         Moved ...
1531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1533         Moved ...
1534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1536         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1539         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1540         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1541         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1542         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1543         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1544         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1545         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1546         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1547         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1548         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1549         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1550         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1551         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1552         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1553
1554 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1555
1556         * posix/spawn_faction_addopen.c: Include string.h.
1557
1558 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1559
1560         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1561         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1562         * nptl/sysdeps/x86_64/Makefile: Moved ...
1563         * sysdeps/x86_64/nptl/Makefile: ... here.
1564         * nptl/sysdeps/x86_64/configure: Moved ...
1565         * sysdeps/x86_64/nptl/configure: ... here.
1566         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1567         * sysdeps/x86_64/nptl/configure.ac: ... here.
1568         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1569         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1570         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1571         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1572         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1573         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1574         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1575         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1576         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1577         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1578         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1579         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1580         * nptl/sysdeps/x86_64/tls.h: Moved ...
1581         * sysdeps/x86_64/nptl/tls.h: ... here.
1582         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1583         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1584         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1585         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1586
1587         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1588
1589 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1590
1591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1592
1593 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1594
1595         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1596         type.
1597         [POSIX] (off_t): Likewise.
1598         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1599         [POSIX] (S_ISBLK): Require macro.
1600         [POSIX] (S_ISCHR): Likewise.
1601         [POSIX] (S_ISDIR): Likewise.
1602         [POSIX] (S_ISFIFO): Likewise.
1603         [POSIX] (S_ISREG): Likewise.
1604         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1605         optional-macro.
1606         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1607         type.
1608         [POSIX] (time_t): Likewise.
1609         [POSIX] (timer_t): Likewise.
1610
1611 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1612
1613         [BZ #17048]
1614         * posix/spawn_int.h (struct __spawn_action): Make the path string
1615         non-const to support deallocation.
1616         * posix/spawn_faction_addopen.c
1617         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1618         * posix/spawn_faction_destroy.c
1619         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1620         path in all spawn_do_open actions.
1621         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1622         posix_spawn_file_actions_addopen.
1623
1624 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1625
1626         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1627         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1628         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1629         conditional code always true.
1630         (__libc_vfork): New alias.
1631
1632 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1633
1634         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1635         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1636
1637         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1638
1639         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1640         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1641
1642         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1643         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1644
1645         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1646         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1647
1648 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1649
1650         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1651         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1652         multiarch strcmp for PPC64.
1653         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1654         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1656         multiarch optimizations.
1657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1658         (__libc_ifunc_impl_list): Likewise.
1659
1660 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1661
1662         * benchtests/scripts/validate_benchout.py: New script.
1663         * benchtests/Makefile (bench-func): Call it.
1664         * benchtests/scripts/benchout.schema.json: New file.
1665
1666 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1667
1668         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1669         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1670         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1671         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1672         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1673         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1674         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1675         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1676         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1677         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1678         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1679         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1680         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1681         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1682         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1683         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1685         Moved ...
1686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1687         ... here.
1688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1689         Moved ...
1690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1692         Moved ...
1693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1694         ... here.
1695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1696         Moved ...
1697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1698         ... here.
1699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1700         Moved ...
1701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1703         Moved ...
1704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1705         ... here.
1706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1707         Moved ...
1708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1709         ... here.
1710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1711         Moved ...
1712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1714         Moved ...
1715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1716         ... here.
1717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1718         Moved ...
1719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1720         ... here.
1721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1722         Moved ...
1723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1724         ... here.
1725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1726         Moved ...
1727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1729         Moved ...
1730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1731         ... here.
1732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1733         Moved ...
1734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1735         ... here.
1736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1737         Moved ...
1738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1739         ... here.
1740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1741         Moved ...
1742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1744         Moved ...
1745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1746         ... here.
1747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1748         Moved ...
1749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1750         ... here.
1751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1752         Moved ...
1753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1755         Moved ...
1756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1757         ... here.
1758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1759         Moved ...
1760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1762         Moved ...
1763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1765         Moved ...
1766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1767         ... here.
1768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1769         Moved ...
1770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1771         ... here.
1772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1773         Moved ...
1774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1775         ... here.
1776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1777         Moved ...
1778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1780         Moved ...
1781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1782         ... here.
1783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1784         Moved ...
1785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1786         ... here.
1787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1788         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1790         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1792         Moved ...
1793         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1794         ... here.
1795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1796         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1798         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1799         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1800         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1802         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1806         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1808         Moved ...
1809         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1811         Moved ...
1812         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1816         Moved ...
1817         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1818         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1819         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1820         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1821         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1822         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1823         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1824
1825 2014-06-10  Wilco  <wdijkstr@arm.com>
1826
1827         * math/test-fenv-return.c: New file.
1828         * math/Makefile: Add new test test-fenv-return.
1829
1830 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1831
1832         [BZ #17042]
1833         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1834         when x - 1 is zero.
1835         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1836         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1837         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1838         0.0L for an argument of 1.0L.
1839         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1840         Likewise.
1841         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1842         value when x - 1 is zero.
1843         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1844         * sysdeps/i386/fpu/libm-test-ulps: Update.
1845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1846
1847 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1848
1849         [BZ #15119]
1850         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1851
1852 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1853
1854         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1855         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1856
1857 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1858
1859         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1860         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1861
1862         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1863         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1864
1865         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1866         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1867
1868         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1869         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1870
1871         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1872         if not already defined.
1873         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1874         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1875         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1876         (TLS_INIT_TP): Use it.
1877         (TLS_DEFINE_INIT_TP): New macro.
1878         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1879
1880 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1881
1882         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1883         constant.
1884         [POSIX] (IXANY): Likewise.
1885         [POSIX] (OLCUC): Likewise.
1886         [POSIX || POSIX2008] (CBAUD): Do not allow.
1887         [POSIX || POSIX2008] (DEFECHO): Likewise.
1888         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1889         [POSIX || POSIX2008] (ECHOKE): Likewise.
1890         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1891         [POSIX || POSIX2008] (EXTA): Likewise.
1892         [POSIX || POSIX2008] (EXTB): Likewise.
1893         [POSIX || POSIX2008] (FLUSHO): Likewise.
1894         [POSIX || POSIX2008] (LOBLK): Likewise.
1895         [POSIX || POSIX2008] (PENDIN): Likewise.
1896         [POSIX || POSIX2008] (SWTCH): Likewise.
1897         [POSIX || POSIX2008] (VDISCARD): Likewise.
1898         [POSIX || POSIX2008] (VDSUSP): Likewise.
1899         [POSIX || POSIX2008] (VLNEXT): Likewise.
1900         [POSIX || POSIX2008] (VREPRINT): Likewise.
1901         [POSIX || POSIX2008] (VSTATUS): Likewise.
1902         [POSIX || POSIX2008] (VWERASE): Likewise.
1903         (B*): Change to B[0123456789]*.
1904         * conform/data/time.h-data [POSIX || UNIX98]
1905         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1906         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1907         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1908         [POSIX] (tm_*): Do not allow.
1909
1910 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1911
1912         * Makefile (install): Don't set LANGUAGE.
1913         * Makefile.in (install): Likewise.
1914         * assert/Makefile (test-assert-ENV): Remove variable.
1915         (test-assert-perr-ENV): Likewise.
1916         * elf/Makefile (neededtest4-ENV): Likewise.
1917         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1918         [$(cross-compiling) = no]: Don't set LANGUAGE.
1919         * io/ftwtest-sh (LANG): Remove variable.
1920         * libio/Makefile (tst-widetext-ENV): Likewise.
1921         * manual/install.texi (Running make install): Don't refer to
1922         environment settings for make install.
1923         * INSTALL: Regenerated.
1924         * nptl/tst-tls6.sh: Don't set LANG.
1925         * posix/globtest.sh (LANG): Remove variable.
1926         * string/Makefile (tester-ENV): Likewise.
1927         (inl-tester-ENV): Likewise.
1928         (noinl-tester-ENV): Likewise.
1929         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1930         [$(cross-compiling) = no]: Don't set LANGUAGE.
1931         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1932         without explicit environment settings.
1933
1934 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1935
1936         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1937         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1938         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1939         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1940
1941 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1942
1943         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1944         other files in the crypt directory.
1945         * crypt/crypt.c: Remove duplicate includes.
1946         * crypt/crypt-entry.c: Likewise.
1947         * crypt/crypt_util.c: Likewise.
1948
1949 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1950
1951         * Makeconfig (run-program-env): New variable.
1952         (run-program-prefix-before-env): Likewise.
1953         (run-program-prefix-after-env): Likewise.
1954         (run-program-prefix): Define in terms of new variables.
1955         (built-program-cmd-before-env): New variable.
1956         (built-program-cmd-after-env): Likewise.
1957         (built-program-cmd): Define in terms of new variables.
1958         (test-program-prefix-before-env): New variable.
1959         (test-program-prefix-after-env): Likewise.
1960         (test-program-prefix): Define in terms of new variables.
1961         (test-program-cmd-before-env): New variable.
1962         (test-program-cmd-after-env): Likewise.
1963         (test-program-cmd): Define in terms of new variables.
1964         * Rules (make-test-out): Use $(run-program-env).
1965         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1966         (help): Do not mention environment variables.  Mention
1967         --timeoutfactor option.
1968         (timeoutfactor): New variable.
1969         (blacklist_exports): Remove function.
1970         (exports): Remove variable.
1971         (command): Do not include ${exports}.
1972         * manual/install.texi (Configuring and compiling): Do not mention
1973         test wrappers preserving environment variables.  Mention that last
1974         assignment to a variable must take precedence.
1975         * INSTALL: Regenerated.
1976         * benchtests/Makefile (run-bench): Use $(run-program-env).
1977         * catgets/Makefile ($(objpfx)test1.cat): Use
1978         $(built-program-cmd-before-env), $(run-program-env) and
1979         $(built-program-cmd-after-env).
1980         ($(objpfx)test2.cat): Do not specify environment variables
1981         explicitly.
1982         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1983         $(run-program-env) and $(built-program-cmd-after-env).
1984         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1985         $(run-program-env) and $(test-program-cmd-after-env).
1986         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1987         explicitly.
1988         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1989         run_program_env and test_program_cmd_after_env arguments.
1990         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1991         * elf/tst-pathopt.sh: Use run_program_env argument.
1992         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1993         $(test-wrapper-env) and $(run-program-env).
1994         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1995         run_program_env arguments.
1996         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1997         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1998         $(test-program-prefix-before-env), $(run-program-env) and
1999         $(test-program-prefix-after-env).
2000         ($(objpfx)tst-gettext2.out): Likewise.
2001         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2002         run_program_env and test_program_prefix_after_env arguments.
2003         * intl/tst-gettext2.sh: Likewise.
2004         * intl/tst-gettext4.sh: Do not set environment variables
2005         explicitly.
2006         * intl/tst-gettext6.sh: Likewise.
2007         * intl/tst-translit.sh: Likewise.
2008         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2009         $(test-program-prefix-before-env), $(run-program-env) and
2010         $(test-program-prefix-after-env).
2011         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2012         run_program_env and test_program_prefix_after_env arguments.
2013         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2014         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2015         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2016         explicitly with each use of ${test_wrapper_env}.
2017         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2018         $(test-program-prefix-before-env), $(run-program-env) and
2019         $(test-program-prefix-after-env).
2020         * posix/tst-getconf.sh: Do not set environment variables
2021         explicitly.
2022         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2023         run_program_env and test_program_prefix_after_env arguments.
2024         * stdio-common/tst-printf.sh: Do not set environment variables
2025         explicitly.
2026         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2027         $(test-program-prefix-before-env), $(run-program-env) and
2028         $(test-program-prefix-after-env).
2029         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2030         run_program_env and test_program_prefix_after_env arguments.
2031         Split $test calls into $test_pre and $test.
2032         * timezone/Makefile (build-testdata): Use
2033         $(built-program-cmd-before-env), $(run-program-env) and
2034         $(built-program-cmd-after-env).
2035
2036 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2037
2038         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2039         strlen for non SHARED builds.
2040
2041 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2042
2043         * nptl/allocatestack.c (check_list): Inlined function...
2044         (__reclaim_stacks): ... here.
2045
2046 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2047
2048         [BZ #15698]
2049         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2050         memory overrun.
2051
2052 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2053
2054         * Rules (make-test-out): Include
2055         LOCPATH=$(common-objpfx)localedata in default environment.
2056         * debug/Makefile (tst-chk1-ENV): Remove variable.
2057         (tst-chk2-ENV): Likewise.
2058         (tst-chk3-ENV): Likewise.
2059         (tst-chk4-ENV): Likewise.
2060         (tst-chk5-ENV): Likewise.
2061         (tst-chk6-ENV): Likewise.
2062         (tst-lfschk1-ENV): Likewise.
2063         (tst-lfschk2-ENV): Likewise.
2064         (tst-lfschk3-ENV): Likewise.
2065         (tst-lfschk4-ENV): Likewise.
2066         (tst-lfschk5-ENV): Likewise.
2067         (tst-lfschk6-ENV): Likewise.
2068         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2069         (tst-iconv7-ENV): Likewise.
2070         * intl/Makefile (LOCPATH-ENV): Likewise.
2071         (tst-codeset-ENV): Likewise.
2072         (tst-gettext3-ENV): Likewise.
2073         (tst-gettext5-ENV): Likewise.
2074         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2075         (tst-fopenloc-ENV): Likewise.
2076         (tst-fgetws-ENV): Remove variable.
2077         (tst-ungetwc1-ENV): Likewise.
2078         (tst-ungetwc2-ENV): Likewise.
2079         (bug-ungetwc2-ENV): Likewise.
2080         (tst-swscanf-ENV): Likewise.
2081         (bug-ftell-ENV): Likewise.
2082         (tst-fgetwc-ENV): Likewise.
2083         (tst-fseek-ENV): Likewise.
2084         (tst-ftell-partial-wide-ENV): Likewise.
2085         (tst-ftell-active-handler-ENV): Likewise.
2086         (tst-ftell-append-ENV): Likewise.
2087         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2088         (tst-regexloc-ENV): Likewise.
2089         (bug-regex1-ENV): Likewise.
2090         (tst-regex-ENV): Likewise.
2091         (tst-regex2-ENV): Likewise.
2092         (bug-regex5-ENV): Likewise.
2093         (bug-regex6-ENV): Likewise.
2094         (bug-regex17-ENV): Likewise.
2095         (bug-regex18-ENV): Likewise.
2096         (bug-regex19-ENV): Likewise.
2097         (bug-regex20-ENV): Likewise.
2098         (bug-regex22-ENV): Likewise.
2099         (bug-regex23-ENV): Likewise.
2100         (bug-regex25-ENV): Likewise.
2101         (bug-regex26-ENV): Likewise.
2102         (bug-regex30-ENV): Likewise.
2103         (bug-regex32-ENV): Likewise.
2104         (bug-regex33-ENV): Likewise.
2105         (bug-regex34-ENV): Likewise.
2106         (bug-regex35-ENV): Likewise.
2107         (tst-rxspencer-ENV): Likewise.
2108         (tst-rxspencer-no-utf8-ENV): Likewise.
2109         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2110         (tst-sscanf-ENV): Likewise.
2111         (tst-swprintf-ENV): Likewise.
2112         (tst-swscanf-ENV): Likewise.
2113         (test-vfprintf-ENV): Likewise.
2114         (scanf13-ENV): Likewise.
2115         (bug14-ENV): Likewise.
2116         (tst-grouping-ENV): Likewise.
2117         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2118         (tst-strtod3-ENV): Likewise.
2119         (tst-strtod4-ENV): Likewise.
2120         (tst-strtod5-ENV): Likewise.
2121         (testmb2-ENV): Likewise./
2122         * string/Makefile (tst-strxfrm-ENV): Likewise.
2123         (tst-strxfrm2-ENV): Likewise.
2124         (bug-strcoll1-ENV): Likewise.
2125         (test-strcasecmp-ENV): Likewise.
2126         (test-strncasecmp-ENV): Likewise.
2127         * time/Makefile (tst-strptime-ENV): Likewise.
2128         (tst-ftime_l-ENV): Likewise.
2129         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2130         (tst-mbrtowc-ENV): Likewise.
2131         (tst-wcrtomb-ENV): Likewise.
2132         (tst-mbrtowc2-ENV): Likewise.
2133         (tst-c16c32-1-ENV): Likewise.
2134         (tst-mbsnrtowcs-ENV): Likewise.
2135
2136 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2137
2138         * manual/resource.texi (How to get information about the memory
2139         subsystem?): Fix typo.
2140         Reported by Peon de la Parra Ivan <peon@keba.com>
2141
2142 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2143
2144         [BZ #16882]
2145         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2146         (pthread_spin_lock): Branch out of spin loop to proper location.
2147         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2148         (pthread_spin_lock): Likewise.
2149
2150         * nptl/tst-spin4.c: New test.
2151         * nptl/Makefile (tests): Add tst-spin4.
2152
2153 2014-06-03  Andreas Schwab  <schwab@suse.de>
2154
2155         [BZ #15946]
2156         * resolv/res_send.c (send_dg): Reload file descriptor after
2157         calling reopen.
2158
2159 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2160
2161         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2162
2163 2014-06-03  Richard Henderson  <rth@redhat.com>
2164
2165         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2166         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2167         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2168         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2169         in the SAVE_PID block.
2170         (__libc_vfork): New alias.
2171         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2172
2173         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2174         child in registers, not on the stack.  Remove RESET_PID conditionals.
2175         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2176
2177 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2178
2179         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2180
2181 2014-06-03  Wilco  <wdijkstr@arm.com>
2182
2183         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2184         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2185         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2186         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2187         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2188         Likewise.
2189
2190 2014-06-03  Wilco  <wdijkstr@arm.com>
2191
2192         * sysdeps/aarch64/fpu/math_private.h
2193         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2194         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2195         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2196         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2197         Fix declarations.
2198
2199 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2200
2201         * crypt/crypt-private.h: Include ufc-crypt.h.
2202         (__b64_from_24bit): Declare extern.
2203         * crypt/crypt_util.c(__b64_from_24bit): New function.
2204         (b64t): New static const variable.
2205         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2206         (b64t): Remove variable.
2207         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2208         * crypt/sha256-crypt.c: Include crypt-private.h.
2209         (b64t): Remove variable.
2210         (__sha256_crypt_r): Remove b64_from_24bit and replace
2211         with __b64_from_24bit.
2212         * crypt/sha512-crypt.c: Likewise.
2213
2214 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2215
2216         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2217         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2218         Label the code __libc_vfork rather than __vfork.
2219         [!NOT_IN_libc] (vfork): Define as weak alias.
2220         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2221         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2222         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2223
2224 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2225
2226         * malloc/malloc.c (malloc_info): Fix format specifier for
2227         n_mmaps.
2228
2229 2014-06-02  Wilco  <wdijkstr@arm.com>
2230
2231         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2232         FPCR write.
2233
2234 2014-06-02  Wilco  <wdijkstr@arm.com>
2235
2236         [BZ #17009]
2237         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2238         Rewrite to reduce FPCR/FPSR accesses.
2239
2240 2014-06-01  David S. Miller  <davem@davemloft.net>
2241
2242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2243
2244 2014-05-31  David S. Miller  <davem@davemloft.net>
2245
2246         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2247         to occur in round to nearest mode when |x| >= 2.0
2248
2249 2014-05-30  Richard Henderson  <rth@twiddle.net>
2250
2251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2252         (PSEUDO_RET_NOERRNO): Remove.
2253         (ret): Don't redefine.
2254         (ret_NOERRNO): Define in terms of ret.
2255         (ret_ERRVAL): Likewise.
2256
2257         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2258         use of PSEUDO_RET; perform the error check directly.
2259
2260 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2261
2262         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2263         with __int128_t.
2264
2265 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2266
2267         * malloc/malloc (malloc_info): Fix formatting.
2268
2269 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2270             Roland McGrath  <roland@hack.frob.com>
2271
2272         * malloc/malloc (malloc_info): Also print mmapped statistics.
2273
2274 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2275
2276         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2277         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2278
2279 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2280
2281         * malloc/malloc.c (malloc_info): Inline mi_arena.
2282
2283 2014-05-29  Richard Henderson  <rth@twiddle.net>
2284
2285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2286         Remove comma before expanding ASM_ARGS_##nr.
2287         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2288         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2289         of ASM_ARGS_##nr.
2290         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2291         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2292         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2293         (ASM_ARGS_1): Add leading comma.
2294
2295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2296         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2297         to __errno_location.
2298         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2299         Remove the expected plt for __errno_location.
2300
2301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2302         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2303         call to __read_tp.
2304
2305         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2306         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2307         it and break it down.
2308         (DOCARGS_0, DOCARGS_1): Do nothing.
2309         (DOCARGS_2): Update to store into the new stack frame.
2310         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2311         (UNDOCARGS_1): Update to restore from the new stack frame.
2312         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2313         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2314
2315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2316         (SINGLE_THREAD_P): New parameter for result regno.
2317         (PSEUDO): Update to match; use cbz instead of beq.
2318
2319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2320         Use ENTRY to define the _nocancel entry point.  Share the syscall
2321         and syscall error check paths with the cancel path.
2322         (PSEUDO_END): New.
2323
2324         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2325         whitespace; tabs before and after asm mnemonics.
2326
2327 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2328
2329         [BZ #15132]
2330         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2331         Call fstat64 or stat64 internally, depending on arguments passed.
2332         Replace stat buffer argument with file descriptor argument.
2333         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2334         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2335         Pass fd to __internal_statvfs instead of calling fstat64.
2336         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2337         Pass fd to __internal_statvfs64 instead of calling fstat64.
2338         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2339         Pass -1 to __internal_statvfs instead of calling stat64.
2340         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2341         Pass -1 to __internal_statvfs64 instead of calling stat64.
2342
2343 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2344
2345         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2346         that was previously under [RESET_PID].
2347         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2348
2349         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2350         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2351
2352 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2353
2354         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2355
2356         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2357         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2358
2359 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2360
2361         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2362
2363 2014-05-27  Andreas Schwab  <schwab@suse.de>
2364
2365         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2366         TLS_INIT_TP macro.
2367         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2368         * elf/rtld.c (init_tls, dl_main): Likewise.
2369         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2370         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2371         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2372         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2373         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2374         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2375         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2376         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2377         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2378         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2379         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2380         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2381         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2382         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2383         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2384         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2385         * sysdeps/generic/tls.h: Update description.
2386
2387 2014-05-27  Will Newton  <will.newton@linaro.org>
2388
2389         [BZ #16990]
2390         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2391         and restore r2 rather than just restoring.
2392
2393 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2394
2395         [BZ #16724]
2396         * libio/tst-ftell-append.c: New test case.
2397         * libio/Makefile (tests): Add test case.
2398         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2399         append mode.
2400         * libio/wfileops.c (do_ftell_wide): Likewise.
2401
2402 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2403
2404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2405
2406         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2407         ...
2408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2410         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2411         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2413         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2414         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2417         Moved ...
2418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2420         Moved ...
2421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2422         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2423         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2424         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2425         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2426         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2427         ...
2428         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2429         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2430         Moved ...
2431         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2432         here.
2433         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2434         ...
2435         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2436         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2437         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2438
2439         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2440         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2442         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2443
2444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2445         merge into ...
2446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2448         ...
2449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2451         ...
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2454         Moved ...
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2456         here.
2457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2458         Moved ...
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2461         Moved ...
2462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2463
2464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2465         conditional [RESET_PID].
2466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2468         removed.
2469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2470         removed.
2471
2472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2473         <tcb-offsets.h>.
2474         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2475         (__libc_vfork): New strong alias.
2476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2477         removed.
2478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2479         Removed.
2480
2481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2482         <tcb-offsets.h>.
2483         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2484         (__libc_vfork): New strong alias.
2485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2486         removed.
2487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2488         removed.
2489
2490 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2491
2492         * malloc/malloc.c (mi_arena): New function.
2493         (malloc_info): Remove nested function mi_arena. Call non-nosted
2494         function mi_arena.
2495
2496 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2497
2498         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2499         by insrwi.
2500         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2501         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2502         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2503         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2504         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2505         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2506         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2507
2508 2014-05-26  Andreas Schwab  <schwab@suse.de>
2509
2510         [BZ #16984]
2511         * locale/programs/repertoire.c (repertoire_read): Add slash
2512         between I18NPATH element and file name.
2513         * locale/programs/locfile.c (locfile_read): Likewise.
2514
2515 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2516
2517         * nptl/pthread_mutexattr_settype.c
2518         (__pthread_mutexattr_settype):
2519         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2520
2521 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2522
2523         * nptl/tst-mutex5 (do_test):
2524         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2525
2526 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2527
2528         * benchtests/README: Document 'init' directive.
2529         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2530         BENCH_INIT.
2531         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2532         (parse_file): Recognize 'init' directive.
2533
2534 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2535
2536         [BZ #16796]
2537         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2538         alignment of struct pthread.
2539
2540 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2541
2542         [BZ #16878]
2543         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2544         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2545         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2546         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2547
2548 2014-05-25  Richard Henderson  <rth@twiddle.net>
2549
2550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2551         (SINGLE_THREAD_P_PIC): Remove.
2552         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2553         (SINGLE_THREAD_P_PIC): Remove.
2554
2555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2556         branch to syscall error ...
2557         (PSEUDO): ... here.
2558         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2559         from __local_syscall_error to .Lsyscall_error.
2560         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2561         (SYSCALL_ERROR): Update label name.
2562
2563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2564         Do not use DOARGS/UNDOARGS.
2565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2566         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2567         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2568         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2569         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2570
2571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2572         block comment.
2573
2574         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2575         define if !NOT_IN_libc.
2576         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2577         define with non-default symbol versions.
2578
2579 2014-05-23  Richard Henderson  <rth@twiddle.net>
2580
2581         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2582         (vfork, __vfork): Define via compat_symbol.
2583
2584         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2585         [!HAVE_IFUNC] (vfork_compat): Remove.
2586         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2587
2588 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2589
2590         [BZ #16978]
2591         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2592         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2593         variable.
2594
2595 2014-05-23  Richard Henderson  <rth@twiddle.net>
2596
2597         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2598         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2599         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2600         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2601
2602         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2603         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2604         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2605         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2606         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2607         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2608         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2609         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2610         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2611         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2612         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2613         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2614         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2615         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2616         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2617         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2618         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2619         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2620         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2621         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2622         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2623         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2624         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2625         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2626         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2627         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2628         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2629         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2630         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2631         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2632         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2633         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2634         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2635         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2636         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2637         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2638         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2639         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2640         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2641         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2642         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2643         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2644         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2645         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2646         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2647         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2648         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2649         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2650         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2651         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2653         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2655         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2657         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2658
2659         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2660         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2661         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2662         before exiting on error.
2663         (__libc_vfork): New strong alias.
2664         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2665         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2666
2667         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2668         that was previously under [RESET_PID].
2669         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2670
2671         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2672
2673 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2674
2675         [BZ #16977]
2676         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2677         value when x - 1 is zero.
2678         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2679         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2680         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2681         0.0L for an argument of 1.0L.
2682         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2683         Likewise.
2684         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2685         value when x - 1 is zero.
2686         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2687         * sysdeps/i386/fpu/libm-test-ulps: Update.
2688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2689
2690 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2691
2692         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2693         alphasort and versionsort.
2694
2695 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2696
2697         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2698         macro.
2699         [copysignf]: Likewise.
2700
2701 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2702
2703         * crypt/md5-crypt.c: Fix formatting.
2704
2705 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2706
2707         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2708         (b64_from_24bit): New function.
2709
2710 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2711
2712         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2713         libc_hidden_builtin_def to ifunc.
2714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2715         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2716
2717 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2718
2719         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2720         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2721
2722 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2723
2724         * nscd/Depend (linuxthreads): Remove.
2725         (nptl): Add.
2726         * resolv/Depend (linuxthreads): Remove.
2727         * rt/Depend (linuxthreads): Remove.
2728
2729         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2730         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2731         $(common-objpfx)elf/.
2732         (link-libc-before-gnulib): Likewise.
2733         (elfobjdir): Remove variable.
2734         * Makefile (install): Use $(elf-objpfx) instead of
2735         $(common-objpfx)elf/.
2736         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2737         $(elfobjdir)/.
2738         (link-libc-deps): Likewise.
2739         ($(common-objpfx)libc.so): Likewise.
2740         ($(common-objpfx)linkobj/libc.so): Likewise.
2741         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2742         instead of $(common-objpfx)elf/.
2743         (symbolic-link-list): Likewise.
2744         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2745         [$(cross-compiling) = no]: Likewise.
2746         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2747         $(elfobjdir)/.
2748         (static-gnulib-arch): Likewise.
2749         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2750         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2751         $(common-objpfx)elf/.
2752
2753 2014-05-21  Richard Henderson  <rth@redhat.com>
2754
2755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2756         (SINGLE_THREAD_P): Use the correct width load.  Fold
2757         into the ldr offset.
2758
2759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2760         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2761
2762 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2763
2764         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2765         (libgcc_s_resume): Use __attribute_used__.
2766         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2767         Likewise.
2768
2769 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2770
2771         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2772         optimization when used with float constants.
2773
2774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2775
2776 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2777
2778         [BZ #16915]
2779         * locale/nl_langinfo_l.c: Make direct reference to every
2780         _nl_current_CATEGORY symbol.
2781         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2782         (tests-static): Add tst-langinfo-static.
2783         (tests-special): Add tst-langinfo-static.out.
2784         ($(objpfx)tst-langinfo.out): Redirect output.
2785         ($(objpfx)tst-langinfo-static.out): New.
2786         * localedata/tst-langinfo.sh: Send output to stdout.
2787         * localedata/tst-langinfo-static.c: New file.
2788
2789         [BZ #16965]
2790         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2791         when the shift amount is modulo the limb size.
2792
2793 2014-05-20  Richard Henderson  <rth@redhat.com>
2794
2795         [BZ #16967]
2796         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2797         Change type of sa_flags from unsigned int to int.
2798
2799         [BZ #16966]
2800         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2801
2802         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2803
2804 2014-05-20  Will Newton  <will.newton@linaro.org>
2805
2806         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2807         Test the return value of the system call in the nocancel case.
2808
2809 2014-05-20  Will Newton  <will.newton@linaro.org>
2810             Yvan Roux  <yvan.roux@linaro.org>
2811
2812         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2813         #include of asm/ptrace.h.
2814         (PTRACE_GET_THREAD_AREA): Remove #undef.
2815         (PTRACE_GETHBPREGS): Likewise.
2816         (PTRACE_SETHBPREGS): Likewise.
2817         (struct user_regs_struct): New structure.
2818         (struct user_fpsimd_struct): New structure.
2819         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2820         #include of asm/ptrace.h and second #include of sys/user.h.
2821         (PTRACE_GET_THREAD_AREA): Remove #undef.
2822         (PTRACE_GETHBPREGS): Likewise.
2823         (PTRACE_SETHBPREGS): Likewise.
2824         (ELF_NGREG): Use new struct user_regs_struct.
2825         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2826
2827 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2828
2829         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2831
2832 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2833
2834         [BZ #16958]
2835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2836         membar to avoid block loads/stores to overlap previous stores.
2837
2838 2014-05-17  Richard Henderson  <rth@redhat.com>
2839
2840         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2841         Create the __##syscall_name##_nocancel entry point.
2842         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2843         Remove; let the sysdep-cancel.h code create it.
2844
2845 2014-05-17  David S. Miller  <davem@davemloft.net>
2846
2847         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2848         Protect with __USE_GNU.
2849         (TIOCSET_TEMPT): Likewise.
2850         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2851         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2852         these are already provided in bits/ioctl-types.h
2853
2854 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2855
2856         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2857         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2858
2859         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2860         Use wait4 regardless of [__NR_waitpid].
2861
2862 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2863
2864         PR libgcc/60166
2865         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2866         (_FP_NANSIGN_Q): Set the quiet bit.
2867
2868 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2869
2870         * benchtests/Makefile
2871         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2872         not $(common-objpfx)math/libm.so.
2873         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2874         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2875         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2876         $(common-objpfx)dlfcn/libdl.so.
2877         ($(objpfx)tst-audit8): Depend on $(libm), not
2878         $(common-objpfx)math/libm.so.
2879         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2880         not $(common-objpfx)dlfcn/libdl.so.
2881         * math/Makefile
2882         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2883         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2884         [$(build-shared) = yes].
2885         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2886         $(common-objpfx)nptl/libpthread.so.
2887         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2888         $(common-objpfx)math/libm.so$(libm.so-version) or
2889         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2890         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2891         $(common-objpfx)dlfcn/libdl.so.
2892         * setjmp/Makefile (link-libm): Remove variable.
2893         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2894         * stdio-common/Makefile (link-libm): Remove variable.
2895         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2896         * stdlib/Makefile (link-libm): Remove variable.
2897         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2898         ($(objpfx)tst-strtod-round): Likewise.
2899         ($(objpfx)tst-tininess): Likewise.
2900         ($(objpfx)tst-strtod-underflow): Likewise.
2901         ($(objpfx)tst-strtod6): Likewise.
2902         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2903         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2904         $(common-objpfx)dlfcn/libdl.so.
2905
2906 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2907
2908         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2909         BSD terminal modes definitions.
2910
2911 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2912
2913         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2914         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2915
2916         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2917         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2918         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2919         Don't do #include_next.
2920         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2921         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2922         Don't do #include_next.
2923         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2924         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2925         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2926         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2927
2928 2014-05-16  Allan McRae  <allan@archlinux.org>
2929
2930         * po/sv.po: Update Swedish translation from translation project.
2931
2932         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2933         in sed expression.
2934
2935 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2936
2937         [BZ #16917]
2938         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2939         errno if the TIOCGPTN ioctl fails with an error different than
2940         EINVAL.
2941         * login/tst-ptsname.c: New file.
2942         * login/Makefile (tests): Add tst-ptsname.
2943
2944         [BZ #16943]
2945         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2946         and prlimit64.
2947
2948 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2949
2950         [BZ #16849]
2951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2952         herrno to return EAI_AGAIN.
2953
2954 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2955
2956         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2957         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2958         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2959         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2960         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2961         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2962         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2963         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2964         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2965         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2966         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2967         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2968         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2969         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2970         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2971         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2972         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2973         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2981         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2985         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2987         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2989         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2991         Moved ...
2992         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2994         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2996         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2998         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3000         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3002         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3004         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3006         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3008         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3010         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3012         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3014         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3016         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3018         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3020         Moved ...
3021         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3023         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3025         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3027         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3029         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3031         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3033         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3035         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3037         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3039         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3041         Moved ...
3042         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3044         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3045
3046         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3047         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3048         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3049         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3050         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3051         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3052         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3053         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3054         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3055         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3056         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3057         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3058         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3059         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3060         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3062         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3063         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3064         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3065         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3066         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3067         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3068         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3069         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3070         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3071         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3072         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3073         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3074         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3075         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3076         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3077
3078         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3079         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3080
3081         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3082         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3083         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3084         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3085         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3087         Moved ...
3088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3090         Moved ...
3091         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3093         Moved ...
3094         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3096         Moved ...
3097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3098         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3099         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3103         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3104         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3106         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3107         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3108         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3110         Moved ...
3111         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3113         Moved ...
3114         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3115         ... here.
3116         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3117         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3118         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3119         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3120         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3121         Moved ...
3122         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3123         ... here.
3124         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3125         Moved ...
3126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3127         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3128         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3129         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3130         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3135         Moved ...
3136         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3138         Moved ...
3139         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3141         Moved ...
3142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3143         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3144         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3146         Moved ...
3147         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3148         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3149         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3151         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3152         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3153         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3155         Moved ...
3156         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3158         Moved ...
3159         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3160         ... here.
3161         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3162         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3163         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3164         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3165         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3166         Moved ...
3167         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3168         ... here.
3169         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3170         Moved ...
3171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3172         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3173         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3174         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3175         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3176         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3177         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3178         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3179         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3181         Moved ...
3182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3184         Moved ...
3185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3187         Moved ...
3188         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3192         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3193         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3194         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3195         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3197         Moved ...
3198         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3199         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3200         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3201         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3202         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3203         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3204         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3206         Moved ...
3207         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3209         Moved ...
3210         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3211         ... here.
3212         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3213         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3214         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3215         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3216         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3217         Moved ...
3218         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3219         ... here.
3220         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3221         Moved ...
3222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3223         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3224         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3225         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3226         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3227         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3228         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3229         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3230         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3231         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3232         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3233
3234         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3235         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3236
3237         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3238         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3239
3240         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3241         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3242         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3243         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3244         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3245         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3246         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3247         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3248         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3249         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3250         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3251         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3252         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3253         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3254         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3256         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3258         Moved ...
3259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3263         Moved ...
3264         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3266         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3268         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3272         Moved ...
3273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3275         Moved ...
3276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3278         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3282         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3283         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3284         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3285         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3286         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3287         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3288         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3289         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3290         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3291         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3292         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3293
3294         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3295         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3296         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3297         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3298         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3299
3300         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3301         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3302         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3303         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3304         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3305         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3306         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3307         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3308         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3309         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3310
3311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3313
3314         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3315         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3316         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3317         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3318         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3319         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3320         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3321         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3322         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3323         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3324         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3325         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3326         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3327         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3329         Update #include.
3330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3331         Likewise.
3332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3333         Likewise.
3334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3335         Likewise.
3336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3337         Likewise.
3338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3339         Likewise.
3340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3341         Likewise.
3342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3343         Likewise.
3344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3345         Likewise.
3346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3347         Likewise.
3348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3358         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3360         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3361         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3362         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3363
3364         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3365         that was previously under [RESET_PID].
3366         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3367         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3368         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3369
3370         * sysdeps/i386/nptl/Implies: New file.
3371         * sysdeps/x86_64/nptl/Implies: New file.
3372         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3373         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3374         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3375         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3376
3377         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3378         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3379         (__libc_vfork): New strong alias.
3380         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3381         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3382
3383         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3385         (__libc_vfork): New strong alias.
3386         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3387         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3388
3389         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3390         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3391         (__libc_vfork): New strong alias.
3392         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3393         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3394         * nptl/pt-vfork.c: New file.
3395         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3396         (libpthread: GLIBC_2.20): New version set (empty).
3397
3398 2014-05-14  Will Newton  <will.newton@linaro.org>
3399
3400         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3401         rather than #if.
3402
3403 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3404
3405         [BZ #16564]
3406         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3407         arguments with exponent 65 or above.
3408         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3409         arguments 0x1p113L or above.
3410         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3411         to arguments 0x1p107L or above.
3412         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3413         positive arguments with exponent 65 or above.
3414         * math/auto-libm-test-in: Add more tests of log1p.
3415         * math/auto-libm-test-out: Regenerated.
3416
3417         [BZ #16928]
3418         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3419         non-finite arguments is +0.
3420         * math/s_cacosf.c (__cacosf): Likewise.
3421         * math/s_cacosl.c (__cacosl): Likewise.
3422         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3423         * sysdeps/i386/fpu/libm-test-ulps: Update.
3424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3425
3426         [BZ #16927]
3427         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3428         value.
3429         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3430         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3431         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3432         for explicit high bit of mantissa when testing for argument equal
3433         to 1.
3434         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3435         * sysdeps/i386/fpu/libm-test-ulps: Update.
3436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3437
3438         [BZ #16516]
3439         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3440         (__erf): Scale by 16 instead of 8 in potentially underflowing
3441         case.  Ensure exception if result actually underflows.
3442         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3443         (__erff): Scale by 16 instead of 8 in potentially underflowing
3444         case.  Ensure exception if result actually underflows.
3445         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3446         (efx8): Remove variable.
3447         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3448         case.  Ensure exception if result actually underflows.
3449         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3450         (efx8): Remove variable.
3451         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3452         case.  Ensure exception if result actually underflows.
3453         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3454         (efx8): Remove variable.
3455         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3456         case.  Ensure exception if result actually underflows.
3457         * math/auto-libm-test-in: Add more tests of erf.
3458         * math/auto-libm-test-out: Regenerated.
3459
3460 2014-05-14  Andreas Schwab  <schwab@suse.de>
3461
3462         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3463         Remove code conditionalized on USE___THREAD.
3464
3465         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3466         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3467         not definedness.
3468
3469 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3470
3471         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3472         Define unconditionally.
3473         (__ASSUME_O_CLOEXEC): Likewise.
3474         (__ASSUME_SOCK_CLOEXEC): Likewise.
3475         (__ASSUME_IN_NONBLOCK): Likewise.
3476         (__ASSUME_PIPE2): Likewise.
3477         (__ASSUME_EVENTFD2): Likewise.
3478         (__ASSUME_SIGNALFD4): Likewise.
3479         (__ASSUME_DUP3): Likewise.
3480         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3481         (__ASSUME_DUP3): Do not define.
3482         (__ASSUME_EVENTFD2): Likewise.
3483         (__ASSUME_IN_NONBLOCK): Likewise.
3484         (__ASSUME_O_CLOEXEC): Likewise.
3485         (__ASSUME_PIPE2): Likewise.
3486         (__ASSUME_SIGNALFD4): Likewise.
3487         (__ASSUME_SOCK_CLOEXEC): Likewise.
3488         (__ASSUME_UTIMES): Undefine.
3489         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3490         (__ASSUME_UTIMES): Do not define.
3491         (__ASSUME_O_CLOEXEC): Likewise.
3492         (__ASSUME_SOCK_CLOEXEC): Likewise.
3493         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3494         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3495         0x020621].
3496         (__ASSUME_PIPE2): Likewise.
3497         (__ASSUME_EVENTFD2): Likewise.
3498         (__ASSUME_SIGNALFD4): Likewise.
3499         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3500         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3501         Do not define.
3502         (__ASSUME_EVENTFD2): Likewise.
3503         (__ASSUME_SIGNALFD4): Likewise.
3504         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3505         (__ASSUME_32BITUIDS): Likewise.
3506         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3507         (__ASSUME_IPC64): Likewise.
3508         (__ASSUME_ST_INO_64_BIT): Likewise.
3509         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3510         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3511         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3512         (__ASSUME_UTIMES): Do not define.
3513         (__ASSUME_PSELECT): Likewise.
3514         (__ASSUME_PPOLL): Likewise.
3515         (__ASSUME_O_CLOEXEC): Likewise.
3516         (__ASSUME_SOCK_CLOEXEC): Likewise.
3517         (__ASSUME_IN_NONBLOCK): Likewise.
3518         (__ASSUME_PIPE2): Likewise.
3519         (__ASSUME_EVENTFD2): Likewise.
3520         (__ASSUME_SIGNALFD4): Likewise.
3521         (__ASSUME_DUP3): Likewise.
3522         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3523         (__ASSUME_UTIMES): Likewise.
3524         (__ASSUME_O_CLOEXEC): Likewise.
3525         (__ASSUME_SOCK_CLOEXEC): Likewise.
3526         (__ASSUME_IN_NONBLOCK): Likewise.
3527         (__ASSUME_PIPE2): Likewise.
3528         (__ASSUME_EVENTFD2): Likewise.
3529         (__ASSUME_SIGNALFD4): Likewise.
3530         (__ASSUME_DUP3): Likewise.
3531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3532         (__ASSUME_UTIMES): Likewise.
3533         (__ASSUME_O_CLOEXEC): Likewise.
3534         (__ASSUME_SOCK_CLOEXEC): Likewise.
3535         (__ASSUME_IN_NONBLOCK): Likewise.
3536         (__ASSUME_PIPE2): Likewise.
3537         (__ASSUME_EVENTFD2): Likewise.
3538         (__ASSUME_SIGNALFD4): Likewise.
3539         (__ASSUME_DUP3): Likewise.
3540         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3541         Likewise.
3542         (__ASSUME_UTIMES): Likewise.
3543         (__ASSUME_EVENTFD2): Likewise.
3544         (__ASSUME_SIGNALFD4): Likewise.
3545         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3546         (__ASSUME_O_CLOEXEC): Likewise.
3547         (__ASSUME_SOCK_CLOEXEC): Likewise.
3548         (__ASSUME_IN_NONBLOCK): Likewise.
3549         (__ASSUME_PIPE2): Likewise.
3550         (__ASSUME_EVENTFD2): Likewise.
3551         (__ASSUME_SIGNALFD4): Likewise.
3552         (__ASSUME_DUP3): Likewise.
3553         (__ASSUME_UTIMES): Undefine.
3554
3555         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3556         feclearexcept.  Remove symbol versioning code.
3557         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3558         symbol versioning code.
3559         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3560         symbol versioning code.
3561         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3562         feupdateenv.  Remove symbol versioning code.
3563         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3564         fegetexceptflag.  Remove symbol versioning code.
3565         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3566         fesetexceptflag.  Remove symbol versioning code.
3567         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3568         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3569         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3570         (__posix_fadvise64_l32): Remove prototype.
3571         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3572         code.
3573
3574 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3575
3576         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3577         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3578         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3579         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3580
3581 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3582
3583         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3584         current working directory
3585
3586 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3587
3588         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3589         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3590         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3591         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3592         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3593         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3594         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3597         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3605         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3607         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3609         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3610         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3611         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3612         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3613         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3614         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3615         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3617         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3619         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3620         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3621         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3622         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3623         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3624         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3625         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3626         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3627         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3628         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3629         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3630
3631         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3632         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3633
3634         * sysdeps/unix/sysv/linux/arm/Makefile
3635         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3636         Add rt-aeabi_unwind_cpp_pr1.
3637         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3638         Add nptl-aeabi_unwind_cpp_pr1.
3639         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3640         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3641         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3642         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3643         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3644         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3645
3646         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3647         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3648         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3649         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3650
3651         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3652         Deconditionalize the code that was previously under [RESET_PID].
3653         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3654
3655         * sysdeps/generic/exit-thread.h: New file.
3656         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3657         * include/unistd.h (__exit_thread): Remove declaration.
3658         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3659         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3660         * csu/libc-start.c: Include <exit-thread.h>.
3661         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3662         * nptl/pthread_create.c: Include <exit-thread.h>.
3663         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3664         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3665         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3666         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3667         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3668         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3669         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3670         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3671         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3672         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3673         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3674         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3675         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3676         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3677         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3678         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3679         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3680
3681 2014-05-13  Andreas Schwab  <schwab@suse.de>
3682
3683         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3684
3685 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3686
3687         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3688         (__ASSUME_UTIMES): Do not condition on kernel version.
3689         (__ASSUME_PSELECT): Define unconditionally.
3690         (__ASSUME_PPOLL): Likewise.
3691         (__ASSUME_ATFCTS): Likewise.
3692         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3693         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3694         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3695         (__ASSUME_UTIMENSAT): Define unconditionally.
3696         (__ASSUME_PRIVATE_FUTEX): Likewise.
3697         (__ASSUME_FALLOCATE): Likewise.
3698         (__ASSUME_O_CLOEXEC): Likewise.
3699         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3700         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3701         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3702         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3703         (__ASSUME_IN_NONBLOCK): Likewise.
3704         (__ASSUME_PIPE2): Likewise.
3705         (__ASSUME_EVENTFD2): Likewise.
3706         (__ASSUME_SIGNALFD4): Likewise.
3707         (__ASSUME_DUP3): Likewise.
3708         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3709         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3710         (__ASSUME_AT_RANDOM): Likewise.
3711         (__ASSUME_PREADV): Likewise.
3712         (__ASSUME_PWRITEV): Likewise.
3713         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3714         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3715         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3716         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3717         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3719         (__ASSUME_O_CLOEXEC): Define unconditionally.
3720         (__ASSUME_PSELECT): Do not undefine conditionally.
3721         (__ASSUME_PPOLL): Likewise.
3722         (__ASSUME_ATFCTS): Likewise.
3723         (__ASSUME_SET_ROBUST_LIST): Likewise.
3724         (__ASSUME_UTIMENSAT): Likewise.
3725         (__ASSUME_FDATASYNC): Define unconditionally.
3726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3727         (__ASSUME_SIGFRAME_V2): Likewise.
3728         )__ASSUME_EVENTFD2): Likewise.
3729         (__ASSUME_SIGNALFD4): Likewise.
3730         (__ASSUME_PSELECT): Do not undefine conditionally.
3731         (__ASSUME_PPOLL): Likewise.
3732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3733         (__ASSUME_PSELECT): Define unconditionally.
3734         (__ASSUME_PPOLL): Likewise.
3735         (__ASSUME_O_CLOEXEC): Likewise.
3736         (__ASSUME_SOCK_CLOEXEC): Likewise.
3737         (__ASSUME_IN_NONBLOCK): Likewise.
3738         (__ASSUME_PIPE2): Likewise.
3739         (__ASSUME_EVENTFD2): Likewise.
3740         (__ASSUME_SIGNALFD4): Likewise.
3741         (__ASSUME_DUP3): Likewise.
3742         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3743         (__ASSUME_O_CLOEXEC): Likewise.
3744         (__ASSUME_SOCK_CLOEXEC): Likewise.
3745         (__ASSUME_IN_NONBLOCK): Likewise.
3746         (__ASSUME_PIPE2): Likewise.
3747         (__ASSUME_EVENTFD2): Likewise.
3748         (__ASSUME_SIGNALFD4): Likewise.
3749         (__ASSUME_DUP3): Likewise.
3750         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3751         (__ASSUME_EVENTFD2): Likewise.
3752         (__ASSUME_SIGNALFD4): Likewise.
3753         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3754
3755 2014-05-12  Andreas Schwab  <schwab@suse.de>
3756
3757         [BZ #16932]
3758         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3759         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3760         than maximum RPC packet size.
3761         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3762         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3763         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3764         (_nss_nis_getservbyport_r): Likewise.
3765
3766 2014-05-12  Will Newton  <will.newton@linaro.org>
3767
3768         * malloc/Makefile (tests): Add tst-mallopt.
3769         * malloc/tst-mallopt.c: New file.
3770
3771 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3772
3773         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3774         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3775
3776 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3777
3778         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3779         (tst-tlsmod6.so): Likewise.
3780
3781 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3782
3783         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3784
3785 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3786
3787         [BZ #16064]
3788         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3789         and <dl-procinfo.h>.
3790         (__fegetenv): Save SSE state in envp->__eip if supported.
3791         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3792         envp->__eip if supported.
3793         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3794         and <dl-procinfo.h>.
3795         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3796         __data_offset and __data_selector in environment to 0.  Set SSE
3797         state if supported.
3798         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3799         test-fenv-sse.
3800         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3801         -mfpmath=sse.
3802         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3803
3804 2014-05-09  Will Newton  <will.newton@linaro.org>
3805
3806         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3807         and libc_relro_required for ARM.
3808         * sysdeps/arm/preconfigure: Regenerate.
3809
3810 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3811             Stefan Liebler  <stli@linux.vnet.ibm.com>
3812
3813         * config.make.in (enable-lock-elision): New Makefile variable.
3814         * configure.ac: Likewise.
3815         * configure: Regenerate.
3816         * sysdeps/s390/configure.ac:
3817         Add check for gcc transactions support.
3818         * sysdeps/s390/configure: Regenerate.
3819         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3820         Build elision files if enabled.
3821         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3822         Add lock elision support for s390.
3823         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3824         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3825         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3826         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3827         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3828         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3829         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3830         Likewise.
3831         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3832         Likewise.
3833         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3834         Likewise.
3835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3836         Likewise.
3837         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3838         (__lll_timedlock_elision, __lll_lock_elision)
3839         (__lll_unlock_elision, __lll_trylock_elision)
3840         (lll_timedlock_elision, lll_lock_elision)
3841         (lll_unlock_elision, lll_trylock_elision): Add.
3842         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3843         (pthread_mutex_t): Add lock elision support for s390.
3844
3845 2014-05-14  Wilco  <wdijkstr@arm.com>
3846
3847         * sysdeps/arm/fclrexcpt.c: Cleanup.
3848         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3849         * sysdeps/arm/feenablxcpt.c: Cleanup.
3850         * sysdeps/arm/fegetenv.c: Cleanup.
3851         * sysdeps/arm/fegetexcept.c: Cleanup.
3852         * sysdeps/arm/fegetround.c: Cleanup.
3853         * sysdeps/arm/feholdexcpt.c: Cleanup.
3854         * sysdeps/arm/fesetenv.c: Cleanup.
3855         * sysdeps/arm/fesetround.c: Cleanup.
3856         * sysdeps/arm/feupdateenv.c: Cleanup.
3857         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3858         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3859         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3860         * sysdeps/arm/ftestexcept.c: Cleanup.
3861         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3862         * sysdeps/arm/setfpucw.c: Cleanup.
3863
3864 2014-05-09  Will Newton  <will.newton@linaro.org>
3865
3866         * sysdeps/arm/armv7/strcmp.S: New file.
3867         * NEWS: Mention addition of ARMv7 optimized strcmp.
3868
3869 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3870
3871         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3872         look for %.ac rather than %.in.
3873
3874         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3875         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3876         * sysdeps/mach/hurd/configure: Regenerated.
3877         * sysdeps/unix/sysv/linux/configure: Regenerated.
3878
3879         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3880
3881 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3882
3883         [BZ# 16922]
3884         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3885         (LONG_SUB): Ditto.
3886         (PTR_SUB): Ditto.
3887
3888 2014-05-07  Andreas Schwab  <schwab@suse.de>
3889
3890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3891         when skipping over non-matching result from nscd.
3892
3893 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3894
3895         [BZ #16876]
3896         * nptl/sockperf.c (client): Check socket return value.
3897
3898         [BZ #16877]
3899         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3900         nscd security class.
3901
3902 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3903
3904         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3905         * sysdeps/arm/unwind.h: ... here.
3906
3907 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3908
3909         [BZ# 16916]
3910         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3911         Define.
3912
3913 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3914
3915         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3916         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3917         multiarch strncpy for PPC64.
3918         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3919         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3921         multiarch optimizations.
3922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3923         (__libc_ifunc_impl_list): Likewise.
3924         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3925         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3926         multiarch stpncpy for PPC64.
3927         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3928         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3929
3930 2014-05-06  Andreas Schwab  <schwab@suse.de>
3931
3932         [BZ #16912]
3933         * gmon/mcount.c (_MCOUNT_DECL): Use
3934         atomic_compare_and_exchange_bool_acq instead of
3935         catomic_compare_and_exchange_bool_acq.
3936
3937 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3938
3939         * elf/Makefile (others, install-bin): Remove pldd.
3940         (pldd-modules): Variable removed.
3941         ($(objpfx)pldd): Target removed.
3942         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3943         (others, install-bin): Append pldd here.
3944         ($(objpfx)pldd): New target.
3945
3946         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3947         to 0, so the first #if test emitted later doesn't see it undefined.
3948         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3949         * sysdeps/gnu/errlist.c: Regenerated.
3950
3951 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3952
3953         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3954         [libc_hidden_builtin_def]: Define to empty value.
3955         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3956         [libc_hidden_builtin_def]: Likewise.
3957         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3958         [libc_hidden_builtin_def]: Likewise.
3959         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3960         [libc_hidden_builtin_def]: Likewise.
3961         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3962         __redirect_memcpy and define ifunc as default hidden symbol.
3963         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3964         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3965
3966 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3967
3968         * locale/iso-4217.def: Reintroduce XDR currency.
3969
3970 2014-05-04  Allan McRae  <allan@archlinux.org>
3971
3972         * po/eo.po: Update Esperanto translation from translation project.
3973
3974 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3975
3976         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3977         and FEATURE_INDEX_MAX to 1.
3978         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3979
3980 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3981
3982         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3983         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3984         * iconvdata/big5.c (ONE_DIRECTION): Define.
3985         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3986         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3987         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3988         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3989         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3990         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3991         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3992         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3993         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3994         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3995         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3996         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3997         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3998         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3999         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4000         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4001         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4002         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4003         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4004         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4005         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4006         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4007         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4008         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4009         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4010         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4011         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4012         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4013         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4014         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4015         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4016         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4017         * iconvdata/johab.c (ONE_DIRECTION): Define.
4018         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4019         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4020         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4021         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4022         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4023         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4024         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4025         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4026         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4027         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4028
4029 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4030
4031         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4032         (_IO_JUMPS_OFFSET): Define to 0.
4033
4034         * nptl/sysdeps/pthread/bits/libc-lock.h
4035         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4036         (__libc_lock_define_initialized_recursive): Always define using
4037         initializer.  Modern compilers treat uninitialized (implicit zero) and
4038         explicit zero initializers the same (i.e. put the datum in bss).
4039
4040 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4041
4042         * nscd/nscd-client.h: Include <string.h>.
4043
4044 2014-05-01  David S. Miller  <davem@davemloft.net>
4045
4046         [BZ #16885]
4047         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4048         multiple zero bytes exist at the end of a string.
4049         Reported by Aurelien Jarno <aurelien@aurel32.net>
4050
4051         * string/test-strcmp.c (check): Add explicit test for situations where
4052         there are multiple zero bytes after the first.
4053
4054 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4055
4056         [BZ #16890]
4057         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4058         when compiling wprintf.
4059         * stdio-common/tstdiomisc.c (t3): New function.
4060         (main): Call it.
4061
4062 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4063
4064         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4065         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4066         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4067         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4068
4069 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4070
4071         * stdlib/longlong.h: Updated from GCC.
4072
4073 2014-05-01  Will Newton  <will.newton@linaro.org>
4074             Bernard Ogden  <bernie.ogden@linaro.org>
4075
4076         * NEWS: Update fixed bug list.
4077
4078         [BZ #15119]
4079         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4080
4081 2014-04-30  David S. Miller  <davem@davemloft.net>
4082
4083         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4084         (libc_feholdexcept_setround_sparc_ctx): New function.
4085         (libc_fesetenv_sparc_ctx): Likewise.
4086         (libc_feupdateenv_sparc_ctx): Likewise.
4087         (libc_feholdsetround_sparc_ctx): Likewise.
4088         (libc_feholdexcept_setround_ctx): Define.
4089         (libc_feholdexcept_setroundf_ctx): Likewise.
4090         (libc_feholdexcept_setroundl_ctx): Likewise.
4091         (libc_fesetenv_ctx): Likewise.
4092         (libc_fesetenvf_ctx): Likewise.
4093         (libc_fesetenvl_ctx): Likewise.
4094         (libc_feupdateenv_ctx): Likewise.
4095         (libc_feupdateenvf_ctx): Likewise.
4096         (libc_feupdateenvl_ctx): Likewise.
4097         (libc_feresetround_ctx): Likewise.
4098         (libc_feresetroundf_ctx): Likewise.
4099         (libc_feresetroundl_ctx): Likewise.
4100         (libc_feholdsetround_ctx): Likewise.
4101         (libc_feholdsetroundf_ctx): Likewise.
4102         (libc_feholdsetroundl_ctx): Likewise.
4103
4104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4105         with __USE_GNU instead of XOPEN cpp guards.
4106
4107         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4108         0.
4109
4110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4111         with XOPEN cpp guards.
4112
4113 2014-04-30  Julian Brown  <julian@codesourcery.com>
4114
4115         [BZ #16888]
4116         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4117         handling.
4118
4119 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4120
4121         [BZ #9894]
4122         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4123         Change to 2.6.32.
4124         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4125         * sysdeps/unix/sysv/linux/configure: Regenerated.
4126         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4127         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4128         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4129         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4130         * README: Update reference to required Linux kernel version.
4131         * manual/install.texi (Linux): Update reference to required Linux
4132         kernel headers version.
4133         * INSTALL: Regenerated.
4134
4135         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4136         header inclusion.
4137         [POSIX] (limits.h): Likewise.
4138         [POSIX] (math.h): Likewise.
4139         [POSIX] (sys/wait.h): Likewise.
4140         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4141         function.
4142         [POSIX] (stddef.h): Do not allow header inclusion.
4143
4144 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4145
4146         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4147
4148 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4149
4150         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4151         Return immediately after lll_futex_wake.
4152
4153 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4154
4155         [BZ #16791]
4156         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4157         structure.
4158         (datahead_init_pos): Call datahead_init_common early.
4159         (datahead_init_neg): Likewise.
4160
4161         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4162         datahead_init_neg): New functions.
4163         * nscd/aicache.c (addhstaiX): Use them.
4164         * nscd/grpcache.c (cache_addgr): Likewise.
4165         * nscd/hstcache.c (cache_addhst): Likewise.
4166         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4167         * nscd/netgroupcache.c (do_notfound): Likewise.
4168         (addgetnetgrentX): Likewise.
4169         (addinnetgrX): Likewise.
4170         * nscd/pwdcache.c (cache_addpw): Likewise.
4171         * nscd/servicescache.c (cache_addserv): Likewise.
4172
4173 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4174             Atsushi Onoe  <atsushi@onoe.org>
4175
4176         [BZ #14308]
4177         [BZ #12994]
4178         [BZ #13651]
4179         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4180         one response is valid.
4181         * resolv/res_send.c (send_dg): Check for validity of other
4182         response if the current response is a referral.
4183
4184 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4185
4186         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4187
4188 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4189
4190         [BZ #16823]
4191         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4192         Always divide by positive zero when computing -Inf result.
4193         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4194         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4195
4196 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4197
4198         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4199         FPSCR if value do not change.
4200         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4201         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4202         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4203         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4204         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4205         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4206         function.
4207
4208 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4209
4210         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4211         * sysdeps/unix/sysv/linux/hppa: Move directory from
4212         ports/systeps/unix/sysv/linux/hppa.
4213         * README: Update listing for hppa-*-linux-gnu.
4214
4215 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4216
4217         [BZ #16754]
4218         * manual/stdio.texi (Hook functions): Fix types of stream hook
4219         functions.
4220         [BZ #16854]
4221         * socket/sys/socket.h: Fix typo in comment.
4222
4223 2014-04-28  Wilco  <wdijkstr@arm.com>
4224
4225         * sysdeps/arm/fenv_private.h: New file.
4226         * sysdeps/arm/math_private.h: New file.
4227         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4228
4229 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4230
4231         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4232         with __int128_t.
4233         (La_x86_64_retval): Likewise.
4234
4235 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4236
4237         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4238         fpsr if value didn't change.
4239         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4240         to fpcr if value didn't change.
4241         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4242         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4243         fpsr or fpcr if value didn't change.
4244         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4245         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4246         fpcr if value didn't change.
4247         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4248         to fpsr if value didn't change.
4249
4250 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4251
4252         * nptl/tst-sem3.c: Use test-skeleton.c
4253         (main): Rename to do_test.  Use return instead of
4254         exit.
4255         * nptl/tst-sem4.c: Use test-skeleton.c
4256         (main): Rename to do_test.
4257
4258 2014-04-22  David S. Miller  <davem@davemloft.net>
4259
4260         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4261         (struct sigaction): New struct member __glibc_reserved0, change
4262         type of sa_flags to int.
4263
4264 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4265
4266         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4267         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4268
4269 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4270
4271         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4272         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4273
4274 2014-04-22  Will Newton  <will.newton@linaro.org>
4275             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4276
4277         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4278         (__longjmp): Add longjmp and longjmp_target SystemTap
4279         probes.
4280         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4281         (__sigsetjmp): Add setjmp SystemTap probe.
4282
4283 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4284
4285         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4286         match manual order.
4287
4288 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4289
4290         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4291
4292         * sysdeps/powerpc/fpu/fenv_private.h
4293         (libc_feholdexcept_setroundl_ctx): Define to
4294         libc_feholdexcept_setround_ppc_ctx.
4295         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4296         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4297         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4298         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4299
4300 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4301
4302         * sysdeps/aarch64/math-tests.h: New file.
4303
4304 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4305
4306         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4307         New.
4308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4309         Check and set bit_AVX2_Usable.
4310         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4311         macro.
4312         (bit_AVX2): Likewise.
4313         (index_AVX2_Usable): Likewise.
4314         (CPUID_AVX2): Likewise.
4315         (HAS_AVX2): Likewise.
4316
4317 2014-04-17  Will Newton  <will.newton@linaro.org>
4318
4319         * manual/setjmp.texi (System V contexts): Add note that
4320         calling setcontext on a context created by a call to a
4321         signal handler is undefined.  Update text to note that
4322         setcontext from a signal handler is possible but not
4323         recommended.
4324
4325         [BZ #16629]
4326         * stdlib/tst-setcontext.c: Include signal.h.
4327         (main): Check that the signal stack before and
4328         after swapcontext is the same.
4329
4330         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4331         Re-implement to restore registers in user code and avoid
4332         rt_sigreturn system call.
4333
4334 2014-04-17  Wilco  <wdijkstr@arm.com>
4335
4336         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4337         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4338         * math/test-fenv.c: Skip exception trap tests on targets which only
4339         support non-stop mode.
4340
4341 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4342             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4343
4344         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4345         (libc_feholdsetround_aarch64_ctx)
4346         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4347         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4348         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4349         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4350         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4351         (libc_feresetround_noexl_ctx): Define.
4352
4353 2014-04-16  Richard Henderson  <rth@redhat.com>
4354
4355         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4356
4357         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4358         unwind tables.
4359
4360         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4361         const from the non-libc, non-ldso copy.
4362
4363         * sysdeps/alpha/libm-test-ulps: Regenerate.
4364
4365 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4366             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4367
4368         * sysdeps/aarch64/fpu/math_private.h: New file.
4369
4370 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4371
4372         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4373
4374 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4375
4376         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4377         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4378         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4379         Intel MPX bound registers before _dl_profile_fixup.
4380         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4381         registers after _dl_profile_fixup.  Save and restore bound
4382         registers bnd0/bnd1 when calling _dl_call_pltexit.
4383         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4384         (LR_BND_OFFSET): Likewise.
4385         (LRV_BND0_OFFSET): Likewise.
4386         (LRV_BND1_OFFSET): Likewise.
4387
4388 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4389
4390         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4391         to...
4392         * sysdeps/mach/hurd/i386/tls.h: ... here.
4393         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4394         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4395         fields.
4396
4397 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4398
4399         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4400
4401 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4402
4403         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4404
4405 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4406
4407         [BZ #14770]
4408         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4409         * sysdeps/s390/configure: Regenerate.
4410
4411         [BZ #16824]
4412         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4413         Set round-to-nearest internally to reduce error accumulation.
4414
4415 2014-04-16  Alan Modra  <amodra@gmail.com>
4416
4417         [BZ #16740]
4418         [BZ #16619]
4419         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4420         * math/libm-test.inc (frexp_test_data): Add tests.
4421         * NEWS: Update fixed bug list.
4422
4423 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4424
4425         * benchtests/Makefile: Depend on libraries in build directory.
4426         (bench-math): Separate out math tests.
4427         (bench-pthread): Separate out pthread tests.
4428         (bench): Include math and pthread tests.
4429
4430 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4431
4432         [BZ #16831]
4433         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4434         _dl_debug_initialize.
4435
4436         * configure.ac: Remove SELinux header check.
4437         * configure: Regenerate.
4438         * nscd/selinux.c (perms): Array of const char* to permission names.
4439         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4440         default policy. Call string_to_security_class and string_to_av_perm to
4441         translate strings. Enforce default policy and call avs_has_perm with
4442         results of translated strings.
4443
4444 2014-04-13  David S. Miller  <davem@davemloft.net>
4445
4446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4447
4448 2014-04-12  Allan McRae  <allan@archlinux.org>
4449
4450         [BZ #16838]
4451         * manual/string.texi (Collation Functions): Fix qsort argument
4452         order in example.
4453         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4454
4455 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4456
4457         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4458         Make the test a no-op if there are no exceptions defined.
4459
4460 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4461
4462         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4463         enable-hardcoded-path-in-tests
4464
4465 2014-04-11  Will Newton  <will.newton@linaro.org>
4466
4467         * benchtests/Makefile (extra-objs): Add json-lib.o.
4468         (bench-func): Tidy up JSON output.
4469         * benchtests/bench-skeleton.c: Include json-lib.h.
4470         (main): Use JSON library functions to do output of
4471         benchmark results.
4472         * benchtests/bench-timing-type.c (main): Output the
4473         timing type simply, leaving formatting to the user.
4474         * benchtests/json-lib.c: New file.
4475         * benchtests/json-lib.h: Likewise.
4476
4477 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4478
4479         [BZ #15215]
4480         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4481         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4482         memory barriers.  Add comments.
4483         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4484         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4485         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4486         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4487         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4488         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4489
4490 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4491
4492         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4493         * sysdeps/s390/s390-64/configure.ac: ... this ...
4494         * sysdeps/s390/configure.ac: ... to here.
4495         * sysdeps/s390/s390-32/configure: Delete file.
4496         * sysdeps/s390/s390-64/configure: Delete file.
4497         * sysdeps/s390/configure: Regenerate.
4498
4499 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4500
4501         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4502
4503 2014-04-11  Will Newton  <will.newton@linaro.org>
4504
4505         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4506         to zero if it is not defined elsewhere.  (mtrim): Test
4507         the value of MALLOC_DEBUG with #if rather than #ifdef.
4508
4509 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4510
4511         * benchtests/pthread_once-inputs: New file.
4512         * benchtests/pthread_once-source.c: New file.
4513         * benchtests/README: Update documentation.
4514
4515 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4516             H.J. Lu  <hongjiu.lu@intel.com>
4517
4518         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4519         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4520         * sysdeps/x86_64/configure: Regenerated.
4521         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4522         macro.
4523         (REGISTER_SAVE_RAX): Likewise.
4524         (REGISTER_SAVE_RCX): Likewise.
4525         (REGISTER_SAVE_RDX): Likewise.
4526         (REGISTER_SAVE_RSI): Likewise.
4527         (REGISTER_SAVE_RDI): Likewise.
4528         (REGISTER_SAVE_R8): Likewise.
4529         (REGISTER_SAVE_R9): Likewise.
4530         (REGISTER_SAVE_BND0): Likewise.
4531         (REGISTER_SAVE_BND1): Likewise.
4532         (REGISTER_SAVE_BND2): Likewise.
4533         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4534         bound registers when calling _dl_fixup.
4535
4536 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4537
4538         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4539         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4540         of its definition.
4541         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4542         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4543         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4544         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4545         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4546         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4547         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4548
4549 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4550
4551         [BZ #15514]
4552         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4553         pathconf(_PC_NAME_MAX).
4554
4555 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4556
4557         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4558         Remove macro usage.
4559         (__PTHREAD_SPINS): Move definition to ...
4560         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4561         (__PTHREAD_SPINS): ... here.
4562         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4563         (__PTHREAD_SPIN): Likewise.
4564         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4565         (__PTHREAD_SPIN): Likewise.
4566         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4567         (__PTHREAD_SPIN): Likewise.
4568         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4569         (__PTHREAD_SPIN): Likewise.
4570         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4571         (__PTHREAD_SPIN): Likewise.
4572         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4573         (__PTHREAD_SPIN): Likewise.
4574         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4575         (__PTHREAD_SPIN): Likewise.
4576         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4577         (__PTHREAD_SPIN): Likewise.
4578         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4579         (__PTHREAD_SPIN): Likewise.
4580         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4581         (__PTHREAD_SPIN): Likewise.
4582         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4583         (__PTHREAD_SPIN): Likewise.
4584         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4585         (__PTHREAD_SPIN): Likewise.
4586
4587         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4588         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4589         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4590         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4591         imply folder.
4592         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4593         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4594         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4595         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4596         correct imply path.
4597         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4598         strlen symbol for non multi-arch builds.
4599         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4600         missing hidden_def and weak_alias.
4601
4602 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4603
4604         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4605
4606 2014-04-07  Will Newton  <will.newton@linaro.org>
4607
4608         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4609         and contents.  [!_LIBC] Remove #ifndef and contents.
4610         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4611         * string/memccpy.c (__memccpy): Use ANSI prototype.
4612         * string/memfrob.c (memfrob): Likewise.
4613         * string/strcoll.c (STRCOLL): Likewise.
4614         * string/strlen.c (strlen): Likewise.
4615         * string/strtok.c (STRTOK): Likewise.
4616         * string/strcat.c: Remove unused #include of memcopy.h.
4617         (strcat): Use ANSI prototype.
4618         * string/strchr.c: Remove unused #include of memcopy.h.
4619         (strchr): Use ANSI prototype.
4620         * string/strcmp.c: Remove unused #include of memcopy.h.
4621         (strcmp): Use ANSI prototype.
4622         * string/strcpy.c: Remove unused #include of memcopy.h.
4623         (strcpy): Use ANSI prototype.
4624
4625 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4626
4627         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4628         * config.make.in (config-extra-cppflags): Set it from
4629         libc_extra_cppflags.
4630         * configure.ac (libc_extra_cflags): Make it accumulate over
4631         configure fragments.
4632         (libc_extra_cppflags): New flag.
4633         * configure. Regenerate.
4634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4635         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4636         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4638
4639         [BZ #16815]
4640         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4641         result for FE_DOWNWARD rounding mode.
4642         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4643         Likewise.
4644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4645
4646 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4647
4648         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4649         in function argument name.
4650
4651 2014-04-03  David Svoboda  <svoboda@cert.org>
4652
4653         [BZ #5666]
4654         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4655         explicitly.
4656
4657 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4658
4659         * elf/dl-unmap-segments.h: New file.
4660         * sysdeps/generic/ldsodefs.h
4661         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4662         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4663         * elf/dl-fptr.c: Likewise.
4664         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4665         * sysdeps/aarch64/tlsdesc.c: Likewise.
4666         * sysdeps/arm/tlsdesc.c: Likewise.
4667         * sysdeps/i386/tlsdesc.c: Likewise.
4668         * sysdeps/tile/dl-runtime.c: Likewise.
4669         * sysdeps/x86_64/tlsdesc.c: Likewise.
4670         * elf/dl-load.h: New file.
4671         * elf/dl-load.c: Include it.
4672         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4673         Macros moved to dl-load.h.
4674         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4675         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4676         Use _dl_unmap_segments in place of __munmap.
4677         Break out segment-mapping loop into ...
4678         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4679
4680 2014-04-03  Will Newton  <will.newton@linaro.org>
4681
4682         * elf/dl-lookup.c (do_lookup_x): Remove comment
4683         referring to nested function and move variable
4684         declarations down to before first use.
4685
4686 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4687
4688         [BZ #16799]
4689         [BZ #16800]
4690         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4691         with 0 numerator.
4692         * math/s_catanf.c (__catanf): Likewise.
4693         * math/s_catanh.c (__catanh): Likewise.
4694         * math/s_catanhf.c (__catanhf): Likewise.
4695         * math/s_catanhl.c (__catanhl): Likewise.
4696         * math/s_catanl.c (__catanl): Likewise.
4697         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4698         by positive zero when computing -Inf result.
4699         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4700         (catanh_test): Likewise.
4701         * sysdeps/i386/fpu/libm-test-ulps: Update.
4702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4703
4704         [BZ #16789]
4705         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4706         instead of using underflowing value in computing result.
4707         * math/s_clog10.c (__clog10): Likewise.
4708         * math/s_clog10f.c (__clog10f): Likewise.
4709         * math/s_clog10l.c (__clog10l): Likewise.
4710         * math/s_clogf.c (__clogf): Likewise.
4711         * math/s_clogl.c (__clogl): Likewise.
4712         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4713         (clog10_test): Likewise.
4714         * sysdeps/i386/fpu/libm-test-ulps: Update.
4715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4716
4717 2014-04-02  Alan Modra  <amodra@gmail.com>
4718
4719         [BZ #16739]
4720         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4721         output when value is near a power of two.  Use int64_t for lx and
4722         remove casts.  Use decimal rather than hex exponent constants.
4723         Don't use long double multiplication when double will suffice.
4724         * math/libm-test.inc (nextafter_test_data): Add tests.
4725         * NEWS: Add 16739 and 16786 to bug list.
4726
4727         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4728
4729         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4730
4731 2014-04-01  Will Newton  <will.newton@linaro.org>
4732
4733         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4734         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4735
4736 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4737
4738         [BZ #13347]
4739         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4740         * nptl/tst-setuid2.c: New file.
4741         * nptl/Makefile (xtests): Add tst-setuid2.
4742
4743 2014-04-01  Alan Modra  <amodra@gmail.com>
4744
4745         [BZ #16786]
4746         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4747
4748 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4749
4750         [BZ #6803]
4751         [BZ #6804]
4752         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4753         set errno as appropriate.
4754         * math/w_scalbf.c (__scalbf): Likewise.
4755         * math/w_scalbl.c (__scalbl): Likewise.
4756         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4757         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4758         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4759         Add more NaN tests.
4760
4761         [BZ #16349]
4762         * math/w_atan2.c: Include <errno.h>.
4763         (__atan2): Set errno for result underflowing to zero.
4764         * math/w_atan2f.c: Include <errno.h>.
4765         (__atan2f): Set errno for result underflowing to zero.
4766         * math/w_atan2l.c: Include <errno.h>.
4767         (__atan2l): Set errno for result underflowing to zero.
4768         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4769         tests.
4770         * math/auto-libm-test-out: Regenerated.
4771
4772 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4773
4774         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4775         Encode instruction correctly in little endian.
4776         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4777         Likewise.
4778         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4779         Likewise.
4780         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4781         Likewise.
4782         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4783         Likewise.
4784
4785 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4786
4787         [BZ #9894]
4788         * sysdeps/unix/sysv/linux/kernel-features.h
4789         [__sparc__ && !__arch64__ && !__sparc_v9__]
4790         (__ASSUME_SET_ROBUST_LIST): Do not define.
4791         [__sparc__ && !__arch64__ && !__sparc_v9__]
4792         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4793         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4794         Likewise.
4795         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4796         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4797         (__ASSUME_REQUEUE_PI): Likewise.
4798         (__ASSUME_SET_ROBUST_LIST): Likewise.
4799         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4800         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4801         Undefine.
4802         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4803         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4804         Likewise.
4805         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4806         Likewise.
4807         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4808         Likewise.
4809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4810         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4811         Undefine.
4812         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4813         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4814         Likewise.
4815
4816         [BZ #16648]
4817         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4818         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4819         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4820
4821 2014-03-31  Will Newton  <will.newton@linaro.org>
4822
4823         * benchtests/Makefile (bench): Add ffs and ffsll to list
4824         of tests.
4825         * benchtests/ffs-inputs: New file.
4826         * benchtests/ffsll-inputs: Likewise.
4827
4828 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4829
4830         [BZ #16770]
4831         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4832         too large before casting to int.
4833         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4834         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4835         * math/libm-test.inc (scalb_test_data): Add more tests.
4836
4837 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4838
4839         * benchtests/Makefile (DETAILED_OPT): New make option.
4840         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4841         set.
4842         * benchtests/bench-skeleton.c: Include stdbool.h.
4843         (main): Store and print timings per input.
4844         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4845         member to each argument value.
4846         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4847         (_print_arg_data): Initialize per-input timing to 0.
4848
4849         * benchtests/Makefile (timing-type): New binary.
4850         (bench-clean): Also remove bench-timing-type.
4851         (bench): New target for timing-type.
4852         (bench-func): Print output in JSON format.
4853         * benchtests/bench-skeleton.c (main): Print output in JSON
4854         format.
4855         * benchtests/bench-timing-type.c: New file.
4856         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4857         (TIMING_PRINT_STATS): Remove.
4858         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4859         name separately.
4860
4861         * benchtests/bench-modf.c: Remove.
4862         * benchtests/modf-inputs: New inputs file.
4863
4864 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4865
4866         [BZ #16362]
4867         * math/s_clog10.c (M_PI_LOG10E): New macro.
4868         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4869         imaginary parts are 0.
4870         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4871         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4872         imaginary parts are 0.
4873         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4874         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4875         imaginary parts are 0.
4876         * math/libm-test.inc (clog10_test_data): Update expected results
4877         for when real and imaginary parts are 0.
4878
4879 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4880
4881         * elf/dl-load.c: Finish conversion of __builtin_expect into
4882         __glibc_{un}likely.
4883
4884 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4885
4886         [BZ #16348]
4887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4888         1+x for argument with exponent below -67.
4889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4890         Likewise.
4891         * math/auto-libm-test-in: Add more tests of exp.
4892         * math/auto-libm-test-out: Regenerated.
4893
4894 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4895
4896         [BZ #16759]
4897         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4898         (nscd_getnetgrent): Use it.
4899
4900         [BZ #16760]
4901         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4902         of stpcpy.
4903
4904 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4905
4906         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4907         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4908         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4909         (lll_robust_unlock): Remove out of line section. Use cfi
4910         intrinsics.
4911         (LLL_STUB_UNWIND_INFO*): Remove.
4912         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4913         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4914         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4915         (lll_robust_unlock): Remove out of line section. Use cfi
4916         intrinsics.
4917         (LLL_STUB_UNWIND_INFO*): Remove.
4918
4919 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4920
4921         [BZ #16758]
4922         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4923         blank values.
4924
4925 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4926
4927         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4928
4929 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4930
4931         [BZ #16198]
4932         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4933         fnstenv.
4934         * math/test-fenv-preserve.c: New file.
4935         * math/Makefile (tests): Add test-fenv-preserve.
4936
4937 2014-03-26  Will Newton <will.newton@linaro.org>
4938
4939         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4940
4941 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4942
4943         * scripts/versionlist.awk: Partition the version sets and emit all
4944         GLIBC_* (sorted) before all others (sorted).
4945
4946 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4947
4948         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4949         GLIBC_2.2.5 version.
4950
4951 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4952
4953         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4954         calls.
4955
4956         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4957         previous change.
4958
4959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4960
4961 2014-03-25  Andreas Schwab  <schwab@suse.de>
4962
4963         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4964         label to be used after in6ailist is initialized.
4965
4966 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4967
4968         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4969         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4970
4971 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4972
4973         [BZ #16357]
4974         [BZ #16599]
4975         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4976         min_plus_half.
4977         (fp_formats): Update initializers.
4978         (init_fp_formats): Initialize new field.
4979         (output_for_one_input_case): Allow underflow for results up to
4980         min_plus_half.
4981         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4982         * math/auto-libm-test-in: Don't mark some underflows from asin and
4983         atanh as spurious.
4984         * math/auto-libm-test-out: Regenerated.
4985         * sysdeps/i386/fpu/libm-test-ulps: Update.
4986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4987
4988 2014-03-25  Andreas Schwab  <schwab@suse.de>
4989
4990         * libio/Makefile (tst-ftell-partial-wide-ENV)
4991         (tst-ftell-active-handler-ENV): Define.
4992
4993 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4994
4995         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4996
4997 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4998
4999         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5000
5001 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5002
5003         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5004         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5005         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5006
5007 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5008
5009         [BZ #16634]
5010         * elf/dl-load.c (open_verify): Add mode parameter.
5011         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5012         (open_path): Change from boolean 'secure' to complete flag 'mode'
5013         (_dl_map_object): Adjust.
5014         * elf/Makefile (tests): Add tst-dlopen-aout.
5015         * elf/tst-dlopen-aout.c: New test.
5016
5017 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5018
5019         [BZ #16714]
5020         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5021         (struct stat): Rename member pad0 to __glibc_reserved0.
5022
5023         [BZ #16712]
5024         * sysdeps/s390/s390-32/bits/wordsize.h
5025         (__WORDSIZE32_SIZE_ULONG): New define.
5026         * sysdeps/s390/s390-64/bits/wordsize.h
5027         (__WORDSIZE32_SIZE_ULONG): Likewise.
5028         * sysdeps/generic/stdint.h (SIZE_MAX):
5029         Define as UL if __WORDSIZE32_SIZE_ULONG.
5030
5031         [BZ #16713]
5032         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5033         (__glibc_reserved0): New variable.
5034         (sa_flags): Change type to int.
5035
5036         * posix/Makefile (before-compile): Use += before-compile instead
5037         of a :=.
5038
5039         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5040         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5041
5042 2014-03-20  Andreas Schwab  <schwab@suse.de>
5043
5044         [BZ #16743]
5045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5046         non-matching result from nscd.
5047
5048 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5049
5050         * scripts/bench.py: Moved to ...
5051         * benchtests/scripts/bench.py: ... here.
5052         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5053
5054 2014-03-24  Andreas Schwab  <schwab@suse.de>
5055
5056         [BZ #16002]
5057         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5058         alloca_account and account alloca use for struct in6ailist.
5059
5060 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5061
5062         [BZ #16284]
5063         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5064         rounding mode to recompute results that overflow to infinity or
5065         underflow to zero.
5066         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5067         bug 16284.
5068         * math/auto-libm-test-out: Regenerated.
5069         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5070         (ccosh_test): Likewise.
5071         (csin_test_data): Use plus_oflow.
5072         (csin_test): Use ALL_RM_TEST.
5073         (csinh_test_data): Use plus_oflow.
5074         (csinh_test): Use ALL_RM_TEST.
5075         * sysdeps/i386/fpu/libm-test-ulps: Update.
5076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077
5078 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5079
5080         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5081         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5082         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5083
5084         [BZ #16731]
5085         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5086         when x - 1 is zero.
5087         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5088         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5089         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5090         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5091         argument is 1.
5092         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5093         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5094         zero.
5095         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5096         * sysdeps/i386/fpu/libm-test-ulps: Update.
5097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5098
5099 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5100
5101         * scripts/bench.pl: Remove file.
5102         * scripts/bench.py: New benchmark script.
5103         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5104         * benchtests/README: Mention python dependency.
5105         * scripts/pylintrc: New file.
5106         * scripts/pylint: New file.
5107
5108         * bits/mathdef.h: Use #ifdef instead of #if.
5109         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5110         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5111         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5112         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5113         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5114         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5115
5116 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5117             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5118
5119         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5121         and strpbrk-ppc64 objects.
5122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5123         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5124         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5125         multiarch strpbrk for POWER7.
5126         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5127         multiarch strpbrk for PPC64.
5128         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5129         ifunc selector.
5130         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5131         strpbrk for POWER7.
5132
5133 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5134
5135         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5136         (atan_test): Likewise.
5137         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5138         (atanh_test): Use ALL_RM_TEST.
5139         (atan2_test_data): Likewise.
5140         (cabs_test): Likewise.
5141         (cacosh_test): Likewise.
5142         (carg_test): Likewise.
5143         (casin_test): Likewise.
5144         (casinh_test): Likewise.
5145         (cbrt_test): Likewise.
5146         (csqrt_test): Likewise.
5147         (erf_test): Likewise.
5148         (erfc_test): Likewise.
5149         (pow10_test): Likewise.
5150         (exp2_test): Likewise.
5151         (hypot_test): Likewise.
5152         (j0_test): Likewise.
5153         (j1_test): Likewise.
5154         (lgamma_test): Likewise.
5155         (gamma_test): Likewise.
5156         (sincos_test): Likewise.
5157         (tanh_test): Likewise.
5158         (y0_test): Likewise.
5159         (y1_test): Likewise.
5160         * sysdeps/i386/fpu/libm-test-ulps: Update.
5161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5162
5163 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5164
5165         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5167         and strcspn-ppc64 objects.
5168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5169         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5170         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5171         multiarch strcspn for POWER7.
5172         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5173         multiarch strcspn for PPC64.
5174         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5175         ifunc selector.
5176         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5177         strcspn for POWER7.
5178
5179 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5180
5181         * math/gen-libm-test.pl (generate_testfile): Expect only function
5182         name as argument to AUTO_TESTS_* and pass results for all rounding
5183         modes to parse_args.
5184         (parse_auto_input): Separate inputs of automatic tests from
5185         outputs before storing in %auto_tests.
5186         * math/libm-test.inc (acos_test_data): Update call to
5187         AUTO_TESTS_f_f.
5188         (acos_test): Use ALL_RM_TEST.
5189         (acos_tonearest_test_data): Remove.
5190         (acos_test_tonearest): Likewise.
5191         (acos_towardzero_test_data): Likewise.
5192         (acos_test_towardzero): Likewise.
5193         (acos_downward_test_data): Likewise.
5194         (acos_test_downward): Likewise.
5195         (acos_upward_test_data): Likewise.
5196         (acos_test_upward): Likewise.
5197         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5198         (asin_test_data): Likewise.
5199         (asin_test): Use ALL_RM_TEST.
5200         (asin_tonearest_test_data): Remove.
5201         (asin_test_tonearest): Likewise.
5202         (asin_towardzero_test_data): Likewise.
5203         (asin_test_towardzero): Likewise.
5204         (asin_downward_test_data): Likewise.
5205         (asin_test_downward): Likewise.
5206         (asin_upward_test_data): Likewise.
5207         (asin_test_upward): Likewise.
5208         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5209         (atan_test_data): Likewise.
5210         (atanh_test_data): Likewise.
5211         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5212         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5213         (carg_test_data): Likewise.
5214         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5215         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5216         (ccosh_test_data): Likewise.
5217         (cexp_test_data): Likewise.
5218         (clog_test_data): Likewise.
5219         (clog10_test_data): Likewise.
5220         (cos_test_data): Update call to AUTO_TESTS_f_f.
5221         (cos_test): Use ALL_RM_TEST.
5222         (cos_tonearest_test_data): Remove.
5223         (cos_test_tonearest): Likewise.
5224         (cos_towardzero_test_data): Likewise.
5225         (cos_test_towardzero): Likewise.
5226         (cos_downward_test_data): Likewise.
5227         (cos_test_downward): Likewise.
5228         (cos_upward_test_data): Likewise.
5229         (cos_test_upward): Likewise.
5230         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5231         (cosh_test): Use ALL_RM_TEST.
5232         (cosh_tonearest_test_data): Remove.
5233         (cosh_test_tonearest): Likewise.
5234         (cosh_towardzero_test_data): Likewise.
5235         (cosh_test_towardzero): Likewise.
5236         (cosh_downward_test_data): Likewise.
5237         (cosh_test_downward): Likewise.
5238         (cosh_upward_test_data): Likewise.
5239         (cosh_test_upward): Likewise.
5240         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5241         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5242         (ctan_test_data): Likewise.
5243         (ctan_test): Use ALL_RM_TEST.
5244         (ctan_tonearest_test_data): Remove.
5245         (ctan_test_tonearest): Likewise.
5246         (ctan_towardzero_test_data): Likewise.
5247         (ctan_test_towardzero): Likewise.
5248         (ctan_downward_test_data): Likewise.
5249         (ctan_test_downward): Likewise.
5250         (ctan_upward_test_data): Likewise.
5251         (ctan_test_upward): Likewise.
5252         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5253         (ctanh_test): Use ALL_RM_TEST.
5254         (ctanh_tonearest_test_data): Remove.
5255         (ctanh_test_tonearest): Likewise.
5256         (ctanh_towardzero_test_data): Likewise.
5257         (ctanh_test_towardzero): Likewise.
5258         (ctanh_downward_test_data): Likewise.
5259         (ctanh_test_downward): Likewise.
5260         (ctanh_upward_test_data): Likewise.
5261         (ctanh_test_upward): Likewise.
5262         (erf_test_data): Update call to AUTO_TESTS_f_f.
5263         (erfc_test_data): Likewise.
5264         (exp_test_data): Likewise.
5265         (exp_test): Use ALL_RM_TEST.
5266         (exp_tonearest_test_data): Remove.
5267         (exp_test_tonearest): Likewise.
5268         (exp_towardzero_test_data): Likewise.
5269         (exp_test_towardzero): Likewise.
5270         (exp_downward_test_data): Likewise.
5271         (exp_test_downward): Likewise.
5272         (exp_upward_test_data): Likewise.
5273         (exp_test_upward): Likewise.
5274         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5275         (exp10_test): Use ALL_RM_TEST.
5276         (exp10_tonearest_test_data): Remove.
5277         (exp10_test_tonearest): Likewise.
5278         (exp10_towardzero_test_data): Likewise.
5279         (exp10_test_towardzero): Likewise.
5280         (exp10_downward_test_data): Likewise.
5281         (exp10_test_downward): Likewise.
5282         (exp10_upward_test_data): Likewise.
5283         (exp10_test_upward): Likewise.
5284         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5285         (expm1_test_data): Likewise.
5286         (expm1_test): Use ALL_RM_TEST.
5287         (expm1_tonearest_test_data): Remove.
5288         (expm1_test_tonearest): Likewise.
5289         (expm1_towardzero_test_data): Likewise.
5290         (expm1_test_towardzero): Likewise.
5291         (expm1_downward_test_data): Likewise.
5292         (expm1_test_downward): Likewise.
5293         (expm1_upward_test_data): Likewise.
5294         (expm1_test_upward): Likewise.
5295         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5296         (fma_test): Use ALL_RM_TEST.
5297         (fma_towardzero_test_data): Remove.
5298         (fma_test_towardzero): Likewise.
5299         (fma_downward_test_data): Likewise.
5300         (fma_test_downward): Likewise.
5301         (fma_upward_test_data): Likewise.
5302         (fma_test_upward): Likewise.
5303         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5304         (j0_test_data): Update call to AUTO_TESTS_f_f.
5305         (j1_test_data): Likewise.
5306         (jn_test_data): Update call to AUTO_TESTS_if_f.
5307         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5308         (log_test_data): Update call to AUTO_TESTS_f_f.
5309         (log10_test_data): Likewise.
5310         (log1p_test_data): Likewise.
5311         (log2_test_data): Likewise.
5312         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5313         (pow_tonearest_test_data): Likewise.
5314         (sin_test_data): Update call to AUTO_TESTS_f_f.
5315         (sin_test): Use ALL_RM_TEST.
5316         (sin_tonearest_test_data): Remove.
5317         (sin_test_tonearest): Likewise.
5318         (sin_towardzero_test_data): Likewise.
5319         (sin_test_towardzero): Likewise.
5320         (sin_downward_test_data): Likewise.
5321         (sin_test_downward): Likewise.
5322         (sin_upward_test_data): Likewise.
5323         (sin_test_upward): Likewise.
5324         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5325         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5326         (sinh_test): Use ALL_RM_TEST.
5327         (sinh_tonearest_test_data): Remove.
5328         (sinh_test_tonearest): Likewise.
5329         (sinh_towardzero_test_data): Likewise.
5330         (sinh_test_towardzero): Likewise.
5331         (sinh_downward_test_data): Likewise.
5332         (sinh_test_downward): Likewise.
5333         (sinh_upward_test_data): Likewise.
5334         (sinh_test_upward): Likewise.
5335         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5336         (sqrt_test): Use ALL_RM_TEST.
5337         (sqrt_tonearest_test_data): Remove.
5338         (sqrt_test_tonearest): Likewise.
5339         (sqrt_towardzero_test_data): Likewise.
5340         (sqrt_test_towardzero): Likewise.
5341         (sqrt_downward_test_data): Likewise.
5342         (sqrt_test_downward): Likewise.
5343         (sqrt_upward_test_data): Likewise.
5344         (sqrt_test_upward): Likewise.
5345         (tan_test_data): Update call to AUTO_TESTS_f_f.
5346         (tan_test): Use ALL_RM_TEST.
5347         (tan_tonearest_test_data): Remove.
5348         (tan_test_tonearest): Likewise.
5349         (tan_towardzero_test_data): Likewise.
5350         (tan_test_towardzero): Likewise.
5351         (tan_downward_test_data): Likewise.
5352         (tan_test_downward): Likewise.
5353         (tan_upward_test_data): Likewise.
5354         (tan_test_upward): Likewise.
5355         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5356         (tgamma_test_data): Likewise.
5357         (y0_test_data): Likewise.
5358         (y1_test_data): Likewise.
5359         (yn_test_data): Update call to AUTO_TESTS_if_f.
5360         (main): Do not call removed functions.
5361
5362 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5363
5364         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5365         (ldexp_test_data): Remove.
5366         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5367         scalbn_test_data.
5368         (scalb_test): Use ALL_RM_TEST.
5369
5370 2014-03-19  Andreas Schwab  <schwab@suse.de>
5371
5372         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5373
5374 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5375
5376         [BZ #16649]
5377         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5378         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5379         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5380         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5381         (__ASSUME_PREADV): Undefine.
5382         (__ASSUME_PWRITEV): Likewise.
5383
5384 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5385
5386         * bits/mman-linux.h: Add comment about non-Linux use.
5387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5388         bits/mman-linux.h resting place.
5389
5390         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5391         * bits/mman-linux.h: ... here.
5392
5393 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5394
5395         * conform/conformtest.pl: Add standard definition when calling C
5396         preprocessor on data files.
5397         (checknamespace): Remove unused variable.
5398
5399 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5400
5401         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5402         minus_oflow, plus_uflow and minus_uflow in expected results.
5403         * math/libm-test.inc (scalbn_test_data): Add more tests of
5404         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5405         minus_uflow.
5406         (scalbn_test): Use ALL_RM_TEST.
5407         (scalbln_test_data): Add more tests of negative arguments.  Use
5408         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5409         (scalbln_test): Use ALL_RM_TEST.
5410
5411 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5412
5413         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5414
5415 2014-03-18  Will Newton  <will.newton@linaro.org>
5416
5417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5418         inaccurate comment.
5419
5420 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5421
5422         * Makerules [!subdir] (check-abi): Exit with error status if a
5423         test failed.
5424
5425 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5426
5427         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5428         for rint.  Include results for all rounding modes.
5429         (nearbyint_test): Use ALL_RM_TEST.
5430         (rint_test_data): Include all tests used for nearbyint.
5431
5432 2014-03-17  Will Newton  <will.newton@linaro.org>
5433
5434         * nptl/sysdeps/pthread/pthread.h: Revert previous
5435         change.
5436
5437         * sysdeps/generic/ldsodefs.h: Revert previous
5438         change.
5439
5440         * libio/genops.c: Revert previous change.
5441         * libio/libioP.h: Likewise.
5442         * stdio-common/vfprintf.c: Likewise.
5443
5444         * sysdeps/generic/math_private.h: Revert previous
5445         change.
5446
5447         * sysdeps/generic/math_private.h: Check whether
5448         HAVE_RM_CTX is defined with #ifdef rather
5449         than #if.
5450
5451         * argp/argp-fmtstream.h: Check whether
5452         __STRICT_ANSI__ is defined with #ifdef rather
5453         than #if.
5454         * argp/argp.h: Likewise.
5455
5456         * libio/genops.c: Check whether
5457         _IO_JUMPS_OFFSET is defined with #ifdef rather
5458         than #if.
5459         * libio/libioP.h: Likewise.
5460         * stdio-common/vfprintf.c: Likewise.
5461
5462         * sysdeps/generic/ldsodefs.h: Check whether
5463         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5464         than #if.
5465
5466         * nptl/sysdeps/pthread/pthread.h: Check
5467         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5468         its value.
5469
5470 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5471
5472         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5473         setting O_APPEND.
5474         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5475         test case.
5476
5477         [BZ #16680]
5478         * libio/fileops.c (_IO_file_open): Seek to end of file but
5479         don't cache the offset.
5480         (get_file_offset): Remove function.
5481         (do_ftell): Use cached offset when available.
5482         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5483         don't cache the offset.
5484         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5485         case.
5486         (do_one_test): Call it.
5487         (do_ftell_test): Fix up expected old offset for a+ mode.
5488         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5489         available.
5490
5491         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5492         up test status with function return status.
5493         (do_write_test): Likewise.
5494         (do_append_test): Likewise.
5495
5496         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5497         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5498         Remove.
5499
5500 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5501
5502         * math/gen-libm-test.pl (parse_args): Handle results specified for
5503         each rounding mode separately.
5504         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5505         tests and results from lrint_tonearest_test_data,
5506         lrint_towardzero_test_data, lrint_downward_test_data and
5507         lrint_upward_test_data.
5508         (lrint_test): Use ALL_RM_TEST.
5509         (lrint_tonearest_test_data): Remove.
5510         (lrint_test_tonearest): Likewise.
5511         (lrint_towardzero_test_data): Likewise.
5512         (lrint_test_towardzero): Likewise.
5513         (lrint_downward_test_data): Likewise.
5514         (lrint_test_downward): Likewise.
5515         (lrint_upward_test_data): Likewise.
5516         (lrint_test_upward): Likewise.
5517         (llrint_test_data): Merge in per-rounding-mode tests and results
5518         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5519         llrint_downward_test_data and llrint_upward_test_data.
5520         (llrint_test): Use ALL_RM_TEST.
5521         (llrint_tonearest_test_data): Remove.
5522         (llrint_test_tonearest): Likewise.
5523         (llrint_towardzero_test_data): Likewise.
5524         (llrint_test_towardzero): Likewise.
5525         (llrint_downward_test_data): Likewise.
5526         (llrint_test_downward): Likewise.
5527         (llrint_upward_test_data): Likewise.
5528         (llrint_test_upward): Likewise.
5529         (rint_test_data): Merge in per-rounding-mode tests and results
5530         from rint_tonearest_test_data, rint_towardzero_test_data,
5531         rint_downward_test_data and rint_upward_test_data.  Add
5532         per-rounding-mode results for tests not in those arrays.
5533         (rint_test): Use ALL_RM_TEST.
5534         (rint_tonearest_test_data): Remove.
5535         (rint_test_tonearest): Likewise.
5536         (rint_towardzero_test_data): Likewise.
5537         (rint_test_towardzero): Likewise.
5538         (rint_downward_test_data): Likewise.
5539         (rint_test_downward): Likewise.
5540         (rint_upward_test_data): Likewise.
5541         (rint_test_upward): Likewise.
5542         (main): Don't call removed functions.
5543
5544 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5545
5546         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5547         "Compiled on ..." crapola.  It is anti-useful.
5548
5549 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5550
5551         * scripts/evaluate-test.sh: Handle fourth argument to determine
5552         whether test run should stop on failure.
5553         * Makeconfig (stop-on-test-failure): New variable.
5554         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5555         $(stop-on-test-failure).
5556         * Makefile (tests): Give a summary of results from testing and
5557         exit with failure status if they include an ERROR or FAIL.
5558         (xtests): Likewise.
5559         * manual/install.texi (Configuring and compiling): Mention
5560         stop-on-test-failure=y.
5561         * INSTALL: Regenerated.
5562
5563 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5564
5565         * scripts/versionlist.awk: New file.
5566         * Makerules [$(build-shared) = yes]
5567         (postclean-generated): Add Versions.def, not Versions.def.v and
5568         Versions.def.v.i.
5569         ($(common-objpfx)Versions.def.v.i): Target removed.
5570         ($(common-objpfx)Versions.def): New target.
5571         ($(common-objpfx)Versions.all): Depend on that rather that
5572         $(common-objpfx)Versions.def.v.
5573         * Versions.def: File removed.
5574
5575         * Makeconfig (+gccwarn): Add -Wundef.
5576         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5577         a dl-sysdep.h breaking its contract.
5578         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5579         * include/stackinfo.h: New file.
5580         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5581         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5582         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5583         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5584         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5585         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5586         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5587         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5588         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5589         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5590         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5591         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5592         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5593         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5594         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5595
5596 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5597
5598         [BZ #16707]
5599         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5600         implementation.
5601         * math/libm-test.inc (round_test_data): Add more tests.
5602
5603         [BZ #16706]
5604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5605         implementation.
5606         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5607
5608         [BZ #16701]
5609         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5610         implementation.
5611         * math/libm-test.inc (ceil_test_data): Add more tests.
5612
5613         * math/libm-test.inc (trunc_test_data): Add more tests related to
5614         BZ#16414.
5615
5616 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5617
5618         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5619         with #if rather than #ifdef.
5620         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5621
5622 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5623
5624         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5625         first.  Disable AVX-512 GCC support if assembler doesn't support
5626         it.
5627         * sysdeps/x86_64/configure: Regenerated.
5628
5629 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5630
5631         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5632         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5633         (__old_pthread_attr_setstack): Likewise.
5634         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5635         [!_STACK_GROWS_DOWN]: Likewise.
5636
5637 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5638
5639         * config.make.in (have-bash2): Delete.
5640         * configure.ac (libc_cv_have_bash2): Delete.
5641         * configure: Regenerate.
5642         * elf/Makefile (common-ldd-rewrite): Rename to ...
5643         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5644         (sh-ldd-rewrite): Delete.
5645         (bash-ldd-rewrite): Delete.
5646         (have-bash2): Delete checks.
5647         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5648         ldd-rewrite.
5649
5650         * config.make.in (have-ksh): Delete.
5651         (KSH): Delete.
5652         * configure.ac (libc_cv_have_ksh): Delete.
5653         * configure: Regenerate.
5654
5655         * elf/Makefile: Delete $(have-ksh) check.
5656         ($(objpfx)sotruss): Change KSH to BASH.
5657         * elf/sotruss.ksh: Rename to ...
5658         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5659         function style to match POSIX.  Drop ksh vim mode setting.
5660
5661         * manual/time.texi (Specifying the Time Zone with TZ): Change
5662         Tuesday to Thursday.
5663
5664         * debug/tst-longjmp_chk2.c: Update header comment.
5665         (stackoverflow_handler): Add comment.  Call assert on pass value.
5666
5667 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5668
5669         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5670         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5671         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5672         (La_x86_64_vector): Add zmm.
5673         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5674         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5675         ($(objpfx)tst-audit10): New target.
5676         ($(objpfx)tst-audit10.out): Likewise.
5677         (tst-audit10-ENV): New.
5678         (AVX512-CFLAGS): Likewise.
5679         (CFLAGS-tst-audit10.c): Likewise.
5680         (CFLAGS-tst-auditmod10a.c): Likewise.
5681         (CFLAGS-tst-auditmod10b.c): Likewise.
5682         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5683         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5684         * sysdeps/x86_64/configure: Regenerated.
5685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5686         AVX-512 zmm register support.
5687         (_dl_x86_64_save_sse): Likewise.
5688         (_dl_x86_64_restore_sse): Likewise.
5689         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5690         size vector registers.
5691         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5692         (ZMM_SIZE): Likewise.
5693         * sysdeps/x86_64/tst-audit10.c: New file.
5694         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5695         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5696
5697 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5698
5699         * configure.ac (HAVE_EHDR_START): New check.
5700         * configure: Regenerated.
5701         * config.h.in (HAVE_EHDR_START): New #undef.
5702         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5703         assuming the lowest-addressed segment maps the start of the file.
5704
5705 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5706
5707         * INSTALL: Regenerated.
5708
5709 2014-03-13  Will Newton  <will.newton@linaro.org>
5710
5711         * manual/setjmp.texi (System V contexts): Improve
5712         clarity and grammar of documentation.
5713
5714 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5715
5716         [BZ #16381]
5717         * elf/Makefile (tests): Add tst-pie2.
5718         (tests-pie): Add tst-pie2.
5719         * elf/tst-pie2.c: New file.
5720         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5721         for ET_EXEC.
5722         * elf/rtld.c (map_doit): Load executable as lt_executable.
5723         (dl_main): Likewise.
5724
5725 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5726
5727         [BZ #16642]
5728         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5729         (__ASSUME_PSELECT): Undefine.
5730
5731 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5732
5733         [BZ #16689]
5734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5735         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5736         static build.
5737         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5738         selector for static builds.
5739
5740 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5741
5742         [BZ #16695]
5743         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5744         key in the buffer.
5745
5746 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5747
5748         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5749         IFUNC selector for static builds.
5750
5751 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5752
5753         * sysdeps/mips/math_private.h [__mips_hard_float]
5754         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5755         libc_feresetround_mips_ctx.
5756         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5757         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5758         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5759
5760         [BZ #16677]
5761         * math/s_nextafter.c (__nextafter): Do not return value from
5762         overflowing computation.
5763         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5764         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5765         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5766         Likewise.
5767         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5768         Likewise.
5769         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5770         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5771
5772 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5773
5774         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5775         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5776         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5777         the new mov targetting sp.
5778
5779 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5780
5781         [BZ #16683]
5782         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5783         Define it for static builds as well.
5784         (NO_BZERO_IMPL): Likewise.
5785
5786 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5787
5788         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5789         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5790         multiarch strspn for PPC64.
5791         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5792         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5794         (__libc_ifunc_impl_list): Likewise.
5795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5796         multiarch optimizations
5797         * string/strspn.c (strspn): Using macro to redefine symbol name.
5798
5799 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5800             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5801
5802         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5803         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5804         multiarch strncat for PPC64.
5805         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5806         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5808         (__libc_ifunc_impl_list): Likewise.
5809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5810         multiarch optimizations
5811
5812 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5813
5814         [BZ #16639]
5815         * nscd/nscd.service: Make service type forking.
5816
5817 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5818
5819         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5820         sign in non default rounding modes.
5821         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5822
5823 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5824
5825         * math/libm-test.inc (ALL_RM_TEST): New macro.
5826         (ceil_test): Use ALL_RM_TEST.
5827         (cimag_test): Likewise.
5828         (conj_test): Likewise.
5829         (copysign_test): Likewise.
5830         (cproj_test): Likewise.
5831         (creal_test): Likewise.
5832         (fabs_test): Likewise.
5833         (floor_test): Likewise.
5834         (fmax_test): Likewise.
5835         (fmin_test): Likewise.
5836         (fmod_test): Likewise.
5837         (fpclassify_test): Likewise.
5838         (frexp_test): Likewise.
5839         (ilogb_test): Likewise.
5840         (isfinite_test): Likewise.
5841         (finite_test): Likewise.
5842         (isgreater_test): Likewise.
5843         (isgreaterequal_test): Likewise.
5844         (isinf_test): Likewise.
5845         (isless_test): Likewise.
5846         (islessequal_test): Likewise.
5847         (islessgreater_test): Likewise.
5848         (isnan_test): Likewise.
5849         (isnormal_test): Likewise.
5850         (issignaling_test): Likewise.
5851         (isunordered_test): Likewise.
5852         (logb_test): Likewise.
5853         (logb_downward_test_data): Remove.
5854         (logb_test_downward): Likewise.
5855         (lround_test): Use ALL_RM_TEST.
5856         (llround_test): Likewise.
5857         (modf_test): Likewise.
5858         (nexttoward_test): Likewise.
5859         (remainder_test): Likewise.
5860         (drem_test): Likewise.
5861         (remainder_tonearest_test_data): Likewise.
5862         (remainder_test_tonearest): Likewise.
5863         (drem_test_tonearest): Likewise.
5864         (remainder_towardzero_test_data): Likewise.
5865         (remainder_test_towardzero): Likewise.
5866         (drem_test_towardzero): Likewise.
5867         (remainder_downward_test_data): Likewise.
5868         (remainder_test_downward): Likewise.
5869         (drem_test_downward): Likewise.
5870         (remainder_upward_test_data): Likewise.
5871         (remainder_test_upward): Likewise.
5872         (drem_test_upward): Likewise.
5873         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5874         (round_test): Use ALL_RM_TEST.
5875         (signbit_test): Likewise.
5876         (trunc_test): Likewise.
5877         (significand_test): Likewise.
5878         (main): Don't call removed functions.
5879
5880 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5881
5882         [BZ #16674]
5883         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5884         || __USE_XOPEN2K8].
5885         (ILL_ILLOPN): Likewise.
5886         (ILL_ILLADR): Likewise.
5887         (ILL_ILLTRP): Likewise.
5888         (ILL_PRVOPC): Likewise.
5889         (ILL_PRVREG): Likewise.
5890         (ILL_COPROC): Likewise.
5891         (ILL_BADSTK): Likewise.
5892         (FPE_INTDIV): Likewise.
5893         (FPE_INTOVF): Likewise.
5894         (FPE_FLTDIV): Likewise.
5895         (FPE_FLTOVF): Likewise.
5896         (FPE_FLTUND): Likewise.
5897         (FPE_FLTRES): Likewise.
5898         (FPE_FLTINV): Likewise.
5899         (FPE_FLTSUB): Likewise.
5900         (SEGV_MAPERR): Likewise.
5901         (SEGV_ACCERR): Likewise.
5902         (BUS_ADRALN): Likewise.
5903         (BUS_ADRERR): Likewise.
5904         (BUS_OBJERR): Likewise.
5905         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5906         (TRAP_TRACE): Likewise.
5907         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5908         __USE_XOPEN2K8].
5909         (CLD_KILLED): Likewise.
5910         (CLD_DUMPED): Likewise.
5911         (CLD_TRAPPED): Likewise.
5912         (CLD_STOPPED): Likewise.
5913         (CLD_CONTINUED): Likewise.
5914         (POLL_IN): Likewise.
5915         (POLL_OUT): Likewise.
5916         (POLL_MSG): Likewise.
5917         (POLL_ERR): Likewise.
5918         (POLL_PRI): Likewise.
5919         (POLL_HUP): Likewise.
5920         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5921         Likewise.
5922         (ILL_ILLOPN): Likewise.
5923         (ILL_ILLADR): Likewise.
5924         (ILL_ILLTRP): Likewise.
5925         (ILL_PRVOPC): Likewise.
5926         (ILL_PRVREG): Likewise.
5927         (ILL_COPROC): Likewise.
5928         (ILL_BADSTK): Likewise.
5929         (FPE_INTDIV): Likewise.
5930         (FPE_INTOVF): Likewise.
5931         (FPE_FLTDIV): Likewise.
5932         (FPE_FLTOVF): Likewise.
5933         (FPE_FLTUND): Likewise.
5934         (FPE_FLTRES): Likewise.
5935         (FPE_FLTINV): Likewise.
5936         (FPE_FLTSUB): Likewise.
5937         (SEGV_MAPERR): Likewise.
5938         (SEGV_ACCERR): Likewise.
5939         (BUS_ADRALN): Likewise.
5940         (BUS_ADRERR): Likewise.
5941         (BUS_OBJERR): Likewise.
5942         (BUS_MCEERR_AR): Likewise.
5943         (BUS_MCEERR_AO): Likewise.
5944         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5945         (TRAP_TRACE): Likewise.
5946         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5947         __USE_XOPEN2K8].
5948         (CLD_KILLED): Likewise.
5949         (CLD_DUMPED): Likewise.
5950         (CLD_TRAPPED): Likewise.
5951         (CLD_STOPPED): Likewise.
5952         (CLD_CONTINUED): Likewise.
5953         (POLL_IN): Likewise.
5954         (POLL_OUT): Likewise.
5955         (POLL_MSG): Likewise.
5956         (POLL_ERR): Likewise.
5957         (POLL_PRI): Likewise.
5958         (POLL_HUP): Likewise.
5959         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5960         (ILL_ILLOPN): Likewise.
5961         (ILL_ILLADR): Likewise.
5962         (ILL_ILLTRP): Likewise.
5963         (ILL_PRVOPC): Likewise.
5964         (ILL_PRVREG): Likewise.
5965         (ILL_COPROC): Likewise.
5966         (ILL_BADSTK): Likewise.
5967         (FPE_INTDIV): Likewise.
5968         (FPE_INTOVF): Likewise.
5969         (FPE_FLTDIV): Likewise.
5970         (FPE_FLTOVF): Likewise.
5971         (FPE_FLTUND): Likewise.
5972         (FPE_FLTRES): Likewise.
5973         (FPE_FLTINV): Likewise.
5974         (FPE_FLTSUB): Likewise.
5975         (SEGV_MAPERR): Likewise.
5976         (SEGV_ACCERR): Likewise.
5977         (BUS_ADRALN): Likewise.
5978         (BUS_ADRERR): Likewise.
5979         (BUS_OBJERR): Likewise.
5980         (BUS_MCEERR_AR): Likewise.
5981         (BUS_MCEERR_AO): Likewise.
5982         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5983         (TRAP_TRACE): Likewise.
5984         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5985         __USE_XOPEN2K8].
5986         (CLD_KILLED): Likewise.
5987         (CLD_DUMPED): Likewise.
5988         (CLD_TRAPPED): Likewise.
5989         (CLD_STOPPED): Likewise.
5990         (CLD_CONTINUED): Likewise.
5991         (POLL_IN): Likewise.
5992         (POLL_OUT): Likewise.
5993         (POLL_MSG): Likewise.
5994         (POLL_ERR): Likewise.
5995         (POLL_PRI): Likewise.
5996         (POLL_HUP): Likewise.
5997         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5998         Likewise.
5999         (ILL_ILLOPN): Likewise.
6000         (ILL_ILLADR): Likewise.
6001         (ILL_ILLTRP): Likewise.
6002         (ILL_PRVOPC): Likewise.
6003         (ILL_PRVREG): Likewise.
6004         (ILL_COPROC): Likewise.
6005         (ILL_BADSTK): Likewise.
6006         (ILL_BADIADDR): Likewise.
6007         (ILL_BREAK): Likewise.
6008         (FPE_INTDIV): Likewise.
6009         (FPE_INTOVF): Likewise.
6010         (FPE_FLTDIV): Likewise.
6011         (FPE_FLTOVF): Likewise.
6012         (FPE_FLTUND): Likewise.
6013         (FPE_FLTRES): Likewise.
6014         (FPE_FLTINV): Likewise.
6015         (FPE_FLTSUB): Likewise.
6016         (FPE_DECOVF): Likewise.
6017         (FPE_DECDIV): Likewise.
6018         (FPE_DECERR): Likewise.
6019         (FPE_INVASC): Likewise.
6020         (FPE_INVDEC): Likewise.
6021         (SEGV_MAPERR): Likewise.
6022         (SEGV_ACCERR): Likewise.
6023         (SEGV_PSTKOVF): Likewise.
6024         (BUS_ADRALN): Likewise.
6025         (BUS_ADRERR): Likewise.
6026         (BUS_OBJERR): Likewise.
6027         (BUS_MCEERR_AR): Likewise.
6028         (BUS_MCEERR_AO): Likewise.
6029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6030         (TRAP_TRACE): Likewise.
6031         (TRAP_BRANCH): Likewise.
6032         (TRAP_HWBKPT): Likewise.
6033         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6034         __USE_XOPEN2K8].
6035         (CLD_KILLED): Likewise.
6036         (CLD_DUMPED): Likewise.
6037         (CLD_TRAPPED): Likewise.
6038         (CLD_STOPPED): Likewise.
6039         (CLD_CONTINUED): Likewise.
6040         (POLL_IN): Likewise.
6041         (POLL_OUT): Likewise.
6042         (POLL_MSG): Likewise.
6043         (POLL_ERR): Likewise.
6044         (POLL_PRI): Likewise.
6045         (POLL_HUP): Likewise.
6046         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6047         (ILL_ILLOPN): Likewise.
6048         (ILL_ILLADR): Likewise.
6049         (ILL_ILLTRP): Likewise.
6050         (ILL_PRVOPC): Likewise.
6051         (ILL_PRVREG): Likewise.
6052         (ILL_COPROC): Likewise.
6053         (ILL_BADSTK): Likewise.
6054         (FPE_INTDIV): Likewise.
6055         (FPE_INTOVF): Likewise.
6056         (FPE_FLTDIV): Likewise.
6057         (FPE_FLTOVF): Likewise.
6058         (FPE_FLTUND): Likewise.
6059         (FPE_FLTRES): Likewise.
6060         (FPE_FLTINV): Likewise.
6061         (FPE_FLTSUB): Likewise.
6062         (SEGV_MAPERR): Likewise.
6063         (SEGV_ACCERR): Likewise.
6064         (BUS_ADRALN): Likewise.
6065         (BUS_ADRERR): Likewise.
6066         (BUS_OBJERR): Likewise.
6067         (BUS_MCEERR_AR): Likewise.
6068         (BUS_MCEERR_AO): Likewise.
6069         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6070         (TRAP_TRACE): Likewise.
6071         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6072         __USE_XOPEN2K8].
6073         (CLD_KILLED): Likewise.
6074         (CLD_DUMPED): Likewise.
6075         (CLD_TRAPPED): Likewise.
6076         (CLD_STOPPED): Likewise.
6077         (CLD_CONTINUED): Likewise.
6078         (POLL_IN): Likewise.
6079         (POLL_OUT): Likewise.
6080         (POLL_MSG): Likewise.
6081         (POLL_ERR): Likewise.
6082         (POLL_PRI): Likewise.
6083         (POLL_HUP): Likewise.
6084         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6085         (ILL_ILLOPN): Likewise.
6086         (ILL_ILLADR): Likewise.
6087         (ILL_ILLTRP): Likewise.
6088         (ILL_PRVOPC): Likewise.
6089         (ILL_PRVREG): Likewise.
6090         (ILL_COPROC): Likewise.
6091         (ILL_BADSTK): Likewise.
6092         (FPE_INTDIV): Likewise.
6093         (FPE_INTOVF): Likewise.
6094         (FPE_FLTDIV): Likewise.
6095         (FPE_FLTOVF): Likewise.
6096         (FPE_FLTUND): Likewise.
6097         (FPE_FLTRES): Likewise.
6098         (FPE_FLTINV): Likewise.
6099         (FPE_FLTSUB): Likewise.
6100         (SEGV_MAPERR): Likewise.
6101         (SEGV_ACCERR): Likewise.
6102         (BUS_ADRALN): Likewise.
6103         (BUS_ADRERR): Likewise.
6104         (BUS_OBJERR): Likewise.
6105         (BUS_MCEERR_AR): Likewise.
6106         (BUS_MCEERR_AO): Likewise.
6107         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6108         (TRAP_TRACE): Likewise.
6109         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6110         __USE_XOPEN2K8].
6111         (CLD_KILLED): Likewise.
6112         (CLD_DUMPED): Likewise.
6113         (CLD_TRAPPED): Likewise.
6114         (CLD_STOPPED): Likewise.
6115         (CLD_CONTINUED): Likewise.
6116         (POLL_IN): Likewise.
6117         (POLL_OUT): Likewise.
6118         (POLL_MSG): Likewise.
6119         (POLL_ERR): Likewise.
6120         (POLL_PRI): Likewise.
6121         (POLL_HUP): Likewise.
6122         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6123         (ILL_ILLOPN): Likewise.
6124         (ILL_ILLADR): Likewise.
6125         (ILL_ILLTRP): Likewise.
6126         (ILL_PRVOPC): Likewise.
6127         (ILL_PRVREG): Likewise.
6128         (ILL_COPROC): Likewise.
6129         (ILL_BADSTK): Likewise.
6130         (FPE_INTDIV): Likewise.
6131         (FPE_INTOVF): Likewise.
6132         (FPE_FLTDIV): Likewise.
6133         (FPE_FLTOVF): Likewise.
6134         (FPE_FLTUND): Likewise.
6135         (FPE_FLTRES): Likewise.
6136         (FPE_FLTINV): Likewise.
6137         (FPE_FLTSUB): Likewise.
6138         (SEGV_MAPERR): Likewise.
6139         (SEGV_ACCERR): Likewise.
6140         (BUS_ADRALN): Likewise.
6141         (BUS_ADRERR): Likewise.
6142         (BUS_OBJERR): Likewise.
6143         (BUS_MCEERR_AR): Likewise.
6144         (BUS_MCEERR_AO): Likewise.
6145         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6146         (TRAP_TRACE): Likewise.
6147         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6148         __USE_XOPEN2K8].
6149         (CLD_KILLED): Likewise.
6150         (CLD_DUMPED): Likewise.
6151         (CLD_TRAPPED): Likewise.
6152         (CLD_STOPPED): Likewise.
6153         (CLD_CONTINUED): Likewise.
6154         (POLL_IN): Likewise.
6155         (POLL_OUT): Likewise.
6156         (POLL_MSG): Likewise.
6157         (POLL_ERR): Likewise.
6158         (POLL_PRI): Likewise.
6159         (POLL_HUP): Likewise.
6160         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6161         (ILL_ILLOPN): Likewise.
6162         (ILL_ILLADR): Likewise.
6163         (ILL_ILLTRP): Likewise.
6164         (ILL_PRVOPC): Likewise.
6165         (ILL_PRVREG): Likewise.
6166         (ILL_COPROC): Likewise.
6167         (ILL_BADSTK): Likewise.
6168         (ILL_DBLFLT): Likewise.
6169         (ILL_HARDWALL): Likewise.
6170         (FPE_INTDIV): Likewise.
6171         (FPE_INTOVF): Likewise.
6172         (FPE_FLTDIV): Likewise.
6173         (FPE_FLTOVF): Likewise.
6174         (FPE_FLTUND): Likewise.
6175         (FPE_FLTRES): Likewise.
6176         (FPE_FLTINV): Likewise.
6177         (FPE_FLTSUB): Likewise.
6178         (SEGV_MAPERR): Likewise.
6179         (SEGV_ACCERR): Likewise.
6180         (BUS_ADRALN): Likewise.
6181         (BUS_ADRERR): Likewise.
6182         (BUS_OBJERR): Likewise.
6183         (BUS_MCEERR_AR): Likewise.
6184         (BUS_MCEERR_AO): Likewise.
6185         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6186         (TRAP_TRACE): Likewise.
6187         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6188         __USE_XOPEN2K8].
6189         (CLD_KILLED): Likewise.
6190         (CLD_DUMPED): Likewise.
6191         (CLD_TRAPPED): Likewise.
6192         (CLD_STOPPED): Likewise.
6193         (CLD_CONTINUED): Likewise.
6194         (POLL_IN): Likewise.
6195         (POLL_OUT): Likewise.
6196         (POLL_MSG): Likewise.
6197         (POLL_ERR): Likewise.
6198         (POLL_PRI): Likewise.
6199         (POLL_HUP): Likewise.
6200         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6201         (ILL_ILLOPN): Likewise.
6202         (ILL_ILLADR): Likewise.
6203         (ILL_ILLTRP): Likewise.
6204         (ILL_PRVOPC): Likewise.
6205         (ILL_PRVREG): Likewise.
6206         (ILL_COPROC): Likewise.
6207         (ILL_BADSTK): Likewise.
6208         (FPE_INTDIV): Likewise.
6209         (FPE_INTOVF): Likewise.
6210         (FPE_FLTDIV): Likewise.
6211         (FPE_FLTOVF): Likewise.
6212         (FPE_FLTUND): Likewise.
6213         (FPE_FLTRES): Likewise.
6214         (FPE_FLTINV): Likewise.
6215         (FPE_FLTSUB): Likewise.
6216         (SEGV_MAPERR): Likewise.
6217         (SEGV_ACCERR): Likewise.
6218         (BUS_ADRALN): Likewise.
6219         (BUS_ADRERR): Likewise.
6220         (BUS_OBJERR): Likewise.
6221         (BUS_MCEERR_AR): Likewise.
6222         (BUS_MCEERR_AO): Likewise.
6223         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6224         (TRAP_TRACE): Likewise.
6225         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6226         __USE_XOPEN2K8].
6227         (CLD_KILLED): Likewise.
6228         (CLD_DUMPED): Likewise.
6229         (CLD_TRAPPED): Likewise.
6230         (CLD_STOPPED): Likewise.
6231         (CLD_CONTINUED): Likewise.
6232         (POLL_IN): Likewise.
6233         (POLL_OUT): Likewise.
6234         (POLL_MSG): Likewise.
6235         (POLL_ERR): Likewise.
6236         (POLL_PRI): Likewise.
6237         (POLL_HUP): Likewise.
6238         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6239         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6240
6241         [BZ #16670]
6242         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6243         before #include of <time.h>.
6244         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6245         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6246         (test-xfail-UNIX98/sched.h/conform): Likewise.
6247
6248 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6249
6250         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6251         error absence of trapping exception support.
6252         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6253
6254 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6255
6256         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6257         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6258         * timezone/Makefile (testdata): Move definition above include of
6259         Rules.
6260         (test-zones): New variable.
6261         (tests-special): Add zone files.
6262         (build-testdata): Use $(evaluate-test).
6263
6264         * elf/Makefile (tests-special): Rename tests to end with .out.
6265         ($(objpfx)noload-mem): Likewise.
6266         ($(objpfx)tst-leaks1-mem): Likewise.
6267         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6268         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6269         $(objpfx)test-iconvconfig.out.
6270         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6271         set -e inside subshell and redirect output to file.
6272         * iconvdata/Makefile (generated): Rename tests to end with .out.
6273         Correct type.
6274         (tests-special): Rename tests to end with .out.
6275         ($(objpfx)mtrace-tst-loading): Likewise.
6276         * intl/Makefile (generated): Likewise.
6277         (tests-special): Likewise.
6278         ($(objpfx)mtrace-tst-gettext): Likewise.
6279         * misc/Makefile (generated): Likewise.
6280         (tests-special): Likewise.
6281         ($(objpfx)tst-error1-mem): Likewise.
6282         * nptl/Makefile (tests-special): Likewise.
6283         ($(objpfx)tst-stack3-mem): Likewise.
6284         (generated): Likewise.
6285         * posix/Makefile (generated): Likewise.
6286         (tests-special): Likewise.
6287         (xtests-special): Likewise.
6288         ($(objpfx)tst-fnmatch-mem): Likewise.
6289         ($(objpfx)bug-regex2-mem): Likewise.
6290         ($(objpfx)bug-regex14-mem): Likewise.
6291         ($(objpfx)bug-regex21-mem): Likewise.
6292         ($(objpfx)bug-regex31-mem): Likewise.
6293         ($(objpfx)tst-vfork3-mem): Likewise.
6294         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6295         ($(objpfx)tst-pcre-mem): Likewise.
6296         ($(objpfx)tst-boost-mem): Likewise.
6297         ($(objpfx)bug-ga2-mem): Likewise.
6298         ($(objpfx)bug-glob2-mem): Likewise.
6299         * resolv/Makefile (generate): Likewise.
6300         (tests-special): Likewise.
6301         (xtests-special): Likewise.
6302         (generated): Likewise.
6303         ($(objpfx)mtrace-tst-leaks): Likewise.
6304         ($(objpfx)mtrace-tst-leaks2): Likewise.
6305
6306         * scripts/merge-test-results.sh: New file.
6307         * Makefile (tests-special-notdir): New variable.
6308         (tests): Run merge-test-results.sh.
6309         (xtests): Likewise.
6310         * Rules (tests-special-notdir): New variable.
6311         (xtests-special-notdir): Likewise.
6312         (tests): Run merge-test-results.sh
6313         (xtests): Likewise.
6314
6315         * Makeconfig (test-xfail-name): New variable.
6316         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6317         compute variable name for expected failures.
6318         * conform/Makefile (conformtest-headers-data): New variable.
6319         (conformtest-standards): Likewise.
6320         (conformtest-headers-ISO): Likewise.
6321         (conformtest-headers-ISO99): Likewise.
6322         (conformtest-headers-ISO11): Likewise.
6323         (conformtest-headers-POSIX): Likewise.
6324         (conformtest-headers-XPG3): Likewise.
6325         (conformtest-headers-XPG4): Likewise.
6326         (conformtest-headers-UNIX98): Likewise.
6327         (conformtest-headers-XOPEN2K): Likewise.
6328         (conformtest-headers-POSIX2008): Likewise.
6329         (conformtest-headers-XOPEN2K8): Likewise.
6330         (conformtest-header-list-base): Likewise.
6331         (conformtest-header-list-tests): Likewise.
6332         (conformtest-header-base): Likewise.
6333         (conformtest-header-tests): Likewise.
6334         (tests-special): Add $(conformtest-header-list-tests).  If
6335         [$(fast-check) && !$(cross-compiling)], add
6336         $(conformtest-header-tests) instead of
6337         $(objpfx)run-conformtest.out.
6338         (generated): Add $(conformtest-header-list-base).  If
6339         [$(fast-check) && !$(cross-compiling)], add
6340         $(conformtest-header-base).  Remove previous setting.
6341         ($(conformtest-header-list-tests)): New target.
6342         (test-xfail-run-conformtest): Remove variable.
6343         ($(objpfx)run-conformtest.out): Remove target.
6344         (test-xfail-ISO11/complex.h/conform): New variable.
6345         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6346         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6347         (test-xfail-XPG3/varargs.h/conform): Likewise.
6348         (test-xfail-XPG4/varargs.h/conform): Likewise.
6349         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6350         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6351         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6352         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6353         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6354         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6355         (test-xfail-XPG3/ftw.h/conform): Likewise.
6356         (test-xfail-XPG3/grp.h/conform): Likewise.
6357         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6358         (test-xfail-XPG3/limits.h/conform): Likewise.
6359         (test-xfail-XPG3/pwd.h/conform): Likewise.
6360         (test-xfail-XPG3/search.h/conform): Likewise.
6361         (test-xfail-XPG3/signal.h/conform): Likewise.
6362         (test-xfail-XPG3/stdio.h/conform): Likewise.
6363         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6364         (test-xfail-XPG3/string.h/conform): Likewise.
6365         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6366         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6367         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6368         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6369         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6370         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6371         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6372         (test-xfail-XPG3/termios.h/conform): Likewise.
6373         (test-xfail-XPG3/time.h/conform): Likewise.
6374         (test-xfail-XPG3/unistd.h/conform): Likewise.
6375         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6376         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6377         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6378         (test-xfail-XPG4/netdb.h/conform): Likewise.
6379         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6380         (test-xfail-XPG4/signal.h/conform): Likewise.
6381         (test-xfail-XPG4/stdio.h/conform): Likewise.
6382         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6383         (test-xfail-XPG4/stropts.h/conform): Likewise.
6384         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6385         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6386         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6387         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6388         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6389         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6390         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6391         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6392         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6393         (test-xfail-XPG4/termios.h/conform): Likewise.
6394         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6395         (test-xfail-XPG4/unistd.h/conform): Likewise.
6396         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6397         (test-xfail-POSIX/sched.h/conform): Likewise.
6398         (test-xfail-POSIX/signal.h/conform): Likewise.
6399         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6400         (test-xfail-POSIX/tar.h/conform): Likewise.
6401         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6402         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6403         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6404         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6405         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6406         (test-xfail-UNIX98/sched.h/conform): Likewise.
6407         (test-xfail-UNIX98/signal.h/conform): Likewise.
6408         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6409         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6410         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6411         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6412         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6413         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6414         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6415         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6416         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6417         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6418         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6419         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6420         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6421         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6422         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6423         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6424         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6425         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6426         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6427         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6428         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6429         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6430         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6431         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6432         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6433         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6434         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6435         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6436         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6437         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6438         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6439         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6440         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6441         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6442         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6443         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6444         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6445         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6446         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6447         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6448         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6449         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6450         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6451         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6452         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6453         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6454         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6455         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6456         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6457         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6458         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6459         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6460         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6461         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6462         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6463         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6464         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6465         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6466         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6467         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6468         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6469         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6470         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6471         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6472         (conformtest-cc-flags): Likewise.
6473         ($(conformtest-header-tests): New target.
6474         * conform/check-header-lists.sh: New file.
6475         * conform/run-conformtest.sh: Remove.
6476
6477         * conform/conformtest.pl: Allow ' and \ in values given for
6478         constants.
6479         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6480         inclusion.
6481         [POSIX] (sys/types.h): Likewise.
6482         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6483         inclusion.
6484         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6485         inclusion.
6486         * conform/data/signal.h-data (SIGIO): Remove expectation.
6487         [XPG3] (SIGBUS): Do not expect.
6488         [POSIX || XPG3] (SIGPOLL): Likewise.
6489         [POSIX || XPG3] (SIGPROF): Likewise.
6490         [POSIX || XPG3] (SIGSYS): Likewise.
6491         [XPG3] (SIGTRAP): Likewise.
6492         [POSIX || XPG3] (SIGURG): Likewise.
6493         [POSIX || XPG3] (SIGVTALRM): Likewise.
6494         [POSIX || XPG3] (SIGXCPU): Likewise.
6495         [POSIX || XPG3] (SIGXFSZ): Likewise.
6496         [POSIX] (SA_SIGINFO): Expect.
6497         [XPG3] (siginfo_t): Do not expect type or contents.
6498         [POSIX] (si_pid): Do not expect element.
6499         [POSIX] (si_uid): Likewise.
6500         [POSIX] (si_addr): Likewise.
6501         [POSIX] (si_status): Likewise.
6502         [POSIX] (si_band): Likewise.
6503         [XPG4] (si_value): Likewise.
6504         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6505         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6506         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6507         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6508         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6509         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6510         [POSIX || XPG3] (ILL_COPROC): Likewise.
6511         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6512         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6513         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6514         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6515         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6516         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6517         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6518         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6519         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6520         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6521         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6522         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6523         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6524         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6525         [POSIX || XPG3] (CLD_EXITED): Likewise.
6526         [POSIX || XPG3] (CLD_KILLED): Likewise.
6527         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6528         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6529         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6530         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6531         [POSIX || XPG3] (POLL_IN): Likewise.
6532         [POSIX || XPG3] (POLL_OUT): Likewise.
6533         [POSIX || XPG3] (POLL_MSG): Likewise.
6534         [POSIX || XPG3] (POLL_ERR): Likewise.
6535         [POSIX || XPG3] (POLL_PRI): Likewise.
6536         [POSIX || XPG3] (POLL_HUP): Likewise.
6537         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6538         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6539         (SIG*): Do not allow.
6540         [XPG3] (si_*): Likewise.
6541         [XPG3] (SI_*): Likewise.
6542         [XPG3 || XPG4] (sigev_*): Likewise.
6543         [XPG3 || XPG4] (SIGEV_*): Likewise.
6544         [XPG3 || XPG4] (sival_*): Likewise.
6545         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6546         [POSIX || XPG3] (BUS_*): Likewise.
6547         [POSIX || XPG3] (CLD_*): Likewise.
6548         [POSIX || XPG3] (FPE_*): Likewise.
6549         [POSIX || XPG3] (ILL_*): Likewise.
6550         [POSIX || XPG3] (POLL_*): Likewise.
6551         [POSIX || XPG3] (SEGV_*): Likewise.
6552         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6553         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6554         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6555         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6556         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6557         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6558         Specify type and value.
6559         (TVERSLEN): Likewise.
6560         (REGTYPE): Likewise.
6561         (AREGTYPE): Likewise.
6562         (LNKTYPE): Likewise.
6563         (SYMTYPE): Likewise.
6564         (CHRTYPE): Likewise.
6565         (BLKTYPE): Likewise.
6566         (DIRTYPE): Likewise.
6567         (FIFOTYPE): Likewise.
6568         (CONTTYPE): Likewise.
6569         (TSUID): Likewise.
6570         (TSGID): Likewise.
6571         (TSVTX): Likewise.
6572         (TUREAD): Likewise.
6573         (TUWRITE): Likewise.
6574         (TUEXEC): Likewise.
6575         (TGREAD): Likewise.
6576         (TGWRITE): Likewise.
6577         (TGEXEC): Likewise.
6578         (TOREAD): Likewise.
6579         (TOWRITE): Likewise.
6580         (TOEXEC): Likewise.
6581         [POSIX] (TSVTX): Expect constant.
6582
6583 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6584
6585         * Makefile (tests): Change dependencies to ....
6586         (tests-special): ... additions to this variable.
6587         (tests): Depend on $(tests-special).
6588         * Makerules (check-abi-list): New variable.
6589         (check-abi): Depend on $(check-abi-list).
6590         [$(subdir) = elf] (tests-special): Add
6591         $(objpfx)check-abi-libc.out.
6592         [$(build-shared) = yes && subdir] (tests-special): Add
6593         $(check-abi-list).
6594         [$(build-shared) = yes && subdir] (tests): Do not depend on
6595         check-abi.
6596         * Rules (tests): Depend on $(tests-special).
6597         (xtests): Depend on $(xtests-special).
6598         * catgets/Makefile (tests): Change dependencies to ....
6599         (tests-special): ... additions to this variable.
6600         * conform/Makefile (tests): Change dependencies to ....
6601         (tests-special): ... additions to this variable.
6602         * elf/Makefile (tests): Change dependencies to ....
6603         (tests-special): ... additions to this variable.
6604         * grp/Makefile (tests): Change dependencies to ....
6605         (tests-special): ... additions to this variable.
6606         * iconv/Makefile (xtests): Change dependencies to ....
6607         (xtests-special): ... additions to this variable.
6608         * iconvdata/Makefile (tests): Change dependencies to ....
6609         (tests-special): ... additions to this variable.
6610         * intl/Makefile (tests): Change dependencies to ....
6611         (tests-special): ... additions to this variable.  Also add
6612         $(objpfx)tst-gettext.out.
6613         * io/Makefile (tests): Change dependencies to ....
6614         (tests-special): ... additions to this variable.
6615         * libio/Makefile (tests): Change dependencies to ....
6616         (tests-special): ... additions to this variable.
6617         * malloc/Makefile (tests): Change dependencies to ....
6618         (tests-special): ... additions to this variable.
6619         * misc/Makefile (tests): Change dependencies to ....
6620         (tests-special): ... additions to this variable.
6621         * nptl/Makefile (tests): Change dependencies to ....
6622         (tests-special): ... additions to this variable.
6623         * nptl_db/Makefile (tests): Change dependencies to ....
6624         (tests-special): ... additions to this variable.
6625         * posix/Makefile (tests): Change dependencies to ....
6626         (tests-special): ... additions to this variable.
6627         (xtests): Change dependencies to ....
6628         (xtests-special): ... additions to this variable.
6629         * resolv/Makefile (tests): Change dependencies to ....
6630         (tests-special): ... additions to this variable.
6631         (xtests): Change dependencies to ....
6632         (xtests-special): ... additions to this variable.
6633         * stdio-common/Makefile (tests): Change dependencies to ....
6634         (tests-special): ... additions to this variable.
6635         (do-tst-unbputc): Remove target.
6636         (do-tst-printf): Likewise.
6637         * stdlib/Makefile (tests): Change dependencies to ....
6638         (tests-special): ... additions to this variable.
6639         * string/Makefile (tests): Change dependencies to ....
6640         (tests-special): ... additions to this variable.
6641         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6642         (tests-special): ... additions to this variable.
6643
6644         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6645         whole file.
6646         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6647         whole file.
6648         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6649         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6650
6651         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6652         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6653         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6654         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6655         * conform/data/libgen.h-data [XPG3]: Likewise.
6656         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6657         * conform/data/ndbm.h-data [XPG3]: Likewise.
6658         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6659         * conform/data/netdb.h-data [XPG3]: Likewise.
6660         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6661         * conform/data/poll.h-data [XPG3]: Likewise.
6662         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6663         * conform/data/strings.h-data [XPG3]: Likewise.
6664         * conform/data/stropts.h-data [XPG3]: Likewise.
6665         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6666         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6667         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6668         Likewise.
6669         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6670         * conform/data/sys/time.h-data [XPG3]: Likewise.
6671         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6672         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6673         * conform/data/sys/un.h-data [XPG3]: Likewise.
6674         * conform/data/syslog.h-data [XPG3]: Likewise.
6675         * conform/data/ucontext.h-data [XPG3]: Likewise.
6676         * conform/data/utmpx.h-data [XPG3]: Likewise.
6677         * conform/data/varargs.h-data [UNIX98]: Enable file.
6678
6679         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6680
6681         * math/libm-test.inc (struct test_f_f_data): Move expected results
6682         into structure for each rounding mode.
6683         (struct test_ff_f_data): Likewise.
6684         (struct test_ff_f_data_nexttoward): Likewise.
6685         (struct test_fi_f_data): Likewise.
6686         (struct test_fl_f_data): Likewise.
6687         (struct test_if_f_data): Likewise.
6688         (struct test_fff_f_data): Likewise.
6689         (struct test_c_f_data): Likewise.
6690         (struct test_f_f1_data): Likewise.
6691         (struct test_fF_f1_data): Likewise.
6692         (struct test_ffI_f1_data): Likewise.
6693         (struct test_c_c_data): Likewise.
6694         (struct test_cc_c_data): Likewise.
6695         (struct test_f_i_data): Likewise.
6696         (struct test_ff_i_data): Likewise.
6697         (struct test_f_l_data): Likewise.
6698         (struct test_f_L_data): Likewise.
6699         (struct test_fFF_11_data): Likewise.
6700         (RM_): New macro.
6701         (RM_FE_DOWNWARD): Likewise.
6702         (RM_FE_TONEAREST): Likewise.
6703         (RM_FE_TOWARDZERO): Likewise.
6704         (RM_FE_UPWARD): Likewise.
6705         (RUN_TEST_LOOP_f_f): Update references to expected results.
6706         (RUN_TEST_LOOP_2_f): Likewise.
6707         (RUN_TEST_LOOP_fff_f): Likewise.
6708         (RUN_TEST_LOOP_c_f): Likewise.
6709         (RUN_TEST_LOOP_f_f1): Likewise.
6710         (RUN_TEST_LOOP_fF_f1): Likewise.
6711         (RUN_TEST_LOOP_fI_f1): Likewise.
6712         (RUN_TEST_LOOP_ffI_f1): Likewise.
6713         (RUN_TEST_LOOP_c_c): Likewise.
6714         (RUN_TEST_LOOP_cc_c): Likewise.
6715         (RUN_TEST_LOOP_f_i): Likewise.
6716         (RUN_TEST_LOOP_f_i_tg): Likewise.
6717         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6718         (RUN_TEST_LOOP_f_b): Likewise.
6719         (RUN_TEST_LOOP_f_b_tg): Likewise.
6720         (RUN_TEST_LOOP_f_l): Likewise.
6721         (RUN_TEST_LOOP_f_L): Likewise.
6722         (RUN_TEST_LOOP_fFF_11): Likewise.
6723         * math/gen-libm-test.pl (parse_args): Output four copies of
6724         expected results for each test.
6725
6726         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6727         (__ASSUME_UTIMES): Remove.
6728         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6729         (__ASSUME_UTIMES): Likewise.
6730
6731         * math/gen-auto-libm-tests.c: Update comment on output format.
6732         (output_for_one_input_case): Generate before-rounding and
6733         after-rounding information as conditions on output flags not
6734         floating-point format.
6735         * math/auto-libm-test-out: Regenerated.
6736         * math/gen-libm-test.pl (cond_value): New function.
6737         (or_cond_value): Use cond_value.
6738         (generate_testfile): Handle conditional exceptions.
6739
6740 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6741
6742         * math/libm-test.inc (max_valid_error): New variable.
6743         (init_max_error): Take new argument specifying whether function
6744         results are exactly determined.  Set max_valid_error and bound
6745         other variables for errors based on this argument.
6746         (set_max_error): Do not record results above max_valid_error.
6747         (check_float_internal): Only accept errors of up to 0.5ulps if
6748         also at most max_valid_error.
6749         (START): Take new argument EXACT and pass it to init_max_error.
6750         (acos_test): Update call to START.
6751         (acos_test_tonearest): Likewise.
6752         (acos_test_towardzero): Likewise.
6753         (acos_test_downward): Likewise.
6754         (acos_test_upward): Likewise.
6755         (acosh_test): Likewise.
6756         (asin_test): Likewise.
6757         (asin_test_tonearest): Likewise.
6758         (asin_test_towardzero): Likewise.
6759         (asin_test_downward): Likewise.
6760         (asin_test_upward): Likewise.
6761         (asinh_test): Likewise.
6762         (atan_test): Likewise.
6763         (atanh_test): Likewise.
6764         (atan2_test): Likewise.
6765         (cabs_test): Likewise.
6766         (cacos_test): Likewise.
6767         (cacosh_test): Likewise.
6768         (carg_test): Likewise.
6769         (casin_test): Likewise.
6770         (casinh_test): Likewise.
6771         (catan_test): Likewise.
6772         (catanh_test): Likewise.
6773         (cbrt_test): Likewise.
6774         (ccos_test): Likewise.
6775         (ccosh_test): Likewise.
6776         (ceil_test): Likewise.
6777         (cexp_test): Likewise.
6778         (cimag_test): Likewise.
6779         (clog_test): Likewise.
6780         (clog10_test): Likewise.
6781         (conj_test): Likewise.
6782         (copysign_test): Likewise.
6783         (cos_test): Likewise.
6784         (cos_test_tonearest): Likewise.
6785         (cos_test_towardzero): Likewise.
6786         (cos_test_downward): Likewise.
6787         (cos_test_upward): Likewise.
6788         (cosh_test): Likewise.
6789         (cosh_test_tonearest): Likewise.
6790         (cosh_test_towardzero): Likewise.
6791         (cosh_test_downward): Likewise.
6792         (cosh_test_upward): Likewise.
6793         (cpow_test): Likewise.
6794         (cproj_test): Likewise.
6795         (creal_test): Likewise.
6796         (csin_test): Likewise.
6797         (csinh_test): Likewise.
6798         (csqrt_test): Likewise.
6799         (ctan_test): Likewise.
6800         (ctan_test_tonearest): Likewise.
6801         (ctan_test_towardzero): Likewise.
6802         (ctan_test_downward): Likewise.
6803         (ctan_test_upward): Likewise.
6804         (ctanh_test): Likewise.
6805         (ctanh_test_tonearest): Likewise.
6806         (ctanh_test_towardzero): Likewise.
6807         (ctanh_test_downward): Likewise.
6808         (ctanh_test_upward): Likewise.
6809         (erf_test): Likewise.
6810         (erfc_test): Likewise.
6811         (exp_test): Likewise.
6812         (exp_test_tonearest): Likewise.
6813         (exp_test_towardzero): Likewise.
6814         (exp_test_downward): Likewise.
6815         (exp_test_upward): Likewise.
6816         (exp10_test): Likewise.
6817         (exp10_test_tonearest): Likewise.
6818         (exp10_test_towardzero): Likewise.
6819         (exp10_test_downward): Likewise.
6820         (exp10_test_upward): Likewise.
6821         (pow10_test): Likewise.
6822         (exp2_test): Likewise.
6823         (expm1_test): Likewise.
6824         (expm1_test_tonearest): Likewise.
6825         (expm1_test_towardzero): Likewise.
6826         (expm1_test_downward): Likewise.
6827         (expm1_test_upward): Likewise.
6828         (fabs_test): Likewise.
6829         (fdim_test): Likewise.
6830         (floor_test): Likewise.
6831         (fma_test): Likewise.
6832         (fma_test_towardzero): Likewise.
6833         (fma_test_downward): Likewise.
6834         (fma_test_upward): Likewise.
6835         (fmax_test): Likewise.
6836         (fmin_test): Likewise.
6837         (fmod_test): Likewise.
6838         (fpclassify_test): Likewise.
6839         (frexp_test): Likewise.
6840         (hypot_test): Likewise.
6841         (ilogb_test): Likewise.
6842         (isfinite_test): Likewise.
6843         (finite_test): Likewise.
6844         (isgreater_test): Likewise.
6845         (isgreaterequal_test): Likewise.
6846         (isinf_test): Likewise.
6847         (isless_test): Likewise.
6848         (islessequal_test): Likewise.
6849         (islessgreater_test): Likewise.
6850         (isnan_test): Likewise.
6851         (isnormal_test): Likewise.
6852         (issignaling_test): Likewise.
6853         (isunordered_test): Likewise.
6854         (j0_test): Likewise.
6855         (j1_test): Likewise.
6856         (jn_test): Likewise.
6857         (ldexp_test): Likewise.
6858         (lgamma_test): Likewise.
6859         (gamma_test): Likewise.
6860         (lrint_test): Likewise.
6861         (lrint_test_tonearest): Likewise.
6862         (lrint_test_towardzero): Likewise.
6863         (lrint_test_downward): Likewise.
6864         (lrint_test_upward): Likewise.
6865         (llrint_test): Likewise.
6866         (llrint_test_tonearest): Likewise.
6867         (llrint_test_towardzero): Likewise.
6868         (llrint_test_downward): Likewise.
6869         (llrint_test_upward): Likewise.
6870         (log_test): Likewise.
6871         (log10_test): Likewise.
6872         (log1p_test): Likewise.
6873         (log2_test): Likewise.
6874         (logb_test): Likewise.
6875         (logb_test_downward): Likewise.
6876         (lround_test): Likewise.
6877         (llround_test): Likewise.
6878         (modf_test): Likewise.
6879         (nearbyint_test): Likewise.
6880         (nextafter_test): Likewise.
6881         (nexttoward_test): Likewise.
6882         (pow_test): Likewise.
6883         (pow_test_tonearest): Likewise.
6884         (pow_test_towardzero): Likewise.
6885         (pow_test_downward): Likewise.
6886         (pow_test_upward): Likewise.
6887         (remainder_test): Likewise.
6888         (drem_test): Likewise.
6889         (remainder_test_tonearest): Likewise.
6890         (drem_test_tonearest): Likewise.
6891         (remainder_test_towardzero): Likewise.
6892         (drem_test_towardzero): Likewise.
6893         (remainder_test_downward): Likewise.
6894         (drem_test_downward): Likewise.
6895         (remainder_test_upward): Likewise.
6896         (drem_test_upward): Likewise.
6897         (remquo_test): Likewise.
6898         (rint_test): Likewise.
6899         (rint_test_tonearest): Likewise.
6900         (rint_test_towardzero): Likewise.
6901         (rint_test_downward): Likewise.
6902         (rint_test_upward): Likewise.
6903         (round_test): Likewise.
6904         (scalb_test): Likewise.
6905         (scalbn_test): Likewise.
6906         (scalbln_test): Likewise.
6907         (signbit_test): Likewise.
6908         (sin_test): Likewise.
6909         (sin_test_tonearest): Likewise.
6910         (sin_test_towardzero): Likewise.
6911         (sin_test_downward): Likewise.
6912         (sin_test_upward): Likewise.
6913         (sincos_test): Likewise.
6914         (sinh_test): Likewise.
6915         (sinh_test_tonearest): Likewise.
6916         (sinh_test_towardzero): Likewise.
6917         (sinh_test_downward): Likewise.
6918         (sinh_test_upward): Likewise.
6919         (sqrt_test): Likewise.
6920         (sqrt_test_tonearest): Likewise.
6921         (sqrt_test_towardzero): Likewise.
6922         (sqrt_test_downward): Likewise.
6923         (sqrt_test_upward): Likewise.
6924         (tan_test): Likewise.
6925         (tan_test_tonearest): Likewise.
6926         (tan_test_towardzero): Likewise.
6927         (tan_test_downward): Likewise.
6928         (tan_test_upward): Likewise.
6929         (tanh_test): Likewise.
6930         (tgamma_test): Likewise.
6931         (trunc_test): Likewise.
6932         (y0_test): Likewise.
6933         (y1_test): Likewise.
6934         (yn_test): Likewise.
6935         (significand_test): Likewise.
6936
6937         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6938         individual tests in comment.
6939         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6940         (prev_max_error): New variable.
6941         (prev_real_max_error): Likewise.
6942         (prev_imag_max_error): Likewise.
6943         (compare_ulp_data): Don't refer to test names in comment.
6944         (find_test_ulps): Remove function.
6945         (find_function_ulps): Likewise.
6946         (find_complex_function_ulps): Likewise.
6947         (init_max_error): Take function name as argument.  Look up ulps
6948         for that function.
6949         (print_ulps): Remove function.
6950         (print_max_error): Use prev_max_error instead of calling
6951         find_function_ulps.
6952         (print_complex_max_error): Use prev_real_max_error and
6953         prev_imag_max_error instead of calling find_complex_function_ulps.
6954         (check_float_internal): Take max_ulp parameter instead of calling
6955         find_test_ulps.  Don't call print_ulps.
6956         (check_float): Update call to check_float_internal.
6957         (check_complex): Update calls to check_float_internal.
6958         (START): Pass argument to init_max_error.
6959         * math/gen-libm-test.pl (%results): Don't include "kind"
6960         information.
6961         (parse_ulps): Don't handle ulps of individual tests.
6962         (print_ulps_file): Likewise.
6963         (output_ulps): Likewise.
6964         * math/README.libm-test: Update.
6965         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6966         individual tests.
6967         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6968         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6969         * sysdeps/arm/libm-test-ulps: Likewise.
6970         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6971         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6972         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6973         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6974         * sysdeps/microblaze/libm-test-ulps: Likewise.
6975         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6976         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6977         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6978         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6979         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6980         * sysdeps/sh/libm-test-ulps: Likewise.
6981         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6982         * sysdeps/tile/libm-test-ulps: Likewise.
6983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6984
6985 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6986
6987         * math/libm-test.inc (print_complex_max_error): Check separately
6988         whether real and imaginary errors are within allowed range and
6989         pass 0 to print_complex_function_ulps instead of value within
6990         allowed range.
6991
6992 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6993
6994         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6995         formatting.
6996         (get_handles_fopen): Likewise.
6997         (do_write_test): Likewise.
6998
6999         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7000
7001         * libio/fileops.c (do_ftell): Use cached offset when
7002         available.
7003         * libio/iofwide.c (do_ftell_wide): Likewise.
7004         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7005         _IO_file_attach.
7006         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7007
7008         [BZ #16532]
7009         * libio/libioP.h (get_file_offset): New function.
7010         * libio/fileops.c (get_file_offset): Likewise.
7011         (do_ftell): Likewise.
7012         (_IO_new_file_seekoff): Split out ftell logic.
7013         * libio/wfileops.c (do_ftell_wide): Likewise.
7014         (_IO_wfile_seekoff): Split out ftell logic.
7015         * libio/tst-ftell-active-handler.c: New test case.
7016         * libio/Makefile (tests): Add it.
7017
7018 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7019
7020         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7021         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7022
7023 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7024
7025         [BZ #16639]
7026         * nscd/connections.c (nscd_init): Call do_exit.
7027         (start_threads): Call do_exit and notify_parent.
7028         (begin_drop_privileges): Call do_exit.
7029         (finish_drop_privileges): Likewise.
7030         * nscd/selinux.c (preserve_capabilities): Likewise.
7031         (install_real_capabilities): Likewise.
7032         (nscd_selinux_enabled): Likewise.
7033         (avc_create_thread): Likewise.
7034         (avc_alloc_lock): Likewise.
7035         (nscd_avc_init): Likewise.
7036         * nscd/nscd.c (parent_fd): New static variable.
7037         (main): Create a pipe between parent and child processes.
7038         Skip closing parent_fd.
7039         (monitor_child): New function.
7040         (do_exit): Likewise.
7041         (notify_parent): Likewise.
7042         * nscd/nscd.h (notify_parent): Likewise.
7043         (do_exit): Likewise.
7044
7045 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7046
7047         * malloc/malloc.c (__libc_calloc): Revert last change.
7048
7049 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7050
7051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7052
7053 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7054
7055         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7057         implementation.
7058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7059         (__libc_ifunc_impl_list): Likewise.
7060         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7061         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7062         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7063         * string/strrchr.c: Define STRRCHR.
7064
7065 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7066
7067         * benchtest/bench-strtok.c (simple_strtok): Delete.
7068         (strtok_string): Use as benchmark.
7069         * string/strtok (STRTOK): New macro.
7070
7071 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7072
7073         * manual/threads.texi: Add header and standard comments to all
7074         functions.
7075
7076         * elf/dl-lookup.c (check_match): New function.
7077         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7078         (do_lookup_x): Remove nested function check_match. Use non-nested
7079         function check_match.
7080
7081 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7082
7083         * csu/Makefile (generated, before-compile): Use += rather than =.
7084         * catgets/Makefile (generated, generated-dirs): Likewise.
7085         * debug/Makefile (generated): Likewise.
7086         * dlfcn/Makefile (generated): Likewise.
7087         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7088         * iconvdata/Makefile (before-compile, generated): Likewise.
7089         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7090         * libio/Makefile (generated): Likewise.
7091         * malloc/Makefile (generated): Likewise.
7092         * manual/Makefile (generated, generated-dirs): Likewise.
7093         * misc/Makefile (generated): Likewise.
7094         * posix/Makefile (generated): Likewise.
7095         * resolv/Makefile (generated): Likewise.
7096         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7097         * timezone/Makefile (generated, generated-dirs): Likewise.
7098
7099         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7100
7101 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7102
7103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7104         power8 implementation.
7105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7106         file: POWER8 llround ifunc implementation.
7107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7108         (__lllround): Add POWER8 implementation.
7109         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7110         POWER8 llround implementation.
7111
7112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7113         power8 implementation.
7114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7115         file: POWER8 llrint ifunc implementation.
7116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7117         Add POWER8 implementation.
7118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7119         POWER8 llrint implementation.
7120
7121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7122         power8 implementation.
7123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7124         file: POWER8 finite ifunc implementation.
7125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7126         Add POWER8 implementation.
7127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7128         Likewise.
7129         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7130         POWER8 finite implementation.
7131         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7132
7133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7134         power8 implementation.
7135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7136         file: POWER8 isinf ifunc implementation.
7137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7138         POWER8 implementation.
7139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7140         Likewise.
7141         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7142         isinf implementation.
7143         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7144
7145         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7146         (INIT_ARCH): Add hwcap2 initialization.
7147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7148         power8 implementation.
7149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7150         file: POWER8 isnan ifunc implementation.
7151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7152         POWER8 implementation.
7153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7154         Likewise.
7155         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7156         isnan implementation.
7157         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7158
7159 2014-02-27  Joey Ye  <joey.ye@arm.com>
7160
7161         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7162         (_FP_NANFRAC_Q): Set to zero.
7163
7164 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7165
7166         [BZ #16623]
7167         * math/auto-libm-test-in: New test inputs.
7168         * math/auto-libm-test-out: Regenerate.
7169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7170         and DA.
7171         (__cos): Likewise.
7172         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7173
7174 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7175
7176         * scripts/evaluate-test.sh: Take new argument indicating whether
7177         failure is expected.
7178         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7179         indicating whether failure is expected.
7180         * conform/Makefile (test-xfail-run-conformtest): New variable.
7181         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7182         level.
7183         * posix/Makefile (test-xfail-annexc): New variable.
7184         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7185
7186 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7187
7188         * argp/Makefile: Include Makeconfig immediately after defining
7189         subdir.
7190         * assert/Makefile: Likewise.
7191         * benchtests/Makefile: Likewise.
7192         * catgets/Makefile: Likewise.
7193         * conform/Makefile: Likewise.
7194         * crypt/Makefile: Likewise.
7195         * csu/Makefile: Likewise.
7196         (all): Remove target.
7197         * ctype/Makefile: Include Makeconfig immediately after defining
7198         subdir.
7199         * debug/Makefile: Likewise.
7200         * dirent/Makefile: Likewise.
7201         * dlfcn/Makefile: Likewise.
7202         * gmon/Makefile: Likewise.
7203         * gnulib/Makefile: Likewise.
7204         * grp/Makefile: Likewise.
7205         * gshadow/Makefile: Likewise.
7206         * hesiod/Makefile: Likewise.
7207         * hurd/Makefile: Likewise.
7208         (all): Remove target.
7209         * iconvdata/Makefile: Include Makeconfig immediately after
7210         defining subdir.
7211         * inet/Makefile: Likewise.
7212         * intl/Makefile: Likewise.
7213         * io/Makefile: Likewise.
7214         * libio/Makefile: Likewise.
7215         (all): Remove target.
7216         * locale/Makefile: Include Makeconfig immediately after defining
7217         subdir.
7218         * login/Makefile: Likewise.
7219         * mach/Makefile: Likewise.
7220         (all): Remove target.
7221         * malloc/Makefile: Include Makeconfig immediately after defining
7222         subdir.
7223         (all): Remove target.
7224         * manual/Makefile: Include Makeconfig immediately after defining
7225         subdir.
7226         * math/Makefile: Likewise.
7227         * misc/Makefile: Likewise.
7228         * nis/Makefile: Likewise.
7229         * nss/Makefile: Likewise.
7230         * po/Makefile: Likewise.
7231         (all): Remove target.
7232         * posix/Makefile: Include Makeconfig immediately after defining
7233         subdir.
7234         * pwd/Makefile: Likewise.
7235         * resolv/Makefile: Likewise.
7236         * resource/Makefile: Likewise.
7237         * rt/Makefile: Likewise.
7238         * setjmp/Makefile: Likewise.
7239         * shadow/Makefile: Likewise.
7240         * signal/Makefile: Likewise.
7241         * socket/Makefile: Likewise.
7242         * soft-fp/Makefile: Likewise.
7243         * stdio-common/Makefile: Likewise.
7244         * stdlib/Makefile: Likewise.
7245         * streams/Makefile: Likewise.
7246         * string/Makefile: Likewise.
7247         * sunrpc/Makefile: Likewise.
7248         (all): Remove target.
7249         * sysvipc/Makefile: Include Makeconfig immediately after defining
7250         subdir.
7251         * termios/Makefile: Likewise.
7252         * time/Makefile: Likewise.
7253         * timezone/Makefile: Likewise.
7254         (all): Remove target.
7255         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7256         subdir.
7257         * wctype/Makefile: Likewise.
7258
7259 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7260
7261         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7262         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7263         (libc_feholdexcept_setround_mips): Ditto.
7264         (libc_feholdsetround): New.
7265         (libc_feholdsetroundf): New.
7266         (libc_feholdsetroundl): New.
7267         (libc_feupdateenv_test_mips): New.
7268         (libc_feupdateenv_test): New.
7269         (libc_feupdateenv_testf): New.
7270         (libc_feupdateenv_testl): New.
7271         (libc_feresetround): New.
7272         (libc_feresetroundf): New.
7273         (libc_feresetroundl): New.
7274         (libc_fetestexcept_mips): New.
7275         (libc_fetestexcept): New.
7276         (libc_fetestexceptf): New.
7277         (libc_fetestexceptl): New.
7278         (HAVE_RM_CTX): New.
7279         (libc_feholdexcept_setround_mips_ctx): New.
7280         (libc_feholdexcept_setround_ctx): New.
7281         (libc_feholdexcept_setroundf_ctx): New.
7282         (libc_feholdexcept_setroundl_ctx): New.
7283         (libc_fesetenv_mips_ctx): New.
7284         (libc_fesetenv_ctx): New.
7285         (libc_fesetenv_ctxf): New.
7286         (libc_fesetenv_ctxl): New.
7287         (libc_feupdateenv_mips_ctx): New.
7288         (libc_feupdateenv_ctx): New.
7289         (libc_feupdateenvf_ctx): New.
7290         (libc_feupdateenvl_ctx): New.
7291         (libc_feholdsetround_mips_ctx): New.
7292         (libc_feholdsetround_ctx): New.
7293         (libc_feholdsetroundf_ctx): New.
7294         (libc_feholdsetroundl_ctx): New.
7295         (libc_feresetround_mips_ctx): New.
7296         (libc_feresetround_ctx): New.
7297         (libc_feresetroundf_ctx): New.
7298         (libc_feresetroundl_ctx): New.
7299
7300 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7301
7302         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7303
7304         * manual/ipc.texi: New file.
7305         * manual/Makefile (chapters): Add ipc.
7306         * manual/job.texi: Add "Inter-Process Communication" to next.
7307         * manual/process.texi: Add "Inter-Process Communication" to prev.
7308
7309 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7310
7311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7312
7313 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7314
7315         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7316
7317         * manual/arith.texi: Fix spaces after sentences.
7318         * manual/charset.texi: Likewise.
7319         * manual/errno.texi: Likewise.
7320         * manual/install.texi: Likewise.
7321         * manual/llio.texi: Likewise.
7322         * manual/locale.texi: Likewise.
7323         * manual/maint.texi: Likewise.
7324         * manual/math.texi: Likewise.
7325         * manual/memory.texi: Likewise.
7326         * manual/message.texi: Likewise.
7327         * manual/probes.texi: Likewise.
7328         * manual/resource.texi: Likewise.
7329         * manual/signal.texi: Likewise.
7330         * manual/socket.texi: Likewise.
7331         * manual/stdio.texi: Likewise.
7332         * manual/string.texi: Likewise.
7333         * manual/time.texi: Likewise.
7334         * manual/users.texi: Likewise.
7335
7336 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7337
7338         [BZ #16632]
7339         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7340         _DEFAULT_SOURCE is defined.
7341
7342 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7343             Carlos O'Donell  <carlos@redhat.com>
7344
7345         [BZ #16613]
7346         * elf/dl-tls.c (_dl_count_modids): New function.
7347         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7348         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7349         audit library and increment generation counter.
7350         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7351         * elf/tst-audit9.c: New file.
7352         * elf/tst-auditmod9a.c: New file.
7353         * elf/tst-auditmod9b.c: New file.
7354         * elf/Makefile: Add rules to build and run tst-audit9.
7355
7356 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7357
7358         [BZ #15347]
7359         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7360
7361 2014-02-25  Will Newton  <will.newton@linaro.org>
7362
7363         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7364         (__longjmp): Restore sp and lr before restoring callee
7365         saved registers.  Add longjmp and longjmp_target
7366         SystemTap probe point.
7367         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7368         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7369         Define to zero to match jmpbuf layout.
7370         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7371         (__sigsetjmp): Save sp and lr before saving callee
7372         saved registers.  Add setjmp SystemTap probe point.
7373
7374 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7375
7376         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7377
7378 2014-02-24  Andreas Schwab  <schwab@suse.de>
7379
7380         [BZ #15804]
7381         * elf/pldd.c (wait_for_ptrace_stop): New function.
7382         (main): Call it after attaching.
7383
7384 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7385
7386         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7387         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7388         Versions files is now verboten.
7389         * hurd/Versions (libc: GLIBC_2.0):
7390         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7391         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7392         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7393         * mach/Versions: Likewise.
7394
7395         * csu/Versions: Remove unused %include.
7396         * resolv/Versions: Likewise.
7397
7398 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7399
7400         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7401         ($(objpfx)check-local-headers.out): Likewise.
7402         ($(objpfx)begin-end-check.out): Likewise.
7403         * Makerules (check-abi-%.out): Likewise.
7404         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7405         ($(objpfx)test2.cat): Likewise.
7406         ($(objpfx)de/libc.cat): Likewise.
7407         ($(objpfx)test-gencat.out): Likewise.
7408         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7409         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7410         ($(objpfx)noload-mem): Likewise.
7411         ($(objpfx)tst-pathopt.out): Likewise.
7412         ($(objpfx)tst-rtld-load-self.out): Likewise.
7413         ($(objpfx)tst-array1-cmp.out): Likewise.
7414         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7415         ($(objpfx)tst-array2-cmp.out): Likewise.
7416         ($(objpfx)tst-array3-cmp.out): Likewise.
7417         ($(objpfx)tst-array4-cmp.out): Likewise.
7418         ($(objpfx)tst-array5-cmp.out): Likewise.
7419         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7420         ($(objpfx)check-textrel.out): Likewise.
7421         ($(objpfx)check-execstack.out): Likewise.
7422         ($(objpfx)check-localplt.out): Likewise.
7423         ($(objpfx)order2-cmp.out): Likewise.
7424         ($(objpfx)tst-leaks1-mem): Likewise.
7425         ($(objpfx)tst-leaks1-static-mem): Likewise.
7426         ($(objpfx)tst-initorder-cmp.out): Likewise.
7427         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7428         ($(objpfx)tst-unused-dep.out): Likewise.
7429         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7430         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7431         * iconv/Makefile (test-iconvconfig): Likewise.
7432         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7433         ($(objpfx)iconv-test.out): Likewise.
7434         ($(objpfx)tst-tables.out): Likewise.
7435         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7436         ($(objpfx)tst-gettext.out): Likewise.
7437         ($(objpfx)tst-translit.out): Likewise.
7438         ($(objpfx)tst-gettext2.out): Likewise.
7439         ($(objpfx)tst-gettext4.out): Likewise.
7440         ($(objpfx)tst-gettext6.out): Likewise.
7441         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7442         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7443         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7444         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7445         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7446         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7447         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7448         ($(objpfx)wordexp-tst.out): Likewise.
7449         ($(objpfx)annexc.out): Likewise.
7450         ($(objpfx)tst-fnmatch-mem): Likewise.
7451         ($(objpfx)bug-regex2-mem): Likewise.
7452         ($(objpfx)bug-regex14-mem): Likewise.
7453         ($(objpfx)bug-regex21-mem): Likewise.
7454         ($(objpfx)bug-regex31-mem): Likewise.
7455         ($(objpfx)tst-vfork3-mem): Likewise.
7456         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7457         ($(objpfx)tst-pcre-mem): Likewise.
7458         ($(objpfx)tst-boost-mem): Likewise.
7459         ($(objpfx)tst-getconf.out): Likewise.
7460         ($(objpfx)bug-ga2-mem): Likewise.
7461         ($(objpfx)bug-glob2-mem): Likewise.
7462         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7463         ($(objpfx)mtrace-tst-leaks2): Likewise.
7464         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7465         ($(objpfx)tst-printf.out): Likewise.
7466         ($(objpfx)tst-setvbuf1.out): Likewise.
7467         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7468         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7469         ($(objpfx)tst-fmtmsg.out): Likewise.
7470         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7471         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7472
7473         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7474         * bits/sigaction.h [__USE_MISC]: Likewise.
7475         * bits/waitstatus.h: Update #endif comments.
7476         * ctype/ctype.h: Likewise.
7477         * dirent/dirent.h: Likewise.
7478         [__USE_MISC]: Remove redundant conditionals.
7479         * grp/grp.h: Update #endif comments.
7480         [__USE_GNU]: Remove redundant conditionals.
7481         [__USE_MISC]: Likewise.
7482         * inet/netinet/in.h [__USE_GNU]: Likewise.
7483         * io/sys/stat.h [__USE_MISC]: Likewise.
7484         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7485         * libio/bits/stdio.h: Update #endif comments.
7486         [__USE_MISC]: Remove redundant conditionals.
7487         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7488         * libio/stdio.h: Update #endif comments.
7489         [__USE_MISC]: Remove redundant conditionals.
7490         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7491         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7492         * math/math.h: Update #else and #endif comments.
7493         [__USE_MISC]: Remove redundant conditionals.
7494         * misc/sys/uio.h: Update #endif comments.
7495         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7496         * posix/glob.h [__USE_MISC]: Likewise.
7497         * posix/sys/types.h: Update #endif comments.
7498         [__USE_MISC]: Remove redundant conditionals.
7499         * posix/sys/wait.h: Update #endif comments.
7500         [__USE_MISC]: Remove redundant conditionals.
7501         * posix/unistd.h: Update #endif comments.
7502         [__USE_MISC]: Remove redundant conditionals.
7503         * pwd/pwd.h [__USE_GNU]: Likewise.
7504         [__USE_MISC]: Likewise.
7505         * resolv/netdb.h [__USE_GNU]: Likewise.
7506         * signal/signal.h: Update #endif comments.
7507         [__USE_MISC]: Remove redundant conditionals.
7508         * stdlib/stdlib.h: Update #else and #endif comments.
7509         [__USE_MISC]: Remove redundant conditionals.
7510         [__USE_GNU]: Likewise.
7511         * string/bits/string2.h [__USE_MISC]: Likewise.
7512         * string/string.h: Update #endif comments.
7513         [__USE_MISC]: Remove redundant conditionals.
7514         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7515         Likewise.
7516         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7517         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7518         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7519         Likewise.
7520         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7521         Likewise.
7522         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7523         comments.
7524         [__USE_MISC]: Remove redundant conditionals.
7525         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7526         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7527         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7528         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7529         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7530         Likewise.
7531         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7532         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7533         Likewise.
7534         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7535         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7536         Likewise.
7537         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7538         Likewise.
7539         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7540         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7541         Likewise.
7542         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7543         Likewise.
7544         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7545         * sysdeps/x86/bits/string.h: Update #endif comments.
7546         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7547         conditionals.
7548         * time/sys/time.h: Update #endif comments.
7549         * time/time.h: Likewise.
7550         [__USE_MISC]: Remove redundant conditionals.
7551
7552 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7553
7554         [BZ #16600]
7555         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7556
7557 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7558
7559         * Versions.def (librt): Add GLIBC_2.17.
7560
7561 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7562
7563         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7564         synonym for _SYS_AUXV_H to allow direct inclusion.
7565         * sysdeps/sparc/bits/hwcap.h: Likewise.
7566         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7567         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7568         * sysdeps/sparc/sysdep.h: Likewise.
7569
7570 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7571
7572         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7573
7574 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7575
7576         * benchtests/bench-strrchr.c: Print length instead of position.
7577
7578 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7579
7580         [BZ #16611]
7581         * sysdeps/unix/sysv/linux/kernel-features.h
7582         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7583         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7584         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7585         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7586         Likewise.
7587         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7588         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7589         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7590         (__ASSUME_SENDMMSG): Define instead of using previous
7591         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7592         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7593         (__ASSUME_SENDMMSG_SYSCALL): Define.
7594         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7595         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7596         Likewise.
7597         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7598         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7599         Likewise.
7600         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7601         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7602         Likewise.
7603         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7604         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7605         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7606         [__ASSUME_SENDMMSG]: Change conditionals to
7607         [__ASSUME_SENDMMSG_SOCKETCALL].
7608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7609         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7610         Define.
7611         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7612         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7613         Likewise.
7614         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7615         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7616         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7617         [!__ASSUME_SENDMMSG]: Change conditional to
7618         [!__ASSUME_SENDMMSG_SOCKETCALL].
7619         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7620         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7621         Define.
7622
7623         [BZ #16610]
7624         * sysdeps/unix/sysv/linux/kernel-features.h
7625         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7626         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7627         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7628         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7629         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7630         [__i386__ || __sparc__]
7631         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7632         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7633         (__ASSUME_RECVMMSG): Define instead of using previous
7634         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7635         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7636         (__ASSUME_RECVMMSG_SYSCALL): Define.
7637         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7639         Likewise.
7640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7642         Likewise.
7643         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7644         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7645         Likewise.
7646         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7647         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7648         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7649         [__ASSUME_RECVMMSG]: Change condition to
7650         [__ASSUME_RECVMMSG_SOCKETCALL].
7651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7652         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7653         Define.
7654         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7655         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7656         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7657         Likewise.
7658         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7659         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7660         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7661         [!__ASSUME_RECVMMSG]: Change condition to
7662         [!__ASSUME_RECVMMSG_SOCKETCALL].
7663         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7664         (__ASSUME_RECVMMSG_SYSCALL): Define.
7665
7666         [BZ #16609]
7667         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7668         __powerpc__ || __s390__ || __sh__ || __sparc__]
7669         (__ASSUME_SOCKETCALL): Define.
7670         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7671         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7672         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7673         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7674         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7675         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7676         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7677         (__ASSUME_ACCEPT4): Define instead of using previous
7678         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7679         __powerpc__ || __sparc__ || __s390__)] condition.
7680         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7681         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7682         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7683         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7684         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7685         [!__ASSUME_ACCEPT4]: Change condition to
7686         [!__ASSUME_ACCEPT4_SOCKETCALL].
7687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7688         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7689         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7691         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7692         __ASSUME_ACCEPT4_SYSCALL.
7693         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7694         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7695         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7696         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7697         __ASSUME_ACCEPT4_SYSCALL.
7698         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7699         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7700         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7701         [__ASSUME_ACCEPT4]: Change condition to
7702         [__ASSUME_ACCEPT4_SOCKETCALL].
7703         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7704         (__ASSUME_SOCKETCALL): Define.
7705         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7707         (__ASSUME_SOCKETCALL): Define.
7708         (__ASSUME_ACCEPT4): Remove.
7709         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7710         Define.
7711         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7712         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7713         Likewise.
7714         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7715         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7716
7717         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7718         macro.
7719         (HWCAP_ARM_LPAE): Likewise.
7720         (HWCAP_ARM_EVTSTRM): Likewise.
7721         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7722         Add vpfd32, lpae and evtstrm.
7723         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7724         Increase to 22.
7725
7726 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7727
7728         * math/auto-libm-test-in: Add tests of clog10.
7729         * math/auto-libm-test-out: Regenerated.
7730         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7731         * sysdeps/i386/fpu/libm-test-ulps: Update.
7732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7733
7734 2014-02-18  Andreas Schwab  <schwab@suse.de>
7735
7736         [BZ #16574]
7737         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7738         Store non-zero if the second buffer was newly allocated.
7739         (send_dg): Likewise.
7740         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7741         to send_vc and send_dg.
7742         (res_nsend): Pass NULL for ansp2_malloced.
7743         * resolv/res_query.c (__libc_res_nquery): Add parameter
7744         answerp2_malloced and pass it down to __libc_res_nsend.
7745         (res_nquery): Pass additional NULL to __libc_res_nquery.
7746         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7747         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7748         second answer buffer if answerp2_malloced was set.
7749         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7750         (__libc_res_nquerydomain): Add parameter
7751         answerp2_malloced and pass it down to __libc_res_nquery.
7752         (res_nquerydomain): Pass additional NULL to
7753         __libc_res_nquerydomain.
7754         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7755         additional NULL to __libc_res_nsend and __libc_res_nquery.
7756         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7757         additional NULL to __libc_res_nsearch.
7758         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7759         parameter of __libc_res_nsearch to check for separately allocated
7760         second buffer.
7761         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7762         __libc_res_nquery.
7763         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7764         additional NULL to __libc_res_nquery.
7765         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7766         __libc_res_nsearch.
7767         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7768         * include/resolv.h: Update prototypes of __libc_res_nquery,
7769         __libc_res_nsearch, __libc_res_nsend.
7770
7771 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7772
7773         * math/auto-libm-test-in: Add tests of fma.
7774         * math/auto-libm-test-out: Regenerated.
7775         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7776         (fma_towardzero_test_data): Likewise.
7777         (fma_downward_test_data): Likewise.
7778         (fma_upward_test_data): Likewise.
7779         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7780         mpc_mode.
7781         (rounding_modes): Add values for new field.
7782         (func_calc_method): Add value mpfr_fff_f.
7783         (func_calc_desc): Add mpfr_fff_f union field.
7784         (test_function): Add field exact_args.
7785         (FUNC): Add macro argument EXACT_ARGS.
7786         (FUNC_mpfr_f_f): Update call to FUNC.
7787         (FUNC_mpfr_f_f): Likewise.
7788         (FUNC_mpfr_ff_f): Likewise.
7789         (FUNC_mpfr_if_f): Likewise.
7790         (FUNC_mpc_c_f): Likewise.
7791         (FUNC_mpc_c_c): Likewise.
7792         (test_functions): Add fma.  Update calls to FUNC.
7793         (handle_input_arg): Add argument exact_args.
7794         (add_test): Update call to handle_input_arg.
7795         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7796         (output_for_one_input_case): Update call to calc_generic_results.
7797         Recalculate exact zero results in each rounding mode.
7798
7799         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7800         non-negative before setting low bit.
7801         * math/auto-libm-test-in: Mark one asin test possibly having
7802         spurious underflow.
7803         * math/auto-libm-test-out: Regenerated.
7804         * sysdeps/i386/fpu/libm-test-ulps: Update.
7805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7806
7807 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7808
7809         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7810         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7811         ports/sysdeps/unix/sysv/linux/microblaze.
7812         * README: Add missing listing for microblaze*-*-linux-gnu.
7813
7814 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7815
7816         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7817         * sysdeps/unix/sysv/linux/ia64: Move directory from
7818         ports/sysdeps/unix/sysv/linux/ia64.
7819         * README: Update listing for ia64-*-linux-gnu.
7820
7821 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7822             Joseph Myers  <joseph@codesourcery.com>
7823
7824         * Makeconfig (test-name): New variable.
7825         (evaluate-test): Likewise.
7826         * Makerules (do-test-clean): Remove .test-result files.
7827         (common-mostlyclean): Likewise.
7828         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7829         * scripts/evaluate-test.sh: New file.
7830
7831 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7832
7833         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7834         separate $(objpfx)tst-fopenloc-cmp.out and
7835         $(objpfx)tst-fopenloc-mem.out targets.
7836         (tests): Update dependencies.
7837         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7838         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7839         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7840         (tst-rxspencer-no-utf8-ARGS): New variable.
7841         (tst-rxspencer-no-utf8-ENV): Likewise.
7842         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7843         instead of $(objpfx)tst-rxspencer-mem.
7844         ($(objpfx)tst-rxspencer-mem): Change target to
7845         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7846         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7847         * posix/tst-rxspencer-no-utf8.c: New file.
7848
7849         * elf/Makefile ($(objpfx)order.out): Remove rule.
7850         [$(run-built-tests) = yes] (tests): Depend on
7851         $(objpfx)order-cmp.out.
7852         ($(objpfx)order-cmp.out): New rule.
7853         [$(run-built-tests) = yes] (tests): Depend on
7854         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7855         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7856         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7857         $(objpfx)tst-array5-static-cmp.out.
7858         ($(objpfx)tst-array1.out): Remove rule.
7859         ($(objpfx)tst-array1-cmp.out): New rule.
7860         ($(objpfx)tst-array1-static.out): Remove rule.
7861         ($(objpfx)tst-array1-static-cmp.out): New rule.
7862         ($(objpfx)tst-array2.out): Remove rule.
7863         ($(objpfx)tst-array2-cmp.out): New rule.
7864         ($(objpfx)tst-array3.out): Remove rule.
7865         ($(objpfx)tst-array3-cmp.out): New rule.
7866         ($(objpfx)tst-array4.out): Remove rule.
7867         ($(objpfx)tst-array4-cmp.out): New rule.
7868         ($(objpfx)tst-array5.out): Remove rule.
7869         ($(objpfx)tst-array5-cmp.out): New rule.
7870         ($(objpfx)tst-array5-static.out): Remove rule.
7871         ($(objpfx)tst-array5-static-cmp.out): New rule.
7872         [$(run-built-tests) = yes] (tests): Depend on
7873         $(objpfx)order2-cmp.out.
7874         ($(objpfx)order2.out): Remove rule.
7875         ($(objpfx)order2-cmp.out): New rule.
7876         ($(objpfx)tst-initorder.out): Remove rule.
7877         [$(run-built-tests) = yes] (tests): Depend on
7878         $(objpfx)tst-initorder-cmp.out.
7879         ($(objpfx)tst-initorder-cmp.out): New rule.
7880         ($(objpfx)tst-initorder2.out): Remove rule.
7881         [$(run-built-tests) = yes] (tests): Depend on
7882         $(objpfx)tst-initorder2-cmp.out.
7883         ($(objpfx)tst-initorder2-cmp.out): New rule.
7884         [$(run-built-tests) = yes] (tests): Depend on
7885         $(objpfx)tst-unused-dep-cmp.out.
7886         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7887         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7888         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7889         on $(objpfx)tst-setvbuf1-cmp.out.
7890         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7891         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7892         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7893         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7894         ($(objpfx)tst-svc.out): Remove rule.
7895         ($(objpfx)tst-svc-cmp.out): New rule.
7896
7897 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7898
7899         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7900         * ctype/ctype.h [__USE_MISC]: Likewise.
7901         * dirent/dirent.h [__USE_MISC]: Likewise.
7902         * grp/grp.h [__USE_MISC]: Likewise.
7903         * io/fcntl.h [__USE_MISC]: Likewise.
7904         * io/sys/stat.h [__USE_MISC]: Likewise.
7905         * libio/stdio.h [__USE_MISC]: Likewise.
7906         * posix/unistd.h [__USE_MISC]: Likewise.
7907         * pwd/pwd.h [__USE_MISC]: Likewise.
7908         * stdlib.h [__USE_MISC]: Likewise.
7909         * string/bits/string2.h [__USE_MISC]: Likewise.
7910         * string/string.h [__USE_MISC]: Likewise.
7911         * time/time.h [__USE_MISC]: Likewise.
7912
7913 2014-02-13  Andreas Schwab  <schwab@suse.de>
7914
7915         [BZ #16574]
7916         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7917         second answer buffer if it was separately allocated.
7918
7919 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7920
7921         * sysdeps/mips/math-tests.h: Include <features.h>.
7922         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7923         (ROUNDING_TESTS_long_double): Do not define.
7924         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7925         (EXCEPTION_TESTS_long_double): Likewise.
7926         * sysdeps/mips/mips64/libm-test-ulps: Update.
7927
7928         * include/features.h (__USE_BSD): Remove macro definitions.
7929         (__USE_SVID): Likewise.
7930         (_BSD_SOURCE): Likewise.
7931         (_SVID_SOURCE): Likewise.
7932         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7933         from definition of _DEFAULT_SOURCE.
7934         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7935         [_DEFAULT_SOURCE].
7936         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7937         * bits/mman.h [__USE_BSD]: Likewise.
7938         * bits/termios.h [__USE_BSD]: Likewise.
7939         * bits/waitstatus.h [__USE_BSD]: Likewise.
7940         * ctype/ctype.h [__USE_SVID]: Likewise.
7941         * dirent/dirent.h [__USE_BSD]: Likewise.
7942         * grp/grp.h [__USE_SVID]: Likewise.
7943         [__USE_BSD]: Likewise.
7944         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7945         * io/fcntl.h [__USE_BSD]: Likewise.
7946         * io/ftw.h [__USE_BSD]: Likewise.
7947         * io/sys/stat.h [__USE_BSD]: Likewise.
7948         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7949         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7950         * libio/stdio.h [__USE_SVID]: Likewise.
7951         [__USE_BSD]: Likewise.
7952         * math/math.h [__USE_SVID]: Likewise.
7953         [__USE_BSD]: Likewise.
7954         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7955         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7956         * misc/search.h [__USE_SVID]: Likewise.
7957         * misc/sys/mman.h [__USE_BSD]: Likewise.
7958         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7959         * misc/sys/uio.h [__USE_BSD]: Likewise.
7960         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7961         * posix/glob.h [__USE_BSD]: Likewise.
7962         * posix/regex.h [__USE_BSD]: Likewise.
7963         * posix/sys/types.h [__USE_BSD]: Likewise.
7964         [__USE_SVID]: Likewise.
7965         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7966         * posix/sys/wait.h [__USE_BSD]: Likewise.
7967         [__USE_SVID]: Likewise.
7968         * posix/unistd.h [__USE_BSD]: Likewise.
7969         [__USE_SVID]: Likewise.
7970         * pwd/pwd.h [__USE_SVID]: Likewise.
7971         * resolv/netdb.h [__USE_BSD]: Likewise.
7972         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7973         * signal/signal.h [__USE_BSD]: Likewise.
7974         [__USE_SVID]: Likewise.
7975         * socket/sys/socket.h [__USE_BSD]: Likewise.
7976         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7977         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7978         [__USE_SVID]: Likewise.
7979         * string/bits/string2.h [__USE_BSD]: Likewise.
7980         [__USE_SVID]: Likewise.
7981         * string/bits/string3.h [__USE_BSD]: Likewise.
7982         * string/endian.h [__USE_BSD]: Likewise.
7983         * string/string.h [__USE_SVID]: Likewise.
7984         [__USE_BSD]: Likewise.
7985         * string/strings.h [__USE_BSD]: Likewise.
7986         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7987         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7988         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7989         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7990         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7991         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7992         Likewise.
7993         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7994         Likewise.
7995         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7996         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7997         Likewise.
7998         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7999         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8002         Likewise.
8003         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8004         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8005         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8006         Likewise.
8007         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8008         Likewise.
8009         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8010         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8011         * termios/termios.h [__USE_BSD]: Likewise.
8012         * time/sys/time.h [__USE_BSD]: Likewise.
8013         * time/time.h [__USE_BSD]: Likewise.
8014         [__USE_SVID]: Likewise.
8015
8016         * Makefile (subdir_targets): Remove subdir_lint.out.
8017
8018         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8019         (do-tst-printf): Likewise.
8020         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8021         $(objpfx)tst-printf.out.
8022
8023         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8024
8025         * Makerules (check-abi-%): Change target to
8026         $(objpfx)check-abi-%.out.
8027         (check-abi target): Update dependencies.
8028         (check-abi-pattern variable): Redirect output of diff to $@.
8029         (check-abi variable): Likewise.
8030         * elf/Makefile (check-abi): Update dependencies.
8031
8032         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8033         unused.
8034         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8035         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8036         subnormal range.
8037         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8038         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8039         value has largest subnormal exponent.
8040         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8041         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8042         * sysdeps/aarch64/soft-fp/sfp-machine.h
8043         (_FP_TININESS_AFTER_ROUNDING): New macro.
8044         * sysdeps/alpha/soft-fp/sfp-machine.h
8045         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8046         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8047         Likewise.
8048         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8049         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8050         * sysdeps/mips/soft-fp/sfp-machine.h
8051         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8052         * sysdeps/powerpc/soft-fp/sfp-machine.h
8053         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8054         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8055         Likewise.
8056         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8057         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8058         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8059         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8060         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8061         Likewise.
8062
8063 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8064
8065         [BZ #16545]
8066         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8067         model 1.
8068
8069 2014-02-12  Richard Henderson  <rth@redhat.com>
8070
8071         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8072         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8073         * sysdeps/unix/sysv/linux/alpha: Move directory from
8074         ports/sysdeps/unix/sysv/linux/alpha.
8075         * README: Update listing for alpha-*-linux-gnu.
8076
8077 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8078
8079         * include/features.h: Update comment documenting feature test
8080         macros.
8081         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8082         _DEFAULT_SOURCE.
8083         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8084         (_SVID_SOURCE): Likewise.
8085         (_DEFAULT_SOURCE): Update description of default features.
8086         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8087         with _GNU_SOURCE.
8088         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8089         (S_ISVTX): Likewise.
8090         * manual/math.texi (Mathematical Constants): Likewise.
8091         * manual/signal.texi (Interrupted Primitives): Likewise.
8092         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8093         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8094         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8095         Don't refer to _SVID_SOURCE in warning text.
8096
8097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8098
8099         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8100         already defined.
8101         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8102         * sysdeps/mips/dl-lookup.c: Remove.
8103         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8104
8105 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8106
8107         [BZ #16447]
8108         * math/auto-libm-test-in: Add testcase for expl.
8109         * math/auto-libm-test-out: Regenerate.
8110         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8111         calculation of unsafe.
8112         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8113
8114 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8115
8116         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8117         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8118         ports/sysdeps/unix/sysv/linux/aarch64.
8119         * README: Update listing for aarch64*-*-linux-gnu.
8120
8121 2014-02-11  Will Newton  <will.newton@linaro.org>
8122
8123         * manual/probes.texi (Mathematical Function Probes): Use
8124         "triggered" instead of "hit".
8125
8126         * manual/probes.texi (Internal Probes): Add documentation
8127         of setjmp, longjmp and longjmp_target probes.
8128
8129         * include/stap-probe.h: Add comment about probe argument
8130         format.
8131
8132         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8133         definition.  (tr_where, tr_freehook, tr_mallochook,
8134         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8135
8136 2014-02-11  David S. Miller  <davem@davemloft.net>
8137
8138         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8139         processing int_tests.
8140
8141 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8142
8143         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8144         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8145         * sysdeps/unix/sysv/linux/mips: Move directory from
8146         ports/sysdeps/unix/sysv/linux/mips.
8147         * README: Update listing for mips-*-linux-gnu and
8148         mips64-*-linux-gnu.
8149
8150 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8151
8152         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8153         * sysdeps/unix/sysv/linux/m68k: Move directory from
8154         ports/sysdeps/unix/sysv/linux/m68k.
8155         * README: Update listing for m68k-*-linux-gnu.
8156
8157 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8158
8159         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8160         * sysdeps/unix/sysv/linux/generic: Move directory from
8161         ports/sysdeps/unix/sysv/linux/generic.
8162         * sysdeps/unix/sysv/linux/tile: Move directory from
8163         ports/sysdeps/unix/sysv/linux/tile.
8164         * README: Update listing for tile*-*-linux-gnu.
8165
8166 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8167
8168         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8169         __builtin_expect.
8170         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8171         * catgets/open_catalog.c (__open_catalog): Likewise.
8172         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8173         * debug/confstr_chk.c: Likewise.
8174         * debug/fread_chk.c (__fread_chk): Likewise.
8175         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8176         * debug/getgroups_chk.c: Likewise.
8177         * debug/mbsnrtowcs_chk.c: Likewise.
8178         * debug/mbsrtowcs_chk.c: Likewise.
8179         * debug/mbstowcs_chk.c: Likewise.
8180         * debug/memcpy_chk.c: Likewise.
8181         * debug/memmove_chk.c: Likewise.
8182         * debug/mempcpy_chk.c: Likewise.
8183         * debug/memset_chk.c: Likewise.
8184         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8185         * debug/strcat_chk.c (__strcat_chk): Likewise.
8186         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8187         * debug/strncat_chk.c (__strncat_chk): Likewise.
8188         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8189         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8190         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8191         * debug/wcpncpy_chk.c: Likewise.
8192         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8193         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8194         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8195         * debug/wcsncpy_chk.c: Likewise.
8196         * debug/wcsnrtombs_chk.c: Likewise.
8197         * debug/wcsrtombs_chk.c: Likewise.
8198         * debug/wcstombs_chk.c: Likewise.
8199         * debug/wmemcpy_chk.c: Likewise.
8200         * debug/wmemmove_chk.c: Likewise.
8201         * debug/wmempcpy_chk.c: Likewise.
8202         * debug/wmemset_chk.c: Likewise.
8203         * dirent/scandirat.c (SCANDIRAT): Likewise.
8204         * dlfcn/dladdr1.c (dladdr1): Likewise.
8205         * dlfcn/dladdr.c (dladdr): Likewise.
8206         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8207         * dlfcn/dlerror.c (__dlerror): Likewise.
8208         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8209         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8210         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8211         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8212         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8213         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8214         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8215         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8216         Likewise.
8217         * elf/dl-conflict.c: Likewise.
8218         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8219         * elf/dl-dst.h: Likewise.
8220         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8221         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8222         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8223         * elf/dl-init.c (call_init, _dl_init): Likewise.
8224         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8225         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8226         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8227         Likewise.
8228         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8229         Likewise.
8230         * elf/dl-minimal.c (__libc_memalign): Likewise.
8231         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8232         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8233         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8234         * elf/dl-sym.c (do_sym): Likewise.
8235         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8236         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8237         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8238         * elf/dl-writev.h (_dl_writev): Likewise.
8239         * elf/ldconfig.c (search_dir): Likewise.
8240         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8241         (dl_main): Likewise.
8242         * elf/setup-vdso.h (setup_vdso): Likewise.
8243         * grp/compat-initgroups.c (compat_call): Likewise.
8244         * grp/fgetgrent.c (fgetgrent): Likewise.
8245         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8246         * grp/putgrent.c (putgrent): Likewise.
8247         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8248         Likewise.
8249         * hurd/hurdinit.c: Likewise.
8250         * iconvdata/8bit-gap.c (struct): Likewise.
8251         * iconvdata/ansi_x3.110.c : Likewise.
8252         * iconvdata/big5.c : Likewise.
8253         * iconvdata/big5hkscs.c : Likewise.
8254         * iconvdata/cp1255.c: Likewise.
8255         * iconvdata/cp1258.c : Likewise.
8256         * iconvdata/cp932.c : Likewise.
8257         * iconvdata/euc-cn.c: Likewise.
8258         * iconvdata/euc-jisx0213.c : Likewise.
8259         * iconvdata/euc-jp.c: Likewise.
8260         * iconvdata/euc-jp-ms.c : Likewise.
8261         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8262         * iconvdata/gb18030.c : Likewise.
8263         * iconvdata/gbbig5.c (const): Likewise.
8264         * iconvdata/gbgbk.c: Likewise.
8265         * iconvdata/gbk.c : Likewise.
8266         * iconvdata/ibm1364.c : Likewise.
8267         * iconvdata/ibm930.c : Likewise.
8268         * iconvdata/ibm932.c: Likewise.
8269         * iconvdata/ibm933.c : Likewise.
8270         * iconvdata/ibm935.c : Likewise.
8271         * iconvdata/ibm937.c : Likewise.
8272         * iconvdata/ibm939.c : Likewise.
8273         * iconvdata/ibm943.c: Likewise.
8274         * iconvdata/iso_11548-1.c: Likewise.
8275         * iconvdata/iso-2022-cn.c : Likewise.
8276         * iconvdata/iso-2022-cn-ext.c : Likewise.
8277         * iconvdata/iso-2022-jp-3.c: Likewise.
8278         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8279         * iconvdata/iso-2022-kr.c : Likewise.
8280         * iconvdata/iso646.c (gconv_end): Likewise.
8281         * iconvdata/iso_6937-2.c : Likewise.
8282         * iconvdata/iso_6937.c : Likewise.
8283         * iconvdata/iso8859-1.c: Likewise.
8284         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8285         * iconvdata/shift_jisx0213.c : Likewise.
8286         * iconvdata/sjis.c : Likewise.
8287         * iconvdata/t.61.c : Likewise.
8288         * iconvdata/tcvn5712-1.c : Likewise.
8289         * iconvdata/tscii.c: Likewise.
8290         * iconvdata/uhc.c : Likewise.
8291         * iconvdata/unicode.c (gconv_end): Likewise.
8292         * iconvdata/utf-16.c (gconv_end): Likewise.
8293         * iconvdata/utf-32.c (gconv_end): Likewise.
8294         * iconvdata/utf-7.c (base64): Likewise.
8295         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8296         * iconv/gconv_close.c (__gconv_close): Likewise.
8297         * iconv/gconv_open.c (__gconv_open): Likewise.
8298         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8299         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8300         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8301         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8302         (ucs4le_internal_loop_single): Likewise.
8303         * iconv/iconv.c (iconv): Likewise.
8304         * iconv/iconv_close.c: Likewise.
8305         * iconv/loop.c (SINGLE): Likewise.
8306         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8307         * include/atomic.h: Likewise.
8308         * inet/inet6_option.c (option_alloc): Likewise.
8309         * intl/bindtextdom.c (set_binding_values): Likewise.
8310         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8311         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8312         * intl/localealias.c (read_alias_file): Likewise.
8313         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8314         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8315         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8316         * libio/fmemopen.c (fmemopen): Likewise.
8317         * libio/iofgets.c (_IO_fgets): Likewise.
8318         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8319         * libio/iofgetws.c (fgetws): Likewise.
8320         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8321         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8322         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8323         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8324         * locale/findlocale.c (_nl_find_locale): Likewise.
8325         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8326         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8327         Likewise.
8328         * locale/setlocale.c (setlocale): Likewise.
8329         * login/programs/pt_chown.c (main): Likewise.
8330         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8331         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8332         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8333         (mmap, mmap64, mremap, munmap): Likewise.
8334         * math/e_exp2l.c: Likewise.
8335         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8336         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8337         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8338         * math/s_catan.c (__catan): Likewise.
8339         * math/s_catanf.c (__catanf): Likewise.
8340         * math/s_catanh.c (__catanh): Likewise.
8341         * math/s_catanhf.c (__catanhf): Likewise.
8342         * math/s_catanhl.c (__catanhl): Likewise.
8343         * math/s_catanl.c (__catanl): Likewise.
8344         * math/s_ccosh.c (__ccosh): Likewise.
8345         * math/s_ccoshf.c (__ccoshf): Likewise.
8346         * math/s_ccoshl.c (__ccoshl): Likewise.
8347         * math/s_cexp.c (__cexp): Likewise.
8348         * math/s_cexpf.c (__cexpf): Likewise.
8349         * math/s_cexpl.c (__cexpl): Likewise.
8350         * math/s_clog10.c (__clog10): Likewise.
8351         * math/s_clog10f.c (__clog10f): Likewise.
8352         * math/s_clog10l.c (__clog10l): Likewise.
8353         * math/s_clog.c (__clog): Likewise.
8354         * math/s_clogf.c (__clogf): Likewise.
8355         * math/s_clogl.c (__clogl): Likewise.
8356         * math/s_csin.c (__csin): Likewise.
8357         * math/s_csinf.c (__csinf): Likewise.
8358         * math/s_csinh.c (__csinh): Likewise.
8359         * math/s_csinhf.c (__csinhf): Likewise.
8360         * math/s_csinhl.c (__csinhl): Likewise.
8361         * math/s_csinl.c (__csinl): Likewise.
8362         * math/s_csqrt.c (__csqrt): Likewise.
8363         * math/s_csqrtf.c (__csqrtf): Likewise.
8364         * math/s_csqrtl.c (__csqrtl): Likewise.
8365         * math/s_ctan.c (__ctan): Likewise.
8366         * math/s_ctanf.c (__ctanf): Likewise.
8367         * math/s_ctanh.c (__ctanh): Likewise.
8368         * math/s_ctanhf.c (__ctanhf): Likewise.
8369         * math/s_ctanhl.c (__ctanhl): Likewise.
8370         * math/s_ctanl.c (__ctanl): Likewise.
8371         * math/w_pow.c: Likewise.
8372         * math/w_powf.c: Likewise.
8373         * math/w_powl.c: Likewise.
8374         * math/w_scalb.c (sysv_scalb): Likewise.
8375         * math/w_scalbf.c (sysv_scalbf): Likewise.
8376         * math/w_scalbl.c (sysv_scalbl): Likewise.
8377         * misc/error.c (error_tail): Likewise.
8378         * misc/pselect.c (__pselect): Likewise.
8379         * nis/nis_callback.c (__nis_create_callback): Likewise.
8380         * nis/nis_call.c (__nisfind_server): Likewise.
8381         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8382         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8383         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8384         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8385         * nis/nis_lookup.c (nis_lookup): Likewise.
8386         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8387         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8388         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8389         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8390         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8391         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8392         * nis/nss_compat/compat-initgroups.c (add_group)
8393         (internal_getgrent_r): Likewise.
8394         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8395         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8396         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8397         (internal_getspnam_r): Likewise.
8398         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8399         (_nss_nis_getaliasbyname_r): Likewise.
8400         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8401         (_nss_nis_getntohost_r): Likewise.
8402         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8403         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8404         (_nss_nis_getgrgid_r): Likewise.
8405         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8406         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8407         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8408         (_nss_nis_gethostbyname4_r): Likewise.
8409         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8410         (initgroups_netid): Likewise.
8411         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8412         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8413         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8414         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8415         (_nss_nis_getprotobynumber_r): Likewise.
8416         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8417         (_nss_nis_getsecretkey): Likewise.
8418         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8419         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8420         (_nss_nis_getpwuid_r): Likewise.
8421         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8422         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8423         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8424         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8425         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8426         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8427         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8428         Likewise.
8429         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8430         (_nss_nisplus_getntohost_r): Likewise.
8431         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8432         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8433         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8434         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8435         Likewise.
8436         * nis/nss_nisplus/nisplus-initgroups.c
8437         (_nss_nisplus_initgroups_dyn): Likewise.
8438         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8439         (_nss_nisplus_getnetbyaddr_r): Likewise.
8440         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8441         (_nss_nisplus_getprotobynumber_r): Likewise.
8442         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8443         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8444         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8445         Likewise.
8446         * nis/nss_nisplus/nisplus-service.c
8447         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8448         (_nss_nisplus_getservbyport_r): Likewise.
8449         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8450         (_nss_nisplus_getspnam_r): Likewise.
8451         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8452         Likewise.
8453         * nscd/aicache.c (addhstaiX): Likewise.
8454         * nscd/cache.c (cache_search, prune_cache): Likewise.
8455         * nscd/connections.c (register_traced_file, send_ro_fd)
8456         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8457         (main_loop_epoll): Likewise.
8458         * nscd/grpcache.c (addgrbyX): Likewise.
8459         * nscd/hstcache.c (addhstbyX): Likewise.
8460         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8461         * nscd/mem.c (gc, mempool_alloc): Likewise.
8462         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8463         (addinnetgrX): Likewise.
8464         * nscd/nscd-client.h (__nscd_acquire_maplock)
8465         (__nscd_drop_map_ref): Likewise.
8466         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8467         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8468         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8469         Likewise.
8470         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8471         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8472         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8473         (__nscd_get_map_ref): Likewise.
8474         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8475         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8476         Likewise.
8477         * nscd/pwdcache.c (addpwbyX): Likewise.
8478         * nscd/selinux.c (preserve_capabilities): Likewise.
8479         * nscd/servicescache.c (addservbyX): Likewise.
8480         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8481         * posix/fnmatch.c (fnmatch): Likewise.
8482         * posix/getopt.c (_getopt_internal_r): Likewise.
8483         * posix/glob.c (glob, glob_in_dir): Likewise.
8484         * posix/wordexp.c (exec_comm_child): Likewise.
8485         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8486         (getanswer_r, gaih_getanswer_slice): Likewise.
8487         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8488         * resolv/res_init.c: Likewise.
8489         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8490         * resolv/res_query.c (__libc_res_nquery): Likewise.
8491         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8492         Likewise.
8493         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8494         * stdio-common/perror.c (perror): Likewise.
8495         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8496         * stdio-common/tmpnam.c (tmpnam): Likewise.
8497         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8498         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8499         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8500         Likewise.
8501         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8502         * stdlib/putenv.c (putenv): Likewise.
8503         * stdlib/setenv.c (__add_to_environ): Likewise.
8504         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8505         * stdlib/strtol_l.c (INTERNAL): Likewise.
8506         * string/memmem.c (memmem): Likewise.
8507         * string/strerror.c (strerror): Likewise.
8508         * string/strnlen.c (__strnlen): Likewise.
8509         * string/test-memmem.c (simple_memmem): Likewise.
8510         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8511         * sunrpc/pm_getport.c (__get_socket): Likewise.
8512         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8513         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8514         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8515         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8516         Likewise.
8517         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8518         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8519         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8520         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8521         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8522         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8523         Likewise.
8524         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8525         Likewise.
8526         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8527         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8528         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8529         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8530         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8532         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8533         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8534         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8535         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8536         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8537         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8538         Likewise.
8539         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8540         Likewise.
8541         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8542         Likewise.
8543         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8544         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8545         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8546         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8547         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8548         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8549         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8550         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8551         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8552         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8553         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8554         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8555         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8556         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8558         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8559         Likewise.
8560         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8561         Likewise.
8562         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8563         Likewise.
8564         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8565         Likewise.
8566         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8568         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8569         Likewise.
8570         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8571         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8572         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8573         * sysdeps/posix/sleep.c: Likewise.
8574         * sysdeps/posix/tempname.c: Likewise.
8575         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8576         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8577         Likewise.
8578         * sysdeps/powerpc/powerpc32/dl-machine.h
8579         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8580         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8581         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8582         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8583         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8584         Likewise.
8585         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8587         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8589         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8590         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8591         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8592         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8593         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8594         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8595         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8596         (elf_machine_lazy_rel): Likewise.
8597         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8598         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8599         (elf_machine_lazy_rel): Likewise.
8600         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8601         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8602         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8603         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8604         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8605         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8606         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8607         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8608         Likewise.
8609         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8610         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8611         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8612         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8613         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8614         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8615         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8616         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8617         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8618         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8619         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8620         Likewise.
8621         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8622         (__posix_fallocate64_l64): Likewise.
8623         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8624         (posix_fallocate): Likewise.
8625         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8626         Likewise.
8627         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8628         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8629         (getifaddrs_internal): Likewise.
8630         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8631         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8632         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8633         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8634         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8635         (__posix_fallocate64_l64): Likewise.
8636         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8637         Likewise.
8638         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8639         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8640         (__get_clockfreq): Likewise.
8641         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8642         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8643         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8644         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8646         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8647         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8648         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8649         Likewise.
8650         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8651         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8652         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8653         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8654         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8655         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8656         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8657         Likewise.
8658         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8659         (posix_fallocate): Likewise.
8660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8661         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8662         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8663         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8664         (elf_machine_rela, elf_machine_rela_relative)
8665         (elf_machine_lazy_rel): Likewise.
8666         * time/asctime.c (asctime_internal): Likewise.
8667         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8668         * time/tzset.c (__tzset_parse_tz): Likewise.
8669         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8670         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8671         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8672         * wcsmbs/wcsmbsload.h: Likewise.
8673
8674         [BZ #15894]
8675         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8676
8677         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8678         (arena_get2): Remove THREAD_STATS conditionals.
8679         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8680         (__malloc_stats, int): Likewise.
8681
8682 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8683
8684         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8685         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8686
8687         * manual/setjmp.texi: Fix typos/grammar errors.
8688
8689         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8690         Only return early when n is <= 0.  Delete unused return statement.
8691
8692         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8693         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8694         * debug/tst-longjmp_chk3.c: New file.
8695
8696         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8697         (test_main): Replace code with set_fortify_handler call.
8698         * debug/test-strcpy_chk.c: Likewise.
8699         * debug/tst-chk1.c: Likewise.
8700         * debug/tst-longjmp_chk.c: Likewise.
8701         * test-skeleton.c: Include fcntl.h & paths.h
8702         (set_fortify_handler): Define.
8703
8704         * debug/tst-longjmp_chk.c: Add header comment and include
8705         ../test-skeleton.c.
8706         (do_test): Mark static.
8707         (TEST_FUNCTION): Define.
8708
8709         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8710         (IP_PMTUDISC_INTERFACE): Likewise.
8711         (IP_MULTICAST_IF): Likewise.
8712         (IP_MULTICAST_TTL): Likewise.
8713         (IP_MULTICAST_LOOP): Likewise.
8714         (IP_ADD_MEMBERSHIP): Likewise.
8715         (IP_DROP_MEMBERSHIP): Likewise.
8716         (IP_UNBLOCK_SOURCE): Likewise.
8717         (IP_BLOCK_SOURCE): Likewise.
8718         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8719         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8720         (IP_MSFILTER): Likewise.
8721         (MCAST_JOIN_GROUP): Likewise.
8722         (MCAST_BLOCK_SOURCE): Likewise.
8723         (MCAST_UNBLOCK_SOURCE): Likewise.
8724         (MCAST_LEAVE_GROUP): Likewise.
8725         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8726         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8727         (MCAST_MSFILTER): Likewise.
8728         (IP_MULTICAST_ALL): Likewise.
8729         (IP_UNICAST_IF): Likewise.
8730
8731         * timezone/Makefile: Delete $(have-ksh) check.
8732         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8733         * timezone/tzselect.ksh: Add +x mode bits.
8734
8735         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8736         (ANON_INODE_FS_MAGIC): Likewise.
8737         (BDEVFS_MAGIC): Likewise.
8738         (BINFMTFS_MAGIC): Likewise.
8739         (BTRFS_TEST_MAGIC): Likewise.
8740         (CRAMFS_MAGIC_WEND): Likewise.
8741         (DEBUGFS_MAGIC): Likewise.
8742         (ECRYPTFS_SUPER_MAGIC): Likewise.
8743         (EXT3_SUPER_MAGIC): Likewise.
8744         (EXT4_SUPER_MAGIC): Likewise.
8745         (FUTEXFS_SUPER_MAGIC): Likewise.
8746         (HOSTFS_SUPER_MAGIC): Likewise.
8747         (HUGETLBFS_MAGIC): Likewise.
8748         (MINIX3_SUPER_MAGIC): Likewise.
8749         (MTD_INODE_FS_MAGIC): Likewise.
8750         (NILFS_SUPER_MAGIC): Likewise.
8751         (OPENPROM_SUPER_MAGIC): Likewise.
8752         (PIPEFS_MAGIC): Likewise.
8753         (PSTOREFS_MAGIC): Likewise.
8754         (QNX6_SUPER_MAGIC): Likewise.
8755         (RAMFS_MAGIC): Likewise.
8756         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8757         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8758         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8759         (SECURITYFS_MAGIC): Likewise.
8760         (SELINUX_MAGIC): Likewise.
8761         (SMACK_MAGIC): Likewise.
8762         (SOCKFS_MAGIC): Likewise.
8763         (SQUASHFS_MAGIC): Likewise.
8764         (STACK_END_MAGIC): Likewise.
8765         (TMPFS_MAGIC): Likewise.
8766         (USBDEVICE_SUPER_MAGIC): Likewise.
8767         (V9FS_MAGIC): Likewise.
8768         (XENFS_SUPER_MAGIC): Likewise.
8769         (CRAMFS_MAGIC): Fix typo in comment.
8770         (EXT2_SUPER_MAGIC): Update comment.
8771         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8772
8773 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8774
8775         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8776         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8777         * sysdeps/unix/sysv/linux/arm: Move directory from
8778         ports/sysdeps/unix/sysv/linux/arm.
8779         * README: Update listing for arm-*-linux-gnueabi.
8780
8781         * README: Remove mention of am33.
8782
8783 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8784
8785         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8786         than the comma operator, to avoid "rhs of comma has no effect"
8787         compiler warnings.
8788         (__sigfillset, __sigandset, __sigorset): Likewise.
8789         * include/signal.h (__sigemptyset): Likewise.
8790         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8791
8792 2014-02-07  Allan McRae  <allan@archlinux.org>
8793
8794         * version.h (RELEASE): Set to "development".
8795         (VERSION): Set to "2.19.90"
8796         * NEWS: Add 2.20 section.
8797
8798 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8799
8800         [BZ #16529]
8801         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8802
8803 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8804
8805         * manual/contrib.texi: Update entry for Carlos O'Donell,
8806         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8807
8808 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8809
8810         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8811
8812         * sysdeps/unix/sysv/linux/kernel-features.h
8813         [__LINUX_KERNEL_VERSION >= 0x020621]
8814         (__ASSUME_PROC_PID_TASK_COMM): Define.
8815
8816 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8817
8818         [BZ #16398]
8819         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8820         conversion when destination buffer does not have enough space.
8821         * libio/tst-ftell-partial-wide.c: New test case.
8822         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8823
8824         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8825         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8826         Leonard and Allan McRae.
8827
8828 2014-02-04  David S. Miller  <davem@davemloft.net>
8829
8830         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8831         32-bit.
8832
8833 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8834
8835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8836         New file
8837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8838         New file
8839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8840         New file.
8841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8842         New file.
8843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8844         New file.
8845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8846         New file.
8847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8848         New file.
8849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8850         New file.
8851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8852         New file.
8853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8854         New file.
8855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8856         New file.
8857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8858         New file.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8860         New file.
8861
8862 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8863
8864         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8865         * shlib-versions: Likewise.
8866
8867 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8868             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8869
8870         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8871         (abilist-pattern): New variable, set to %-le.abilist.
8872
8873         * Makerules (abilist-pattern): New variable.
8874         (vpath): Use $(abilist-pattern) in place of %.abilist.
8875         (check-abi-% pattern rule): Likewise.
8876         (check-abi, update-abi): Likewise.
8877
8878 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8879
8880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8881
8882 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8883
8884         * manual/startup.texi: Add next, previous, and top entries for
8885         the `Program Arguments' and `Environment Variables' nodes.
8886
8887 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8888
8889         * manual/macros.texi: Add comments before MTASC-safety macros.
8890
8891         * manual/users.texi: Document MTASC-safety properties.
8892
8893         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8894         (pthread_getspecific, pthread_setspecific): Format with
8895         @deftypefun, and add @safety note.
8896         * manual/signal.texi: Move comments that analyze the above
8897         functions to their home place.
8898
8899 2014-02-03  Allan McRae  <allan@archlinux.org>
8900
8901         * po/sl.po: Update Slovenian translation from translation project.
8902
8903 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8904
8905         * manual/time.texi (timegm): Add missing blank after @c.
8906         Reported by Joseph Myers <joseph@codesourcery.com>.
8907
8908 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8909
8910         * manual/check-safety.sh: New.
8911         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8912
8913         * manual/terminal.texi: Document MTASC-safety properties.
8914
8915         * manual/filesys.texi: Document MTASC-safety properties.
8916
8917         * manual/errno.texi: Document MTASC-safety properties.
8918
8919         * manual/intro.texi: Document safety identifiers and
8920         conditionals.
8921
8922         * manual/string.texi (wcstok): Fix prototype.
8923         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8924
8925         * manual/time.texi: Document MTASC-safety properties.
8926
8927         * manual/string.texi: Document MTASC-safety properties.
8928
8929         * manual/threads.texi: Document MTASC-safety properties.
8930
8931         * manual/stdio.texi: Document MTASC-safety properties.
8932
8933         * manual/syslog.texi: Document MTASC-safety properties.
8934
8935         * manual/sysinfo.texi: Document MTASC-safety properties.
8936
8937         * manual/startup.texi: Document MTASC-safety properties.
8938
8939         * manual/socket.texi: Document MTASC-safety properties.
8940
8941         * manual/signal.texi: Document MTASC-safety properties.
8942
8943 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8944
8945         * manual/setjmp.texi: Document MTASC-safety properties.
8946
8947         * manual/search.texi: Document MTASC-safety properties.
8948
8949         * manual/resource.texi: Document MTASC-safety properties.
8950
8951         * manual/process.texi: Document MTASC-safety properties.
8952
8953         * manual/platform.texi: Document MTASC-safety properties.
8954
8955         * manual/pipe.texi: Document MTASC-safety properties.
8956
8957         * manual/pattern.texi: Document MTASC-safety properties.
8958
8959         * manual/message.texi: Document MTASC-safety properties.
8960
8961         [BZ #12751]
8962         * manual/memory.texi: Document MTASC-safety properties.
8963
8964         * manual/math.texi: Document MTASC-safety properties.
8965
8966         * manual/locale.texi: Document MTASC-safety properties.
8967
8968         * manual/llio.texi: Document MTASC-safety properties.
8969
8970         * manual/libdl.texi: New.
8971
8972         * manual/lang.texi: Document MTASC-safety properties.
8973
8974         * manual/job.texi: Document MTASC-safety properties.
8975
8976         * manual/getopt.texi: Document MTASC-safety properties.
8977
8978         * manual/ctype.texi: Document MTASC-safety properties.
8979
8980 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8981
8982         [BZ #16046]
8983         * csu/libc-tls.c (static_map): Remove variable.
8984         (__libc_setup_tls): Use main executable's link map for TLS data.
8985         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8986         casing for LM_ID_BASE and GL(dl_nns).
8987         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8988         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8989         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8990         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8991         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8992         member.
8993         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8994         l_phnum members.
8995
8996 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8997
8998         * manual/debug.texi: Document MTASC-safety properties.
8999
9000 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9001
9002         [BZ #16510]
9003         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9004         of __x86_64__ when disabling x87 inline functions.
9005
9006 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9007
9008         * manual/charset.texi: Document MTASC-safety properties.
9009
9010         * manual/crypt.texi: Document MTASC-safety properties.
9011
9012         * manual/conf.texi: Document MTASC-safety properties.
9013
9014         * manual/arith.texi: Document MTASC-safety properties.
9015
9016         * manual/argp.texi: Document MTASC-safety properties.
9017
9018         * manual/macros.texi: Introduce macros to document multi
9019         thread, asynchronous signal and asynchronous cancellation
9020         safety properties.
9021         * manual/intro.texi: Introduce the properties themselves.
9022
9023 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9024
9025         * sysdeps/sh/sh4/Makefile: New file.
9026
9027 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9028
9029         * math/gen-libm-test.pl ($srcdir): New variable.
9030         ($auto_input): Use it.
9031
9032 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9033
9034         [BZ #16506]
9035         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9036         access beyond array bounds when parsing netgroups file.
9037
9038         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9039         the old buffer before realloc.
9040
9041 2014-01-27  Allan McRae  <allan@archlinux.org>
9042
9043         * po/fr.po: Update French translation from translation project.
9044
9045 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9046
9047         * sysdeps/sh/libm-test-ulps: Regenerate.
9048
9049 2014-01-24  David S. Miller  <davem@davemloft.net>
9050
9051         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9052
9053 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9054
9055         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9056         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9057
9058 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9059
9060         [BZ #16474]
9061         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9062         string pointers after reallocation.
9063
9064 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9065
9066         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9067         __SH4A__ instead of __SH_FPU_ANY__.
9068
9069 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9070
9071         * sysdeps/sh/fpu_control.h: New file.
9072         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9073         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9074         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9075         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9076         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9077         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9078         * sysdeps/sh/sys/ucontext.h: Remove.
9079         * sysdeps/sh/sys: Remove directory.
9080
9081 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9082
9083         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9084         s390/sys/ucontext.h.
9085         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9086         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9087
9088 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9089
9090         [BZ #15605]
9091         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9092
9093 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9094
9095         [BZ#16431]
9096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9097         Adjust the vDSO correctly for internal calls.
9098         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9099
9100 2014-01-20  Allan McRae  <allan@archlinux.org>
9101
9102         * po/ca.po: Update Catalan translation from translation project.
9103
9104 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9105
9106         * sysdeps/s390/sotruss-lib.c: New file.
9107
9108 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9109
9110         [BZ#16430]
9111         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9112         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9113         local calls issues by not having a PLT stub required for IFUNC calls.
9114         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9115
9116 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9117
9118         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9119         * math/test-fpucw-static.c: Likewise.
9120
9121 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9122
9123         [BZ #16453]
9124         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9125
9126 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9127
9128         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9129         implementation for powerpc.
9130
9131 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9132
9133         [BZ #14782]
9134         * sysdeps/posix/system.c (__libc_system): Do not enable
9135         asynchronous cancellation.
9136
9137 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9138
9139         [BZ #16427]
9140         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9141         handling only for numbers special also in the IEEE case.
9142
9143 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9144
9145         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9146
9147 2014-01-11  Allan McRae  <allan@archlinux.org>
9148
9149         * po/bg.po: Update Bulgarian translation from translation project.
9150
9151         * po/de.po: Update German translation from translation project.
9152
9153 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9154
9155         * sysdeps/generic/gcc-compat.h: New file.
9156
9157 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9158
9159         * benchtests/asin-inputs: Correct slow inputs.
9160         * benchtests/acos-inputs: Likewise.
9161
9162 2014-01-10  Allan McRae  <allan@archlinux.org>
9163
9164         * po:sv.po: Update Swedish translation from translation project.
9165
9166         * po/vi.po: Update Vietnamese translation from translation project.
9167
9168         * po/eo.po: Update Esperanto translation from translation project.
9169
9170         * po/cs.po: Update Czech translation from translation project.
9171
9172         * po/nl.po: Update Dutch translation from translation project.
9173
9174         * po/pl.po: Update Polish translation from translation project.
9175
9176         * po/ru.po: Update Russian translation from translation project.
9177
9178         * po/uk.po: Update Ukrainian translation from translation project.
9179
9180 2014-01-08  Brooks Moses  <bmoses@google.com>
9181
9182         * elf/dl-load.c: Fix comment typo.
9183
9184 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9185
9186         * po/header.pot: Rename to...
9187         * po/pot.header: ... this.
9188         * po/Makefile: Use pot.header.
9189
9190 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9191             Maxim Kuvyrkov  <maxim@kugelworks.com>
9192
9193         [BZ #16394]
9194         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9195         SRC and DEST against LEN.
9196
9197 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9198
9199         [BZ #16414]
9200         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9201         implementation.
9202         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9203
9204 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9205
9206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9207
9208 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9209
9210         [BZ #16408]
9211         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9212         for large positive arguments.
9213
9214 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9215
9216         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9217
9218         * math/auto-libm-test-in: Mark various tests with
9219         xfail-rounding:ldbl-128ibm.
9220         * math/auto-libm-test-out: Regenerated.
9221
9222         [BZ #16407]
9223         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9224         Increase overflow threshold.
9225
9226 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9227
9228         [BZ #14286]
9229         * stdio-common/vfprintf.c: Check for integer overflow.
9230
9231 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9232
9233         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9234         the first argument and return value of __tls_get_addr_internal.
9235
9236 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9237
9238         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9239         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9240
9241 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9242
9243         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9244         * sysdeps/s390/rtld-global-offsets.sym: New file.
9245         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9246         GLIBC_2.19 symbol.
9247         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9248         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9249         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9250         ... this.
9251         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9252         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9253         ... this.
9254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9255         Regenerate.
9256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9257         Regenerate.
9258         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9259         halfs of GPRs for high_gprs contexts.
9260         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9261         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9262         field.
9263         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9264         uc_flags field.
9265         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9266         64 bit versions:
9267         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9268         for high GPRs (uc_high_gprs) and for future extensions
9269         (__reserved).
9270         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9271         for future extensions (__reserved).
9272         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9273         64 bit versions:
9274         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9275         SC_HIGHGPRS offset definition.
9276         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9277         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9278
9279         * Versions.def: Add GLIBC_2.19 for libpthread.
9280         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9281         siglongjmp for libpthread with GLIBC_2.19 symver.
9282         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9283         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9284         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9285         * sysdeps/s390/__longjmp.c: New file.
9286         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9287         * sysdeps/s390/longjmp.c: New file.
9288         * sysdeps/s390/setjmp.S: New file.
9289         * sysdeps/s390/sigjmp.S: New file.
9290         * sysdeps/s390/v1-longjmp.c: New file.
9291         * sysdeps/s390/v1-setjmp.h: New file.
9292         * sysdeps/s390/v1-sigjmp.c: New file.
9293         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9294         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9295         GLIBC_2.19 version.
9296         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9297         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9298         versioned symbols for ____longjmp_chk.
9299         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9300         Likewise.
9301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9302         Regenerate.
9303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9304         Regenerate.
9305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9306         Regenerate.
9307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9308         Regenerate.
9309         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9310         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9311         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9312         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9313         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9314         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9315         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9316         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9317         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9318         * sysdeps/s390/rtld-__longjmp.c: New file.
9319         * sysdeps/s390/rtld-setjmp.S: New file.
9320
9321 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9322
9323         [BZ #16400]
9324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9325         Return -__logl (x) for small positive arguments without evaluating
9326         a polynomial.
9327
9328 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9329
9330         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9331         Rename to ...
9332         (__ptrace_peeksiginfo_args): ... this.
9333         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9334         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9335         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9336
9337 2014-01-06  Allan McRae  <allan@archlinux.org>
9338
9339         * inet/netinet/in.h: Fix typo in comment.
9340
9341 2014-01-05  Andreas Jaeger  <aj@suse.de>
9342
9343         * sysdeps/i386/fpu/libm-test-ulps: Update.
9344
9345 2014-01-05  Allan McRae  <allan@archlinux.org>
9346
9347         * po/libc.pot: Regenerated.
9348
9349         * malloc/memusagestat.c: Fix gettext call formatting.
9350
9351 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9352
9353         * nscd/nscd.c: Improve usage() output.
9354
9355 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9356
9357         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9358         * sysdeps/unix/sysv/linux/configure: Regenerated.
9359         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9360         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9361
9362 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9363
9364         [BZ #16390]
9365         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9366         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9367
9368 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9369
9370         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9371         extra tokens at end of #undef directive.
9372         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9373         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9374         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9375
9376 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9377
9378         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9379
9380         * math/auto-libm-test-in: Mark various tests with
9381         xfail-rounding:ldbl-128ibm.
9382         * math/auto-libm-test-out: Regenerated.
9383
9384 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9385
9386         [BZ #16386]
9387         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9388         numbers with subnormal high part when calculating exponent.
9389
9390         [BZ #16385]
9391         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9392         fabs.
9393
9394         [BZ #16384]
9395         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9396         M_LN2l.
9397         (__ieee754_acoshl): Use __log1pl not __log1p.
9398
9399 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9400
9401         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9402         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9403         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9404         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9405         (reused_arena, arena_get2): Convert to GNU style.
9406         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9407         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9408         (memalign_check, __malloc_set_state): Likewise.
9409         * malloc/mallocbug.c (main): Likewise.
9410         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9411         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9412         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9413         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9414         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9415         (__posix_memalign, malloc_info): Likewise.
9416         * malloc/malloc.h: Likewise.
9417         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9418         (mallochook, memalignhook, reallochook, mabort): Likewise.
9419         * malloc/mcheck.h: Likewise.
9420         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9421         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9422         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9423         * malloc/morecore.c (__default_morecore): Likewise.
9424         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9425         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9426         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9427         (print_and_abort): Likewise.
9428         * malloc/obstack.h: Likewise.
9429         * malloc/set-freeres.c (__libc_freeres): Likewise.
9430         * malloc/tst-mallocstate.c (main): Likewise.
9431         * malloc/tst-mtrace.c (main): Likewise.
9432         * malloc/tst-realloc.c (do_test): Likewise.
9433
9434 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9435
9436         [BZ #16366]
9437         * nscd/netgroupcache.c (do_notfound): New function.
9438         (addgetnetgrentX): Use it.
9439
9440         [BZ # 16365]
9441         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9442         NSS_STATUS_NOTFOUND.
9443
9444 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9445
9446         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9448
9449 2014-01-01  Allan McRae  <allan@archlinux.org>
9450
9451         * scripts/update-copyrights: Update configure input file suffix.
9452
9453         * NEWS: Update copyright year.
9454         * catgets/gencat.c: Likewise.
9455         * csu/version.c: Likewise.
9456         * debug/catchsegv.sh: Likewise.
9457         * debug/pcprofiledump.c: Likewise.
9458         * debug/xtrace.sh: Likewise.
9459         * elf/ldconfig.c: Likewise.
9460         * elf/ldd.bash.in: Likewise.
9461         * elf/pldd.c: Likewise.
9462         * elf/sotruss.ksh: Likewise.
9463         * elf/sprof.c: Likewise.
9464         * iconv/iconv_prog.c: Likewise.
9465         * iconv/iconvconfig.c: Likewise.
9466         * locale/programs/locale.c: Likewise.
9467         * locale/programs/localedef.c: Likewise.
9468         * login/programs/pt_chown.c: Likewise.
9469         * malloc/memusage.sh: Likewise.
9470         * malloc/memusagestat.c: Likewise.
9471         * malloc/mtrace.pl: Likewise.
9472         * manual/libc.texinfo: Likewise.
9473         * nscd/nscd.c: Likewise.
9474         * nss/getent.c: Likewise.
9475         * nss/makedb.c: Likewise.
9476         * posix/getconf.c: Likewise.
9477         * scripts/test-installation.pl: Likewise.
9478
9479         * All files with FSF copyright notices: Update copyright dates
9480         using scripts/update-copyrights.
9481         * intl/plural.c: Regenerated.
9482         * locale/programs/charmap-kw.h: Likewise.
9483         * locale/programs/locfile-kw.h: Likewise.
9484
9485 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9486
9487         * sysdeps/unix/sysv/linux/configure: Regenerated.
9488         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9489         the linux/fanotify.h header.
9490         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9491         HAVE_LINUX_FANOTIFY_H is defined.
9492
9493 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9494
9495         * benchtests/cos-inputs: New inputs.
9496         * benchtests/sin-inputs: Likewise.
9497
9498         * benchtests/atan-inputs: New inputs. Fix name of multiple
9499         precision fallback inputs.
9500
9501         * benchtests/atanh-inputs: New inputs.
9502         * benchtests/tanh-inputs: Likewise.
9503
9504         * benchtests/acosh-inputs: New inputs.
9505         * benchtests/asinh-inputs: Likewise.
9506
9507         * benchtests/cosh-inputs: New inputs.
9508         * benchtests/sinh-inputs: Likewise.
9509
9510         * benchtests/acos-inputs: Add more inputs.
9511         * benchtests/asin-inputs: Likewise.
9512
9513 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9514
9515         [BZ #16375]
9516         * manual/arith.texi: Fix spelling.
9517         * manual/charset.texi: Likewise.
9518         * manual/errno.texi: Likewise.
9519         * manual/filesys.texi: Likewise.
9520         * manual/lang.texi: Likewise.
9521         * manual/llio.texi: Likewise.
9522         * manual/locale.texi: Likewise.
9523         * manual/message.texi: Likewise.
9524         * manual/resource.texi: Likewise.
9525         * manual/search.texi: Likewise.
9526         * manual/setjmp.texi: Likewise.
9527         * manual/stdio.texi: Likewise.
9528         * manual/string.texi: Likewise.
9529         * manual/sysinfo.texi: Likewise.
9530         * manual/time.texi: Likewise.
9531
9532 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9533
9534         * po/sl.po: New file.
9535
9536 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9537
9538         * .gitignore: Add core/.gdbinit/.gdb_history.
9539
9540 2013-12-27  Allan McRae  <allan@archlinux.org>
9541
9542         [BZ #16369]
9543         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9544         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9545
9546 2013-12-24  Brooks Moses  <bmoses@google.com>
9547
9548         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9549         all compilers that claim C++98 compliance, not just GCC.
9550         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9551         Likewise.
9552
9553 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9554
9555         * NEWS: Restore accidentally deleted bug-fix entries.
9556
9557 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9558             Ondřej Bílka  <neleai@seznam.cz>
9559
9560         [BZ #15073]
9561         * malloc/malloc.c (_int_free): Perform sanity check only if we
9562         have_lock.
9563
9564 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9565
9566         [BZ #12986]
9567         * manual/stdio.texi (String Input Conversions): Clarify that character
9568         classes are not supported.
9569
9570 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9571
9572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9573
9574 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9575
9576         [BZ #16337]
9577         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9578         Calculate results for small negative arguments directly rather
9579         than using reflection formula with special underflow handling.
9580
9581         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9582         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9583         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9584         (fchflags): Likewise.
9585         (revoke): Likewise.
9586         (setlogin): Likewise.
9587         (sigaltstack): Likewise.
9588         (wait4): Likewise.
9589         (sigblock): Remove.
9590         (sigsetmask): Likewise.
9591         (wait3): Likewise.
9592         (waitpid): Likewise.
9593         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9594         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9595         file.
9596         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9597         * sysdeps/unix/bsd/Makefile: ... here.
9598         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9599         * sysdeps/unix/bsd/Versions: ... here.
9600         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9601         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9602         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9603         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9604         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9605         * sysdeps/unix/bsd/sigblock.c: ... here.
9606         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9607         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9608         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9609         * sysdeps/unix/bsd/sigvec.c: ... here.
9610         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9611         * sysdeps/unix/bsd/tcdrain.c: ... here.
9612         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9613         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9614         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9615         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9616         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9617         * sysdeps/unix/bsd/wait.c: ... here.
9618         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9619         * sysdeps/unix/bsd/wait3.c: ... here.
9620         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9621         * sysdeps/unix/bsd/waitpid.c: ... here.
9622
9623 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9624
9625         [BZ #16356]
9626         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9627         round-to-nearest for [!USE_AS_EXPM1L].
9628         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9629         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9630         more tests of exp and exp10.  Expect some exp10 tests to miss
9631         exceptions or fail in directed rounding modes.
9632         * math/auto-libm-test-out: Regenerated.
9633         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9634         (exp10_test_tonearest): New function.
9635         (exp10_towardzero_test_data): New array.
9636         (exp10_test_towardzero): New function.
9637         (exp10_downward_test_data): New array.
9638         (exp10_test_downward): New function.
9639         (exp10_upward_test_data): New array.
9640         (exp10_test_upward): New function.
9641         (main): Call the new functions.
9642         * sysdeps/i386/fpu/libm-test-ulps: Update.
9643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9644
9645 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9646
9647         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9648         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9649         * math/auto-libm-test-out: Regenerated.
9650         * math/libm-test.inc (acosh_test_data): Add more tests.
9651         (atanh_test_data): Likewise.
9652         (ceil_test_data): Likewise.
9653         (copysign_test_data): Likewise.
9654         * sysdeps/i386/fpu/libm-test-ulps: Update.
9655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9656
9657         * timezone/checktab.awk: Update from tzcode 2013i.
9658         * timezone/private.h: Likewise.
9659         * timezone/scheck.c: Likewise.
9660         * timezone/tzfile.h: Likewise.
9661         * timezone/tzselect.ksh: Likewise.
9662         * timezone/zdump.c: Likewise.
9663         * timezone/zic.c: Likewise.
9664
9665         * math/auto-libm-test-in: Add tests of cpow.
9666         * math/auto-libm-test-out: Regenerated.
9667         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9668         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9669         mpc_cc_c.
9670         (func_calc_desc): Add mpc_cc_c union field.
9671         (test_functions): Add cpow.
9672         (special_fill_2pi): New function.
9673         (special_real_inputs): Add 2pi.
9674         (calc_generic_results): Handle mpc_cc_c.
9675         * sysdeps/i386/fpu/libm-test-ulps: Update.
9676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9677
9678         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9679         csqrt, ctan and ctanh.
9680         * math/auto-libm-test-out: Regenerated.
9681         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9682         (TEST_COND_x86): Likewise.
9683         (ccos_test_data): Use AUTO_TESTS_c_c.
9684         (ccosh_test_data): Likewise.
9685         (cexp_test_data): Likewise.
9686         (clog_test_data): Likewise.
9687         (csqrt_test_data): Likewise.
9688         (ctan_test_data): Likewise.
9689         (ctan_tonearest_test_data): Likewise.
9690         (ctan_towardzero_test_data): Likewise.
9691         (ctan_downward_test_data): Likewise.
9692         (ctan_upward_test_data): Likewise.
9693         (ctanh_test_data): Likewise.
9694         (ctanh_tonearest_test_data): Likewise.
9695         (ctanh_towardzero_test_data): Likewise.
9696         (ctanh_downward_test_data): Likewise.
9697         (ctanh_upward_test_data): Likewise.
9698         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9699         mpc_c_c.
9700         (func_calc_desc): Add mpc_c_c union field.
9701         (FUNC_mpc_c_c): New macro.
9702         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9703         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9704         ctanh.
9705         (special_fill_min_subnorm_p120): New function.
9706         (special_real_inputs): Add min_subnorm_p120.
9707         (calc_generic_results): Handle mpc_c_c.
9708         * sysdeps/i386/fpu/libm-test-ulps: Update.
9709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9710
9711 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9712
9713         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9714         (do_sin_slow): New functions.
9715         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9716         (cslow2, csloww1, csloww2): Use the new functions.
9717
9718         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9719         Use M to change sign of result instead of X.  Assume X is
9720         positive.
9721         (csloww1): Likewise.
9722         (__sin): Adjust.
9723         (__cos): Adjust.
9724
9725         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9726         arguments A and DA.
9727         (__sin): Adjust.
9728         (__cos): Likewise.
9729
9730         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9731         (__cos): Likewise.
9732         (sloww1): Don't adjust sign of DX.
9733         (csloww1): Likewise.
9734         (sloww2): Use X directly and don't adjust sign of DX.
9735         (csloww2): Likewise.
9736
9737 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9738
9739         * math/auto-libm-test-in: Add tests of cabs and carg.
9740         * math/auto-libm-test-out: Regenerated.
9741         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9742         (carg_test_data): Likewise.
9743         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9744         mpc_c_f.
9745         (func_calc_desc): Add mpc_c_f union field.
9746         (test_functions): Add cabs and carg.
9747         (calc_generic_results): Handle mpc_c_f.
9748
9749         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9750         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9751         as a macro and a compat symbol.
9752         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9753         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9754         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9755         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9756         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9757         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9758         not use .hidden.
9759         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9760         Likewise.
9761         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9762         Likewise.
9763         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9764         Likewise.
9765         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9766         Likewise.
9767         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9768         Likewise.
9769         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9770         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9771         from GLIBC_2.3.2.
9772
9773 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9774
9775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9776
9777 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9778
9779         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9780         trailing whitespace removed.
9781         * scripts/config.guess: Update to version 2013-11-29.
9782         * scripts/config.sub: Update to version 2013-10-01.
9783
9784         * math/auto-libm-test-in: Add tests of sincos.
9785         * math/auto-libm-test-out: Regenerated.
9786         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9787         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9788         mpfr_f_11.
9789         (func_calc_desc): Add mpfr_f_11 union field.
9790         (test_functions): Add sincos.
9791         (calc_generic_results): Handle mpfr_f_11.
9792         * sysdeps/i386/fpu/libm-test-ulps: Update.
9793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9794
9795 2013-12-19  Andreas Schwab  <schwab@suse.de>
9796
9797         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9798         CALL_MCOUNT.
9799         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9800         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9801         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9802
9803 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9804
9805         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9806         * sysdeps/i386/fpu/libm-test-ulps: Update.
9807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9808
9809         [BZ #16293]
9810         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9811         round-to-nearest mode when using frndint.
9812         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9813         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9814         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9815         Likewise.
9816         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9817         sinh test to fail.
9818         * math/auto-libm-test-out: Regenerated.
9819         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9820         (TEST_COND_x86): Likewise.
9821         (expm1_tonearest_test_data): New array.
9822         (expm1_test_tonearest): New function.
9823         (expm1_towardzero_test_data): New array.
9824         (expm1_test_towardzero): New function.
9825         (expm1_downward_test_data): New array.
9826         (expm1_test_downward): New function.
9827         (expm1_upward_test_data): New array.
9828         (expm1_test_upward): New function.
9829         (main): Run the new test functions.
9830         * sysdeps/i386/fpu/libm-test-ulps: Update.
9831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9832
9833         * include/features.h: Update comment documenting feature test
9834         macros.  Mention _DEFAULT_SOURCE in comment.
9835         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9836         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9837         _BSD_SOURCE and _SVID_SOURCE.
9838         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9839         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9840         !_SVID_SOURCE]: Likewise.
9841         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9842         (__USE_POSIX_IMPLICITLY): Define.
9843         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9844         (_POSIX_SOURCE): Undefine and redefine.
9845         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9846         (_POSIX_C_SOURCE): Likewise.
9847         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9848         (Feature Test Macros): Update documentation of default features.
9849
9850 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9851
9852         * benchtests/Makefile: Add bench-strtok.
9853         * benchtests/bench-strtok.c: New file: strtok benchtest.
9854
9855 2013-12-19  Allan McRae  <allan@archlinux.org>
9856
9857         * manual/install.texi: Suppress menu for plain text output.
9858         * INSTALL: Regenerated.
9859
9860 2013-12-18  Brooks Moses  <bmoses@google.com>
9861
9862         [BZ #15846]
9863         * misc/getauxval.c: Include errno.h.
9864         (__getauxval): Set errno to ENOENT if the requested type is not
9865         found.
9866         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9867         don't declare with __attribute_const__.
9868         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9869         * manual/startup.texi: Document that getauxval sets errno.
9870
9871 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9872
9873         * math/auto-libm-test-in: Add tests of jn and yn.
9874         * math/auto-libm-test-out: Regenerated.
9875         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9876         (yn_test_data): Likewise.
9877         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9878         mpfr_if_f.
9879         (func_calc_desc): Add mpfr_if_f union field.
9880         (FUNC_mpfr_if_f): New macro.
9881         (test_functions): Add jn and yn.
9882         (calc_generic_results): Assert type of second input for
9883         mpfr_ff_f.  Handle mpfr_if_f.
9884         (output_for_one_input_case): Disable all checking for arguments
9885         fitting floating-point types in case of an integer argument.
9886         * sysdeps/i386/fpu/libm-test-ulps: Update.
9887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9888
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9890         Don't expect fegetround reference in libm.so.
9891
9892 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9893
9894         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9895         $(config-cflags-nofma).
9896
9897 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9898
9899         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9900         * math/auto-libm-test-out: Regenerated.
9901
9902         [BZ #16338]
9903         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9904         to determine exponent and adjust argument to have exponent of -1.
9905         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9906         log2.
9907         * math/auto-libm-test-out: Regenerated.
9908         * sysdeps/i386/fpu/libm-test-ulps: Update.
9909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9910
9911 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9912
9913         * manual/probes.texi: Remove cases when per-thread arenas are
9914         disabled.
9915
9916 2013-12-18  Andreas Schwab  <schwab@suse.de>
9917
9918         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9919         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9920         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9921         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9922         * sysdeps/i386/i686/multiarch/Makefile: Update.
9923         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9924
9925 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9926
9927         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9928         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9929
9930 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9931
9932         [BZ #15968]
9933         Support TZ transition times < 00:00:00.
9934         This is needed for version-3 tz-format files; it supports time
9935         stamps past 2037 for America/Godthab (the only entry in the tz
9936         database for which this change is relevant).
9937         * manual/time.texi (TZ Variable): Document transition times
9938         from -167:59:59 through -00:00:01.
9939         * time/tzset.c (tz_rule): Time of day is now signed.
9940         (__tzset_parse_tz): Parse negative time of day.
9941
9942         Document TZ transition times >= 25:00:00.
9943         * manual/time.texi (TZ Variable): Document transition times from
9944         25:00:00 through 167:59:59.  These are already supported, and this
9945         support will help with version-3 tz-format files.
9946
9947         * manual/time.texi (TZ Variable): Modernize North America example
9948         to reflect current (i.e., 2007-and-later) daylight saving rules.
9949
9950         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9951
9952 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9953
9954         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9955         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9956         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9958         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9959         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9960         * sysdeps/unix/bsd/clock.c: Likewise.
9961         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9962         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9963         * sysdeps/unix/bsd/init-posix.c: Likewise.
9964         * sysdeps/unix/bsd/poll.c: Likewise.
9965         * sysdeps/unix/bsd/ptsname.c: Likewise.
9966         * sysdeps/unix/bsd/seekdir.c: Likewise.
9967         * sysdeps/unix/bsd/setegid.c: Likewise.
9968         * sysdeps/unix/bsd/seteuid.c: Likewise.
9969         * sysdeps/unix/bsd/setgid.c: Likewise.
9970         * sysdeps/unix/bsd/setrgid.c: Likewise.
9971         * sysdeps/unix/bsd/setruid.c: Likewise.
9972         * sysdeps/unix/bsd/setsid.c: Likewise.
9973         * sysdeps/unix/bsd/setuid.c: Likewise.
9974         * sysdeps/unix/bsd/sigaction.c: Likewise.
9975         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9976         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9977         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9978         * sysdeps/unix/bsd/telldir.c: Likewise.
9979         * sysdeps/unix/bsd/times.c: Likewise.
9980         * sysdeps/unix/bsd/usleep.c: Likewise.
9981
9982         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9983         ($(objpfx)libbsd-compat.a): Remove rule.
9984
9985         * include/features.h (__FAVOR_BSD): Do not define.
9986         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9987         features conflicting with POSIX.
9988         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9989         (_BSD_SOURCE): Remove description of not being a subset of other
9990         feature test macros.
9991         * manual/job.texi (getpgrp): Do not document BSD version.
9992         (getpgid): Do not document by reference to BSD getpgrp.
9993         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9994         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9995         * signal/signal.h [__FAVOR_BSD]: Likewise.
9996         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9997         instead of making contents conditional on [__FAVOR_BSD].
9998         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9999
10000 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10001
10002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10003
10004 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10005
10006         [BZ #16314]
10007         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10008         values below 2**-450, not 2**-500.
10009         * math/auto-libm-test-in: Don't allow spurious underflow from
10010         hypot.
10011         * math/auto-libm-test-out: Regenerated.
10012
10013         [BZ #16316]
10014         [BZ #16330]
10015         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10016         values of ha and hb and sort them after adjusting subnormal
10017         arguments.
10018         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10019         Likewise.
10020         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10021         values of ea and eb and sort them after adjusting subnormal
10022         arguments.
10023         * math/auto-libm-test-in: Do not expect some hypot tests of
10024         subnormals to fail.  Add more hypot tests.
10025         * math/auto-libm-test-out: Regenerated.
10026
10027 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10028
10029         [BZ #13304]
10030         * sysdeps/sh/s_fma.c: New file.
10031         * sysdeps/sh/s_fmaf.c: New file.
10032         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10033         version.
10034         * sysdeps/sh/Implies: Add sh/soft-fp.
10035
10036 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10037
10038         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10039         level of indirection to members `objname', `errstring', `malloced'.
10040         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10041         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10042         it as the __longjmp argument (just pass 1 instead).
10043         (_dl_catch_error): Initialize C with argument pointers and address of
10044         volatile local ERRCODE rather than copying values out of C at return.
10045
10046 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10047
10048         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10049         * math/auto-libm-test-out: Regenerated.
10050         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10051         (hypot_test_data): Likewise.
10052         (pow_test_data): Likewise.
10053         (pow_tonearest_test_data): Likewise.
10054         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10055         mpfr_ff_f.
10056         (func_calc_desc): Add mpfr_ff_f union field.
10057         (FUNC_mpfr_ff_f): New macro.
10058         (test_functions): Add atan2, hypot and pow.
10059         (special_fill_min): New function.
10060         (special_fill_minus_min): Likewise.
10061         (special_fill_min_subnorm): Likewise.
10062         (special_fill_minus_min_subnorm): Likewise.
10063         (special_real_inputs): Add min, -min, min_subnorm and
10064         -min_subnorm.
10065         (calc_generic_results): Handle mpfr_ff_f.
10066         * sysdeps/i386/fpu/libm-test-ulps: Update.
10067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10068
10069 2013-12-16  Will Newton  <will.newton@linaro.org>
10070
10071         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10072         (Aligned Memory Blocks): Add documentation for aligned_alloc
10073         and suggest it as an alternative to posix_memalign.
10074         (Hooks for Malloc): Document __memalign_hook is also called
10075         for aligned_alloc.  (Summary of Malloc): Add summary for
10076         aligned alloc.  Document __memalign_hook is also called
10077         for aligned_alloc.
10078
10079 2013-12-16  Will Newton  <will.newton@linaro.org>
10080
10081         * manual/memory.texi (Malloc Examples): Clarify default
10082         alignment documentation.  Suggest posix_memalign rather
10083         than memalign or valloc.
10084         (Aligned Memory Blocks): Remove suggestion to use memalign
10085         or valloc.  Remove obsolete comment about BSD.
10086         Document memalign errno values and mark the function obsolete.
10087         Document posix_memalign returned error codes.  Mark valloc
10088         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10089         called for posix_memalign and valloc.
10090         (Summary of Malloc): Add posix_memalign to function summary.
10091         __memalign_hook is also called for posix_memalign and valloc.
10092
10093 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10094
10095         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10096         TAYLOR_SIN.
10097         (__sin): Adjust.
10098         (__cos): Likewise.
10099         (sloww): Use mynumber union.  Expand ternary operator into
10100         if-else statements.
10101         (cslow): use mynumber union.
10102
10103 2013-12-16  Allan McRae  <allan@archlinux.org>
10104
10105         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10106         * configure: Regenerated.
10107
10108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10109
10110         [BZ #14120]
10111         * configure.ac: Added --enable-maintainer-mode. Check for
10112         autoconf when enabled.
10113         * configure: Regenerated.
10114
10115         * nscd/nscd.service: New file.
10116         * nscd/nscd.tmpfiles: New file.
10117
10118 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10119
10120         [BZ #12100]
10121         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10122         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10123         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10124         (strstr): Add __strstr_sse2_unaligned ifunc.
10125         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10126         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10127         (strcasestr): Remove __strcasestr_sse42 ifunc.
10128         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10131
10132 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10133
10134         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10135         * sysdeps/sh/bits/fenv.h: ... here.
10136         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10137
10138 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10139
10140         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10141
10142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10143         hypotf multiarch implementations.
10144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10147         multiarch hypot for PPC64.
10148         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10149         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10151         multiarch hypotf for PPC64.
10152
10153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10154         modff multiarch implementations.
10155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10158         multiarch modf for PPC64.
10159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10162         multiarch modff for PPC64.
10163
10164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10165         and logl multiarch implementations.
10166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10169         multiarch logb for PPC64.
10170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10173         multiarch logb for PPC64.
10174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10177         multiarch logb for PPC64.
10178
10179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10180         isinff multiarch implementation.
10181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10182         file.
10183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10185         multiarch isinf for PPC64.
10186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10187         file.
10188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10189         multiarch isinff for PPC64.
10190
10191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10192         finitef multiarch implementation.
10193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10194         file.
10195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10197         multiarch finite for PPC64.
10198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10199         file.
10200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10201         multiarch finitef for PPC64.
10202
10203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10204         lrint multiarch implementation.
10205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10206         file.
10207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10209         multiarch llrint for PPC64.
10210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10211         multiarch lrint for PPC64.
10212
10213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10214         copysignf multiarch implementation.
10215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10216         file.
10217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10218         file.
10219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10220         multiarch copysign for PPC64.
10221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10222         multiarch copysignf for PPC64.
10223
10224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10225         multiarch implementation.
10226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10227         file.
10228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10229         file.
10230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10231         file.
10232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10233         file.
10234         multiarch llround for PPC64.
10235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10236         multiarch trunc for PPC64.
10237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10238         multiarch truncf for PPC64.
10239
10240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10241         multiarch implementation.
10242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10243         file.
10244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10245         file.
10246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10247         file.
10248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10249         file.
10250         multiarch llround for PPC64.
10251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10252         multiarch round for PPC64.
10253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10254         multiarch roundf for PPC64.
10255
10256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10257         multiarch implementation.
10258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10259         file.
10260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10261         file.
10262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10263         file.
10264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10265         file.
10266         multiarch llround for PPC64.
10267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10268         multiarch floor for PPC64.
10269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10270         multiarch floorf for PPC64.
10271
10272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10273         multiarch implementation.
10274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10275         file.
10276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10277         file.
10278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10279         file.
10280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10281         file.
10282         multiarch llround for PPC64.
10283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10284         multiarch ceil for PPC64.
10285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10286         multiarch ceilf for PPC64.
10287
10288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10289         multiarch implementation.
10290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10291         file.
10292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10293         file.
10294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10295         file.
10296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10297         multiarch llround for PPC64.
10298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10299         multiarch lround for PPC64.
10300
10301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10302         multiarch implementation.
10303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10306         file.
10307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10310         multiarch isnan for PPC64.
10311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10312         multiarch isnanf for PPC64.
10313
10314         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10315         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10316         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10317         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10318         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10320
10321         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10322         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10324         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10325
10326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10327         multiarch implementations.
10328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10329         (__libc_ifunc_impl_list): Likewise.
10330         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10331         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10332         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10333         multiarch stpcpy for PPC64.
10334
10335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10336         multiarch implementations.
10337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10338         (__libc_ifunc_impl_list): Likewise.
10339         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10340         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10341         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10342         multiarch strcpy for PPC64.
10343
10344         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10345         redefine function name.
10346         (_wordcopy_fwd_dest_aligned): Likewise.
10347         (_wordcopy_bwd_aligned): Likewise.
10348         (_wordcopy_bwd_dest_aligned): Likewise.
10349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10350         multiarch implementations.
10351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10352         (__libc_ifunc_impl_list): Likewise.
10353         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10354         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10355         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10356         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10357         multiarch wcscpy for PPC64.
10358
10359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10360         multiarch implementations.
10361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10362         (__libc_ifunc_impl_list): Likewise.
10363         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10364         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10365         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10366         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10367         multiarch wcscpy for PPC64.
10368
10369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10370         multiarch implementations.
10371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10372         (__libc_ifunc_impl_list): Likewise.
10373         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10374         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10375         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10376         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10377         multiarch wcsrchr for PPC64.
10378
10379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10380         multiarch implementations.
10381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10382         (__libc_ifunc_impl_list): Likewise.
10383         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10384         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10385         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10386         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10387         multiarch wcschr for PPC64.
10388
10389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10390         multiarch implementations.
10391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10392         (__libc_ifunc_impl_list): Likewise.
10393         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10394         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10395         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10396         multiarch strchrnul for PPC64.
10397
10398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10399         implementations.
10400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10401         (__libc_ifunc_impl_list): Likewise.
10402         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10403         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10404         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10405         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10406         strchr for PPC64.
10407
10408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10409         implementations.
10410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10411         (__libc_ifunc_impl_list): Likewise.
10412         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10413         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10414         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10415         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10416         strncmp for PPC64.
10417
10418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10419         multiarch implementations.
10420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10421         (__libc_ifunc_impl_list): Likewise.
10422         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10423         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10424         strncasecmp for PPC64.
10425         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10426         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10427         multiarch strncasecmp_l for PPC64.
10428
10429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10430         multiarch implementations.
10431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10432         (__libc_ifunc_impl_list): Likewise.
10433         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10434         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10435         multiarch strcasecmp for PPC64.
10436         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10437         file.
10438         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10439         multiarch strcasecmp_l for PPC64.
10440
10441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10442         implementations.
10443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10444         (__libc_ifunc_impl_list): Likewise.
10445         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10446         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10447         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10448         strnlen for PPC64.
10449
10450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10451         implementations.
10452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10453         (__libc_ifunc_impl_list): Likewise.
10454         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10455         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10456         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10457         strlen for PPC64.
10458
10459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10460         implementations.
10461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10462         (__libc_ifunc_impl_list): Likewise.
10463         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10464         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10465         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10466         rawmemrchr for PPC64.
10467
10468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10469         implementation.
10470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10471         (__libc_ifunc_impl_list): Likewise.
10472         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10473         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10474         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10475         memrchr for PPC64.
10476
10477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10478         implementation.
10479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10480         (__libc_ifunc_impl_list): Likewise.
10481         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10482         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10483         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10484         memchr for PPC64.
10485
10486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10487         implementation.
10488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10489         (__libc_ifunc_impl_list): Likewise.
10490         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10491         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10492         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10493         mempcpy for PPC64.
10494
10495         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10496         avoid cretion of __bzero symbol.
10497         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10498         Likewise.
10499         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10500         Likewise.
10501         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10502         Likewise.
10503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10504         multiarch implementations.
10505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10506         (__libc_ifunc_impl_list): Likewise.
10507         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10508         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10509         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10510         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10511         bzero for PPC32.
10512         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10513         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10514         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10515         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10516         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10517         memset for PPC64.
10518         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10519
10520         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10522         implementations.
10523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10524         (__libc_ifunc_impl_list): Likewise.
10525         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10526         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10527         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10528         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10529         memcmp for PPC64.
10530
10531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10532         multiarch for POWER/PPC64.
10533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10534         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10535         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10536         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10537         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10538         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10539         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10540         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10541         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10542         memcpy for PPC64.
10543
10544         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10545         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10546         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10547         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10548         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10549         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10550         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10551         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10552         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10553         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10554         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10555         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10556         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10557         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10558         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10566
10567 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10568
10569         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10570
10571 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10572
10573         * benchtests/Makefile (bench): Add exp2 and log2.
10574         (LDLIBS-bench-exp2): Add -lm.
10575         (LDLIBS-bench-log2): Likewise.
10576         * benchtests/exp2-inputs: New inputs file.
10577         * benchtests/log2-inputs: New inputs file.
10578         * benchtests/log-inputs: Add new inputs.
10579         * benchtests/tan-inputs: Likewise.
10580
10581 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10582
10583         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10584         definition...
10585         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10586         (csloww2): ... from here.
10587
10588         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10589         instead of structures.
10590         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10591         (POLYNOMIAL): Likewise.
10592         (TAYLOR_SLOW): Likewise.
10593         (__sin): Likewise.
10594         (__cos): Likewise.
10595         (slow1): Likewise.
10596         (slow2): Likewise.
10597         (sloww): Likewise.
10598         (sloww1); Likewise.
10599         (sloww2): Likewise.
10600         (bsloww1): Likewise.
10601         (bsloww2): Likewise.
10602         (cslow2): Likewise.
10603         (csloww): Likewise.
10604         (csloww1): Likewise.
10605         (csloww2): Likewise.
10606
10607 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10608
10609         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10610         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10611         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10612         * malloc/hooks.c (realloc_check): Likewise.
10613
10614         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10615         * malloc/arena.c: Remove PER_THREAD conditional.
10616         [!PER_THREAD]: Remove code.
10617         (ptmalloc_unlock_all2): Likewise.
10618         (ptmalloc_init): Likewise.
10619         (_int_new_arena): Likewise.
10620         (arena_get2): Likewise.
10621         * malloc/hooks.c (__malloc_get_state): Likewise.
10622         (__malloc_set_state): Likewise.
10623         * malloc/malloc.c: Likewise.
10624         (struct malloc_state): Likewise.
10625         (struct malloc_par): Likewise.
10626         (__libc_realloc): Likewise.
10627         (__libc_mallopt): Likewise.
10628
10629 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10630
10631         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10632
10633 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10634
10635         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10636         macro to a function.  Check for zero perturb_byte.
10637         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10638
10639         * malloc/malloc.c: (force_reg): Remove.
10640         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10641         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10642         force_reg by atomic_forced_read.
10643         * malloc/arena.c (ptmalloc_init): Likewise.
10644         * malloc/hooks.c (top_check): Likewise.
10645
10646 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10647
10648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10649
10650 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10651
10652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10653
10654 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10655
10656         * math/auto-libm-test-in: Add tests of lgamma.
10657         * math/auto-libm-test-out: Regenerated.
10658         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10659         (M_LOG_2_SQRT_PIl): Likewise.
10660         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10661         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10662         mpfr_f_f1.
10663         (func_calc_desc): Add mpfr_f_f1 union field.
10664         (ARGS1): New macro.
10665         (ARGS2): Likewise.
10666         (ARGS3): Likewise.
10667         (ARGS4): Likewise.
10668         (RET1): Likewise.
10669         (RET2): Likewise.
10670         (CALC): Likewise.
10671         (FUNC): Likewise.
10672         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10673         (test_functions): Add lgamma.
10674         (calc_generic_results): Handle mpfr_f_f1.
10675         * sysdeps/i386/fpu/libm-test-ulps: Update.
10676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10677
10678 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10679
10680         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10681         __mpn_add_n for PowerPC64/POWER7.
10682         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10683         __mpn_sub_n for PowerPC64/POWER7.
10684
10685         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10686         __mpn_addmul_1 for PowerPC64.
10687         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10688         __mpn_submul_1 for PowerPC64.
10689         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10690         for PowerPC64.
10691         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10692         for PowerPC64.
10693
10694 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10695
10696         [BZ #15089]
10697         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10698
10699 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10700
10701         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10702
10703         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10704         add multiarch folders.
10705         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10706         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10707         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10708         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10709         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10710         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10711         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10712         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10713         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10714         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10715         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10722
10723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10724         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10726         New file.
10727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10728         New file.
10729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10730         multiarch __ieee754_hypot for PowerPC32.
10731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10732         New file.
10733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10734         New file.
10735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10736         multiarch __ieee754_hypotf for PowerPC32.
10737
10738         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10739         long_double_symbol only if __logbl is defined.
10740         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10741         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10743         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10745         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10746         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10747         path for implementation.
10748         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10749         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10751         logb, and logbl multiarch implementations for PowerPC32.
10752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10753         file.
10754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10755         file.
10756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10757         multiarch logb for PowerPC32.
10758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10759         file.
10760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10761         file.
10762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10763         multiarch logbf for PowerPC32.
10764         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10766         file.
10767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10768         multiarch logbl implementation for PowerPC32.
10769
10770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10771         and modff multiarch implementations.
10772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10773         New file.
10774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10775         New file.
10776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10777         multiarch modf for PowerPC32.
10778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10779         New file.
10780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10781         New file.
10782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10783         multiarch modff for PowerPC32.
10784
10785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10786         and lrintf multiarch implementations.
10787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10788         New file.
10789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10790         New file.
10791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10792         multiarch lrint for PowerPC32.
10793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10794         file: multiarch lrintf for PowerPC32.
10795
10796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10797         and lroundf multiarch implementations.
10798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10799         New file.
10800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10801         New file.
10802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10803         New file.
10804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10805         multiarch lround for PowerPC32.
10806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10807         file: multiarch lroundf for PowerPC32.
10808
10809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10810         copysign and copysignf multiarch implementations.
10811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10812         New file.
10813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10814         New file.
10815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10816         file: multiarch copysign for PowerPC32.
10817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10818         file: multiarch copysignf for PowerPC32.
10819
10820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10821         and truncf multiarch implementations.
10822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10823         New file.
10824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10825         file.
10826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10827         multiarch trunc for PowerPC32.
10828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10829         New file.
10830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10831         New file.
10832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10833         multiarch truncf for PowerPC32.
10834
10835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10836         and roundf multiarch implementations.
10837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10838         New file.
10839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10840         file.
10841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10842         multiarch round for PowerPC32.
10843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10844         New file.
10845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10846         New file.
10847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10848         multiarch roundf for PowerPC32.
10849
10850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10851         and floorf multiarch implementations.
10852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10853         New file.
10854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10855         file.
10856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10857         multiarch floor for PowerPC32.
10858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10859         New file.
10860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10861         New file.
10862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10863         multiarch floorf for PowerPC32.
10864
10865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10866         and ceilf multiarch implementations.
10867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10868         New file.
10869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10870         file.
10871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10872         multiarch ceil for PowerPC32.
10873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10874         New file.
10875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10876         file.
10877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10878         multiarch ceilf for PowerPC32.
10879
10880         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10881         is defined.
10882         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10883         FINITEF is defined.
10884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10885         and finitef multiarch implementations.
10886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10887         New file.
10888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10889         file.
10890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10891         multiarch finite for PowerPC32.
10892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10893         New file.
10894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10895         file: multiarch finitef for PowerPC32.
10896
10897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10898         and isinff multiarch implementations.
10899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10900         file.
10901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10902         file.
10903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10904         multiarch isinf for PowerPC32.
10905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10906         New file.
10907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10908         multiarch isinff for PowerPC32.
10909
10910         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10911         alias when __isnan is defined.
10912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10913         and isnanf multiarch implementations.
10914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10915         file.
10916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10917         file.
10918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10919         file.
10920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10921         file.
10922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10923         multiarch isnan for PowerPC32.
10924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10925         New file.
10926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10927         New file.
10928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10929         multiarch isnanf for PowerPC32.
10930
10931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10932         and sqrtf multiarch implementations.
10933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10934         file.
10935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10936         file.
10937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10938         multiarch sqrt for PowerPC32.
10939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10940         file.
10941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10942         file.
10943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10944         multiarch sqrtf for PowerPC32.
10945
10946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10947         and llroundf multiarch implementations.
10948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10949         New file.
10950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10951         New file.
10952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10953         New file.
10954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10955         file: multiarch llround for PowerPC32.
10956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10957         file: multiarch llroundf for PowerPC32.
10958
10959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10960         multiarch PowerPC32 fpu implementations.
10961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10962         New file.
10963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10964         New file.
10965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10966         multiarch llrint for PowerPC32.
10967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10968         New file.
10969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10970         New file.
10971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10972         file.
10973
10974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10975
10976         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10977         file.
10978         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10979         file.
10980         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10981         file.
10982         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10983         multiarch wordcopy for PPC32.
10984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10985         wordcopy objects.
10986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10987         (__libc_ifunc_impl_list): Likewise.
10988         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10989         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10990         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10991         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10992         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10993         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10994
10995         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10997         file.
10998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10999         file.
11000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11001         file.
11002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11003         multiarch wcscpy for PPC32.
11004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11005         multiarch objects.
11006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11007         (__libc_ifunc_impl_list): Likewise.
11008         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11009         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11010         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11011         sysdeps/powerpc/power6/wcscpy.c.
11012
11013         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11015         file.
11016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11017         file.
11018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11019         file.
11020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11021         multiarch wcsrchr for PPC32.
11022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11023         multiarch objects.
11024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11025         (__libc_ifunc_impl_list): Likewise.
11026         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11027         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11028         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11029         sysdeps/powerpc/power6/wcsrchr.c.
11030
11031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11032         file.
11033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11034         file.
11035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11037         multiarch wcschr for PPc32.
11038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11039         multiarch objects.
11040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11041         (__libc_ifunc_impl_list): Likewise.
11042         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11043         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11044         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11045         sysdeps/powerpc/power6/wcschr.c.
11046
11047         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11048         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11049         file.
11050         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11051         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11052         file: multiarch strchr for PPC32.
11053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11054         multiarch objects.
11055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11056         (__libc_ifunc_impl_list): Likewise.
11057
11058         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11059         name.
11060         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11061         file.
11062         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11063         file.
11064         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11065         multiarch strchrnul for PPC32.
11066         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11067         multiarch objects.
11068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11069         (__libc_ifunc_impl_list): Likewise.
11070
11071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11072         file.
11073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11074         multiarch strncasecmp for PPC32.
11075         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11076         file.
11077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11078         multiarch strncasecmp_l for PPC32.
11079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11080         strncasecmp multiarch objects.
11081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11082         (__libc_ifunc_impl_list): Likewise.
11083
11084         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11085         file.
11086         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11087         multiarch strncasecmp for PPC32.
11088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11089         New file.
11090         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11091         multiarch strcasecmp_l for PPC32.
11092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11093         multiarch objects.
11094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11095         (__libc_ifunc_impl_list): Likewise.
11096
11097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11098         file.
11099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11100         file.
11101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11102         multiarch strncmp for PPC32.
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11104         multiarch objects.
11105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11106         (__libc_ifunc_impl_list): Likewise.
11107
11108         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11109         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11110         file.
11111         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11112         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11114         multiarch objects.
11115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11116         (__libc_ifunc_impl_list): Likewise.
11117
11118         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11119         file.
11120         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11121         file.
11122         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11124         multiarch objects.
11125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11126         (__libc_ifunc_impl_list): Likewise.
11127
11128         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11129         file.
11130         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11131         file.
11132         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11133         multiarch rawmemchr for PPC32.
11134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11135         multiarch objects.
11136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11137         (__libc_ifunc_impl_list): Likewise.
11138
11139         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11140         file.
11141         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11142         file.
11143         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11144         file: memrchr multiarch for PPC32.
11145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11146         multiarch objects.
11147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11148         (__libc_ifunc_impl_list): Likewise.
11149
11150         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11151         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11152         file.
11153         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11154         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11155         multiarch memchr for PPC32.
11156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11157         multiarch objects.
11158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11159         (__libc_ifunc_impl_list): Likewise.
11160
11161         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11162         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11163         file.
11164         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11165         file.
11166         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11167         file: multiarch mempcpy for PPC32.
11168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11169         multiarch objects.
11170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11171         (__libc_ifunc_impl_list): Likewise.
11172
11173         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11174         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11175         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11176         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11177         multiarch bzero for PPC32.
11178         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11179         file.
11180         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11181         file.
11182         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11183         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11184         file: multiarch memset for PPC32.
11185         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11187         memset multiarch objects.
11188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11189         (__libc_ifunc_impl_list): Likewise.
11190
11191         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11192         file.
11193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11195         memcmp for PPC32.
11196         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11198         multiarch objects.
11199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11200         (__libc_ifunc_impl_list): Likewise.
11201
11202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11205         file.
11206         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11207         file.
11208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11209         file.
11210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11211         multiarch memcpy for PPC32.
11212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11213         multiarch objects.
11214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11215         (__libc_ifunc_impl_list): Likewise.
11216
11217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11218         support multiarch for POWER/PPC32.
11219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11220         Likewise.
11221         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11223         Implies file to make multiarch folder appers before the fpu and
11224         default folder for power4 configuration.
11225
11226 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11227
11228         * scripts/bench.pl: Append volatile keyword to type.
11229
11230 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11231
11232         * sysdeps/sh/sotruss-lib.c: New file.
11233         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11234
11235 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11236
11237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11238
11239 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11240
11241         [BZ #6810]
11242         * math/w_tgamma.c: Include <errno.h>.
11243         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11244         * math/w_tgammaf.c: Include <errno.h>.
11245         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11246         * math/w_tgammal.c: Include <errno.h>.
11247         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11248         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11249         underflow.  Add more tgamma tests.
11250         * math/auto-libm-test-out: Regenerated.
11251         * sysdeps/i386/fpu/libm-test-ulps: Update.
11252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11253
11254         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11255         sin, sinh, tan, tanh, tgamma, y0 and y1.
11256         * math/auto-libm-test-out: Regenerated.
11257         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11258         (TEST_COND_x86): Likewise.
11259         (M_E2l): Remove macro.
11260         (M_E3l): Likewise.
11261         (M_2_SQRT_PIl): Likewise.
11262         (M_SQRT_PIl): Likewise.
11263         (M_1_DIV_El): Likewise.
11264         (log_test_data): Use AUTO_TESTS_f_f.
11265         (log10_test_data): Likewise.
11266         (log1p_test_data): Likewise.
11267         (log2_test_data): Likewise.
11268         (sin_test_data): Likewise.
11269         (sin_tonearest_test_data): Likewise.
11270         (sin_towardzero_test_data): Likewise.
11271         (sin_downward_test_data): Likewise.
11272         (sin_upward_test_data): Likewise.
11273         (sinh_test_data): Likewise.
11274         (sinh_tonearest_test_data): Likewise.
11275         (sinh_towardzero_test_data): Likewise.
11276         (sinh_downward_test_data): Likewise.
11277         (sinh_upward_test_data): Likewise.
11278         (tan_test_data): Likewise.
11279         (tan_tonearest_test_data): Likewise.
11280         (tan_towardzero_test_data): Likewise.
11281         (tan_downward_test_data): Likewise.
11282         (tan_upward_test_data): Likewise.
11283         (tanh_test_data): Likewise.
11284         (tgamma_test_data): Likewise.
11285         (y0_test_data): Likewise.
11286         (y1_test_data): Likewise.
11287         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11288         (special_real_inputs): Add pi/4.
11289         * sysdeps/i386/fpu/libm-test-ulps: Update.
11290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11291
11292 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11293
11294         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11295         "longjmp_target" static probes.
11296         (__longjmp): Rename to __longjmp_symbol.
11297         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11298         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11299         on which longjmp to generate.
11300         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11301         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11302         probe.
11303         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11304         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11305         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11306         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11307         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11308         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11310         __longjmp_symbol based on which __longjmp to generate.
11311         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11312         probe.
11313         (setjmp): Rename to setjmp_symbol.
11314         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11315         (_setjmp): Rename to _setjmp_symbol.
11316         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11317         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11318         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11319         which setjmp to generate.
11320         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11321         "longjmp_target" static probes.
11322
11323 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11324
11325         * benchtests/README: Add note about output arguments.
11326         * benchtests/bench-sincos.c: Remove file.
11327         * benchtests/sincos-inputs: New file.
11328         * scripts/bench.pl: Identify output arguments and define
11329         static variables for them.
11330
11331         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11332
11333         [BZ #15941]
11334         * Makefile (INSTALL): Add install-plain.texi as the primary
11335         dependency.
11336         * manual/install-plain.texi: New file.
11337         * manual/install.texi: Include node directive only for
11338         non-plaintext output.
11339
11340 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11341
11342         * stdlib/longlong.h: Update from GCC.
11343
11344         [BZ #6807]
11345         [BZ #15901]
11346         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11347         * math/w_j0f.c (y0f): Likewise.
11348         * math/w_j0l.c (__y0l): Likewise.
11349         * math/w_j1.c (y1): Likewise.
11350         * math/w_j1f.c (y1f): Likewise.
11351         * math/w_j1l.c (__y1l): Likewise
11352         * math/w_jn.c (yn): Likewise.
11353         * math/w_jnf.c (ynf): Likewise.
11354         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11355         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11356         value for Bessel function domain errors outside _SVID_ mode.
11357         Adjust sign of return value for yn (negative integer, 0).
11358         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11359         by zero in return for negative x and set sign appropriately for
11360         negative n.
11361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11362         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11363         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11364         expectations in error cases.
11365         (y1_test_data): Likewise.
11366         (yn_test_data): Likewise.
11367         * sysdeps/i386/fpu/libm-test-ulps: Update.
11368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11369
11370 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11371
11372         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11373         "64" to "64-v1".  Add "64-v2".
11374         (abi-64-options): Rename to ...
11375         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11376         (abi-64-condition): Rename to ...
11377         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11378         (abi-64-ld-soname): Rename to ...
11379         (abi-64-v1-ld-soname): ... this.
11380         (abi-64-v2-options): Define.
11381         (abi-64-v2-condition): Likewise.
11382         (abi-64-v2-ld-soname): Likewise.
11383         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11384         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11388
11389 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11390             Alan Modra  <amodra@gmail.com>
11391
11392         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11393         New versions for use with the ELFv2 ABI.
11394         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11395         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11396         declaration.
11397         (struct La_ppc64v2_retval): Likewise.
11398         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11399         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11400         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11401         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11402         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11403         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11404         Do not save or restore CR.
11405         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11406         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11407         return values for ELFv2 ABI.  Fix location of FPR return registers.
11408         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11409         updated values for _CALL_ELF == 2.
11410         (La_regs, La_retval, int_retval): Likewise.
11411
11412 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11413
11414         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11415         (FRAME_MIN_SIZE_PARM): Likewise.
11416         (FRAME_BACKCHAIN): Likewise.
11417         (FRAME_CR_SAVE): Likewise.
11418         (FRAME_LR_SAVE): Likewise.
11419         (FRAME_TOC_SAVE): Likewise.
11420         (FRAME_PARM_SAVE): Likewise.
11421         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11422         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11423         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11424         (call_mcount_parm_offset): New macro.
11425         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11426         (PROF): Use symbolic stack frame offsets.
11427         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11428         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11429         Redefine in terms of FRAME_MIN_SIZE.
11430         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11431         (_dl_profile_resolve): Likewise.  Update comment.
11432         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11433         symbols stack frame offsets.
11434         (__sigsetjmp): Likewise.
11435         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11436         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11437         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11438         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11439
11440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11441         (FRAME_BACKCHAIN): Remove.
11442         (FRAME_CR_SAVE): Likewise.
11443         (FRAME_LR_SAVE): Likewise.
11444         (FRAME_COMPILER_DW): Likewise.
11445         (FRAME_LINKER_DW): Likewise.
11446         (FRAME_TOC_SAVE): Likewise.
11447         (FRAME_PARM_SAVE): Likewise.
11448         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11449         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11450         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11452         (CHECK_SP): Use symbolic stack frame offsets.
11453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11454         zone" instead of caller's parameter save area for temp storage.
11455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11456         Likewise.  Also, use symbolic stack frame offsets.
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11458         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11459         our own stack frame instead of the caller's.
11460         (__socket): Use symbolic stack frame offsets.
11461
11462 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11463             Alan Modra  <amodra@gmail.com>
11464
11465         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11466         Define.
11467         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11468         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11469         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11470         New function.
11471         (elf_machine_fixup_plt): Call it.
11472         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11473         reloc arguments.
11474         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11475         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11476         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11477         r2 before calling target.
11478
11479 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11480             Alan Modra  <amodra@gmail.com>
11481
11482         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11483         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11484         versions of macros to support ELFv2 ABI.
11485         (LOCALENTRY): New macro.
11486         (ENTRY, EALIGN): Use it.
11487         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11488         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11489         fall through into ENTRY entry point.
11490         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11491         Only define if _CALL_ELF != 2.
11492
11493         (elf_machine_matches_host): Verify ABI version matches.
11494         (RTLD_START): Use LOCALENTRY.
11495         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11496         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11497         (PLT_ENTRY_WORDS): New macro.
11498         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11499         (elf_machine_runtime_setup): Support ELFv2 ABI.
11500         (elf_machine_fixup_plt): Likewise.
11501         (elf_machine_plt_conflict): Likewise.
11502         (resolve_ifunc): Likewise.
11503         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11504         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11505         Likewise.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11507         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11509         (makecontext): Support ELFv2 ABI.
11510         * elf/elf.h (EF_PPC64_ABI): Define.
11511
11512 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11513
11514         * sysdeps/powerpc/powerpc64/sysdep.h
11515         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11516         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11517         (ENTRY) [ASSEMBLER]: ... but instead here ...
11518         (EALIGN) [ASSEMBLER]: ... and here.
11519         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11520         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11521         (ENTRY_2) [!ASSEMBLER]: Use it.
11522         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11523         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11524         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11525         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11526         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11528         Use PPC64_LOAD_FUNCPTR.
11529
11530         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11531
11532 2013-12-04  Alan Modra  <amodra@gmail.com>
11533
11534         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11535         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11536         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11537         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11538
11539         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11540         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11541         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11542         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11543         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11544         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11545
11546 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11547
11548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11549         (__makecontext): Fix incorrect CFI when backtracing out of
11550         context created via makecontext.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11552         (__setcontext): Fix incorrect CFI during switch to new context.
11553         (__novec_setcontext): Likewise.
11554
11555 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11556
11557         [BZ #4772]
11558         * time/strptime_l.c (__strptime_internal): Allow modifiers
11559         in strptime.
11560         * time/tst-strptime.c (day_tests): Add testcase.
11561
11562 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11563
11564         * scripts/bench.pl: Skip over blank lines.
11565
11566 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11567
11568         [BZ #926]
11569         * manual/time.texi (Calendar Time): Clarify what timezone functions
11570         use.
11571
11572 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11573
11574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11575
11576 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11577
11578         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11579         implementation.
11580         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11581         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11582         * debug/memset_chk.c (__memset_chk): Likewise.
11583         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11584         * debug/strncpy_chk.c: Likewise.
11585
11586 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11587
11588         [BZ #15268]
11589         [BZ #15425]
11590         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11591         (__ieee754_exp): For possibly underflowing results, check size of
11592         result and force underflow exception if required.
11593         * math/auto-libm-test-in: Add more tests of exp.
11594         * math/auto-libm-test-out: Regenerated.
11595         * sysdeps/i386/fpu/libm-test-ulps: Update.
11596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11597
11598         [BZ #16283]
11599         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11600         * math/w_exp2f.c (__exp2f): Likewise.
11601         * math/w_exp2l.c (__exp2l): Likewise.
11602         * math/auto-libm-test-in: Do not allow missing errno on exp2
11603         underflow.
11604         * math/auto-libm-test-out: Regenerated.
11605
11606 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11607
11608         [BZ #16274]
11609         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11610         handle filename validation.
11611         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11612         (do_open): Delete.
11613
11614 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11615
11616         [BZ #6786]
11617         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11618         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11619         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11620         <float.h>.
11621         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11622         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11623         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11624         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11625         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11626         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11627         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11628         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11629         Add more erfc tests.
11630         * math/auto-libm-test-out: Regenerated.
11631         * sysdeps/i386/fpu/libm-test-ulps: Update.
11632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11633
11634         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11635         exp2, expm1, j0 and j1.
11636         * math/auto-libm-test-out: Regenerated.
11637         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11638         (erfc_test_data): Likewise.
11639         (exp_test_data): Likewise.
11640         (exp_tonearest_test_data): Likewise.
11641         (exp_towardzero_test_data): Likewise.
11642         (exp_downward_test_data): Likewise.
11643         (exp_upward_test_data): Likewise.
11644         (exp10_test_data): Likewise.
11645         (exp2_test_data): Likewise.
11646         (expm1_test_data): Likewise.
11647         (j0_test_data): Likewise.
11648         (j1_test_data): Likewise.
11649         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11650         (input_flag_type): Add flag_xfail_rounding.
11651         (input_flags): Add xfail-rounding.
11652         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11653         (output_for_one_input_case): Handle flag_xfail_rounding.
11654         * sysdeps/i386/fpu/libm-test-ulps: Update.
11655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11656
11657 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11658
11659         [BZ #16289]
11660         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11661         division by 0.
11662
11663 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11664
11665         [BZ #16195]
11666         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11667         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11668         (STAP_PROBE0): New macro.
11669         (STAP_PROBE1): Likewise.
11670         (STAP_PROBE2): Likewise.
11671         (STAP_PROBE3): Likewise.
11672         (STAP_PROBE4): Likewise.
11673
11674 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11675
11676         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11677
11678 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11679
11680         * benchtests/Makefile (bench): Add sqrt.
11681         (LDLIBS-bench-sqrt): New.
11682         * benchtests/sqrt-input: New.
11683
11684 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11685
11686         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11687         (GAIH_EAI): Likewise.
11688         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11689         (gaih_inet): Likewise.
11690         (getaddrinfo): Don't use GAIH_EAI.
11691
11692         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11693         (struct gaih): Remove definition.
11694
11695 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11696
11697         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11698         Use HERRNOP directly.
11699
11700 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11701
11702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11703
11704 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11705
11706         * math/gen-auto-libm-tests.c (test_functions): Add more
11707         single-argument functions.
11708         (special_fill_pi_2): New function.
11709         (special_fill_minus_pi_2): Likewise.
11710         (special_fill_pi_6): Likewise.
11711         (special_fill_minus_pi_6): Likewise.
11712         (special_fill_pi_3): Likewise.
11713         (special_fill_2pi_3): Likewise.
11714         (special_fill_e): Likewise.
11715         (special_fill_1_e): Likewise.
11716         (special_fill_e_minus_1): Likewise.
11717         (special_real_inputs): Add more special inputs.
11718         (output_for_one_input_case): Do not require ERANGE on underflow to
11719         zero if round-to-nearest result does not underflow to zero, unless
11720         exact results required.
11721         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11722         atan, atanh, cbrt, cos and cosh.
11723         * math/auto-libm-test-out: Regenerated.
11724         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11725         (acos_tonearest_test_data): Likewise.
11726         (acos_towardzero_test_data): Likewise.
11727         (acos_downward_test_data): Likewise.
11728         (acos_upward_test_data): Likewise.
11729         (acosh_test_data): Likewise.
11730         (asin_test_data): Likewise.
11731         (asin_tonearest_test_data): Likewise.
11732         (asin_towardzero_test_data): Likewise.
11733         (asin_upward_test_data): Likewise.
11734         (asinh_test_data): Likewise.
11735         (atan_test_data): Likewise.
11736         (atanh_test_data): Likewise.
11737         (cbrt_test_data): Likewise.
11738         (cos_test_data): Likewise.
11739         (cos_tonearest_test_data): Likewise.
11740         (cos_towardzero_test_data): Likewise.
11741         (cos_downward_test_data): Likewise.
11742         (cos_upward_test_data): Likewise.
11743         (cosh_test_data): Likewise.
11744         (cosh_tonearest_test_data): Likewise.
11745         (cosh_towardzero_test_data): Likewise.
11746         (cosh_downward_test_data): Likewise.
11747         (cosh_upward_test_data): Likewise.
11748         * sysdeps/i386/fpu/libm-test-ulps: Update.
11749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11750
11751 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11752
11753         [BZ #6787]
11754         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11755         * math/w_exp10f.c (__exp10f): Likewise.
11756         * math/w_exp10l.c (__exp10l): Likewise.
11757         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11758         errno settings in existing tests.
11759
11760         [BZ #14032]
11761         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11762         precision control set to double precision.
11763         * sysdeps/i386/fpu/w_sqrt.c: New file.
11764         * math/auto-libm-test-in: Add more tests.
11765         * math/auto-libm-test-out: Update.
11766
11767         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11768         (sqrt_test_tonearest): New function.
11769         (sqrt_towardzero_test_data): New variable.
11770         (sqrt_test_towardzero): New function.
11771         (sqrt_downward_test_data): New variable.
11772         (sqrt_test_downward): New function.
11773         (sqrt_upward_test_data): New variable.
11774         (sqrt_test_upward): New function.
11775         (main): Call the new functions.
11776
11777         * math/gen-auto-libm-tests.c: New file.
11778         * math/auto-libm-test-in: Likewise.
11779         * math/auto-libm-test-out: New generated file.
11780         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11781         variables.
11782         (%beautify): Add generated representations of zero.
11783         (top level): Set $auto_input and call parse_auto_input.
11784         (beautify): Remove trailing "f" from hex float constants.
11785         (parse_args): Handle XFAIL_TEST.
11786         (convert_condition): New function.
11787         (or_value): Likewise.
11788         (or_cond_value): Likewise.
11789         (generate_testfile): Handle AUTO_TESTS_* lines.
11790         (parse_auto_input): New function.
11791         * math/libm-test.inc (XFAIL_TEST): New macro.
11792         (ERRNO_UNCHANGED): Update value.
11793         (ERRNO_EDOM): Likewise.
11794         (ERRNO_ERANGE): Likewise.
11795         (IGNORE_RESULT): Likewise.
11796         (TEST_COND_flt_32): New macro.
11797         (TEST_COND_dbl_64): Likewise.
11798         (TEST_COND_ldbl_96_intel): Likewise.
11799         (TEST_COND_ldbl_96_m68k): Likewise.
11800         (TEST_COND_ldbl_128): Likewise.
11801         (TEST_COND_ldbl_128ibm): Likewise.
11802         (TEST_COND_long32): Likewise.
11803         (TEST_COND_long64): Likewise.
11804         (TEST_COND_before_rounding): Likewise.
11805         (TEST_COND_after_rounding): Likewise.
11806         (enable_test): Handle XFAIL_TEST flag.
11807         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11808         with finite results.
11809         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11810         auto-libm-test-out.
11811
11812 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11813             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11814
11815         [BZ #16214]
11816         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11817         __tls_get_addr_internal instead of __tls_get_offset in order to
11818         avoid GOT pointer dependency.  Make rtld export
11819         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11820         __tls_get_addr since we are a __tls_get_offset platform.
11821         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11822         GOT pointer being set up before.
11823         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11824
11825 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11826
11827         * manual/math.texi (Errors in Math Functions): Document accuracy
11828         goals.
11829
11830         [BZ #15004]
11831         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11832         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11833         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11834         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11835         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11836         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11837         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11838         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11839         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11840         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11841         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11842         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11843         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11844         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11845         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11846         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11847
11848         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11849         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11850         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11851         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11852         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11853         Likewise.
11854         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11855         Likewise.
11856         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11857         Likewise.
11858         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11859         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11860         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11861         atomic-feupdateenv and flt-rounds.
11862         * sysdeps/powerpc/nofpu/Versions (libc): Add
11863         __atomic_feholdexcept, __atomic_feclearexcept,
11864         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11865         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11866         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11867         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11868         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11869         here.
11870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11871         Update.
11872
11873         * manual/arith.texi (FP Exceptions): Document that exceptions may
11874         not be raised when matherr is used.
11875         (Math Error Reporting): Document overflow in directed rounding
11876         modes.  Document that errno may not be set when finite values are
11877         returned on overflow.  Document intent to set errno on underflow
11878         only for underflow to zero.
11879
11880         [BZ #16271]
11881         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11882         round-to-nearest then adjust result for other rounding modes.
11883         * include/fenv.h (fegetround): Use libm_hidden_proto.
11884         * math/fegetround.c (fegetround): Use libm_hidden_def.
11885         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11886         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11887         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11888         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11889         Likewise.
11890         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11891         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11892         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11893         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11894
11895 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11896
11897         [BZ #16077]
11898         * nss/Versions (libnss_files): Add
11899         _nss_files_gethostbyname3_r.
11900         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11901         New function.
11902         (HOST_DB_LOOKUP): Remove macro.
11903         (_nss_files_gethostbyname_r): Implement function without the
11904         HOST_DB_LOOKUP macro.
11905         (_nss_files_gethostbyname2_r): Likewise.
11906
11907 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11908
11909         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11910
11911 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11912
11913         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11914         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11915         warning.
11916
11917 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11918
11919         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11920         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11921         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11922         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11923         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11924         __fe_nomask_env_priv and attribute_hidden.
11925         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11926         (libc_feupdateenv_test_ppc): Likewise.
11927         (libc_feresetround_ppc): Likewise.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11929         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11930         compat_symbol macro.
11931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11932         (__fe_nomask_env): Likewise.
11933         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11934
11935 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11936
11937         * string/Makefile: Remove ifunc tests.
11938         * string/test-string.h: Define TEST_IFUNC.
11939         * string/test-bcopy-ifunc.c: Remove.
11940         * string/test-bzero-ifunc.c: Likewise.
11941         * string/test-memccpy-ifunc.c: Likewise.
11942         * string/test-memchr-ifunc.c: Likewise.
11943         * string/test-memcmp-ifunc.c: Likewise.
11944         * string/test-memcpy-ifunc.c: Likewise.
11945         * string/test-memmem-ifunc.c: Likewise.
11946         * string/test-memmove-ifunc.c: Likewise.
11947         * string/test-mempcpy-ifunc.c: Likewise.
11948         * string/test-memrchr-ifunc.c: Likewise.
11949         * string/test-memset-ifunc.c: Likewise.
11950         * string/test-rawmemchr-ifunc.c: Likewise.
11951         * string/test-stpcpy-ifunc.c: Likewise.
11952         * string/test-stpncpy-ifunc.c: Likewise.
11953         * string/test-strcasecmp-ifunc.c: Likewise.
11954         * string/test-strcasestr-ifunc.c: Likewise.
11955         * string/test-strcat-ifunc.c: Likewise.
11956         * string/test-strchr-ifunc.c: Likewise.
11957         * string/test-strchrnul-ifunc.c: Likewise.
11958         * string/test-strcmp-ifunc.c: Likewise.
11959         * string/test-strcpy-ifunc.c: Likewise.
11960         * string/test-strcspn-ifunc.c: Likewise.
11961         * string/test-strlen-ifunc.c: Likewise.
11962         * string/test-strncasecmp-ifunc.c: Likewise.
11963         * string/test-strncat-ifunc.c: Likewise.
11964         * string/test-strncmp-ifunc.c: Likewise.
11965         * string/test-strncpy-ifunc.c: Likewise.
11966         * string/test-strnlen-ifunc.c: Likewise.
11967         * string/test-strpbrk-ifunc.c: Likewise.
11968         * string/test-strrchr-ifunc.c: Likewise.
11969         * string/test-strspn-ifunc.c: Likewise.
11970         * string/test-strstr-ifunc.c: Likewise.
11971
11972 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11973
11974         * benchtests/Makefile: Remove ifunc tests.
11975         * benchtests/bench-string.h: Define TEST_IFUNC.
11976         * benchtests/bench-bcopy-ifunc.c: Remove.
11977         * benchtests/bench-bzero-ifunc.c: Likewise.
11978         * benchtests/bench-memccpy-ifunc.c: Likewise.
11979         * benchtests/bench-memchr-ifunc.c: Likewise.
11980         * benchtests/bench-memcmp-ifunc.c: Likewise.
11981         * benchtests/bench-memcpy-ifunc.c: Likewise.
11982         * benchtests/bench-memmem-ifunc.c: Likewise.
11983         * benchtests/bench-memmove-ifunc.c: Likewise.
11984         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11985         * benchtests/bench-memrchr-ifunc.c: Likewise.
11986         * benchtests/bench-memset-ifunc.c: Likewise.
11987         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11988         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11989         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11990         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11991         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11992         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11993         * benchtests/bench-strcat-ifunc.c: Likewise.
11994         * benchtests/bench-strchr-ifunc.c: Likewise.
11995         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11996         * benchtests/bench-strcmp-ifunc.c: Likewise.
11997         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11998         * benchtests/bench-strcpy-ifunc.c: Likewise.
11999         * benchtests/bench-strcspn-ifunc.c: Likewise.
12000         * benchtests/bench-strlen-ifunc.c: Likewise.
12001         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12002         * benchtests/bench-strncat-ifunc.c: Likewise.
12003         * benchtests/bench-strncmp-ifunc.c: Likewise.
12004         * benchtests/bench-strncpy-ifunc.c: Likewise.
12005         * benchtests/bench-strnlen-ifunc.c: Likewise.
12006         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12007         * benchtests/bench-strrchr-ifunc.c: Likewise.
12008         * benchtests/bench-strsep-ifunc.c: Likewise.
12009         * benchtests/bench-strspn-ifunc.c: Likewise.
12010         * benchtests/bench-strstr-ifunc.c: Likewise.
12011
12012 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12013
12014         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12015
12016 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12017
12018         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12019         * rt/aio.h: Likewise.
12020         * sysdeps/gnu/bits/utmp.h: Likewise.
12021         * sysdeps/gnu/bits/utmpx.h: Likewise.
12022         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12023         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12024         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12025         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12026         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12027         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12028         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12029         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12030         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12031         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12032         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12033         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12034         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12036         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12037         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12038         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12039         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12040         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12041         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12042         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12043         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12044         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12045         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12046         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12048         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12049         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12050         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12051         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12052         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12053         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12054         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12055         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12056         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12057         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12058         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12059         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12060         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12061         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12062         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12063         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12064
12065 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12066
12067         [BZ #16245]
12068         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12069         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12070
12071 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12072
12073         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12074         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12075         Likewise.
12076
12077 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12078
12079         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12080         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12081         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12082         (__fesetround): Remove define.
12083         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12084         rounding and exceptions handling.
12085         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12086         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12087         (__fe_nomask_env): Likewise.
12088         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12089         __fegetround instead of fegetround.
12090         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12091         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12092
12093 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12094
12095         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12096         it's there.
12097
12098         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12099
12100 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12101
12102         [BZ #11157]
12103         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12104         (encrypt_r): Likewise.
12105         * malloc/obstack.h (obstack_free): Likewise.
12106         * posix/unistd.h (encrypt): Likewise.
12107
12108 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12109
12110         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12111         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12112         DL_CALL_DT_FINI() that call the functions directly.
12113         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12114         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12115         * elf/dl-fini.c: Likewise.
12116
12117 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12118
12119         * malloc/hooks.c (memalign_check): Add alignment rounding.
12120         * malloc/malloc.c (_mid_memalign): New function.
12121         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12122         Implement by calling _mid_memalign.
12123         * manual/probes.texi (Memory Allocation Probes): Remove
12124         memory_valloc_retry and memory_pvalloc_retry.
12125
12126 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12127
12128         * locale/programs/locarchive.c (open_archive): Add const
12129         qualifier to ARCHIVEFNAME and copy default fname to
12130         DEFAULT_FNAME.
12131
12132         [BZ #15601]
12133         * libio/tst-widetext.input: Rename Oriya to Odia.
12134         * locale/iso-639.def: Likewise.
12135
12136         * manual/probes.texi (Mathematical Function Probes): Add
12137         documentation for sin, cos, asin and acos probes.
12138         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12139         (__sin32): Add slowasin probe.
12140         (__cos32): Add slowacos probe.
12141         (__mpsin): Add slowsin probe.
12142         (__mpcos): Add slowcos probe.
12143
12144 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12145
12146         [BZ #15483]
12147         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12148         thread-local __sim_exceptions_thread and global
12149         __sim_exceptions_global.
12150         (__sim_disabled_exceptions): Change to thread-local
12151         __sim_disabled_exceptions_thread and global
12152         __sim_disabled_exceptions_global.
12153         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12154         and global __sim_round_mode_global.
12155         (__simulate_exceptions): Use thread-local floating-point state and
12156         set global state from it as needed.
12157         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12158         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12159         __sim_round_mode_thread.
12160         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12161         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12162         and global __sim_exceptions_global.
12163         (__sim_disabled_exceptions): Change to thread-local
12164         __sim_disabled_exceptions_thread and global
12165         __sim_disabled_exceptions_global.
12166         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12167         and global __sim_round_mode_global.
12168         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12169         (SIM_SET_GLOBAL): Likewise.
12170         * sysdeps/powerpc/soft-fp/sfp-machine.h
12171         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12172         __sim_round_mode_thread.
12173         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12174         __sim_disabled_exceptions_thread.
12175         (__sim_exceptions): Change to __sim_exceptions_thread.
12176         (__sim_disabled_exceptions): Change to
12177         __sim_disabled_exceptions_thread.
12178         (__sim_round_mode): Change to __sim_round_mode_thread.
12179         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12180         thread-local floating-point state and set global state from it as
12181         needed.
12182         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12183         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12184         (__sim_disabled_exceptions): Remove extern declaration.
12185         (feenableexcept): Use thread-local floating-point state and set
12186         global state from it as needed.
12187         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12188         extern declaration.
12189         (__sim_disabled_exceptions): Likewise.
12190         (__sim_round_mode): Likewise.
12191         (__fegetenv): Use thread-local floating-point state.
12192         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12193         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12194         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12195         floating-point state and set global state from it as needed.
12196         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12197         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12198         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12199         Likewise.
12200         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12201         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12202         Likewise.
12203         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12204         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12205         Use __sim_round_mode_thread.
12206         * math/test-fenv-tls.c: New file.
12207         * math/Makefile (tests): Add test-fenv-tls.
12208         ($(objpfx)test-fenv-tls): Depend on
12209         $(common-objpfx)nptl/libpthread.so.
12210
12211 2013-11-19  Andreas Schwab  <schwab@suse.de>
12212
12213         * locale/programs/locale.c (show_info): Decode wordarray elements.
12214         * locale/categories.def (LC_MONETARY): Add element for
12215         _NL_MONETARY_CRNCYSTR.
12216         * locale/C-monetary.c (conversion_rate): New variable.
12217         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12218         element.
12219
12220 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12221
12222         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12223         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12224
12225 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12226
12227         * elf/Makefile (tst-auxv): New test.
12228         * elf/tst-auxv.c: New
12229         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12230
12231 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12232
12233         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12234         (hidden_proto): Caller changed.
12235         (hidden_tls_proto): New macro.
12236         (libc_hidden_tls_proto): Likewise.
12237         (rtld_hidden_tls_proto): Likewise.
12238         (libm_hidden_tls_proto): Likewise.
12239         (libresolv_hidden_tls_proto): Likewise.
12240         (librt_hidden_tls_proto): Likewise.
12241         (libdl_hidden_tls_proto): Likewise.
12242         (libnss_files_hidden_tls_proto): Likewise.
12243         (libnsl_hidden_tls_proto): Likewise.
12244         (libnss_nisplus_hidden_tls_proto): Likewise.
12245         (libutil_hidden_tls_proto): Likewise.
12246
12247 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12248
12249         [BZ #10253]
12250         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12251         (decompose_rpath): Defer expansion to fillin_rpath.
12252         (_dl_init_paths): Pass linkmap to fillin_rpath.
12253
12254 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12255
12256         * benchtests/Makefile: Add strsep.
12257         * benchtests/bench-strsep.c: New file: strsep benchtest.
12258         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12259
12260 2013-11-18  Andreas Schwab  <schwab@suse.de>
12261
12262         * locale/programs/locale.c (show_info) [case byte]: Check for
12263         '\377' instead of '\177'.
12264         * locale/C-monetary.c (not_available): Always use "\377".
12265         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12266         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12267         detect unavailable sign_posn locale elements.
12268         * locale/localeconv.c (__localeconv): For grouping and
12269         mon_grouping handle "\177" and "\377" like no grouping.
12270         (INT_ELEM): New macro.  Use it to set all numeric members.
12271         * locale/programs/ld-monetary.c (monetary_read)
12272         <tok_mon_grouping>: Normalize single -1 to the empty string.
12273         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12274         Likewise.
12275
12276 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12277
12278         [BZ #16055]
12279         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12280         when we match (nil).
12281         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12282
12283 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12284
12285         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12286         (NO_TEST_INLINE): Update value.
12287         (ERRNO_UNCHANGED): Likewise.
12288         (ERRNO_EDOM): Likewise.
12289         (ERRNO_ERANGE): Likewise.
12290         (IGNORE_RESULT): Likewise.
12291         (check_float_internal): Check signs of NaN results if
12292         TEST_NAN_SIGN used.
12293         (check_complex): Pass TEST_NAN_SIGN flag through to second
12294         check_float_internal call.
12295         (copysign_test_data): Add tests with quiet NaNs as second
12296         argument.  Use TEST_NAN_SIGN.
12297         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12298         TEST_NAN_SIGN.
12299         (signbit_test_data): Add tests of quiet NaN argument.
12300         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12301
12302         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12303         $ignore_result.
12304         (parse_args): Handle function results specified as IGNORE.
12305         * math/libm-test.inc (IGNORE_RESULT): New macro.
12306         (check_float_internal): Do not check numerical result if flag
12307         IGNORE_RESULT set.
12308         (check_complex): Pass through IGNORE_RESULT to second
12309         check_float_internal call.
12310         (check_int): Do not check numerical result if flag IGNORE_RESULT
12311         set.
12312         (check_long): Likewise.
12313         (check_bool): Likewise.
12314         (check_longlong): Likewise.
12315         (lrint_test_data): Add tests of infinite and NaN arguments.
12316         (lrint_tonearest_test_data): Likewise.
12317         (lrint_towardzero_test_data): Likewise.
12318         (lrint_downward_test_data): Likewise.
12319         (lrint_upward_test_data): Likewise.
12320         (llrint_test_data): Likewise.
12321         (llrint_tonearest_test_data): Likewise.
12322         (llrint_towardzero_test_data): Likewise.
12323         (llrint_downward_test_data): Likewise.
12324         (llrint_upward_test_data): Likewise.
12325         (lround_test_data): Likewise.
12326         (llround_test_data): Likewise.
12327
12328         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12329         (ERRNO_UNCHANGED): Update value.
12330         (ERRNO_EDOM): Likewise.
12331         (ERRNO_ERANGE): Likewise.
12332         (NO_TEST_INLINE_FLOAT): New macro.
12333         (NO_TEST_INLINE_DOUBLE): Likewise.
12334         (enable_test): New function.
12335         (RUN_TEST_f_f): Check enable_test before running test.
12336         (RUN_TEST_2_f): Likewise.
12337         (RUN_TEST_fff_f): Likewise.
12338         (RUN_TEST_c_f): Likewise.
12339         (RUN_TEST_f_f1): Likewise.
12340         (RUN_TEST_fF_f1): Likewise.
12341         (RUN_TEST_fI_f1): Likewise.
12342         (RUN_TEST_ffI_f1): Likewise.
12343         (RUN_TEST_c_c): Likewise.
12344         (RUN_TEST_cc_c): Likewise.
12345         (RUN_TEST_f_i): Likewise.
12346         (RUN_TEST_f_i_tg): Likewise.
12347         (RUN_TEST_ff_i_tg): Likewise.
12348         (RUN_TEST_f_b): Likewise.
12349         (RUN_TEST_f_b_tg): Likewise.
12350         (RUN_TEST_f_l): Likewise.
12351         (RUN_TEST_f_L): Likewise.
12352         (RUN_TEST_fFF_11): Likewise.
12353         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12354         conditionals.
12355         (cosh_test_data): Likewise.
12356         (exp_test_data): Likewise.
12357         (expm1_test_data): Likewise.
12358         (hypot_test_data): Likewise.
12359         (pow_test_data): Likewise.
12360         (sinh_test_data): Likewise.
12361         (tanh_test_data): Likewise.
12362         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12363         flags argument.
12364
12365         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12366         tests with quiet NaN input and output.
12367         (acosh_test_data): Likewise.
12368         (asin_test_data): Likewise.
12369         (asinh_test_data): Likewise.
12370         (atan_test_data): Likewise.
12371         (atanh_test_data): Likewise.
12372         (atan2_test_data): Likewise.
12373         (cbrt_test_data): Likewise.
12374         (cos_test_data): Likewise.
12375         (cosh_test_data): Likewise.
12376         (erf_test_data): Likewise.
12377         (erfc_test_data): Likewise.
12378         (exp_test_data): Likewise.
12379         (exp10_test_data): Likewise.
12380         (exp2_test_data): Likewise.
12381         (expm1_test_data): Likewise.
12382         (hypot_test_data): Likewise.
12383         (j0_test_data): Likewise.
12384         (j1_test_data): Likewise.
12385         (jn_test_data): Likewise.
12386         (lgamma_test_data): Likewise.
12387         (log_test_data): Likewise.
12388         (log10_test_data): Likewise.
12389         (log1p_test_data): Likewise.
12390         (log2_test_data): Likewise.
12391         (pow_test_data): Likewise.
12392         (scalb_test_data): Likewise.
12393         (sin_test_data): Likewise.
12394         (sincos_test_data): Likewise.
12395         (sinh_test_data): Likewise.
12396         (tan_test_data): Likewise.
12397         (tanh_test_data): Likewise.
12398         (tgamma_test_data): Likewise.
12399         (y0_test_data): Likewise.
12400         (y1_test_data): Likewise.
12401         (yn_test_data): Likewise.
12402
12403         [BZ #16167]
12404         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12405         argument being NaN and avoid computations with second argument in
12406         that case.
12407         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12408         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12409         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12410
12411 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12412
12413         * locale/iso-639.def: Add Chitwani Tharu (the).
12414
12415 2013-11-14  Andreas Schwab  <schwab@suse.de>
12416
12417         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12418         word instead of empty string.
12419
12420 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12421
12422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12423         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12425         (__fe_nomask_env): Likewise.
12426
12427 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12428
12429         * benchtests/bench-timing.h: Include time.h.
12430
12431 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12432
12433         [BZ #15997]
12434         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12435         to 3.4.0 for x32.
12436         * sysdeps/unix/sysv/linux/configure: Regenerated.
12437
12438 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12439
12440         [BZ #16151]
12441         * stdlib/strtod_l.c (round_and_return): Do not consider
12442         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12443         exponent one less than half the least subnormal exponent.
12444         * stdlib/test-strtod-round-data: Add more tests.
12445         * stdlib/tst-strtod-round.c (tests): Regenerated.
12446
12447 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12448
12449         [BZ #14143]
12450         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12451         (__fe_mask_env): Likewise.
12452         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12453         libm_hidden_proto and add function prototype.
12454         (__fe_mask_env): Add function prototype.
12455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12456         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12458         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12460         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12461
12462 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12463
12464         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12465         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12466
12467 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12468
12469         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12470         of htab_find_slot().
12471
12472 2013-11-11  David S. Miller  <davem@davemloft.net>
12473
12474         [BZ #16150]
12475         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12476         symbol in the non-vis3 case in static builds.
12477         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12478         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12479         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12480         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12481
12482 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12483
12484         [BZ #387]
12485         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12486         it is empty.
12487
12488 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12489
12490         * benchtests/Makefile: Add bench-strtod.
12491         * benchtests/bench-strtod.c: New file: strtod benchtest
12492
12493 2013-11-11  Andreas Schwab  <schwab@suse.de>
12494
12495         [BZ #16153]
12496         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12497         terminating NUL in key length.
12498
12499 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12500
12501         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12502         Add artificial ODP entry for vDSO symbol for PPC64.
12503         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12504         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12505
12506 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12507
12508         [BZ #15374]
12509         * nss/getent.c (services_keys): Recognize services starting with digit.
12510
12511 2013-11-06  David S. Miller  <davem@davemloft.net>
12512
12513         [BZ #15985]
12514         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12515         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12516
12517 2013-11-06  Will Newton  <will.newton@linaro.org>
12518
12519         * manual/memory.texi (Malloc Examples): Remove register
12520         keyword from examples.
12521
12522 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12523
12524         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12525
12526 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12527
12528         [BZ #6981]
12529         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12530         depending on [__GCC_IEC_559 > 0].
12531         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12532         depending on [__GCC_IEC_559_COMPLEX > 0].
12533
12534 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12535
12536         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12537         to iso-639.def.
12538
12539 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12540
12541         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12542
12543 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12544
12545         [BZ #16112]
12546         * malloc/malloc (malloc_info): Do not handle first bin as
12547         special case.
12548
12549 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12550
12551         * locale/iso-639.def: Add Central Nahuatl (nhn).
12552
12553 2013-11-01  Bruno Haible  <bruno@clisp.org>
12554
12555         [BZ #7003]
12556         * manual/math.texi (BSD Random): Specify range upper bound as
12557         in POSIX.
12558
12559 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12560
12561         * locale/iso-639.def: Add Meadow Mari (mhr).
12562
12563 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12564
12565         [BZ #14752], [BZ #15763]
12566         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12567         Validate name.
12568         * rt/tst_shm.c: Add test for escaping directory.
12569
12570 2013-10-31  Andreas Schwab  <schwab@suse.de>
12571
12572         [BZ #15917]
12573         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12574         followed by 'x' as part of digit sequence.
12575         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12576
12577 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12578
12579         [BZ #16037]
12580         * configure.ac: allow GNU Make 4.0 and greater.
12581         * configure: Regenerated.
12582
12583 2013-10-30  Will Newton  <will.newton@linaro.org>
12584
12585         [BZ #16038]
12586         * malloc/hooks.c (memalign_check): Limit alignment to the
12587         maximum representable power of two.
12588         * malloc/malloc.c (__libc_memalign): Likewise.
12589         * malloc/tst-memalign.c (do_test): Add test for very
12590         large alignment values.
12591         * malloc/tst-posix_memalign.c (do_test): Likewise.
12592
12593 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12594
12595         [BZ #11087]
12596         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12597         (munmap_chunk): Likewise.
12598         (mremap_chunk): Likewise.
12599
12600 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12601
12602         [BZ #15799]
12603         * stdlib/div.c (div): Remove obsolete code.
12604         * stdlib/ldiv.c (ldiv): Likewise.
12605         * stdlib/lldiv.c (lldiv): Likewise.
12606
12607 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12608
12609         [BZ #16071]
12610         * nss/nss_files/files-XXX.c (get_contents_ret): New
12611         enumerator.
12612         (get_contents): New function.
12613         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12614
12615 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12616
12617         * configure.in: Moved to ...
12618         * configure.ac: ... here. Change reference to configure.in
12619         to configure.ac.
12620         * sysdeps/arm/preconfigure.ac: ... here.
12621         configure.in to configure.ac.
12622         * sysdeps/gnu/configure.in: Moved to ...
12623         * sysdeps/gnu/configure.ac: ... here.
12624         * sysdeps/i386/configure.in: Moved to ...
12625         * sysdeps/i386/configure.ac: ... here.
12626         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12627         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12628         * sysdeps/mach/configure.in: Moved to ...
12629         * sysdeps/mach/configure.ac: ... here.
12630         * sysdeps/mach/hurd/configure.in: Moved to ...
12631         * sysdeps/mach/hurd/configure.ac: ... here.
12632         * sysdeps/powerpc/configure.in: Moved to ...
12633         * sysdeps/powerpc/configure.ac: ... here.
12634         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12635         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12636         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12637         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12638         * sysdeps/s390/s390-32/configure.in: Moved to ...
12639         * sysdeps/s390/s390-32/configure.ac: ... here.
12640         * sysdeps/s390/s390-64/configure.in: Moved to ...
12641         * sysdeps/s390/s390-64/configure.ac: ... here.
12642         * sysdeps/sh/configure.in: Moved to ...
12643         * sysdeps/sh/configure.ac: ... here.
12644         * sysdeps/sparc/configure.in: Moved to ...
12645         * sysdeps/sparc/configure.ac: ... here.
12646         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12647         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12648         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12649         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12650         * sysdeps/x86_64/configure.in: Moved to ...
12651         * sysdeps/x86_64/configure.ac: ... here.
12652         * sysdeps/x86_64/preconfigure.in: Moved to ...
12653         * sysdeps/x86_64/preconfigure.ac: ... here.
12654         * aclocal.m4: Change reference to configure.in to configure.ac.
12655         * config.h.in: Likewise.
12656         * manual/install.texi: Likewise.
12657         * manual/maint.texi: Likewise.
12658         * Makefile: Likewise.
12659         * malloc/Makefile: Likewise.
12660         * nscd/Makefile: Likewise.
12661         * Makeconfig: Change reference to configure.in and
12662         preconfigure.in to configure.ac and preconfigure.ac
12663         respectively.
12664         * INSTALL: Regenerated.
12665         * configure: Likewise.
12666         * sysdeps/gnu/configure: Likewise.
12667         * sysdeps/i386/configure: Likewise.
12668         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12669         * sysdeps/mach/configure: Likewise.
12670         * sysdeps/mach/hurd/configure: Likewise.
12671         * sysdeps/powerpc/configure: Likewise.
12672         * sysdeps/powerpc/powerpc32/configure: Likewise.
12673         * sysdeps/powerpc/powerpc64/configure: Likewise.
12674         * sysdeps/s390/s390-32/configure: Likewise.
12675         * sysdeps/s390/s390-64/configure: Likewise.
12676         * sysdeps/sh/configure: Likewise.
12677         * sysdeps/sparc/configure: Likewise.
12678         * sysdeps/unix/sysv/linux/configure: Likewise.
12679         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12680         * sysdeps/x86_64/configure: Likewise.
12681         * sysdeps/x86_64/preconfigure: Likewise.
12682
12683 2013-10-29  Andreas Schwab  <schwab@suse.de>
12684
12685         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12686
12687 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12688
12689         * benchtests/pow-inputs: Add new inputs.
12690
12691         * benchtests/exp-inputs: Add new inputs.
12692
12693         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12694         conditional check for return value.
12695         (__cos32): Likewise.
12696
12697 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12698
12699         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12700         to provide a boost for large inputs with word alignment.
12701         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12702         implementation based on optimized PPC64 strcpy.
12703         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12704         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12705         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12706         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12707
12708 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12709
12710         [BZ #2801]
12711         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12712
12713 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12714
12715         [BZ #14876]
12716         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12717         * time/tst-strptime.c (day_tests): Add testcase.
12718
12719 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12720
12721         [BZ #14029]
12722         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12723
12724 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12725
12726         [BZ #16074]
12727         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12728         MAP_FAILED on error.
12729
12730 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12731
12732         [BZ #16072]
12733         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12734         heap for large requests.
12735
12736 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12737
12738         [BZ #9954]
12739         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12740         result if the result has no associated interface.
12741         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12742         interface for all 127.X.Y.Z addresses.
12743
12744 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12745
12746         * locale/iso-639.def: Add Ligurian (lij)
12747
12748 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12749
12750         [BZ #15825]
12751         * sunrpc/rpc_main.c: Document rpcgen -5.
12752
12753 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12754
12755         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12756
12757 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12758
12759         [BZ #10278]
12760         * posix/glob.c: Match only directories when trailing slash is present.
12761         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12762         (main): Add testcase.
12763
12764 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12765
12766         [BZ #15670]
12767         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12768
12769 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12770
12771         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12772         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12773         AUTH_DES and cindex for FIPS 140-2.
12774         (DES Encryption): Add cindex FIPS 46-3.
12775
12776         * locale/locarchive.h (struct locarhandle): Add fname.
12777         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12778         if an optional argument was specified to --list-archive,
12779         otherwise NULL.
12780         * locale/programs/locarchive.c (show_archive_content): Take new
12781         argument fname and pass it via ah.fname to open_archive.
12782         * locale/programs/localedef.h: Update decl.
12783         (open_archive): If AH->fname is non-null, open that file
12784         rather than the default file name, and don't ignore ENOENT.
12785         (create_archive): Set AH.fname to NULL.
12786         (delete_locales_from_archive): Likewise.
12787         (add_locales_to_archive): Likewise.
12788         * locale/programs/locfile.c (write_all_categories): Likewise.
12789
12790 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12791             Aldy Hernandez  <aldyh@redhat.com>
12792
12793         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12794         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12795         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12796         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12797         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12798         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12799         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12800         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12801         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12802         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12803         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12804         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12805         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12806         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12807         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12808         Likewise.
12809         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12810         Likewise.
12811         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12812         Likewise.
12813         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12814         Likewise.
12815         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12816         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12817         Likewise.
12818         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12819         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12820         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12821         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12822         Likewise.
12823         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12824         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12825         * sysdeps/powerpc/preconfigure: Likewise.
12826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12827         Likewise.
12828         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12829         Replace contents of file by #include of <fenv_libc.h>.
12830         * sysdeps/powerpc/soft-fp/sfp-machine.h
12831         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12832         and <sys/prctl.h>.
12833         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12846         Allow copysignl PLT reference to be missing.
12847
12848 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12849             Joseph Myers  <joseph@codesourcery.com
12850
12851         [BZ #15948]
12852         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12853         single character.
12854         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12855
12856 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12857
12858         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12859         * elf/tst-tls1.c: Likewise.
12860         * elf/tst-tls10.h: Likewise.
12861         * elf/tst-tls14.c: Likewise.
12862         * elf/tst-tls2.c: Likewise.
12863         * elf/tst-tls3.c: Likewise.
12864         * elf/tst-tls4.c: Likewise.
12865         * elf/tst-tls5.c: Likewise.
12866         * elf/tst-tls6.c: Likewise.
12867         * elf/tst-tls7.c: Likewise.
12868         * elf/tst-tls8.c: Likewise.
12869         * elf/tst-tls9.c: Likewise.
12870         * elf/tst-tlsmod1.c: Likewise.
12871         * elf/tst-tlsmod13.c: Likewise.
12872         * elf/tst-tlsmod13a.c: Likewise.
12873         * elf/tst-tlsmod14a.c: Likewise.
12874         * elf/tst-tlsmod16a.c: Likewise.
12875         * elf/tst-tlsmod16b.c: Likewise.
12876         * elf/tst-tlsmod2.c: Likewise.
12877         * elf/tst-tlsmod3.c: Likewise.
12878         * elf/tst-tlsmod4.c: Likewise.
12879         * elf/tst-tlsmod5.c: Likewise.
12880         * elf/tst-tlsmod6.c: Likewise.
12881
12882 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12883
12884         [BZ #12486]
12885         * malloc/malloc.c: remove checks for statistics.
12886
12887 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12888
12889         [BZ #15277]
12890         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12891         * inet/tst-network.c: Add testcase.
12892
12893 2013-10-17  Andreas Schwab  <schwab@suse.de>
12894
12895         [BZ #15218]
12896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12897         to determine canonical name.
12898
12899 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12900
12901         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12902         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12903         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12904         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12905         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12906         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12907         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12908         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12909         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12910         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12911         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12912         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12913         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12914         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12915         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12916         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12917         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12918         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12919         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12920         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12921         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12922         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12923         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12924         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12925         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12926         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12927         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12928         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12929         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12930         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12931         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12932         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12933         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12934         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12935         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12936         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12937         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12938         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12939         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12940         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12941         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12942         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12943         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12944         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12945         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12946         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12947         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12948         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12949         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12950         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12951         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12952         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12953         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12954         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12955         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12956         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12957         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12958         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12959
12960 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12961
12962         [BZ #16041]
12963         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12964         make result into a quiet NaN.
12965
12966 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12967
12968         * soft-fp/adddf3.c: Fix horizontal whitespace.
12969         * soft-fp/addsf3.c: Likewise.
12970         * soft-fp/addtf3.c: Likewise.
12971         * soft-fp/divdf3.c: Likewise.
12972         * soft-fp/divsf3.c: Likewise.
12973         * soft-fp/divtf3.c: Likewise.
12974         * soft-fp/double.h: Likewise.
12975         * soft-fp/eqdf2.c: Likewise.
12976         * soft-fp/eqsf2.c: Likewise.
12977         * soft-fp/eqtf2.c: Likewise.
12978         * soft-fp/extenddftf2.c: Likewise.
12979         * soft-fp/extended.h: Likewise.
12980         * soft-fp/extendsfdf2.c: Likewise.
12981         * soft-fp/extendsftf2.c: Likewise.
12982         * soft-fp/extendxftf2.c: Likewise.
12983         * soft-fp/fixdfdi.c: Likewise.
12984         * soft-fp/fixdfsi.c: Likewise.
12985         * soft-fp/fixdfti.c: Likewise.
12986         * soft-fp/fixsfdi.c: Likewise.
12987         * soft-fp/fixsfsi.c: Likewise.
12988         * soft-fp/fixsfti.c: Likewise.
12989         * soft-fp/fixtfdi.c: Likewise.
12990         * soft-fp/fixtfsi.c: Likewise.
12991         * soft-fp/fixtfti.c: Likewise.
12992         * soft-fp/fixunsdfdi.c: Likewise.
12993         * soft-fp/fixunsdfsi.c: Likewise.
12994         * soft-fp/fixunsdfti.c: Likewise.
12995         * soft-fp/fixunssfdi.c: Likewise.
12996         * soft-fp/fixunssfsi.c: Likewise.
12997         * soft-fp/fixunssfti.c: Likewise.
12998         * soft-fp/fixunstfdi.c: Likewise.
12999         * soft-fp/fixunstfsi.c: Likewise.
13000         * soft-fp/fixunstfti.c: Likewise.
13001         * soft-fp/floatdidf.c: Likewise.
13002         * soft-fp/floatdisf.c: Likewise.
13003         * soft-fp/floatditf.c: Likewise.
13004         * soft-fp/floatsidf.c: Likewise.
13005         * soft-fp/floatsisf.c: Likewise.
13006         * soft-fp/floatsitf.c: Likewise.
13007         * soft-fp/floattidf.c: Likewise.
13008         * soft-fp/floattisf.c: Likewise.
13009         * soft-fp/floattitf.c: Likewise.
13010         * soft-fp/floatundidf.c: Likewise.
13011         * soft-fp/floatundisf.c: Likewise.
13012         * soft-fp/floatunditf.c: Likewise.
13013         * soft-fp/floatunsidf.c: Likewise.
13014         * soft-fp/floatunsisf.c: Likewise.
13015         * soft-fp/floatunsitf.c: Likewise.
13016         * soft-fp/floatuntidf.c: Likewise.
13017         * soft-fp/floatuntisf.c: Likewise.
13018         * soft-fp/floatuntitf.c: Likewise.
13019         * soft-fp/fmadf4.c: Likewise.
13020         * soft-fp/fmasf4.c: Likewise.
13021         * soft-fp/fmatf4.c: Likewise.
13022         * soft-fp/gedf2.c: Likewise.
13023         * soft-fp/gesf2.c: Likewise.
13024         * soft-fp/getf2.c: Likewise.
13025         * soft-fp/ledf2.c: Likewise.
13026         * soft-fp/lesf2.c: Likewise.
13027         * soft-fp/letf2.c: Likewise.
13028         * soft-fp/muldf3.c: Likewise.
13029         * soft-fp/mulsf3.c: Likewise.
13030         * soft-fp/multf3.c: Likewise.
13031         * soft-fp/negdf2.c: Likewise.
13032         * soft-fp/negsf2.c: Likewise.
13033         * soft-fp/negtf2.c: Likewise.
13034         * soft-fp/op-1.h: Likewise.
13035         * soft-fp/op-2.h: Likewise.
13036         * soft-fp/op-4.h: Likewise.
13037         * soft-fp/op-8.h: Likewise.
13038         * soft-fp/op-common.h: Likewise.
13039         * soft-fp/quad.h: Likewise.
13040         * soft-fp/single.h: Likewise.
13041         * soft-fp/soft-fp.h: Likewise.
13042         * soft-fp/sqrtdf2.c: Likewise.
13043         * soft-fp/sqrtsf2.c: Likewise.
13044         * soft-fp/sqrttf2.c: Likewise.
13045         * soft-fp/subdf3.c: Likewise.
13046         * soft-fp/subsf3.c: Likewise.
13047         * soft-fp/subtf3.c: Likewise.
13048         * soft-fp/truncdfsf2.c: Likewise.
13049         * soft-fp/trunctfdf2.c: Likewise.
13050         * soft-fp/trunctfsf2.c: Likewise.
13051         * soft-fp/trunctfxf2.c: Likewise.
13052         * soft-fp/unorddf2.c: Likewise.
13053         * soft-fp/unordsf2.c: Likewise.
13054         * soft-fp/unordtf2.c: Likewise.
13055
13056 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13057
13058         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13059         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13060
13061 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13062
13063         * elf/dl-libc.c: Clear initfini list after freeing.
13064
13065 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13066
13067         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13068         * soft-fp/addsf3.c: Likewise.
13069         * soft-fp/addtf3.c: Likewise.
13070         * soft-fp/divdf3.c: Likewise.
13071         * soft-fp/divsf3.c: Likewise.
13072         * soft-fp/divtf3.c: Likewise.
13073         * soft-fp/double.h: Likewise.
13074         * soft-fp/eqdf2.c: Likewise.
13075         * soft-fp/eqsf2.c: Likewise.
13076         * soft-fp/eqtf2.c: Likewise.
13077         * soft-fp/extenddftf2.c: Likewise.
13078         * soft-fp/extended.h: Likewise.
13079         * soft-fp/extendsfdf2.c: Likewise.
13080         * soft-fp/extendsftf2.c: Likewise.
13081         * soft-fp/extendxftf2.c: Likewise.
13082         * soft-fp/fixdfdi.c: Likewise.
13083         * soft-fp/fixdfsi.c: Likewise.
13084         * soft-fp/fixdfti.c: Likewise.
13085         * soft-fp/fixsfdi.c: Likewise.
13086         * soft-fp/fixsfsi.c: Likewise.
13087         * soft-fp/fixsfti.c: Likewise.
13088         * soft-fp/fixtfdi.c: Likewise.
13089         * soft-fp/fixtfsi.c: Likewise.
13090         * soft-fp/fixtfti.c: Likewise.
13091         * soft-fp/fixunsdfdi.c: Likewise.
13092         * soft-fp/fixunsdfsi.c: Likewise.
13093         * soft-fp/fixunsdfti.c: Likewise.
13094         * soft-fp/fixunssfdi.c: Likewise.
13095         * soft-fp/fixunssfsi.c: Likewise.
13096         * soft-fp/fixunssfti.c: Likewise.
13097         * soft-fp/fixunstfdi.c: Likewise.
13098         * soft-fp/fixunstfsi.c: Likewise.
13099         * soft-fp/fixunstfti.c: Likewise.
13100         * soft-fp/floatdidf.c: Likewise.
13101         * soft-fp/floatdisf.c: Likewise.
13102         * soft-fp/floatditf.c: Likewise.
13103         * soft-fp/floatsidf.c: Likewise.
13104         * soft-fp/floatsisf.c: Likewise.
13105         * soft-fp/floatsitf.c: Likewise.
13106         * soft-fp/floattidf.c: Likewise.
13107         * soft-fp/floattisf.c: Likewise.
13108         * soft-fp/floattitf.c: Likewise.
13109         * soft-fp/floatundidf.c: Likewise.
13110         * soft-fp/floatundisf.c: Likewise.
13111         * soft-fp/floatunsidf.c: Likewise.
13112         * soft-fp/floatunsisf.c: Likewise.
13113         * soft-fp/floatuntidf.c: Likewise.
13114         * soft-fp/floatuntisf.c: Likewise.
13115         * soft-fp/floatuntitf.c: Likewise.
13116         * soft-fp/fmadf4.c: Likewise.
13117         * soft-fp/fmasf4.c: Likewise.
13118         * soft-fp/fmatf4.c: Likewise.
13119         * soft-fp/gedf2.c: Likewise.
13120         * soft-fp/gesf2.c: Likewise.
13121         * soft-fp/getf2.c: Likewise.
13122         * soft-fp/ledf2.c: Likewise.
13123         * soft-fp/lesf2.c: Likewise.
13124         * soft-fp/letf2.c: Likewise.
13125         * soft-fp/muldf3.c: Likewise.
13126         * soft-fp/mulsf3.c: Likewise.
13127         * soft-fp/multf3.c: Likewise.
13128         * soft-fp/negdf2.c: Likewise.
13129         * soft-fp/negsf2.c: Likewise.
13130         * soft-fp/negtf2.c: Likewise.
13131         * soft-fp/op-1.h: Likewise.
13132         * soft-fp/op-2.h: Likewise.
13133         * soft-fp/op-4.h: Likewise.
13134         * soft-fp/op-8.h: Likewise.
13135         * soft-fp/op-common.h: Likewise.
13136         * soft-fp/quad.h: Likewise.
13137         * soft-fp/single.h: Likewise.
13138         * soft-fp/soft-fp.h: Likewise.
13139         * soft-fp/sqrtdf2.c: Likewise.
13140         * soft-fp/sqrtsf2.c: Likewise.
13141         * soft-fp/sqrttf2.c: Likewise.
13142         * soft-fp/subdf3.c: Likewise.
13143         * soft-fp/subsf3.c: Likewise.
13144         * soft-fp/subtf3.c: Likewise.
13145         * soft-fp/truncdfsf2.c: Likewise.
13146         * soft-fp/trunctfdf2.c: Likewise.
13147         * soft-fp/trunctfsf2.c: Likewise.
13148         * soft-fp/trunctfxf2.c: Likewise.
13149         * soft-fp/unorddf2.c: Likewise.
13150         * soft-fp/unordsf2.c: Likewise.
13151         * soft-fp/unordtf2.c: Likewise.
13152
13153 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13154
13155         [BZ #15672]
13156         * misc/error.c (error_tail): Fix possible buffer overflow.
13157
13158 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13159
13160         [BZ #13028]
13161         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13162         address.
13163
13164 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13165
13166         [BZ #832]
13167         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13168         testing pipefail option.
13169
13170 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13171
13172         * soft-fp/double.h: Indent preprocessor directives inside #if.
13173         * soft-fp/extended.h: Likewise.
13174         * soft-fp/op-2.h: Likewise.
13175         * soft-fp/op-4.h: Likewise.
13176         * soft-fp/op-common.h: Likewise.
13177         * soft-fp/quad.h: Likewise.
13178         * soft-fp/single.h: Likewise.
13179         * soft-fp/soft-fp.h: Likewise.
13180
13181 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13182
13183         * iconv/iconv_prog.c: Fix typos.
13184         * stdio-common/psiginfo-data.h: Likewise.
13185
13186 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13187
13188         [BZ #15764]
13189         * locale/setlocale.c: Fix typo.
13190
13191 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13192
13193         [BZ #16036]
13194         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13195         signaling NaN arguments.
13196         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13197         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13198
13199         [BZ #14910]
13200         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13201         unordered operands.
13202         * soft-fp/gesf2.c (__gesf2): Likewise.
13203         * soft-fp/getf2.c (__getf2): Likewise.
13204         * soft-fp/ledf2.c (__ledf2): Likewise.
13205         * soft-fp/lesf2.c (__lesf2): Likewise.
13206         * soft-fp/letf2.c (__letf2): Likewise.
13207
13208         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13209         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13210         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13211         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13212         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13213         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13214         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13215         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13216         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13217         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13218         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13219         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13220         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13221         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13222         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13223         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13224         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13225         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13226         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13227         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13228         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13229         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13230         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13231         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13232         * soft-fp/floattidf.c (__floattidf): Likewise.
13233         * soft-fp/floattisf.c (__floattisf): Likewise.
13234         * soft-fp/floattitf.c (__floattitf): Likewise.
13235         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13236         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13237         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13238         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13239         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13240         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13241         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13242         * soft-fp/gesf2.c (__gesf2): Likewise.
13243         * soft-fp/getf2.c (__getf2): Likewise.
13244         * soft-fp/ledf2.c (__ledf2): Likewise.
13245         * soft-fp/lesf2.c (__lesf2): Likewise.
13246         * soft-fp/letf2.c (__letf2): Likewise.
13247
13248         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13249         Undefine and redefine.
13250         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13251         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13252         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13253         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13254         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13255         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13256         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13257         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13258         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13259         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13260         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13261         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13262         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13263         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13264         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13265
13266         [BZ #16032]
13267         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13268         without decrementing exponent if mantissa >= that for the
13269         denominator, not >.
13270         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13271         denominator, not >.  Decrement exponent in < case instead of
13272         incrementing in >= case.
13273         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13274         without decrementing exponent if mantissa >= that for the
13275         denominator, not >.
13276
13277         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13278         computing saturated result for unsigned overflow.
13279
13280 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13281             Jeff Law  <law@redhat.com>
13282
13283         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13284         (atan2Mp): Add systemtap probe marker.
13285         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13286         (__ieee754_log): Add systemtap probe marker.
13287         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13288         (atanMp): Add systemtap probe marker.
13289         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13290         (tanMp): Add systemtap probe marker.
13291         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13292         (__slowexp): Add systemtap probe marker.
13293         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13294         (__slowpow): Add systemtap probe marker.
13295         * manual/probes.texi: Document probes.
13296
13297 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13298
13299         [BZ #15362]
13300         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13301         written.
13302         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13303         written.
13304         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13305         written to buffer but not flushed.
13306         * libio/iofwrite_u.c:  Likewise.
13307         * libio/iopadn.c:  Return bytes returned even if EOF was
13308         encountered.
13309         * libio/iowpadn.c:  Likewise.
13310         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13311         if _IO_padn does not write the whole buffer.
13312         [!COMPILE_WPRINTF] (PAD): Likewise.
13313
13314 2013-10-10  David S. Miller  <davem@davemloft.net>
13315
13316         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13317         directory block.
13318
13319 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13320
13321         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13322         instead of FSF address.
13323         * soft-fp/fixdfti.c: Likewise.
13324         * soft-fp/fixsfti.c: Likewise.
13325         * soft-fp/fixtfti.c: Likewise.
13326         * soft-fp/fixunsdfti.c: Likewise.
13327         * soft-fp/fixunssfti.c: Likewise.
13328         * soft-fp/fixunstfti.c: Likewise.
13329         * soft-fp/floattidf.c: Likewise.
13330         * soft-fp/floattisf.c: Likewise.
13331         * soft-fp/floattitf.c: Likewise.
13332         * soft-fp/floatuntidf.c: Likewise.
13333         * soft-fp/floatuntisf.c: Likewise.
13334         * soft-fp/floatuntitf.c: Likewise.
13335         * soft-fp/trunctfxf2.c: Likewise.
13336
13337         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13338         * soft-fp/fixdfti.c: Likewise.
13339         * soft-fp/fixsfti.c: Likewise.
13340         * soft-fp/fixtfti.c: Likewise.
13341         * soft-fp/fixunsdfti.c: Likewise.
13342         * soft-fp/fixunssfti.c: Likewise.
13343         * soft-fp/fixunstfti.c: Likewise.
13344         * soft-fp/floattidf.c: Likewise.
13345         * soft-fp/floattisf.c: Likewise.
13346         * soft-fp/floattitf.c: Likewise.
13347         * soft-fp/floatuntidf.c: Likewise.
13348         * soft-fp/floatuntisf.c: Likewise.
13349         * soft-fp/floatuntitf.c: Likewise.
13350         * soft-fp/trunctfxf2.c: Likewise.
13351
13352 2013-10-10  David S. Miller  <davem@davemloft.net>
13353
13354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13355
13356 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13357
13358         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13359         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13360         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13361         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13362         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13363         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13364         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13365
13366         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13367         for NaNs before doing comparisons on argument.
13368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13369         Likewise.
13370
13371 2013-10-10  Will Newton  <will.newton@linaro.org>
13372
13373         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13374         passed to _int_memalign does not overflow.
13375
13376 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13377
13378         * scripts/bench.pl: Add include-sources directive.
13379         * benchtests/README: Update documentation.
13380
13381 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13382
13383         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13384         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13385         instead of FP_INIT_ROUNDMODE.
13386         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13387         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13388
13389         [BZ #16034]
13390         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13391         copy class of input value.
13392         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13393         not handle exceptions.
13394         * soft-fp/negsf2.c (__negsf2): Likewise.
13395         * soft-fp/negtf2.c (__negtf2): Likewise.
13396         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13397
13398 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13399
13400         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13401         semicolon.  From Linux kernel.
13402
13403 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13404
13405         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13406
13407 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13408
13409         [BZ #156]
13410         * manual/socket.texi: Added statement about buffer
13411         for gethostbyname2_r.
13412
13413 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13414
13415         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13416         Use .p2align directive instead, throughout.
13417         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13418         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13419         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13420         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13421         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13422         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13423         * sysdeps/x86_64/strchr.S: Likewise.
13424         * sysdeps/x86_64/strrchr.S: Likewise.
13425
13426 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13427
13428         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13429
13430         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13431
13432         * sysdeps/generic/math_private.h (__mpsin1): Remove
13433         declaration.
13434         (__mpcos1): Likewise.
13435         (__mpsin): New argument __range_reduce.
13436         (__mpcos): Likewise.
13437         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13438         (slow): Use __mpsin and __mpcos.
13439         (slow1): Likewise.
13440         (slow2): Likewise.
13441         (sloww): Likewise.
13442         (sloww1): Likewise.
13443         (sloww2): Likewise.
13444         (bsloww): Likewise.
13445         (bsloww1): Likewise.
13446         (bsloww2): Likewise.
13447         (cslow2): Likewise.
13448         (csloww): Likewise.
13449         (csloww1): Likewise.
13450         (csloww2): Likewise.
13451         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13452         range_reduce.  Merge in __mpsin1.
13453         (__mpcos): Likewise.
13454         (__mpsin1): Remove.
13455         (__mpcos1): Likewise.
13456
13457 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13458
13459         * locale/loadlocale.c (_nl_intern_locale_data): Use
13460         LOCFILE_ALIGNED_P.
13461         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13462         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13463         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13464         obstack data is appropriately aligned.
13465         (obstack_int32_grow_fast): Likewise.
13466         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13467         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13468         (add_locale_uint32_array): Likewise.
13469
13470 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13471
13472         * benchtests/Makefile: Remove ARGLIST and RET variables.
13473         ($(objpfx)bench-%.c): Pass only function name to the script.
13474         * benchtests/README: Update documentation.
13475         * benchtests/acos-inputs: Add new directives.
13476         * benchtests/acosh-inputs: Likewise.
13477         * benchtests/asin-inputs: Likewise.
13478         * benchtests/asinh-inputs: Likewise.
13479         * benchtests/atan-inputs: Likewise.
13480         * benchtests/atanh-inputs: Likewise.
13481         * benchtests/cos-inputs: Likewise.
13482         * benchtests/cosh-inputs: Likewise.
13483         * benchtests/exp-inputs: Likewise.
13484         * benchtests/log-inputs: Likewise.
13485         * benchtests/pow-inputs: Likewise.
13486         * benchtests/rint-inputs: Likewise.
13487         * benchtests/sin-inputs: Likewise.
13488         * benchtests/sinh-inputs: Likewise.
13489         * benchtests/tan-inputs: Likewise.
13490         * benchtests/tanh-inputs: Likewise.
13491         * scripts/bench.pl: Add support for new directives.
13492
13493 2013-10-07  Alan Modra  <amodra@gmail.com>
13494
13495         * README: Fix careless merge.
13496
13497 2013-10-05  Alan Modra  <amodra@gmail.com>
13498
13499         * NEWS: Mention powerpc64le support and bugs fixed.
13500         * README: Both big-endian and little-endian powerpc64 supported.
13501
13502 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13503
13504         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13505         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13506         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13507         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13508
13509 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13510
13511         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13512         match prototype.
13513
13514 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13515
13516         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13517         Move -mhard-float appending from
13518         ports/sysdeps/powerpc/powerpc32/Makefile.
13519         [$(with-fp) = yes] (ASFLAGS): Likewise.
13520         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13521         * sysdeps/powerpc/nofpu: Move directory from
13522         ports/sysdeps/powerpc/nofpu.
13523         * sysdeps/powerpc/soft-fp: Move directory from
13524         ports/sysdeps/powerpc/soft-fp.
13525         * sysdeps/powerpc/powerpc32/405: Move directory from
13526         ports/sysdeps/powerpc/powerpc32/405.
13527         * sysdeps/powerpc/powerpc32/440: Move directory from
13528         ports/sysdeps/powerpc/powerpc32/440.
13529         * sysdeps/powerpc/powerpc32/464: Move directory from
13530         ports/sysdeps/powerpc/powerpc32/464.
13531         * sysdeps/powerpc/powerpc32/476: Move directory from
13532         ports/sysdeps/powerpc/powerpc32/476.
13533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13534         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13536         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13538         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13540         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13542         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13543         * README: Update for powerpc-*-linux-gnu software floating point
13544         support in libc.
13545
13546         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13547         case to powerpc/powerpc32*.
13548         * sysdeps/unix/sysv/linux/configure: Regenerated.
13549
13550         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13551         (_FPU_MASK_OM): Define as 0x04.
13552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13554         0x00c10080.
13555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13556         0x0000003c.
13557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13558
13559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13560         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13561         getcontext_e500.
13562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13563         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13564         setcontext_e500.
13565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13566         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13567         and setcontext_e500.
13568
13569 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13570
13571         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13572
13573 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13574
13575         * manual/threads.texi (Default Thread Attributes): Fix typo.
13576
13577 2013-10-04  Will Newton  <will.newton@linaro.org>
13578
13579         * malloc/Makefile: Add tst-memalign.
13580         * malloc/tst-memalign.c: New file.
13581
13582         * malloc/tst-posix_memalign.c: Add comments.
13583         (do_test): Add comments and call free on all potentially
13584         allocated pointers. Add space after cast.
13585
13586         * malloc/tst-pvalloc.c: Add comments.
13587         (do_test): Add comments and call free on all potentially
13588         allocated pointers. Remove duplicate check for NULL pointer.
13589         Add space after cast.
13590
13591         * malloc/tst-valloc.c: Add comments.
13592         (do_test): Add comments and call free on all potentially
13593         allocated pointers. Remove duplicate check for NULL pointer.
13594         Add space after cast.
13595
13596 2013-10-04  Alan Modra  <amodra@gmail.com>
13597
13598         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13599         Use stdint types in rather than __attribute__((mode())).
13600         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13601
13602 2013-10-04  Alan Modra  <amodra@gmail.com>
13603
13604         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13605         Correct handling of unaligned relocs for little-endian.
13606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13607
13608 2013-10-04  Alan Modra  <amodra@gmail.com>
13609
13610         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13611         * configure: Regenerate.
13612         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13613         * shlib-versions: Likewise.
13614
13615 2013-10-04  Alan Modra  <amodra@gmail.com>
13616
13617         * string/tester.c (test_memrchr): Increment reported test cycle.
13618
13619 2013-10-04  Alan Modra  <amodra@gmail.com>
13620
13621         * string/test-memcpy.c (do_one_test): When reporting errors, print
13622         string address and don't overrun end of string.
13623
13624 2013-10-04  Alan Modra  <amodra@gmail.com>
13625
13626         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13627         insrdi.  Make better use of reg selection to speed exit slightly.
13628         Schedule entry path a little better.  Remove useless "are we done"
13629         checks on entry to main loop.  Handle wrapping around zero address.
13630         Correct main loop count.  Handle single left-over word from main
13631         loop inline rather than by using loop_small.  Remove extra word
13632         case in loop_small caused by wrong loop count.  Add little-endian
13633         support.
13634         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13635         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13636         cache hint.
13637         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13638         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13639         support.  Avoid rlwimi.
13640         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13641
13642 2013-10-04  Alan Modra  <amodra@gmail.com>
13643
13644         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13645         insrdi.  Formatting.
13646         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13647         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13648         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13649         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13650         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13651         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13652
13653 2013-10-04  Alan Modra  <amodra@gmail.com>
13654
13655         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13656         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13657         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13658         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13659         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13660         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13661         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13662         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13663         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13664         use of regs.  Use power7 mtocrf.  Tidy function tails.
13665
13666 2013-10-04  Alan Modra  <amodra@gmail.com>
13667
13668         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13669         Formatting.  Consistently use rXXX register defines or rN defines.
13670         Use early exit labels that avoid restoring unused non-volatile regs.
13671         Make cr field use more consistent with rWORDn compares.  Rename
13672         regs used as shift registers for unaligned loop, using rN defines
13673         for short lifetime/multiple use regs.
13674         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13675         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13676         addi 1,1,64 to pop stack frame.  Simplify return value code.
13677         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13678
13679 2013-10-04  Alan Modra  <amodra@gmail.com>
13680
13681         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13682         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13683         rather than rlwimi.
13684         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13685         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13686         little-endian support.  Correct typos.
13687         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13688         rather than rlwimi.
13689         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13690         in loop and entry code to keep "and." results.
13691         (strchr): Add little-endian support.  Comment.  Move cntlzd
13692         earlier in tail.
13693         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13694
13695 2013-10-04  Alan Modra  <amodra@gmail.com>
13696
13697         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13698         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13699         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13700         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13701
13702 2013-10-04  Alan Modra  <amodra@gmail.com>
13703
13704         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13705         (rTMP): Define as r11.
13706         (strcmp): Add little-endian support.  Optimise tail.
13707         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13708         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13709         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13710         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13711         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13712         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13713         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13714
13715 2013-10-04  Alan Modra  <amodra@gmail.com>
13716
13717         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13718         little-endian support.  Remove unnecessary "are we done" tests.
13719         Handle "s" wrapping around zero and extremely large "size".
13720         Correct main loop count.  Handle single left-over word from main
13721         loop inline rather than by using small_loop.  Correct comments.
13722         Delete "zero" tail, use "end_max" instead.
13723         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13724
13725 2013-10-04  Alan Modra  <amodra@gmail.com>
13726
13727         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13728         support.  Don't branch over align.
13729         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13730         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13731         support.  Rearrange tmp reg use to suit.  Comment.
13732         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13733
13734 2013-10-04  Alan Modra  <amodra@gmail.com>
13735
13736         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13737
13738 2013-10-04  Alan Modra  <amodra@gmail.com>
13739
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13741         conditional form of branch and link when obtaining pc.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13743
13744 2013-10-04  Alan Modra  <amodra@gmail.com>
13745
13746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13747         HIWORD/LOWORD.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13750
13751 2013-10-04  Alan Modra  <amodra@gmail.com>
13752
13753         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13754         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13755         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13756         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13757         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13758         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13759         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13760         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13761         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13762         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13763
13764 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13765             Alistair Popple <alistair@ozlabs.au.ibm.com>
13766             Alan Modra <amodra@gmail.com>
13767
13768         [BZ #15723]
13769         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13770         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13771         _dl_hwcap access for little-endian.
13772         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13773         destroy vmx regs when saving unaligned.
13774         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13775         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13776         destroy vmx regs when saving unaligned.
13777
13778 2013-10-04  Alan Modra  <amodra@gmail.com>
13779
13780         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13781         Don't use a union to pack hi/low value.
13782
13783 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13784
13785         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13786         for little-endian.
13787         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13788         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13789         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13790         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13791         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13792
13793 2013-10-04  Alan Modra  <amodra@gmail.com>
13794
13795         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13796         constants to usual value for .cst8 section, and remove redundant
13797         high address load.
13798         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13799         constant for 0x1p52.  Load little-endian words of double from
13800         correct stack offsets.
13801
13802 2013-10-04  Alan Modra  <amodra@gmail.com>
13803
13804         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13805         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13806         words of double from correct stack offsets.
13807         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13808         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13809         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13810         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13811         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13812         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13813         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13814         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13815         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13816         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13817         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13818         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13819         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13820         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13821         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13822         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13823         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13824
13825 2013-10-04  Alan Modra  <amodra@gmail.com>
13826
13827         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13828         64-bit int/double union.
13829         (_FPU_SETCW): Likewise.
13830         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13831         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13832
13833 2013-10-04  Alan Modra  <amodra@gmail.com>
13834
13835         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13836         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13837
13838 2013-10-04  Alan Modra  <amodra@gmail.com>
13839
13840         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13841         use vector int constants.
13842         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13843
13844 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13845
13846         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13847         array with long long.
13848         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13849         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13850         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13851         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13852         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13853         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13854         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13855         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13856         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13857         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13858         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13859         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13860         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13861
13862 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13863
13864         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13865         (__signbit): Likewise.  Correct for little-endian.
13866         (__signbitl): Call __signbit.
13867         (lrint): Correct for little-endian.
13868         (lrintf): Call lrint.
13869
13870 2013-10-04  Alan Modra  <amodra@gmail.com>
13871
13872         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13873         union 32-bit int array member with 64-bit int array.
13874         (t515, tm256): Double rather than long double.
13875         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13876
13877 2013-10-04  Alan Modra  <amodra@gmail.com>
13878
13879         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13880         Delete.
13881         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13883         version of math_ldbl.h.
13884
13885 2013-10-04  Alan Modra  <amodra@gmail.com>
13886
13887         [BZ #15734], [BZ #15735]
13888         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13889         all uses of ieee875 long double macros and unions.  Simplify test
13890         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13891         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13892         normalize after ldbl_extract_mantissa, and don't add hidden bit
13893         already handled.  Don't treat low word of ieee854 mantissa like
13894         low word of IBM long double and mask off bit when testing for
13895         zero.
13896         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13897         all uses of ieee875 long double macros and unions.  Simplify tests
13898         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13899         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13900         two1022, instead use their values.  Recognise that tests for large
13901         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13902         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13903         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13904         test for 0.0L and nan.  Correct negation.
13905         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13906         ieee875 long double macros and unions.  Correct output for large
13907         magnitude x.  Correct absolute value calculation.
13908         (__erfcl): Likewise.
13909         * math/libm-test.inc: Add tests for errors discovered in IBM long
13910         double versions of fmodl, remainderl, erfl and erfcl.
13911
13912 2013-10-04  Alan Modra  <amodra@gmail.com>
13913
13914         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13915         all uses of ieee854 long double macros and unions.  Simplify tests
13916         for long doubles that are fully specified by the high double.
13917         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13918         Likewise.
13919         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13920         Remove dead code too.
13921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13922         (__ieee754_ynl): Likewise.
13923         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13924         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13925         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13926         Remove dead code too.
13927         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13928         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13929         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13931         Simplify.
13932         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13933         Simplify.
13934         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13935         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13936         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13937         Comment on variable precision.
13938         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13939         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13940         Likewise.
13941         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13942         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13943         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13944         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13945         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13946
13947 2013-10-04  Alan Modra  <amodra@gmail.com>
13948
13949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13950         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13951         all uses of ieee854 long double macros and unions.
13952         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13953         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13954         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13955         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13956         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13957         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13958         Likewise.
13959         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13960         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13961         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13962         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13963         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13964         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13965         Simplify sign and nan test too.
13966         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13967         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13968         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13969         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13970         Likewise.
13971         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13972         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13973         Likewise.
13974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13975         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13976         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13977         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13978         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13979         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13980
13981 2013-10-04  Alan Modra  <amodra@gmail.com>
13982
13983         * stdio-common/printf_size.c (__printf_size): Don't use
13984         union ieee854_long_double in fpnum union.
13985         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13986         signbit macro to retrieve sign from long double.
13987         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13988         retrieve sign from long double.
13989         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13990         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13991         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13992         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13993         * math/test-misc.c (main): Don't use union ieee854_long_double.
13994
13995 2013-10-04  Alan Modra  <amodra@gmail.com>
13996
13997         [BZ #15680]
13998         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13999         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14000         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14001         calculation.  Remove unnecessary test for denormal exponent.
14002         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14003         Correct handling of denormals.  Avoid undefined shift behaviour.
14004         Correct normalisation of low mantissa when low double is denormal.
14005         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14006         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14007         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14008         Correct normalisation of low mantissa.  Test for overflow of high
14009         mantissa and normalise.
14010         (ldbl_nearbyint): Use more readable constant for two52.
14011         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14012         (__mpn_construct_long_double): Fix test for overflow of high
14013         mantissa and correct normalisation.  Avoid undefined shift.
14014
14015 2013-10-04  Alan Modra  <amodra@gmail.com>
14016
14017         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14018         (union ibm_extended_long_double): Define as an array of ieee754_double.
14019         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14020         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14021         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14022         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14023         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14024         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14026         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14027         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14028         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14029         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14030
14031 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14032
14033         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14034         page size instead of calling getpagesize.
14035
14036         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14037         (LOCFILE_ALIGN_MASK): Likewise.
14038         (LOCFILE_ALIGN_UP): Likewise.
14039         (LOCFILE_ALIGNED_P): Likewise.
14040         * locale/programs/ld-collate.c (collate_output): Use the new
14041         macros instead of __alignof__ (int32_t).
14042         * locale/weight.h (findidx): Likewise.
14043
14044 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14045
14046         [BZ #431]
14047         * manual/string.texi: Fix strncat and wcsncat.
14048
14049 2013-10-03  Brooks Moses  <bmoses@google.com>
14050
14051         [BZ #15915]
14052         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14053         * Makerules: ...here, and adjust associated comments.
14054
14055 2013-10-02  Will Newton  <will.newton@linaro.org>
14056
14057         * malloc/Makefile: Add tst-pvalloc.
14058         * malloc/tst-pvalloc.c: New file.
14059
14060 2013-10-02  Will Newton  <will.newton@linaro.org>
14061
14062         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14063         improve test coverage.
14064
14065 2013-10-02  Will Newton  <will.newton@linaro.org>
14066
14067         * malloc/Makefile: Add tst-posix_memalign.
14068         * malloc/tst-posix_memalign.c: New file.
14069
14070 2013-10-01  Eric Blake  <eblake@redhat.com>
14071
14072         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14073         Use __THROWNL rather than __THROW on static functions.
14074
14075 2013-09-30  Petr Machata  <pmachata@redhat.com>
14076
14077         * elf/elf.h (R_AARCH64_ABS16): New macro.
14078         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14079         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14080         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14081         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14082         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14083         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14084         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14085         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14086         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14087         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14088         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14089         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14090         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14091         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14092         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14093         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14094         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14095         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14096         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14097         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14098         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14099         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14100         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14101         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14102         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14103         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14104         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14105         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14106         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14107         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14108         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14109         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14110         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14111         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14112         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14113         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14114         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14115         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14116         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14117         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14118         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14119         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14120         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14121         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14122         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14123         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14124         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14125         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14126         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14127         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14128         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14129         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14130         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14131         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14132         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14133         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14134         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14135         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14136         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14137         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14138         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14139         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14140         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14141         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14142         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14143         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14144         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14145         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14146         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14147         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14148         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14149         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14150         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14151         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14152         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14153         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14154         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14155         (R_AARCH64_TLSDESC_LDR): Likewise.
14156         (R_AARCH64_TLSDESC_ADD): Likewise.
14157         (R_AARCH64_TLSDESC_CALL): Likewise.
14158
14159 2013-09-30  Andreas Schwab  <schwab@suse.de>
14160
14161         [BZ #15048]
14162         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14163         the nss database lookup.
14164         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14166
14167 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14168
14169         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14170
14171 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14172
14173         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14174         ${Bash-specific parameter/pattern/string} parameter expansion.
14175         * sysdeps/unix/make-syscalls.sh: Likewise.
14176
14177 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14178
14179         * sysdeps/sh/stackguard-macros.h: New file.
14180
14181 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14182
14183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14185         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14186         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14187         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14188         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14189
14190 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14191
14192         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14193         Fix thread ID register.
14194
14195 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14196
14197         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14198         [POSIX || UNIX98]: Require rather than permitting all symbols from
14199         <time.h>.
14200         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14201         element of struct sched_param.
14202         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14203         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14204         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14205         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14206         constant.
14207
14208 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14209
14210         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14211         argument calculation.
14212
14213 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14214
14215         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14216         Expect macro.
14217         [POSIX] (pthread_attr_t): Do not require type.
14218         [POSIX] (pthread_cond_t): Likewise.
14219         [POSIX] (pthread_condattr_t): Likewise.
14220         [POSIX] (pthread_key_t): Likewise.
14221         [POSIX] (pthread_mutex_t): Likewise.
14222         [POSIX] (pthread_mutexattr_t): Likewise.
14223         [POSIX] (pthread_once_t): Likewise.
14224         [POSIX] (pthread_t): Likewise.
14225         [POSIX-based standards] (pthread_atfork): Expect function.
14226
14227 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14228             Richard Sandiford  <richard@codesourcery.com>
14229
14230         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14231         (swap_endianness_p): New extern variable.
14232         (set_big_endian): New inline function.
14233         (maybe_swap_uint32): Likewise.
14234         (maybe_swap_uint32_array): Likewise.
14235         (maybe_swap_uint32_obstack): Likewise.
14236         * locale/programs/locfile.c: Include <stdbool.h>.
14237         (swap_endianness_p): New variable.
14238         (add_locale_uint32): Call maybe_swap_uint32.
14239         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14240         (write_locale_data): Call maybe_swap_uint32_array.
14241         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14242         maybe_swap_uint32.
14243         (obstack_int32_grow_fast): Likewise.
14244         (output_weightwc): Call maybe_swap_uint32_obstack.
14245         (collate_output): Likewise.
14246         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14247         (OPT_LITTLE_ENDIAN): Likewise.
14248         (options): Add --little-endian and --big-endian options.
14249         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14250         * locale/programs/locarchive.c: Include "locfile.h".
14251         (GET): New macro.
14252         (SET): Likewise.
14253         (INC): Likewise.
14254         (create_archive): Use the new macros to access fields of
14255         structures directly mapped from or written to locale archives.
14256         (oldlocrecentcmp): Likewise.
14257         (enlarge_archive): Likewise.
14258         (insert_name): Likewise.
14259         (add_alias): Likewise.
14260         (add_locale): Likewise.
14261         (delete_locales_from_archive): Likewise.
14262         (show_archive_content): Likewise.
14263         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14264         locale data.
14265
14266 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14267
14268         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14269         http://www.gnu.org/doc/freemanuals.texi.
14270         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14271
14272 2013-09-24  Will Newton  <will.newton@linaro.org>
14273
14274         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14275         macro.
14276
14277 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14278
14279         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14280         unsigned char.
14281
14282 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14283
14284         * manual/threads.texi (POSIX Threads): Fix a typo.
14285
14286 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14287
14288         [BZ #14547]
14289         * string/tst-strcoll-overflow.c: New test case.
14290         * string/Makefile (xtests): Add tst-strcoll-overflow.
14291         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14292         cache if string sizes may cause integer overflow.
14293
14294         [BZ #14547]
14295         * string/strcoll_l.c (coll_seq): New members rule, idx,
14296         save_idx and back_us.
14297         (get_next_seq_nocache): New function.
14298         (do_compare_nocache): New function.
14299         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14300         when malloc fails.
14301
14302 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14303
14304         [BZ #15754]
14305         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14306         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14307         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14308
14309         [BZ #15754]
14310         * elf/Makefile (tests): Add tst-ptrguard1.
14311         (tests-static): Add tst-ptrguard1-static.
14312         (tst-ptrguard1-ARGS): Define.
14313         (tst-ptrguard1-static-ARGS): Define.
14314         * elf/tst-ptrguard1.c: New file.
14315         * elf/tst-ptrguard1-static.c: New file.
14316         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14317         * sysdeps/i386/stackguard-macros.h: Likewise.
14318         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14319         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14320         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14321         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14322         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14323         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14324
14325 2013-09-23  Hector Marco  <hecmargi@upv.es>
14326             Ismael Ripoll  <iripoll@disca.upv.es>
14327             Carlos O'Donell  <carlos@redhat.com>
14328
14329         [BZ #15754]
14330         * sysdeps/generic/stackguard-macros.h: Define
14331         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14332         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14333         Define __pointer_chk_guard_local.
14334         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14335         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14336
14337 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14338
14339         [BZ #15859]
14340         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14341
14342 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14343
14344         * include/string.h (__ffs): Declare as hidden.
14345         * string/ffs.c (__ffs): Define as hidden.
14346         * sysdeps/i386/ffs.c (__ffs): Likewise.
14347         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14348         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14349         * sysdeps/s390/ffs.c (__ffs): Likewise.
14350         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14351
14352 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14353
14354         * NEWS: Mention malloc probes.
14355
14356         * malloc/arena.c (new_heap): New memory_heap_new probe.
14357         (grow_heap): New memory_heap_more probe.
14358         (shrink_heap): New memory_heap_less probe.
14359         (heap_trim): New memory_heap_free probe.
14360         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14361         (systrim): New memory_sbrk_less probe.
14362         * manual/probes.texi: Document them.
14363
14364         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14365         * manual/probes.texi: Document it.
14366
14367         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14368         (__libc_realloc): Add memory_realloc_retry probe.
14369         (__libc_memalign): Add memory_memalign_retry probe.
14370         (__libc_valloc): Add memory_valloc_retry probe.
14371         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14372         (__libc_calloc): Add memory_calloc_retry probe.
14373         * manual/probes.texi: Document them.
14374
14375         * malloc/arena.c (get_free_list): Add probe
14376         memory_arena_reuse_free_list.
14377         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14378         and memory_arena_reuse.
14379         (arena_get2) [!PER_THREAD]: Likewise.
14380         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14381         memory_arena_reuse_realloc.
14382         * manual/probes.texi: Document them.
14383
14384         * malloc/malloc.c (__libc_free): Add
14385         memory_mallopt_free_dyn_thresholds probe.
14386         (__libc_mallopt): Add multiple memory_mallopt probes.
14387         * manual/probes.texi: Document them.
14388
14389         * malloc/malloc.c: Include stap-probe.h.
14390         (__libc_mallopt): Add memory_mallopt probe.
14391         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14392         * manual/probes.texi: New.
14393         * manual/Makefile (chapters): Add probes.
14394         * manual/threads.texi: Set next node.
14395
14396 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14397
14398         [BZ #15963, #13985]
14399         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14400         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14401         Add `Chinese' to `nan' entry name.
14402
14403 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14404
14405         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14406         (POLYNOMIAL): Likewise.
14407         (TAYLOR_SINCOS): Likewise.
14408         (TAYLOR_SLOW): Likewise.
14409         (__sin): Use TAYLOR_SINCOS.
14410         (__cos): Likewise.
14411         (slow): Use TAYLOR_SLOW.
14412         (sloww): Likewise.
14413         (bsloww): Likewise.
14414         (csloww): Likewise.
14415
14416 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14417
14418         * stdlib/strtod_l.c: Fix buffer overrun.
14419
14420 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14421
14422         * benchtests/Makefile (bench): Add sincos.
14423         * benchtests/bench-sincos.c: New file.
14424
14425         * math/libm-test.inc (cos_test_data): New test inputs.
14426         (sin_test_data): Likewise.
14427
14428         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14429         macro.
14430         (__sin): Use it.
14431         (__cos): Likewise.
14432         (slow1): Likewise.
14433         (slow2): Likewise.
14434         (sloww1): Likewise.
14435         (sloww2): Likewise.
14436         (bsloww1): Likewise.
14437         (bsloww2): Likewise.
14438         (cslow2): Likewise.
14439         (csloww1): Likewise.
14440         (csloww2): Likewise.
14441
14442         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14443         function.
14444         (__sin): Use it.
14445         (__cos): Likewise.
14446
14447         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14448         gotos.
14449         (__cos): Likewise.
14450
14451 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14452
14453         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14454         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14455         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14456         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14457         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14458         * elf/cache.c (print_entry): Handle the new cache flags.
14459
14460 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14461             Aldy Hernandez  <aldyh@redhat.com>
14462
14463         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14464         Change condition to [_SOFT_FLOAT].
14465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14477         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14480         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14481         declaration.
14482
14483 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14484
14485         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14486         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14487         (__longjmp): Use LOAD_GP to load saved GPRs.
14488         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14489         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14490         (__sigsetjmp): Use SAVE_GP to save GPRs.
14491
14492         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14493         Do not append -msoft-float.
14494         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14495
14496 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14497
14498         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14499
14500 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14501
14502         [BZ #15966]
14503         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14504         (_FPU_GETCW): Use initial "__" on variable and field names but not
14505         on macro parameter name.
14506         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14507         parentheses around reference to macro parameter.
14508
14509 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14510
14511         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14512         prototype.
14513         (ctype_startup): Use uint32_t in cast and sizeof for
14514         ctype->charnames.
14515
14516 2013-09-11  Jia Liu  <proljc@gmail.com>
14517
14518         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14519         __daddr_t_defined.
14520         [__FreeBSD__]: Likewise.
14521
14522 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14523
14524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14525         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14526         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14527         (strchr): Remove __strchr_sse42 ifunc selection.
14528         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14529         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14530
14531 2013-09-11  Will Newton  <will.newton@linaro.org>
14532
14533         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14534         parameter to RES. Remove hardcoded 1000 value.
14535         * benchtests/bench-skeleton.c (main): Pass RES parameter
14536         to TIMING_INIT and multiply result by 1000.
14537
14538 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14539
14540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14541
14542 2013-09-11  Andreas Schwab  <schwab@suse.de>
14543
14544         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14545         if not defined.
14546         (O_TMPFILE) [__USE_GNU]: Define.
14547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14548         Define.
14549
14550 2013-09-11  Will Newton  <will.newton@linaro.org>
14551
14552         [BZ #15857]
14553         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14554         does not overflow.
14555
14556 2013-09-11  Will Newton  <will.newton@linaro.org>
14557
14558         [BZ #15856]
14559         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14560         does not overflow.
14561
14562 2013-09-11  Will Newton  <will.newton@linaro.org>
14563
14564         [BZ #15855]
14565         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14566         does not overflow.
14567
14568 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14569
14570         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14571         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14572         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14573         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14574         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14575
14576 2013-09-10  Allan McRae  <allan@archlinux.org>
14577
14578         [BZ #15748]
14579         * manual/arith.texi (Parsing of Floats): Clarify
14580         cross-reference.
14581
14582         [BZ #15849]
14583         * manual/install.texi (Running make install): Mention
14584         --enable-pt-chown.
14585         * INSTALL: Regenerated.
14586
14587 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14588
14589         * csu/init-first.c (_init): Remove the !SHARED condition around
14590         FPU control word initialization.
14591         * elf/dl-support.c (_dl_fpu_control): New variable.
14592         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14593         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14594         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14595         * math/test-fpucw-static.c: New file.
14596         * math/test-fpucw-ieee.c: New file.
14597         * math/test-fpucw-ieee-static.c: New file.
14598         * math/Makefile (tests): Add `test-fpucw-ieee' and
14599         `$(tests-static)'.
14600         (tests-static): New variable.
14601         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14602         dependency to...
14603         [($(build-shared),yes)]
14604         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14605         ... this.
14606         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14607         New dependency.
14608
14609 2013-09-09  Allan McRae  <allan@archlinux.org>
14610
14611         [BZ #15939]
14612         * manual/string.texi (Collation Functions): Fix typo in
14613         strcoll example.
14614         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14615
14616         [BZ #15893]
14617         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14618
14619         [BZ #15892]
14620         * libio/memstream.c (open_memstream): Fix memory leak.
14621         * libio/wmemstream.c (open_wmemstream): Likewise.
14622
14623         [BZ #15895]
14624         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14625
14626 2013-09-09  Will Newton  <will.newton@linaro.org>
14627
14628         * malloc/Makefile: Add tst-realloc to tests.
14629         * malloc/tst-realloc.c: New file.
14630
14631 2013-09-09  Allan McRae  <allan@archlinux.org>
14632
14633         [BZ #15844]
14634         * COPYING: Update from GNU website to fix FSF address.
14635         * COPYING.LIB: Likewise.
14636
14637 2013-09-06  David S. Miller  <davem@davemloft.net>
14638
14639         * po/zh_TW.po: Update Chinese (traditional) translation from
14640         translation project.
14641
14642 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14643             Joseph Myers  <joseph@codesourcery.com>
14644
14645         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14646         "localeinfo.h".
14647         (obstack_chunk_alloc): New macro.
14648         (obstack_chunk_free): Likewise.
14649         (record_offset): New function.
14650         (init_locale_data): Likewise.
14651         (align_locale_data): Likewise.
14652         (add_locale_empty): Likewise.
14653         (add_locale_raw_data): Likewise.
14654         (add_locale_raw_obstack): Likewise.
14655         (add_locale_string): Likewise.
14656         (add_locale_wstring): Likewise.
14657         (add_locale_uint32): Likewise.
14658         (add_locale_uint32_array): Likewise.
14659         (add_locale_char): Likewise.
14660         (start_locale_structure): Likewise.
14661         (end_locale_structure): Likewise.
14662         (start_locale_prelude): Likewise.
14663         (end_locale_prelude): Likewise.
14664         (write_locale_data): Take locale_file structure rather than an
14665         iovec.
14666         * locale/programs/locfile.h: Include "obstack.h".
14667         (struct locale_file): Change to store locale file contents instead
14668         of header.
14669         (init_locale_data): New prototype.
14670         (align_locale_data): Likewise.
14671         (add_locale_empty): Likewise.
14672         (add_locale_raw_data): Likewise.
14673         (add_locale_raw_obstack): Likewise.
14674         (add_locale_string): Likewise.
14675         (add_locale_wstring): Likewise.
14676         (add_locale_uint32): Likewise.
14677         (add_locale_uint32_array): Likewise.
14678         (add_locale_char): Likewise.
14679         (start_locale_structure): Likewise.
14680         (end_locale_structure): Likewise.
14681         (start_locale_prelude): Likewise.
14682         (end_locale_prelude): Likewise.
14683         (write_locale_data): Update prototype.
14684         * locale/programs/3level.h (struct TABLE): Remove result field.
14685         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14686         Use new locale_file interface.
14687         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14688         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14689         * locale/programs/ld-address.c (address_output): Use new
14690         locale_file interface.
14691         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14692         NO_ADD_LOCALE.
14693         (collate_finish): Don't call collseq_table_finalize.
14694         (collate_output): Use new locale_file interface.
14695         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14696         in file.
14697         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14698         (TABLE): Move defines earlier in file.
14699         (ELEMENT): Likewise.
14700         (DEFAULT): Likewise.
14701         (wctrans_table_add): Move macro and inline function earlier in
14702         file.
14703         (struct wctype_table): Move type earlier in file.
14704         (add_locale_wctype_table): New static prototype.
14705         (struct locale_ctype_t): Use logical types instead of struct iovec
14706         pointers for members.
14707         (ctype_output): Use new locale_file interface.
14708         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14709         new locale_file interface.
14710         (allocate_arrays): Update for use of new locale_file interface.
14711         * locale/programs/ld-identification.c (identification_output): Use
14712         new locale_file interface.
14713         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14714         * locale/programs/ld-messages.c (messages_output): Likewise.
14715         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14716         * locale/programs/ld-name.c (name_output): Likewise.
14717         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14718         * locale/programs/ld-paper.c (paper_output): Likewise.
14719         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14720         * locale/programs/ld-time.c (time_output): Likewise.
14721
14722 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14723
14724         * benchtests/Makefile: Add memrchr benchmark.
14725         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14726         benchmark as memrchr.
14727         * benchtests/bench-memrchr-ifunc.c: New file.
14728         * benchtests/bench-memrchr.c: New file.
14729
14730 2013-09-06   Will Newton  <will.newton@linaro.org>
14731
14732         * benchtests/Makefile (string-bench): Add memcpy.
14733
14734 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14735             Cong Wang  <amwang@redhat.com>
14736
14737         [BZ #15850]
14738         * sysdeps/unix/sysv/linux/bits/in.h
14739         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14740         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14741         before __USE_KERNEL_IPV6_DEFS uses.
14742         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14743         IPPROTO_BEETPH.
14744         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14745         sockaddr_in6, or ipv6_mreq.
14746
14747 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14748
14749         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14750         memory access for final bytes in some large inputs.
14751         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14752
14753 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14754
14755         * string/test-memrchr.c: New file.
14756         * string/test-memrchr-ifunc.c: New file.
14757         * string/Makefile: Add new memrchr testcase.
14758
14759 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14760
14761         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14762         fanotify_init returns EPERM.
14763
14764 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14765
14766         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14767         errors.
14768         (top level): Treat second token from macro or constant entries for
14769         allowed headers as allowed.
14770         * include/complex.h: Condition internal declarations on
14771         [!_ISOMAC].
14772         * include/fenv.h: Condition include of <stdbool.h> and internal
14773         declarations on [!_ISOMAC].
14774
14775 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14776
14777         [BZ #15923]
14778         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14779
14780 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14781
14782         * configure.in (--enable-versioning): Remove configure option.
14783         (libc_cv_asm_symver_directive): Remove configure test.
14784         (libc_cv_ld_version_script_option): Likewise.
14785         (VERSIONING): Remove variable and AC_SUBST.
14786         (DO_VERSIONING): Remove AC_DEFINE.
14787         * configure: Regenerated.
14788         * config.h.in (DO_VERSIONING): Remove macro.
14789         * Makerules [$(versioning) = yes]: Change conditionals to
14790         [$(build-shared) = yes].
14791         * config.make.in (versioning): Remove variable.
14792         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14793         [$(build-shared) = yes].
14794         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14795         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14796         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14797         [$(build-shared) = yes].
14798         * extra-lib.mk [$(versioning) = yes]: Likewise.
14799         * hurd/Makefile [$(versioning) = yes]: Likewise.
14800         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14801         [SHARED].
14802         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14803         [SHARED].
14804         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14805         [SHARED && !NO_HIDDEN].
14806         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14807         [SHARED].
14808         [SHARED && DO_VERSIONING]: Likewise..
14809         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14810         [$(build-shared) = yes].
14811         * manual/install.texi (--disable-versioning): Remove
14812         documentation.
14813         * INSTALL: Regenerated.
14814         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14815         to [SHARED].
14816         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14817         [$(build-shared) = yes].
14818         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14819         * sysdeps/i386/i686/multiarch/strstr-c.c
14820         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14821         [SHARED && !NO_HIDDEN].
14822         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14823         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14824         * sysdeps/powerpc/powerpc32/dl-machine.c
14825         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14826         * sysdeps/powerpc/powerpc32/sysdep.h
14827         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14828         to [SHARED && PIC && !NO_HIDDEN].
14829         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14830         conditional to [SHARED].
14831
14832 2013-09-04   Will Newton  <will.newton@linaro.org>
14833
14834         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14835         * benchtests/bench-string.h: Include bench-timing.h instead
14836         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14837         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14838         call to HP_TIMING_DIFF_INIT.
14839         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14840         instead of hp-timing.h macros.
14841         * benchtests/bench-memchr.c: Likewise.
14842         * benchtests/bench-memcmp.c: Likewise.
14843         * benchtests/bench-memcpy.c: Likewise.
14844         * benchtests/bench-memmem.c: Likewise.
14845         * benchtests/bench-memmove.c: Likewise.
14846         * benchtests/bench-memset.c: Likewise.
14847         * benchtests/bench-rawmemchr.c: Likewise.
14848         * benchtests/bench-strcasecmp.c: Likewise.
14849         * benchtests/bench-strcasestr.c: Likewise.
14850         * benchtests/bench-strcat.c: Likewise.
14851         * benchtests/bench-strchr.c: Likewise.
14852         * benchtests/bench-strcmp.c: Likewise.
14853         * benchtests/bench-strcpy.c: Likewise.
14854         * benchtests/bench-strcpy_chk.c: Likewise.
14855         * benchtests/bench-strlen.c: Likewise.
14856         * benchtests/bench-strncasecmp.c: Likewise.
14857         * benchtests/bench-strncat.c: Likewise.
14858         * benchtests/bench-strncmp.c: Likewise.
14859         * benchtests/bench-strncpy.c: Likewise.
14860         * benchtests/bench-strnlen.c: Likewise.
14861         * benchtests/bench-strpbrk.c: Likewise.
14862         * benchtests/bench-strrchr.c: Likewise.
14863         * benchtests/bench-strspn.c: Likewise.
14864         * benchtests/bench-strstr.c: Likewise.
14865
14866 2013-09-04  Will Newton  <will.newton@linaro.org>
14867
14868         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14869
14870 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14871
14872         [BZ #15427]
14873         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14874         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14875         * math/libm-test.inc (lgamma_test_data): Add more tests.
14876         * sysdeps/i386/fpu/libm-test-ulps: Update.
14877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14878
14879 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14880
14881         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14883         Add ifunc.
14884         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14885         Add strcmp-sse2-unaligned
14886         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14887
14888 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14889
14890         * Versions.def (libc): Add GLIBC_2.19.
14891
14892 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14893
14894         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14895         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14896
14897 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14898
14899         [BZ #14155]
14900         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14901         intermediate calculations in recurrence.
14902         (__ieee754_ynf): Likewise.
14903         * math/libm-test.inc (jn_test_data): Do not allow spurious
14904         underflow exception.  Add more tests.
14905         (yn_test_data): Add more tests.
14906         * sysdeps/i386/fpu/libm-test-ulps: Update.
14907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14908
14909 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14910
14911         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14912
14913 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14914
14915         * csu/init-first.c: Fix then/than typos.
14916         * locale/programs/ld-collate.c: Likewise.
14917         * locale/programs/linereader.h: Likewise.
14918         * manual/charset.texi: Likewise.
14919         * manual/filesys.texi: Likewise.
14920         * manual/stdio.texi: Likewise.
14921         * manual/string.texi: Likewise.
14922         * stdlib/fmtmsg.c: Likewise.
14923         * sysdeps/i386/stpncpy.S: Likewise.
14924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14925         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14926         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14927         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14928
14929 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14930
14931         * elf/dl-open.c: Fix typos.
14932         * iconvdata/gbbig5.c: Likewise.
14933         * iconvdata/iso-2022-jp.c: Likewise.
14934         * iconv/gconv_int.h: Likewise.
14935         * iconv/loop.c: Likewise.
14936         * nis/rpcsvc/nis.h: Likewise.
14937         * resolv/ns_name.c: Likewise.
14938         * stdio-common/vfscanf.c: Likewise.
14939         * streams/stropts.h: Likewise.
14940         * sunrpc/rpc_thread.c: Likewise.
14941         * sysdeps/i386/strpbrk.S: Likewise.
14942         * sysdeps/ieee754/k_standard.c: Likewise.
14943         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14944         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14945         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14946         * sysdeps/mach/hurd/profil.c: Likewise.
14947         * sysdeps/s390/dl-procinfo.h: Likewise.
14948         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14949         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14950         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14951         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14952         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14953
14954 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14955
14956         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14958
14959 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14960
14961         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14962         aix specific files.
14963         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14964         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14965         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14966         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14967         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14968         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14969         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14970         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14971
14972 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14973             Roland McGrath  <roland@hack.frob.com>
14974
14975         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14976         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14977
14978 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14979
14980         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14981         __executable_start symbol instead of _start.
14982
14983 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14984
14985         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14986         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14987         Move macros to...
14988         * sysdeps/gnu/ldsodefs.h: ... this new file.
14989
14990         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14991         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14992         instead of ELFOSABI_LINUX.
14993
14994         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14995         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14996         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14997         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14998         Likewise.
14999         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15000         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15001         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15002         Likewise.
15003         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15004         (ibm_extended_long_double): Add ieee_nan member.
15005         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15006         (do_test): New function.
15007
15008         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15009         TEST_TRUNC.
15010         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15011         functions, renamed from truncdfsf_test, trunctfsf_test,
15012         trunctfdf_test.
15013         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15014         functions.
15015         (do_test): Run all these.
15016
15017 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15018
15019         * argp/argp-help.c: Fix typos.
15020         * argp/argp-parse.c: Likewise.
15021         * debug/backtracesyms.c: Likewise.
15022         * elf/elf.h: Likewise.
15023         * malloc/malloc.c: Likewise.
15024         * nis/nis_print.c: Likewise.
15025         * resolv/res_comp.c: Likewise.
15026         * stdlib/stdlib.h: Likewise.
15027         * sunrpc/clnt_tcp.c: Likewise.
15028         * sunrpc/clnt_udp.c: Likewise.
15029         * sunrpc/clnt_unix.c: Likewise.
15030         * sysdeps/unix/bsd/ptsname.c: Likewise.
15031         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15032         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15034         Likewise.
15035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15036         Likewise.
15037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15038         Likewise.
15039         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15040
15041 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15042
15043         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15045
15046 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15047
15048         [BZ #15897]
15049         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15050         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15051         ($(objpfx)bug-dl-leaf): New rule.
15052         ($(objpfx)bug-dl-leaf.so): Likewise.
15053         ($(objpfx)bug-dl-leaf.out): Likewise.
15054         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15055         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15056         * dlfcn/bug-dl-leaf.c: New test.
15057         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15058         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15059         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15060         (dlclose): Likewise.
15061         (dlmopen): Likewise.
15062
15063 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15064
15065         * include/netdb.h [!_ISOMAC]:
15066         Don't include <tls.h>.
15067         (h_errno, __libc_h_errno): Move declaration and macros out of
15068         [_LIBC_REENTRANT].
15069
15070         * include/resolv.h [_RESOLV_H_]:
15071         Don't include <tls.h>.
15072         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15073         * resolv/res_libc.c: Don't include <tls.h>.
15074         (_res): Use __attribute__ ((nocommon)) in place of
15075         __attribute__ ((section (".bss"))).
15076
15077         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15078         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15079
15080         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15081
15082         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15083         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15084
15085         * resolv/res_mkquery.c: Include <sys/time.h>.
15086
15087         * inet/ifreq.c: Moved to ...
15088         * sysdeps/unix/ifreq.c: ... here.
15089         * inet/ifreq.c: New file, true stub version.
15090
15091         * socket/sa_len.c: New file.
15092         * socket/Makefile (aux): Add it.
15093         * sysdeps/unix/sysv/linux/Makefile
15094         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15095         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15096         and #include <socket/sa_len.c>.
15097         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15098         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15099
15100         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15101         * bits/socket.h: ... here.
15102
15103         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15104         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15105         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15106
15107 2013-08-27  Andreas Schwab  <schwab@suse.de>
15108
15109         [BZ #15736]
15110         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15111         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15112         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15113         * string/test-strcasecmp.c (test_main): Run tests in several
15114         locales.
15115         * string/test-strncasecmp.c (test_main): Likewise.
15116
15117         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15118         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15119         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15120         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15121         (__strncasecmp_ssse3) [PIC]: Likewise.
15122
15123 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15124
15125         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15126
15127         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15128         instead of explicitly declaring xdecrypt.
15129         * nis/nss_nis/nis-publickey.c: Likewise.
15130
15131 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15132
15133         [BZ #15890]
15134         * nscd/aicache.c: Include res_hconf.h.
15135         (addhstaiX): Initialize res_hconf.
15136
15137 2013-08-26  Andreas Schwab  <schwab@suse.de>
15138
15139         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15140         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15141
15142 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15143
15144         * nscd/aicache.c (addhstaiX): Fix indentation.
15145
15146 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15147
15148         * configure.ac: Quote $build_pt_chown test.
15149         * configure: Regenerated.
15150
15151 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15152
15153         [BZ #15532]
15154         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15155         * math/s_cexpf.c (__cexpf): Likewise.
15156         * math/s_cexpl.c (__cexpl): Likewise.
15157         * math/libm-test.inc (cexp_test_data): Correct expected return
15158         value for NaN + i0.  Add another test.
15159
15160 2013-08-22  David S. Miller  <davem@davemloft.net>
15161
15162         * po/ca.po: Update Catalan translation from translation project.
15163         * po/uk.po: Add Ukrainian translations from translation project.
15164
15165 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15166
15167         [BZ #15797]
15168         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15169         is infinite, not alongside NaN test.
15170         * math/s_fdimf.c (__fdimf): Likewise.
15171         * math/s_fdiml.c (__fdiml): Likewise.
15172         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15173         errno is unchanged.
15174
15175 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15176
15177         * argp/argp-help.c: Fix typos.
15178         * crypt/speeds.c: Likewise.
15179         * csu/check_fds.c: Likewise.
15180         * elf/dl-load.c: Likewise.
15181         * elf/dl-open.c: Likewise.
15182         * elf/reldep3.c: Likewise.
15183         * elf/reldep.c: Likewise.
15184         * elf/sprof.c: Likewise.
15185         * iconv/iconv_charmap.c: Likewise.
15186         * iconv/skeleton.c: Likewise.
15187         * iconv/strtab.c: Likewise.
15188         * io/lockf64.c: Likewise.
15189         * libio/libioP.h: Likewise.
15190         * resolv/gai_notify.c: Likewise.
15191         * resolv/ns_name.c: Likewise.
15192         * resolv/ns_samedomain.c: Likewise.
15193         * resolv/res_send.c: Likewise.
15194         * stdlib/random.c: Likewise.
15195         * sunrpc/rpc/xdr.h: Likewise.
15196         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15197         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15198         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15199         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15200         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15204         * sysdeps/mach/hurd/check_fds.c: Likewise.
15205         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15206         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15207         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15208         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15209         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15210         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15211         * sysdeps/pthread/aio_notify.c: Likewise.
15212         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15213         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15214         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15215         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15216         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15217
15218 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15219
15220         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15221         version if bit_Slow_SSE4_2 is set.
15222         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15223         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15224
15225 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15226
15227         [BZ #15867]
15228         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15229         trampoline stack frame information.
15230         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15231         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15232         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15233         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15234         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15235         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15236         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15237         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15238         sa_flags value.
15239         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15240         interrupting a syscall and set with option SA_SIGINFO.
15241
15242 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15243
15244         [BZ #15531]
15245         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15246         argument is infinite.
15247         * math/s_cprojf.c (__cprojf): Likewise.
15248         * math/s_cprojl.c (__cprojl): Likewise.
15249         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15250         * math/libm-test.inc (cproj_test_data): Add more tests.
15251
15252         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15253
15254         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15255         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15256         size.  Use __ffs to determine corresponding shift.
15257
15258 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15259             Roland McGrath  <roland@hack.frob.com>
15260
15261         * Makefile (INSTALL): Remove trailing blank lines from output of
15262         makeinfo.
15263
15264 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15265
15266         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15267         Align 32 bit compat elf_greg to 8 bytes.
15268
15269 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15270
15271         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15272
15273 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15274
15275         * string/strcoll_l.c (coll_seq): New structure.
15276         (get_next_seq_cached): New function.
15277         (get_next_seq): New function.
15278         (do_compare): New function.
15279         (STRCOLL): Use GNU style definition.  Simplify implementation
15280         by using get_next_seq, get_next_seq_cached and do_compare.
15281
15282 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15283
15284         [BZ #14699]
15285         CVE-2013-4237
15286         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15287         member.
15288         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15289         member.
15290         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15291         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15292         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15293         conditional.
15294         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15295         GETDENTS_64BIT_ALIGNED.
15296         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15297         * manual/filesys.texi (Reading/Closing Directory): Document
15298         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15299         strongly.
15300         * manual/conf.texi (Limits for Files): Add portability note to
15301         NAME_MAX, PATH_MAX.
15302         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15303
15304 2013-08-13  Andreas Schwab  <schwab@suse.de>
15305
15306         [BZ #15749]
15307         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15308         of fabs.
15309         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15310         LDBL_MAX_EXP >= 16384]: Add tests for it.
15311
15312 2013-08-12  David S. Miller  <davem@davemloft.net>
15313
15314         * version.h (RELEASE): Set to "development".
15315         (VERSION): Set to "2.18.90".
15316         * NEWS: Add 2.19 section.
15317
15318 2013-08-03  David S. Miller  <davem@davemloft.net>
15319
15320         * po/ko.po: Update Korean translation from translation project.
15321
15322 2013-08-01  David S. Miller  <davem@davemloft.net>
15323
15324         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15325         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15326         Bilka.
15327
15328 2013-07-30  David S. Miller  <davem@davemloft.net>
15329
15330         * po/fr.po: Update French translation from translation project.
15331
15332 2013-07-28  David S. Miller  <davem@davemloft.net>
15333
15334         * po/cs.po: Update Czech translation from translation project.
15335
15336         * po/sv.po: Update Swedish translation from translation project.
15337
15338 2013-07-27  David S. Miller  <davem@davemloft.net>
15339
15340         * po/eo.po: Update Esperanto translation from translation project.
15341
15342         * po/vi.po: Update Vietnamese translation from translation project.
15343
15344         * po/de.po: Update German translation from translation project.
15345
15346 2013-07-26  David S. Miller  <davem@davemloft.net>
15347
15348         * po/bg.po: Update Bulgarian translation from translation project.
15349
15350         * po/nl.po: Update Dutch translation from translation project.
15351         * po/pl.po: Update Polish translation from translation project.
15352         * po/ru.po: Update Russian translation from translation project.
15353
15354 2013-07-24  David S. Miller  <davem@davemloft.net>
15355
15356         * po/libc.pot: Update.
15357
15358 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15359
15360         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15361         variable page size.
15362         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15363         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15364         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15365
15366 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15367
15368         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15369
15370 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15371             Andreas Schwab  <schwab@suse.de>
15372             Roland McGrath  <roland@hack.frob.com>
15373             Joseph Myers  <joseph@codesourcery.com>
15374             Carlos O'Donell  <carlos@redhat.com>
15375
15376         [BZ #15755]
15377         * config.h.in: Define HAVE_PT_CHOWN.
15378         * config.make.in (build-pt-chown): New variable.
15379         * configure.in (--enable-pt_chown): New configure option.
15380         * configure: Regenerate.
15381         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15382         build-pt-chown is enabled.
15383         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15384         pt_chown to fix pty ownership.
15385         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15386         CLOSE_ALL_FDS.
15387         * manual/install.texi (Configuring and compiling): Mention
15388         --enable-pt_chown. Add @findex for grantpt.
15389         * INSTALL: Regenerate.
15390
15391 2013-07-20  David S. Miller  <davem@davemloft.net>
15392
15393         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15394         difference between 32-bit and 64-bit.
15395
15396 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15397
15398         [BZ #15711]
15399         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15400         Avoid system header dependency with -ffreestanding.
15401         ($(objpfx)bits/syscall%d): Likewise.
15402
15403 2013-07-13  David S. Miller  <davem@davemloft.net>
15404
15405         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15406         underflows from atanl/atan2l due to bug 15319.
15407         (casinh_test_data): Likewise.
15408
15409 2013-07-07  David S. Miller  <davem@davemloft.net>
15410
15411         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15412
15413 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15414
15415         * sysdeps/i386/fpu/libm-test-ulps: Update.
15416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15417
15418 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15419
15420         * configure.in (--enable-lock-elision): Fix message text.
15421         * INSTALL: Regenerate.
15422         * configure: Regenerate.
15423
15424 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15425
15426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15427
15428 2013-07-03  Andreas Jaeger  <aj@suse.de>
15429
15430         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15431         define.
15432         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15433         (ptrace_peeksiginfo_args): Add.
15434         (__ptrace_peeksiginfo_flags): Add.
15435         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15436         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15437         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15438
15439 2013-07-03  Allan McRae  <allan@archlinux.org>
15440
15441         * sysdeps/i386/fpu/libm-test-ulps: Update.
15442
15443 2013-07-02  David S. Miller  <davem@davemloft.net>
15444
15445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15446
15447 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15448
15449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15450
15451 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15452
15453         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15455
15456 2013-07-02  Andi Kleen <ak@linux.intel.com>
15457
15458         * config.h.in (ENABLE_LOCK_ELISION): Add.
15459         * configure.in (--enable-lock-elision): Add option.
15460         * manual/install.texi: Document --enable lock elision.
15461         * configure: Regenerate
15462         * INSTALL: Regenerate.
15463
15464 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15465
15466         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15467         SSE4.2 strcasecmp for libc.a.
15468         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15469
15470 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15471
15472         [BZ #13304]
15473         * soft-fp/op-common.h (_FP_FMA): New macro.
15474         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15475         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15476         (_FP_MUL_MEAT_1_imm): ... here.
15477         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15478         (_FP_MUL_MEAT_1_wide): ... here.
15479         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15480         (_FP_MUL_MEAT_1_hard): ... here.
15481         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15482         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15483         (_FP_MUL_MEAT_2_wide): ... here.
15484         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15485         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15486         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15487         (_FP_MUL_MEAT_2_gmp): ... here.
15488         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15489         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15490         (_FP_MUL_MEAT_4_wide): ... here.
15491         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15492         (_FP_MUL_MEAT_4_gmp): ... here.
15493         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15494         (_FP_WFRACBITS_DW_S): Likewise.
15495         (_FP_WFRACXBITS_DW_S): Likewise.
15496         (_FP_HIGHBIT_DW_S): Likewise.
15497         (FP_FMA_S): Likewise.
15498         (_FP_FRAC_HIGH_DW_S): Likewise.
15499         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15500         (_FP_WFRACBITS_DW_D): Likewise.
15501         (_FP_WFRACXBITS_DW_D): Likewise.
15502         (_FP_HIGHBIT_DW_D): Likewise.
15503         (FP_FMA_D): Likewise.
15504         (_FP_FRAC_HIGH_DW_D): Likewise.
15505         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15506         (_FP_WFRACBITS_DW_E): Likewise.
15507         (_FP_WFRACXBITS_DW_E): Likewise.
15508         (_FP_HIGHBIT_DW_E): Likewise.
15509         (FP_FMA_E): Likewise.
15510         (_FP_FRAC_HIGH_DW_E): Likewise.
15511         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15512         (_FP_WFRACBITS_DW_Q): Likewise.
15513         (_FP_WFRACXBITS_DW_Q): Likewise.
15514         (_FP_HIGHBIT_DW_Q): Likewise.
15515         (FP_FMA_Q): Likewise.
15516         (_FP_FRAC_HIGH_DW_Q): Likewise.
15517         * soft-fp/fmasf4.c: New file.
15518         * soft-fp/fmadf4.c: Likewise.
15519         * soft-fp/fmatf4.c: Likewise.
15520
15521 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15522
15523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15524         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15525         Silvermont.
15526         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15527         macro.
15528         (index_Slow_SSE4_2): Likewise.
15529         (index_Prefer_PMINUB_for_stringop): Likewise.
15530         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15531         bit_Slow_SSE4_2 is set.
15532         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15533         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15534
15535 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15536
15537         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15538         rtld_global._dl_hwcap2.
15539         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15540         POWER8.
15541         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15542         POWER8 feature descriptions defined in _dl_hwcap2.
15543         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15544         string handling for POWER8 feature bits.
15545         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15546         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15547         _dl_powerpc_cap_flags.
15548         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15549         * sysdeps/powerpc/rtld-global-offsets.sym
15550         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15551         _dl_hwcap2 in the rtld_global_ro structure.
15552
15553 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15554
15555         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15556         hardware capabilities in support of AT_HWCAP2.
15557         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15558         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15559         GLRO(dl_hwcap2).
15560         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15561         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15562         explicitly the unknown a_type display mechanism is used.
15563         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15564         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15565         struct member.
15566         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15567         to macro prototype for AT_HWCAP2 support.
15568         * sysdeps/i386/dl-procinfo.h: Likewise.
15569         * sysdeps/s390/dl-procinfo.h: Likewise.
15570         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15571         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15572         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15573         return -1 for unknown a_type display fallback.
15574         * sysdeps/sparc/dl-procinfo.h: Likewise.
15575         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15576         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15577
15578 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15579
15580         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15581         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15582
15583 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15584
15585         [BZ #12492]
15586         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15587         mprotect making __stack_prot writable.
15588
15589 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15590             Joseph Myers  <joseph@codesourcery.com>
15591
15592         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15593         as being properly aligned.
15594
15595 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15596
15597         * dlfcn/modstatic5.c: New file.
15598         * dlfcn/tststatic5.c: New file.
15599         * dlfcn/Makefile (tests): Add tststatic5.
15600         (tests-static): Likewise.
15601         (modules-names): Add modstatic5.
15602         (tststatic5-ENV): New variable.
15603         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15604
15605         [BZ #15022]
15606         * elf/dl-support.c (_dl_main_map): New variable.
15607         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15608         (_dl_nns, _dl_load_adds): Set to 1.
15609         (_dl_initial_searchlist): Refer to _dl_main_map.
15610         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15611         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15612         call to _dl_get_origin.
15613         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15614         around call_map.
15615         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15616         * dlfcn/modstatic3.c: New file.
15617         * dlfcn/tststatic3.c: New file.
15618         * dlfcn/tststatic4.c: New file.
15619         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15620         (tests-static): Likewise.
15621         (modules-names): Add modstatic3.
15622         (tststatic3-ENV, tststatic4-ENV): New variables.
15623         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15624         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15625
15626 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15627
15628         * configure.in (CC): Require GCC version 4.4 or later.
15629         * configure: Regenerated.
15630         * manual/install.texi (Tools for Compilation): Update GCC version
15631         requirement.
15632         * INSTALL: Regenerated.
15633
15634 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15635
15636         [BZ #15674]
15637         * string/test-memcmp.c (check2): New.
15638         (main): Call check2.
15639
15640         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15641
15642 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15643
15644         [BZ #15022]
15645         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15646         over to...
15647         (dl_open_worker) [!SHARED]: ... here.
15648
15649 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15650
15651         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15652
15653 2013-06-25  Richard Henderson  <rth@redhat.com>
15654
15655         * locale/programs/locarchive.c: Include <libc-internal.h>
15656
15657 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15658
15659         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15660         trailing whitespace removed.
15661
15662 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15663
15664         [BZ #10283]
15665         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15666         * locale/programs/locarchive.c: Include libc-mmap.h.
15667         (prepare_address_space): Take two new outputs (the mmap base and len).
15668         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15669         values.
15670         (create_archive): Declare new mmap base and len values for
15671         prepare_address_space, and store the result in ah.
15672         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15673         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15674         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15675         Declare new mmap base and len values for
15676         prepare_address_space, and store the result in new_ah.
15677         (open_archive): Declare new mmap base and len values for
15678         prepare_address_space, and store the result in ah.
15679         (close_archive): If ah->mmap_base is not NULL, use that and
15680         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15681         * sysdeps/generic/libc-mmap.h: New file.
15682
15683 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15684
15685         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15686         (ALIGN_UP): Likewise.
15687         (PTR_ALIGN_DOWN): Likewise.
15688         (PTR_ALIGN_UP): Likewise.
15689
15690 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15691
15692         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15693         entry mapped to PPC_PLATFORM_POWER8.
15694         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15695         POWER8.
15696         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15697         (_dl_string_platform): Add case for exporting platform position for
15698         POWER8.
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15700         search path to sysdeps/powerpc/powerpc32/power8 directory.
15701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15702         search path to sysdeps/powerpc/powerpc64/power8 directory.
15703         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15704         power7 directories.
15705         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15706         power7 directories.
15707
15708 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15709
15710         * INSTALL: Regenerate.
15711
15712         * nscd/connections.c (nscd_init): Fix comment.
15713
15714 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15715
15716         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15717
15718         [BZ #15667]
15719         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15720         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15721
15722 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15723
15724         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15725         DL_DST_REQ_STATIC.
15726         (DL_DST_REQ_STATIC): Remove macro.
15727
15728 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15729
15730         [BZ #7006]
15731         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15732         with a shift of 0 bits.
15733
15734 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15735
15736         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15737         $(tststatic-ENV).
15738
15739 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15740
15741         [BZ #15655]
15742         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15743
15744 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15745
15746         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15747         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15748         accepts -fno-tree-loop-distribute-patterns.
15749         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15750         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15751         recursive call.
15752         * string/memset.c (memset): Likewise.
15753         * string/test-memmove.c (simple_memmove): Disable loop transformation
15754         to library calls.
15755         * string/test-memset.c (simple_memset): Likewise.
15756         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15757         * benchtests/bench-memset.c (simple_memset): Likewise.
15758         * configure: Regenerated.
15759
15760 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15761
15762         * math/test-misc.c (main): Ignore fesetround failure when failures
15763         of subsequent rounding tests would be ignored.
15764
15765         [BZ #15654]
15766         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15767         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15768         * math/fegetenv.c (__fegetenv): Return 0.
15769         * math/fegetexcept.c (fegetexcept): Return 0.
15770         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15771         FE_TONEAREST.
15772         * math/feholdexcpt.c (feholdexcept): Return 0.
15773         * math/fesetenv.c (__fesetenv): Return 0.
15774         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15775         argument FE_TONEAREST.
15776         * math/feupdateenv.c (__feupdateenv): Return 0.
15777         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15778
15779 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15780
15781         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15782         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15783         ($(objpfx)rtld-%.os rules): Use them.
15784
15785 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15786
15787         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15788         fields.
15789
15790 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15791
15792         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15793         length of target pattern, then descending length of dependency pattern.
15794         * configure.in (AWK): Require gawk 3.1.2 or newer.
15795         * manual/install.texi (Tools for Compilation): Say that we do.
15796         * configure: Regenerated.
15797
15798         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15799         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15800         * scripts/sysd-rules.awk: ... this new script.
15801         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15802         than a glob-style pattern.
15803
15804 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15805
15806         * math/test-misc.c (main): Do not treat incorrectly rounded
15807         conversions as failure unless ROUNDING_TESTS passes.
15808
15809 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15810
15811         [BZ #15631]
15812         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15813         restore exception state around main square root computation, then
15814         check for inexactness explicitly.
15815
15816         * math/libm-test.inc (fma_test_data): Add another test.
15817
15818 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15819
15820         * manual/threads.texi (Non-POSIX Extensions): New document
15821         node.  Document pthread_getattr_default_np and
15822         pthread_setattr_default_np.
15823
15824         * Versions.def (libpthread): Add GLIBC_2.18.
15825         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15827         Likewise.
15828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15829         Likewise.
15830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15831         Likewise.
15832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15833         Likewise.
15834         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15835         Likewise.
15836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15837         Likewise.
15838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15839         Likewise.
15840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15841         Likewise.
15842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15843         Likewise.
15844
15845 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15846
15847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15848         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15849
15850 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15851             H.J. Lu  <hjl.tools@gmail.com>
15852
15853         [BZ #15627]
15854         * sysdeps/x86_64/rtld-memset.c: Remove file.
15855         * sysdeps/x86_64/rtld-memset.S: New file.
15856
15857 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15858
15859         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15860         (test_in_one_mode): Take arguments for whether the rounding mode
15861         is supported for each floating-point type.
15862         (do_test): Pass new arguments to test_in_one_mode using
15863         ROUNDING_TESTS.
15864
15865 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15866
15867         * posix/tst-waitid.c (do_test): Distinguish different instances of
15868         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15869         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15870         before entering the kernel for waitpid.
15871
15872 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15873
15874         * NEWS: Fix note on clock function precision.  Text by Roland
15875         McGrath.
15876
15877 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15878
15879         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15880         it into place only when and if the sanity check passes.
15881
15882 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15883
15884         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15885         output for whether conversion result is exact.  Take argument
15886         indicating whether type is IBM long double.
15887         (round_for_all): Change need_exact field to ibm_ld.
15888         * stdlib/tst-strtod-round.c (struct exactness): New type.
15889         (struct test): Change bool ld_ok field to struct exactness exact.
15890         (TEST): Update all definitions for change to field.
15891         (tests): Regenerate array contents.
15892         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15893         field value.  Check for IBM long double here.
15894         (do_test): Update calls to test_in_one_mode.
15895
15896 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15897
15898         [BZ #12515]
15899         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15900         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15901
15902 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15903
15904         [BZ #15605]
15905         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15906         generated by the compiler on loop optimizations.
15907         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15908         general definitions.
15909
15910 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15911
15912         * math/bug-nextafter.c: Include <math-tests.h>.
15913         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15914         the relevant type.
15915         * math/bug-nexttoward.c: Include <math-tests.h>.
15916         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15917         the relevant type.
15918         * math/test-misc.c: Include <math-tests.h>.
15919         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15920         the relevant type.
15921
15922 2013-06-12  Andreas Jaeger  <aj@suse.de>
15923
15924         * po/ia.po: Update Interlingua translation from translation
15925         project.
15926
15927 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15928
15929         * include/fenv.h: Include stdbool.h.
15930         (struct rm_ctx): New structure.
15931         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15932         Define macro.
15933         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15934         (SET_RESTORE_ROUNDF): Likewise.
15935         (SET_RESTORE_ROUNDL): Likewise.
15936         (SET_RESTORE_ROUND_NOEX): Likewise.
15937         (SET_RESTORE_ROUND_NOEXF): Likewise.
15938         (SET_RESTORE_ROUND_NOEXL): Likewise.
15939         (SET_RESTORE_ROUND_53BIT): Likewise.
15940         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15941         (libc_feresetround_noexf_ctx): Likewise.
15942         (libc_feresetround_noexl_ctx): Likewise.
15943         (libc_feholdsetround_53bit_ctx): Likewise.
15944         (libc_feresetround_53bit_ctx): Likewise.
15945         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15946         (libc_feholdexcept_setround_sse_ctx): New function.
15947         (libc_fesetenv_sse_ctx): Likewise.
15948         (libc_feupdateenv_sse_ctx): Likewise.
15949         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15950         (libc_feholdexcept_setround_387_ctx): Likewise.
15951         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15952         (libc_feholdsetround_387_prec_ctx): Likewise.
15953         (libc_feholdsetround_387_ctx): Likewise.
15954         (libc_feholdsetround_387_53bit_ctx): Likewise.
15955         (libc_feholdsetround_sse_ctx): Likewise.
15956         (libc_feresetround_sse_ctx): Likewise.
15957         (libc_feresetround_387_ctx): Likewise.
15958         (libc_feupdateenv_387_ctx): Likewise.
15959         (libc_feholdexcept_setroundf_ctx): Define macro.
15960         (libc_fesetenvf_ctx): Likewise.
15961         (libc_feupdateenvf_ctx): Likewise.
15962         (libc_feholdsetroundf_ctx): Likewise.
15963         (libc_feresetroundf_ctx): Likewise.
15964         (libc_feholdexcept_setround_ctx): Likewise.
15965         (libc_fesetenv_ctx): Likewise.
15966         (libc_feupdateenv_ctx): Likewise.
15967         (libc_feholdsetround_ctx): Likewise.
15968         (libc_feresetround_ctx): Likewise.
15969         (libc_feholdexcept_setroundl_ctx): Likewise.
15970         (libc_feupdateenvl_ctx): Likewise.
15971         (libc_feholdsetroundl_ctx): Likewise.
15972         (libc_feresetroundl_ctx): Likewise.
15973         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15974         (libc_feresetround_53bit_ctx): Likewise.
15975
15976 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15977
15978         * locale/iso-639.def: Convert to UTF-8.
15979
15980 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15981
15982         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15983         (EXCEPTION_TESTS_double): Likewise.
15984         (EXCEPTION_TESTS_long_double): Likewise.
15985         (EXCEPTION_TESTS): Likewise.
15986         * math/libm-test.inc (test_exceptions): Only test exceptions if
15987         EXCEPTION_TESTS (FLOAT).
15988
15989 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15990
15991         * benchtests/Makefile (string-bench): Add strcpy_chk and
15992         stpcpy_chk.
15993         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15994         * benchtests/bench-stpcpy_chk.c: New file.
15995         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15996         * benchtests/bench-strcpy_chk.c: New file.
15997         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15998         code.
15999         (do_test): Likewise.
16000
16001 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16002
16003         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16004         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16005         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16006         with tabs where appropriate.
16007         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16008         dl-procinfo.h.
16009         [PPC_PLATFORM_PPC440]: Likewise.
16010         [PPC_PLATFORM_PPC464]: Likewise.
16011         [PPC_PLATFORM_PPC476]: Likewise.
16012         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16013         ppc464, and ppc476 platform strings merging from ports/
16014         dl-procinfo.h.
16015
16016 2013-06-11  Andreas Schwab  <schwab@suse.de>
16017
16018         [BZ #14991]
16019         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16020         (from_ucs4_idx): Regenerate.
16021         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16022         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16023         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16024         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16025         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16026         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16027         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16028         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16029         from FROM_LOOP and TO_LOOP specific macros.
16030         (BODY): Handle combining characters.
16031         * iconvdata/BIG5HKSCS.irreversible: Update.
16032         * iconvdata/BIG5HKSCS.precomposed: New file.
16033         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16034         characters.
16035         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16036
16037 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16038
16039         * include/sys/time.h: Fix indentation and add copyright header.
16040
16041         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16042         (do_test): Likewise.
16043         * string/test-memchr.c (do_one_test): Likewise.
16044         (do_test): Likewise.
16045         * string/test-memcmp.c (do_one_test): Likewise.
16046         (do_test): Likewise.
16047         * string/test-memcpy.c (do_one_test): Likewise.
16048         (do_test): Likewise.
16049         * string/test-memmem.c (do_one_test): Likewise.
16050         (do_test): Likewise.
16051         (do_random_tests): Likewise.
16052         * string/test-memmove.c (do_one_test): Likewise.
16053         (do_test): Likewise.
16054         * string/test-memset.c (do_one_test): Likewise.
16055         (do_test): Likewise.
16056         * string/test-rawmemchr.c (do_one_test): Likewise.
16057         (do_test): Likewise.
16058         * string/test-strcasecmp.c (do_one_test): Likewise.
16059         (do_test): Likewise.
16060         * string/test-strcasestr.c (do_one_test): Likewise.
16061         (do_test): Likewise.
16062         * string/test-strcat.c (do_one_test): Likewise.
16063         (do_test): Likewise.
16064         * string/test-strchr.c (do_one_test): Likewise.
16065         (do_test): Likewise.
16066         * string/test-strcmp.c (do_one_test): Likewise.
16067         (do_test): Likewise.
16068         * string/test-strcpy.c (do_one_test): Likewise.
16069         (do_test): Likewise.
16070         * string/test-string.h: Likewise.
16071         (test_init): Likewise.
16072         * string/test-strlen.c (do_one_test): Likewise.
16073         (do_test): Likewise.
16074         * string/test-strncasecmp.c (do_one_test): Likewise.
16075         (do_test): Likewise.
16076         * string/test-strncat.c (do_one_test): Likewise.
16077         (do_test): Likewise.
16078         * string/test-strncmp.c (do_one_test): Likewise.
16079         (do_test_limit): Likewise.
16080         (do_test): Likewise.
16081         * string/test-strncpy.c (do_one_test): Likewise.
16082         (do_test): Likewise.
16083         * string/test-strnlen.c (do_one_test): Likewise.
16084         (do_test): Likewise.
16085         * string/test-strpbrk.c (do_one_test): Likewise.
16086         (do_test): Likewise.
16087         * string/test-strrchr.c (do_one_test): Likewise.
16088         (do_test): Likewise.
16089         * string/test-strspn.c (do_one_test): Likewise.
16090         (do_test): Likewise.
16091         * string/test-strstr.c (do_one_test): Likewise.
16092         (do_test): Likewise.
16093
16094         * benchtests/Makefile (string-bench): Add string benchmarks.
16095         * benchtests/bench-bcopy-ifunc.c: New file.
16096         * benchtests/bench-bcopy.c: New file.
16097         * benchtests/bench-bzero-ifunc.c: New file.
16098         * benchtests/bench-bzero.c: New file.
16099         * benchtests/bench-memccpy-ifunc.c: New file.
16100         * benchtests/bench-memccpy.c: New file.
16101         * benchtests/bench-memchr-ifunc.c: New file.
16102         * benchtests/bench-memchr.c: New file.
16103         * benchtests/bench-memcmp-ifunc.c: New file.
16104         * benchtests/bench-memcmp.c: New file.
16105         * benchtests/bench-memmem-ifunc.c: New file.
16106         * benchtests/bench-memmem.c: New file.
16107         * benchtests/bench-memmove-ifunc.c: New file.
16108         * benchtests/bench-memmove.c: New file.
16109         * benchtests/bench-mempcpy-ifunc.c: New file.
16110         * benchtests/bench-mempcpy.c: New file.
16111         * benchtests/bench-memset-ifunc.c: New file.
16112         * benchtests/bench-memset.c: New file.
16113         * benchtests/bench-rawmemchr-ifunc.c: New file.
16114         * benchtests/bench-rawmemchr.c: New file.
16115         * benchtests/bench-stpcpy-ifunc.c: New file.
16116         * benchtests/bench-stpcpy.c: New file.
16117         * benchtests/bench-stpncpy-ifunc.c: New file.
16118         * benchtests/bench-stpncpy.c: New file.
16119         * benchtests/bench-strcasecmp-ifunc.c: New file.
16120         * benchtests/bench-strcasecmp.c: New file.
16121         * benchtests/bench-strcasestr-ifunc.c: New file.
16122         * benchtests/bench-strcasestr.c: New file.
16123         * benchtests/bench-strcat-ifunc.c: New file.
16124         * benchtests/bench-strcat.c: New file.
16125         * benchtests/bench-strchr-ifunc.c: New file.
16126         * benchtests/bench-strchr.c: New file.
16127         * benchtests/bench-strchrnul-ifunc.c: New file.
16128         * benchtests/bench-strchrnul.c: New file.
16129         * benchtests/bench-strcmp-ifunc.c: New file.
16130         * benchtests/bench-strcmp.c: New file.
16131         * benchtests/bench-strcpy-ifunc.c: New file.
16132         * benchtests/bench-strcpy.c: New file.
16133         * benchtests/bench-strcspn-ifunc.c: New file.
16134         * benchtests/bench-strcspn.c: New file.
16135         * benchtests/bench-strlen-ifunc.c: New file.
16136         * benchtests/bench-strlen.c: New file.
16137         * benchtests/bench-strncasecmp-ifunc.c: New file.
16138         * benchtests/bench-strncasecmp.c: New file.
16139         * benchtests/bench-strncat-ifunc.c: New file.
16140         * benchtests/bench-strncat.c: New file.
16141         * benchtests/bench-strncmp-ifunc.c: New file.
16142         * benchtests/bench-strncmp.c: New file.
16143         * benchtests/bench-strncpy-ifunc.c: New file.
16144         * benchtests/bench-strncpy.c: New file.
16145         * benchtests/bench-strnlen-ifunc.c: New file.
16146         * benchtests/bench-strnlen.c: New file.
16147         * benchtests/bench-strpbrk-ifunc.c: New file.
16148         * benchtests/bench-strpbrk.c: New file.
16149         * benchtests/bench-strrchr-ifunc.c: New file.
16150         * benchtests/bench-strrchr.c: New file.
16151         * benchtests/bench-strspn-ifunc.c: New file.
16152         * benchtests/bench-strspn.c: New file.
16153         * benchtests/bench-strstr-ifunc.c: New file.
16154         * benchtests/bench-strstr.c: New file.
16155
16156         * benchtests/Makefile: Disable parallel execution of targets.
16157         (string-bench): Add memcpy.
16158         (benchset): New variable to store a list of benchmark sets.
16159         (bench-func): Renamed from bench.
16160         (bench-set): New target.
16161         (bench): Depend on bench-func and bench-set.
16162         * benchtests/README: Add section on benchmark sets.
16163         * benchtests/bench-memcpy-ifunc.c: New file.
16164         * benchtests/bench-memcpy.c: New file.
16165         * benchtests/bench-string.h: New file.
16166
16167 2013-06-11  Andreas Schwab  <schwab@suse.de>
16168
16169         [BZ #15577]
16170         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16171         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16172         values in the triple.
16173         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16174         terminator in the group key.
16175
16176 2013-06-11  Andreas Jaeger  <aj@suse.de>
16177
16178         * po/zh_TW.po: Update Chinese (traditional) translation from
16179         translation project.
16180
16181 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16182
16183         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16184         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16185         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16186         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16187         (clock_getcpuclockid): Likewise.
16188         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16189         Add weak_alias and libc_hidden_def.
16190         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16191         * rt/clock_gettime.c (clock_gettime): Rename to
16192         __clock_gettime.  Add weak_alias and libc_hidden_def.
16193         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16194         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16195         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16196         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16197         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16198         Likewise.
16199         * rt/clock_settime.c (clock_settime): Rename to
16200         __clock_settime.  Add weak_alias and libc_hidden_def.
16201         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16202
16203 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16204
16205         * mach/err_boot.sub: Remove trailing whitespace.
16206         * mach/err_ipc.sub: Likewise.
16207         * mach/err_mach.sub: Likewise.
16208
16209         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16210         (ROUNDING_TESTS_double): Likewise.
16211         (ROUNDING_TESTS_long_double): Likewise.
16212         (ROUNDING_TESTS): Likewise.
16213         * math/libm-test.inc: Include <math-tests.h>.
16214         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16215         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16216         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16217         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16218
16219 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16220
16221         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16222         of assigning.
16223
16224 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16225
16226         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16227         otherwise empty TRANS lines.
16228         * sysdeps/gnu/errlist.c: Regenerated.
16229
16230         * catgets/gencat.c (error_print): Use (void) in function
16231         definition.
16232         * crypt/crypt_util.c (__init_des): Likewise.
16233         * crypt/speeds.c (Stop): Likewise.
16234         (main): Likewise.
16235         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16236         * inet/ruserpass.c (token): Likewise.
16237         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16238         * intl/localealias.c (extend_alias_table): Likewise.
16239         * intl/plural-exp.c (init_germanic_plural): Likewise.
16240         * libio/fcloseall.c (__fcloseall): Likewise.
16241         * libio/genops.c (_IO_flush_all): Likewise.
16242         (_IO_flush_all_linebuffered): Likewise.
16243         (_IO_cleanup): Likewise.
16244         (_IO_iter_begin): Likewise.
16245         (_IO_iter_end): Likewise.
16246         (_IO_list_lock): Likewise.
16247         (_IO_list_unlock): Likewise.
16248         (_IO_list_resetlock): Likewise.
16249         * libio/getchar.c (getchar): Likewise.
16250         * libio/getchar_u.c (getchar_unlocked): Likewise.
16251         * libio/getwchar.c (getwchar): Likewise.
16252         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16253         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16254         * login/getpt.c (__getpt): Likewise.
16255         * login/tst-utmp.c (main): Likewise.
16256         * malloc/hooks.c (__malloc_check_init): Likewise.
16257         * malloc/malloc.c (__malloc_stats): Likewise.
16258         * malloc/mtrace.c (tr_break): Likewise.
16259         (mtrace): Likewise.
16260         (muntrace): Likewise.
16261         * misc/fstab.c (endfsent): Likewise.
16262         * misc/getclktck.c (__getclktck): Likewise.
16263         * misc/getdtsz.c (__getdtablesize): Likewise.
16264         * misc/gethostid.c (gethostid): Likewise.
16265         * misc/getpagesize.c (__getpagesize): Likewise.
16266         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16267         (__get_nprocs): Likewise.
16268         (__get_phys_pages): Likewise.
16269         (__get_avphys_pages): Likewise.
16270         * misc/getttyent.c (getttyent): Likewise.
16271         (setttyent): Likewise.
16272         (endttyent): Likewise.
16273         * misc/getusershell.c (getusershell): Likewise.
16274         (endusershell): Likewise.
16275         (setusershell): Likewise.
16276         (initshells): Likewise.
16277         * misc/hsearch.c (__hdestroy): Likewise.
16278         * misc/sync.c (sync): Likewise.
16279         * misc/syslog.c (closelog_internal): Likewise.
16280         (closelog): Likewise.
16281         * misc/ttyslot.c (ttyslot): Likewise.
16282         * misc/vhangup.c (vhangup): Likewise.
16283         * posix/fork.c (__fork): Likewise.
16284         * posix/getegid.c (__getegid): Likewise.
16285         * posix/geteuid.c (__geteuid): Likewise.
16286         * posix/getgid.c (__getgid): Likewise.
16287         * posix/getpid.c (__getpid): Likewise.
16288         * posix/getppid.c (__getppid): Likewise.
16289         * posix/getuid.c (__getuid): Likewise.
16290         * posix/pause.c (pause): Likewise.
16291         * posix/setpgrp.c (setpgrp): Likewise.
16292         * posix/setsid.c (__setsid): Likewise.
16293         * posix/test-vfork.c (noop): Likewise.
16294         * resolv/gethnamaddr.c (_endhtent): Likewise.
16295         (_gethtent): Likewise.
16296         (ht_endhostent): Likewise.
16297         (gethostent): Likewise.
16298         (dns_service): Likewise.
16299         * stdlib/drand48.c (drand48): Likewise.
16300         * stdlib/lrand48.c (lrand48): Likewise.
16301         * stdlib/mrand48.c (mrand48): Likewise.
16302         * stdlib/rand.c (rand): Likewise.
16303         * stdlib/random.c (__random): Likewise.
16304         * stdlib/setenv.c (clearenv): Likewise.
16305         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16306         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16307         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16308         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16309         (__get_nprocs): Likewise.
16310         (__get_phys_pages): Likewise.
16311         (__get_avphys_pages): Likewise.
16312         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16313         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16314         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16315         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16316         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16317         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16318         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16319         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16320         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16321         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16322         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16323         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16324         * sysdeps/posix/clock.c (clock): Likewise.
16325         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16326         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16327         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16328         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16329         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16331         (__get_nprocs_conf): Likewise.
16332         (__get_phys_pages): Likewise.
16333         (__get_avphys_pages): Likewise.
16334         * time/clock.c (clock): Likewise.
16335         * time/tzset.c (__tzname_max): Likewise.
16336
16337 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16338
16339         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16340         (__bswap_32): Do not use "register".
16341         * crypt/crypt.c (_ufc_doit_r): Likewise.
16342         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16343         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16344         * gmon/gmon.c (__monstartup): Likewise.
16345         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16346         * hurd/hurdmalloc.c (more_memory): Likewise.
16347         (malloc): Likewise.
16348         (free): Likewise.
16349         (realloc): Likewise.
16350         (malloc_fork_prepare): Likewise.
16351         (malloc_fork_parent): Likewise.
16352         (malloc_fork_child): Likewise.
16353         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16354         (_svcauth_des): Likewise.
16355         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16356         * inet/inet_net.c (inet_network): Likewise.
16357         * inet/inet_netof.c (inet_netof): Likewise.
16358         * inet/rcmd.c (__validuser2_sa): Likewise.
16359         * io/fts.c (fts_open): Likewise.
16360         (fts_load): Likewise.
16361         (fts_close): Likewise.
16362         (fts_read): Likewise.
16363         (fts_children): Likewise.
16364         (fts_build): Likewise.
16365         (fts_stat): Likewise.
16366         (fts_sort): Likewise.
16367         (fts_alloc): Likewise.
16368         (fts_lfree): Likewise.
16369         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16370         (_IO_file_xsgetn): Likewise.
16371         (_IO_file_xsgetn_mmap): Likewise.
16372         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16373         (_IO_cookie_write): Likewise.
16374         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16375         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16376         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16377         * malloc/obstack.c (_obstack_begin): Likewise.
16378         (_obstack_begin_1): Likewise.
16379         (_obstack_newchunk): Likewise.
16380         (_obstack_allocated_p): Likewise.
16381         (obstack_free): Likewise.
16382         (_obstack_memory_used): Likewise.
16383         * misc/getttyent.c (getttynam): Likewise.
16384         (getttyent): Likewise.
16385         (skip): Likewise.
16386         (value): Likewise.
16387         * misc/getusershell.c (initshells): Likewise.
16388         * misc/syslog.c (__vsyslog_chk): Likewise.
16389         * misc/ttyslot.c (ttyslot): Likewise.
16390         * nis/nis_hash.c (__nis_hash): Likewise.
16391         * posix/fnmatch_loop.c (FCT): Likewise.
16392         * posix/getconf.c (print_all): Likewise.
16393         (main): Likewise.
16394         * posix/getopt.c (exchange): Likewise.
16395         * posix/glob.c (globfree): Likewise.
16396         (prefix_array): Likewise.
16397         (__glob_pattern_type): Likewise.
16398         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16399         (NS_GET32): Likewise.
16400         (NS_PUT16): Likewise.
16401         (NS_PUT32): Likewise.
16402         * resolv/gethnamaddr.c (getanswer): Likewise.
16403         (gethostbyname2): Likewise.
16404         (gethostbyaddr): Likewise.
16405         (_gethtent): Likewise.
16406         (_gethtbyname2): Likewise.
16407         (_gethtbyaddr): Likewise.
16408         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16409         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16410         * resolv/res_init.c (__res_vinit): Likewise.
16411         (net_mask): Likewise.
16412         * resolv/res_mkquery.c (outchar): Likewise.
16413         (PRINT): Likewise.
16414         * stdio-common/printf_fp.c (outchar): Likewise.
16415         (PRINT): Likewise.
16416         * stdio-common/printf_fphex.c (outchar): Likewise.
16417         (PRINT): Likewise.
16418         * stdio-common/printf_size.c (outchar): Likewise.
16419         (PRINT): Likewise.
16420         * stdio-common/test_rdwr.c (main): Likewise.
16421         * stdio-common/tfformat.c (matches): Likewise.
16422         * stdio-common/vfprintf.c (outchar): Likewise.
16423         (printf_unknown): Likewise.
16424         (buffered_vfprintf): Likewise.
16425         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16426         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16427         (ReadFile): Likewise.
16428         * stdlib/qsort.c (SWAP): Likewise.
16429         (_quicksort): Likewise.
16430         * stdlib/setenv.c (__add_to_environ): Likewise.
16431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16432         * stdlib/strtol_l.c (__strtol_l): Likewise.
16433         * stdlib/tst-strtod.c (main): Likewise.
16434         * stdlib/tst-strtol.c (main): Likewise.
16435         * stdlib/tst-strtoll.c (main): Likewise.
16436         * string/bits/string2.h (__strcmp_cc): Likewise.
16437         (__strcmp_cg): Likewise.
16438         (__strcspn_c1): Likewise.
16439         (__strcspn_c2): Likewise.
16440         (__strcspn_c3): Likewise.
16441         (__strspn_c1): Likewise.
16442         (__strspn_c2): Likewise.
16443         (__strspn_c3): Likewise.
16444         (__strsep_1c): Likewise.
16445         (__strsep_2c): Likewise.
16446         (__strsep_3c): Likewise.
16447         * string/memccpy.c (__memccpy): Likewise.
16448         * string/stpcpy.c (__stpcpy): Likewise.
16449         * string/strcmp.c (strcmp): Likewise.
16450         * string/strrchr.c (strrchr): Likewise.
16451         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16452         Likewise.
16453         * sysdeps/mach/hurd/getcwd.c
16454         (_hurd_canonicalize_directory_name_internal): Likewise.
16455         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16456         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16457         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16458         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16459         Likewise, in both definitions.
16460         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16461         definitions.
16462         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16463         64] (__bswap_64): Likewise.
16464         * time/test_time.c (main): Likewise.
16465         * time/tzfile.c (__tzfile_read): Likewise.
16466         (__tzfile_compute): Likewise.
16467         * time/tzset.c (__tzset_parse_tz): Likewise.
16468         (tzset_internal): Likewise.
16469         (compute_change): Likewise.
16470         * wcsmbs/wcscat.c (__wcscat): Likewise.
16471         * wcsmbs/wcschr.c (wcschr): Likewise.
16472         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16473         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16474         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16475         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16476         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16477         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16478         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16479         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16480         * wcsmbs/wmemset.c (wmemset): Likewise.
16481
16482 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16483
16484         * scripts/config.guess: Update to version 2013-05-16.
16485         * scripts/config.sub: Update to version 2013-04-24.
16486         * scripts/install-sh: Update to version 2011-11-20.07.
16487         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16488         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16489
16490 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16491
16492         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16493         * elf/sln.c: Likewise.
16494         * hurd/hurd/ioctl.h: Likewise.
16495         * hurd/hurdmalloc.c: Likewise.
16496         * hurd/xattr.c: Likewise.
16497         * include/shlib-compat.h: Likewise.
16498         * inet/ruserpass.c: Likewise.
16499         * libio/iofgets_u.c: Likewise.
16500         * libio/iofgetws_u.c: Likewise.
16501         * locale/programs/ld-identification.c: Likewise.
16502         * locale/programs/ld-time.c: Likewise.
16503         * mach/msg-destroy.c: Likewise.
16504         * nss/nss_files/files-netgrp.c: Likewise.
16505         * resolv/res_data.c: Likewise.
16506         * soft-fp/op-1.h: Likewise.
16507         * soft-fp/op-2.h: Likewise.
16508         * soft-fp/op-4.h: Likewise.
16509         * soft-fp/op-common.h: Likewise.
16510         * stdio-common/printf_fphex.c: Likewise.
16511         * stdlib/strtod_l.c: Likewise.
16512         * sunrpc/rpc/clnt.h: Likewise.
16513         * sysdeps/generic/framestate.c: Likewise.
16514         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16515         * sysdeps/i386/bsd-setjmp.S: Likewise.
16516         * sysdeps/i386/__longjmp.S: Likewise.
16517         * sysdeps/i386/setjmp.S: Likewise.
16518         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16519         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16521         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16522         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16523         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16526         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16528         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16529         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16530         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16531         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16532         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16533         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16534         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16535         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16536         * sysdeps/ieee754/support.c: Likewise.
16537         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16538         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16539         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16540         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16541         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16542         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16543         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16544         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16545         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16546         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16547         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16548         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16549         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16550         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16551         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16552         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16553         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16555
16556 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16557
16558         * posix/transbug.c: Remove executable mode.
16559
16560 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16561
16562         * crypt/speeds.c: Remove trailing whitespace.
16563         * dlfcn/default.c: Likewise.
16564         * elf/ifuncdep2.c: Likewise.
16565         * elf/ifuncmain1.c: Likewise.
16566         * elf/ifuncmain1vis.c: Likewise.
16567         * elf/testobj.h: Likewise.
16568         * elf/tst-stackguard1.c: Likewise.
16569         * gmon/sys/gmon.h: Likewise.
16570         * hurd/hurdmsg.c: Likewise.
16571         * hurd/new-fd.c: Likewise.
16572         * hurd/ports-get.c: Likewise.
16573         * iconvdata/ibm1008_420.c: Likewise.
16574         * inet/tst-getni1.c: Likewise.
16575         * inet/tst-getni2.c: Likewise.
16576         * libio/ioungetc.c: Likewise.
16577         * libio/wfiledoalloc.c: Likewise.
16578         * manual/libm-err-tab.pl: Likewise.
16579         * math/w_dremf.c: Likewise.
16580         * misc/ftruncate.c: Likewise.
16581         * posix/bug-glob2.c: Likewise.
16582         * posix/tst-pcre.c: Likewise.
16583         * posix/wait4.c: Likewise.
16584         * resolv/README: Likewise.
16585         * resolv/res_debug.h: Likewise.
16586         * resolv/tst-inet_ntop.c: Likewise.
16587         * setjmp/bug269-setjmp.c: Likewise.
16588         * soft-fp/extended.h: Likewise.
16589         * soft-fp/op-1.h: Likewise.
16590         * soft-fp/op-2.h: Likewise.
16591         * soft-fp/op-4.h: Likewise.
16592         * soft-fp/op-8.h: Likewise.
16593         * soft-fp/testit.c: Likewise.
16594         * stdio-common/bug16.c: Likewise.
16595         * stdlib/random.c: Likewise.
16596         * sunrpc/rpcsvc/rquota.x: Likewise.
16597         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16598         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16599         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16600         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16601         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16602         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16603         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16604         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16605         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16606         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16607         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16608         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16609         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16610         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16611         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16612         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16613         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16614         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16615         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16616         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16617         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16618         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16619         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16620         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16621         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16623         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16624         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16625         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16626         * sysdeps/ieee754/s_lib_version.c: Likewise.
16627         * sysdeps/mach/hurd/check_fds.c: Likewise.
16628         * sysdeps/mach/hurd/getsockname.c: Likewise.
16629         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16630         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16631         * sysdeps/powerpc/bits/link.h: Likewise.
16632         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16633         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16634         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16635         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16636         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16637         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16638         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16639         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16640         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16641         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16642         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16643         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16644         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16645         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16646         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16647         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16648         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16649         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16650         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16651         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16652         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16653         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16654         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16655         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16656         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16657         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16658         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16659         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16660         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16661         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16662         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16663         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16665         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16666         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16667         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16668         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16669         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16670         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16671         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16672         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16673         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16674         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16675         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16676         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16677         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16678         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16679         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16680         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16681         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16682         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16683         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16684         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16685         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16686         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16687         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16688         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16689         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16690         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16691         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16692         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16693         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16694         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16695         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16696         * sysdeps/powerpc/sysdep.h: Likewise.
16697         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16698         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16699         * sysdeps/sh/dl-trampoline.S: Likewise.
16700         * sysdeps/sh/memset.S: Likewise.
16701         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16702         * sysdeps/sh/strlen.S: Likewise.
16703         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16704         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16705         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16706         * sysdeps/sparc/sparc32/rem.S: Likewise.
16707         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16708         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16709         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16710         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16711         * sysdeps/sparc/sparc32/urem.S: Likewise.
16712         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16713         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16714         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16715         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16716         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16717         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16718         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16719         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16720         * sysdeps/unix/bsd/times.c: Likewise.
16721         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16722         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16726         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16727         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16728         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16729         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16730         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16731         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16732         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16733         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16734         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16735         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16736         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16737         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16738         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16739         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16740         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16741         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16742         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16743         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16744         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16745         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16746         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16747         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16748         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16749         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16750         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16751         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16752         * sysdeps/x86_64/strcspn.S: Likewise.
16753
16754 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16755
16756         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16757         generated file.  Regenerate properly from gen-translit.pl.
16758         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16759         locale/C-translit.h.
16760
16761 2013-06-05  Andreas Schwab  <schwab@suse.de>
16762
16763         [BZ #15100]
16764         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16765         week as 6 instead of -1.
16766         * time/tst-strptime.c (day_tests): Add test case.
16767
16768 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16769
16770         * sysdeps/generic/math_private.h
16771         (libc_feholdexcept_setround_53bit): Replace with
16772         libc_feholdsetround_53bit.
16773         (libc_feupdateenv_53bit): Replace with
16774         libc_feresetround_53bit.
16775         (SET_RESTORE_ROUND_53BIT): Adjust.
16776
16777 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16778
16779         * string/test-strchrnul.c: Add copyright header.
16780
16781         * posix/tst-getaddrinfo4.c: Increase test timeout.
16782
16783 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16784
16785         [BZ #15536]
16786         * math/libm-test.inc (MAX_EXP): Remove
16787         (MIN_EXP): Define.
16788         (ulp): Use MIN_EXP - MANT_DIG.
16789         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16790
16791 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16792
16793         * po/be.po: Revert last change.
16794         * po/zh_CN.po: Likewise.
16795         * po/header.pot: Likewise.
16796
16797 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16798
16799         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16800         link-libc-deps to empty as target-specific variable.
16801         * Makerules (link-libc-args): New variable.
16802         (libc-for-link): Likewise.
16803         (link-libc-deps): Likewise.
16804         (lib%.so): Depend on $(link-libc-deps).  Link with
16805         $(link-libc-args).
16806         (build-module): Link with $(link-libc-args).
16807         (build-module-asneeded): Likewise.
16808         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16809         list of objects.
16810         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16811         target-specific variable.
16812         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16813         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16814         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16815         libc.
16816         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16817         libc and ld.so.
16818         ($(objpfx)libpcprofile.so): Likewise.
16819         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16820         libc_nonshared.a.
16821         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16822         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16823         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16824         $(link-libc-deps).
16825         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16826         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16827         * login/Makefile ($(objpfx)libutil.so): Likewise.
16828         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16829         * math/Makefile ($(objpfx)libm.so): Likewise.
16830         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16831         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16832         variable instead of depending directly on libc.
16833         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16834         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16835         $(link-libc-deps).
16836         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16837         libc.
16838         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16839         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16840         ($(objpfx)libanl.so): Likewise.
16841         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16842         ld.so.
16843         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16844         $(link-libc-deps).
16845         * sysdeps/i386/fpu/Makefile: Remove file.
16846         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16847         ($(objpfx)libm.so): Remove dependency on ld.so.
16848
16849 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16850
16851         [BZ # 15553]
16852         * nis/yp_xdr.c (XDRMAXNAME): Define.
16853         (XDRMAXRECORD): Define.
16854         (xdr_domainname): Use XDRMAXNAME.
16855         (xdr_mapname): Likewise.
16856         (xdr_peername): Likewise.
16857         (xdr_keydat): Use XDRMAXRECORD.
16858         (xdr_valdat): Likewise.
16859
16860 2013-05-30  Jeff Law  <law@redhat.com>
16861
16862         [BZ #14256]
16863         * manual/errno.texi (ESTALE): Update to account for more than
16864         just NFS file systems.
16865         * sysdeps/gnu/errlist.c: Regenerated.
16866
16867 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16868
16869         [BZ #15465]
16870         * elf/Makefile (tests): Add tst-null-argv.
16871         (modules-names):  Add tst-null-argv-lib.
16872         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16873         (tst-null-argv-ENV): Set environment for tst-null-argv.
16874         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16875         (RTLD_PROGNAME): New macro.
16876         * elf/tst-null-argv.c: New test case.
16877         * elf/tst-null-argv-lib.c: Library for test case.
16878         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16879         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16880         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16881         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16882         * elf/dl-init.c (call_init): Likewise.
16883         (_dl_init): Likewise.
16884         * elf/dl-load.c (print_search_path): Likewise.
16885         (_dl_map_object): Likewise.
16886         * elf/dl-lookup.c (do_lookup_x): Likewise.
16887         (add_dependency): Likewise.
16888         (_dl_lookup_symbol_x): Likewise.
16889         (_dl_debug_bindings): Likewise.
16890         * elf/dl-open.c (_dl_show_scope): Likewise.
16891         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16892         * elf/dl-version.c (match_symbol): Likewise.
16893         (_dl_check_map_versions): Likewise.
16894         * elf/rtld.c (dl_main): Likewise.
16895         (print_unresolved): Use RTLD_PROGNAME.
16896         (print_missing_version): Likewise.
16897         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16898         (elf_machine_rela): Likewise.
16899         * sysdeps/powerpc/powerpc32/dl-machine.c
16900         (__process_machine_rela): Likewise.
16901         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16902         Likewise.
16903         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16904         Likewise.
16905         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16906         Likewise.
16907         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16908         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16909         Likewise.
16910         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16911         Likewise.
16912         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16913
16914 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16915
16916         * po/be.po: Add descriptive title.
16917         * po/zh_CN.po: Likewise.
16918         * po/header.pot: Likewise.
16919
16920 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16921
16922         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16923         error message.
16924         (enlarge_archive): Likewise.
16925
16926 2013-05-28  Ben North  <ben@redfrontdoor.org>
16927
16928         * manual/arith.texi (frexp): It is the magnitude of the return
16929         value which lies in [0.5, 1), not the return value itself.
16930
16931 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16932
16933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16934
16935 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16936
16937         * stdio-common/bug26.c (main): Correct fscanf template.
16938
16939         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16940         declare _dl_skip_args.
16941
16942         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16943         Don't declare.
16944
16945         * manual/platform.texi: Add missing @end deftypefun.
16946
16947 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16948
16949         [BZ #15529]
16950         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16951         bit of mantissa of 2^16382.
16952         * math/libm-test.inc (hypot_test_data): Add more tests.
16953
16954         * math/libm-test.inc: Add drem and pow10 to list of tested
16955         functions.
16956         (pow10_test): New function.
16957         (drem_test): Likewise.
16958         (drem_test_tonearest): Likewise.
16959         (drem_test_towardzero): Likewise.
16960         (drem_test_downward): Likewise.
16961         (drem_test_upward): Likewise.
16962         (main): Call the new functions.
16963
16964         * math/libm-test.inc (finite_test_data): Remove.
16965         (finite_test): Run tests from isfinite_test_data.
16966         (gamma_test_data): Remove.
16967         (gamma_test): Run tests from lgamma_test_data.
16968         * sysdeps/i386/fpu/libm-test-ulps: Update.
16969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16970
16971 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16972
16973         * manual/platform.texi: Add PowerPC PPR function set documentation.
16974         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16975         implementation.
16976
16977 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16978
16979         * math/libm-test.inc (MAX_EXP): Define.
16980         (ULPDIFF): Define.
16981         (ulp): New function.
16982         (check_float_internal): Use ULPDIFF.
16983         (cpow_test): Disable failing test.
16984         (check_ulp): Test ulp() implemetnation.
16985         (main): Call check_ulp before starting tests.
16986
16987 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16988
16989         * math/gen-libm-test.pl (generate_testfile): Do not handle
16990         START_DATA and END_DATA.
16991         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16992         END_DATA.
16993         (acos_tonearest_test_data): Likewise.
16994         (acos_towardzero_test_data): Likewise.
16995         (acos_downward_test_data): Likewise.
16996         (acos_upward_test_data): Likewise.
16997         (acosh_test_data): Likewise.
16998         (asin_test_data): Likewise.
16999         (asin_tonearest_test_data): Likewise.
17000         (asin_towardzero_test_data): Likewise.
17001         (asin_downward_test_data): Likewise.
17002         (asin_upward_test_data): Likewise.
17003         (asinh_test_data): Likewise.
17004         (atan_test_data): Likewise.
17005         (atanh_test_data): Likewise.
17006         (atan2_test_data): Likewise.
17007         (cabs_test_data): Likewise.
17008         (cacos_test_data): Likewise.
17009         (cacosh_test_data): Likewise.
17010         (carg_test_data): Likewise.
17011         (casin_test_data): Likewise.
17012         (casinh_test_data): Likewise.
17013         (catan_test_data): Likewise.
17014         (catanh_test_data): Likewise.
17015         (cbrt_test_data): Likewise.
17016         (ccos_test_data): Likewise.
17017         (ccosh_test_data): Likewise.
17018         (ceil_test_data): Likewise.
17019         (cexp_test_data): Likewise.
17020         (cimag_test_data): Likewise.
17021         (clog_test_data): Likewise.
17022         (clog10_test_data): Likewise.
17023         (conj_test_data): Likewise.
17024         (copysign_test_data): Likewise.
17025         (cos_test_data): Likewise.
17026         (cos_tonearest_test_data): Likewise.
17027         (cos_towardzero_test_data): Likewise.
17028         (cos_downward_test_data): Likewise.
17029         (cos_upward_test_data): Likewise.
17030         (cosh_test_data): Likewise.
17031         (cosh_tonearest_test_data): Likewise.
17032         (cosh_towardzero_test_data): Likewise.
17033         (cosh_downward_test_data): Likewise.
17034         (cosh_upward_test_data): Likewise.
17035         (cpow_test_data): Likewise.
17036         (cproj_test_data): Likewise.
17037         (creal_test_data): Likewise.
17038         (csin_test_data): Likewise.
17039         (csinh_test_data): Likewise.
17040         (csqrt_test_data): Likewise.
17041         (ctan_test_data): Likewise.
17042         (ctan_tonearest_test_data): Likewise.
17043         (ctan_towardzero_test_data): Likewise.
17044         (ctan_downward_test_data): Likewise.
17045         (ctan_upward_test_data): Likewise.
17046         (ctanh_test_data): Likewise.
17047         (ctanh_tonearest_test_data): Likewise.
17048         (ctanh_towardzero_test_data): Likewise.
17049         (ctanh_downward_test_data): Likewise.
17050         (ctanh_upward_test_data): Likewise.
17051         (erf_test_data): Likewise.
17052         (erfc_test_data): Likewise.
17053         (exp_test_data): Likewise.
17054         (exp_tonearest_test_data): Likewise.
17055         (exp_towardzero_test_data): Likewise.
17056         (exp_downward_test_data): Likewise.
17057         (exp_upward_test_data): Likewise.
17058         (exp10_test_data): Likewise.
17059         (exp2_test_data): Likewise.
17060         (expm1_test_data): Likewise.
17061         (fabs_test_data): Likewise.
17062         (fdim_test_data): Likewise.
17063         (finite_test_data): Likewise.
17064         (floor_test_data): Likewise.
17065         (fma_test_data): Likewise.
17066         (fma_towardzero_test_data): Likewise.
17067         (fma_downward_test_data): Likewise.
17068         (fma_upward_test_data): Likewise.
17069         (fmax_test_data): Likewise.
17070         (fmin_test_data): Likewise.
17071         (fmod_test_data): Likewise.
17072         (fpclassify_test_data): Likewise.
17073         (frexp_test_data): Likewise.
17074         (gamma_test_data): Likewise.
17075         (hypot_test_data): Likewise.
17076         (ilogb_test_data): Likewise.
17077         (isfinite_test_data): Likewise.
17078         (isgreater_test_data): Likewise.
17079         (isgreaterequal_test_data): Likewise.
17080         (isinf_test_data): Likewise.
17081         (isless_test_data): Likewise.
17082         (islessequal_test_data): Likewise.
17083         (islessgreater_test_data): Likewise.
17084         (isnan_test_data): Likewise.
17085         (isnormal_test_data): Likewise.
17086         (issignaling_test_data): Likewise.
17087         (isunordered_test_data): Likewise.
17088         (j0_test_data): Likewise.
17089         (j1_test_data): Likewise.
17090         (jn_test_data): Likewise.
17091         (ldexp_test_data): Likewise.
17092         (lgamma_test_data): Likewise.
17093         (lrint_test_data): Likewise.
17094         (lrint_tonearest_test_data): Likewise.
17095         (lrint_towardzero_test_data): Likewise.
17096         (lrint_downward_test_data): Likewise.
17097         (lrint_upward_test_data): Likewise.
17098         (llrint_test_data): Likewise.
17099         (llrint_tonearest_test_data): Likewise.
17100         (llrint_towardzero_test_data): Likewise.
17101         (llrint_downward_test_data): Likewise.
17102         (llrint_upward_test_data): Likewise.
17103         (log_test_data): Likewise.
17104         (log10_test_data): Likewise.
17105         (log1p_test_data): Likewise.
17106         (log2_test_data): Likewise.
17107         (logb_test_data): Likewise.
17108         (logb_downward_test_data): Likewise.
17109         (lround_test_data): Likewise.
17110         (llround_test_data): Likewise.
17111         (modf_test_data): Likewise.
17112         (nearbyint_test_data): Likewise.
17113         (nextafter_test_data): Likewise.
17114         (nexttoward_test_data): Likewise.
17115         (pow_test_data): Likewise.
17116         (pow_tonearest_test_data): Likewise.
17117         (pow_towardzero_test_data): Likewise.
17118         (pow_downward_test_data): Likewise.
17119         (pow_upward_test_data): Likewise.
17120         (remainder_test_data): Likewise.
17121         (remainder_tonearest_test_data): Likewise.
17122         (remainder_towardzero_test_data): Likewise.
17123         (remainder_downward_test_data): Likewise.
17124         (remainder_upward_test_data): Likewise.
17125         (remquo_test_data): Likewise.
17126         (rint_test_data): Likewise.
17127         (rint_tonearest_test_data): Likewise.
17128         (rint_towardzero_test_data): Likewise.
17129         (rint_downward_test_data): Likewise.
17130         (rint_upward_test_data): Likewise.
17131         (round_test_data): Likewise.
17132         (scalb_test_data): Likewise.
17133         (scalbn_test_data): Likewise.
17134         (scalbln_test_data): Likewise.
17135         (signbit_test_data): Likewise.
17136         (sin_test_data): Likewise.
17137         (sin_tonearest_test_data): Likewise.
17138         (sin_towardzero_test_data): Likewise.
17139         (sin_downward_test_data): Likewise.
17140         (sin_upward_test_data): Likewise.
17141         (sincos_test_data): Likewise.
17142         (sinh_test_data): Likewise.
17143         (sinh_tonearest_test_data): Likewise.
17144         (sinh_towardzero_test_data): Likewise.
17145         (sinh_downward_test_data): Likewise.
17146         (sinh_upward_test_data): Likewise.
17147         (sqrt_test_data): Likewise.
17148         (tan_test_data): Likewise.
17149         (tan_tonearest_test_data): Likewise.
17150         (tan_towardzero_test_data): Likewise.
17151         (tan_downward_test_data): Likewise.
17152         (tan_upward_test_data): Likewise.
17153         (tanh_test_data): Likewise.
17154         (tgamma_test_data): Likewise.
17155         (trunc_test_data): Likewise.
17156         (y0_test_data): Likewise.
17157         (y1_test_data): Likewise.
17158         (yn_test_data): Likewise.
17159         (significand_test_data): Likewise.
17160
17161         * math/gen-libm-test.pl (@functions): Remove variable.
17162         (generate_testfile): Don't handle START and END lines.
17163         * math/libm-test.inc (START): New macro.
17164         (END): Likewise.
17165         (END_COMPLEX): Likewise.
17166         (acos_test): Use END macro without arguments.
17167         (acos_test_tonearest): Likewise.
17168         (acos_test_towardzero): Likewise.
17169         (acos_test_downward): Likewise.
17170         (acos_test_upward): Likewise.
17171         (acosh_test): Likewise.
17172         (asin_test): Likewise.
17173         (asin_test_tonearest): Likewise.
17174         (asin_test_towardzero): Likewise.
17175         (asin_test_downward): Likewise.
17176         (asin_test_upward): Likewise.
17177         (asinh_test): Likewise.
17178         (atan_test): Likewise.
17179         (atanh_test): Likewise.
17180         (atan2_test): Likewise.
17181         (cabs_test): Likewise.
17182         (cacos_test): Use END_COMPLEX macro without arguments.
17183         (cacosh_test): Likewise.
17184         (carg_test): Use END macro without arguments.
17185         (casin_test): Use END_COMPLEX macro without arguments.
17186         (casinh_test): Likewise.
17187         (catan_test): Likewise.
17188         (catanh_test): Likewise.
17189         (cbrt_test): Use END macro without arguments.
17190         (ccos_test): Use END_COMPLEX macro without arguments.
17191         (ccosh_test): Likewise.
17192         (ceil_test): Use END macro without arguments.
17193         (cexp_test): Use END_COMPLEX macro without arguments.
17194         (cimag_test): Use END macro without arguments.
17195         (clog_test): Use END_COMPLEX macro without arguments.
17196         (clog10_test): Likewise.
17197         (conj_test): Likewise.
17198         (copysign_test): Use END macro without arguments.
17199         (cos_test): Likewise.
17200         (cos_test_tonearest): Likewise.
17201         (cos_test_towardzero): Likewise.
17202         (cos_test_downward): Likewise.
17203         (cos_test_upward): Likewise.
17204         (cosh_test): Likewise.
17205         (cosh_test_tonearest): Likewise.
17206         (cosh_test_towardzero): Likewise.
17207         (cosh_test_downward): Likewise.
17208         (cosh_test_upward): Likewise.
17209         (cpow_test): Use END_COMPLEX macro without arguments.
17210         (cproj_test): Likewise.
17211         (creal_test): Use END macro without arguments.
17212         (csin_test): Use END_COMPLEX macro without arguments.
17213         (csinh_test): Likewise.
17214         (csqrt_test): Likewise.
17215         (ctan_test): Likewise.
17216         (ctan_test_tonearest): Likewise.
17217         (ctan_test_towardzero): Likewise.
17218         (ctan_test_downward): Likewise.
17219         (ctan_test_upward): Likewise.
17220         (ctanh_test): Likewise.
17221         (ctanh_test_tonearest): Likewise.
17222         (ctanh_test_towardzero): Likewise.
17223         (ctanh_test_downward): Likewise.
17224         (ctanh_test_upward): Likewise.
17225         (erf_test): Use END macro without arguments.
17226         (erfc_test): Likewise.
17227         (exp_test): Likewise.
17228         (exp_test_tonearest): Likewise.
17229         (exp_test_towardzero): Likewise.
17230         (exp_test_downward): Likewise.
17231         (exp_test_upward): Likewise.
17232         (exp10_test): Likewise.
17233         (exp2_test): Likewise.
17234         (expm1_test): Likewise.
17235         (fabs_test): Likewise.
17236         (fdim_test): Likewise.
17237         (finite_test): Likewise.
17238         (floor_test): Likewise.
17239         (fma_test): Likewise.
17240         (fma_test_towardzero): Likewise.
17241         (fma_test_downward): Likewise.
17242         (fma_test_upward): Likewise.
17243         (fmax_test): Likewise.
17244         (fmin_test): Likewise.
17245         (fmod_test): Likewise.
17246         (fpclassify_test): Likewise.
17247         (frexp_test): Likewise.
17248         (gamma_test): Likewise.
17249         (hypot_test): Likewise.
17250         (ilogb_test): Likewise.
17251         (isfinite_test): Likewise.
17252         (isgreater_test): Likewise.
17253         (isgreaterequal_test): Likewise.
17254         (isinf_test): Likewise.
17255         (isless_test): Likewise.
17256         (islessequal_test): Likewise.
17257         (islessgreater_test): Likewise.
17258         (isnan_test): Likewise.
17259         (isnormal_test): Likewise.
17260         (issignaling_test): Likewise.
17261         (isunordered_test): Likewise.
17262         (j0_test): Likewise.
17263         (j1_test): Likewise.
17264         (jn_test): Likewise.
17265         (ldexp_test): Likewise.
17266         (lgamma_test): Likewise.
17267         (lrint_test): Likewise.
17268         (lrint_test_tonearest): Likewise.
17269         (lrint_test_towardzero): Likewise.
17270         (lrint_test_downward): Likewise.
17271         (lrint_test_upward): Likewise.
17272         (llrint_test): Likewise.
17273         (llrint_test_tonearest): Likewise.
17274         (llrint_test_towardzero): Likewise.
17275         (llrint_test_downward): Likewise.
17276         (llrint_test_upward): Likewise.
17277         (log_test): Likewise.
17278         (log10_test): Likewise.
17279         (log1p_test): Likewise.
17280         (log2_test): Likewise.
17281         (logb_test): Likewise.
17282         (logb_test_downward): Likewise.
17283         (lround_test): Likewise.
17284         (llround_test): Likewise.
17285         (modf_test): Likewise.
17286         (nearbyint_test): Likewise.
17287         (nextafter_test): Likewise.
17288         (nexttoward_test): Likewise.
17289         (pow_test): Likewise.
17290         (pow_test_tonearest): Likewise.
17291         (pow_test_towardzero): Likewise.
17292         (pow_test_downward): Likewise.
17293         (pow_test_upward): Likewise.
17294         (remainder_test): Likewise.
17295         (remainder_test_tonearest): Likewise.
17296         (remainder_test_towardzero): Likewise.
17297         (remainder_test_downward): Likewise.
17298         (remainder_test_upward): Likewise.
17299         (remquo_test): Likewise.
17300         (rint_test): Likewise.
17301         (rint_test_tonearest): Likewise.
17302         (rint_test_towardzero): Likewise.
17303         (rint_test_downward): Likewise.
17304         (rint_test_upward): Likewise.
17305         (round_test): Likewise.
17306         (scalb_test): Likewise.
17307         (scalbn_test): Likewise.
17308         (scalbln_test): Likewise.
17309         (signbit_test): Likewise.
17310         (sin_test): Likewise.
17311         (sin_test_tonearest): Likewise.
17312         (sin_test_towardzero): Likewise.
17313         (sin_test_downward): Likewise.
17314         (sin_test_upward): Likewise.
17315         (sincos_test): Likewise.
17316         (sinh_test): Likewise.
17317         (sinh_test_tonearest): Likewise.
17318         (sinh_test_towardzero): Likewise.
17319         (sinh_test_downward): Likewise.
17320         (sinh_test_upward): Likewise.
17321         (sqrt_test): Likewise.
17322         (tan_test): Likewise.
17323         (tan_test_tonearest): Likewise.
17324         (tan_test_towardzero): Likewise.
17325         (tan_test_downward): Likewise.
17326         (tan_test_upward): Likewise.
17327         (tanh_test): Likewise.
17328         (tgamma_test): Likewise.
17329         (trunc_test): Likewise.
17330         (y0_test): Likewise.
17331         (y1_test): Likewise.
17332         (yn_test): Likewise.
17333         (significand_test): Likewise.
17334
17335 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17336
17337         [BZ #15381]
17338         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17339
17340 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17341
17342         [BZ #14894]
17343         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17344         __ppc_mdoio and __ppc_mdoom.
17345         * manual/platform.texi: Document new functions __ppc_yield,
17346         __ppc_mdoio and __ppc_mdoom.
17347
17348 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17349
17350         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17351         (main): Mention "tls" pseudo-hwcap is legacy.
17352         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17353
17354 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17355
17356         * math/gen-libm-test.pl (parse_args): Output only string of
17357         arguments as text for test name, not full call or descriptions of
17358         tests for extra outputs.
17359         (generate_testfile): Do not pass function name to parse_args.
17360         Generate this_func variable from START.
17361         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17362         field to arg_str.
17363         (struct test_ff_f_data): Likewise.
17364         (test_ff_f_data_nexttoward): Likewise.
17365         (struct test_fi_f_data): Likewise.
17366         (struct test_fl_f_data): Likewise.
17367         (struct test_if_f_data): Likewise.
17368         (struct test_fff_f_data): Likewise.
17369         (struct test_c_f_data): Likewise.
17370         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17371         (struct test_fF_f1_data): Likewise.
17372         (struct test_ffI_f1_data): Likewise.
17373         (struct test_c_c_data): Rename test_name field to arg_str.
17374         (struct test_cc_c_data): Likewise.
17375         (struct test_f_i_data): Likewise.
17376         (struct test_ff_i_data): Likewise.
17377         (struct test_f_l_data): Likewise.
17378         (struct test_f_L_data): Likewise.
17379         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17380         and extra2_name.
17381         (COMMON_TEST_SETUP): New macro.
17382         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17383         (COMMON_TEST_CLEANUP): Likewise.
17384         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17385         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17386         macros.
17387         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17388         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17389         macros.
17390         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17391         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17392         cleanup macros.
17393         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17394         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17395         macros.
17396         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17397         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17398         macros.
17399         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17400         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17401         cleanup macros.
17402         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17403         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17404         cleanup macros.
17405         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17406         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17407         cleanup macros.
17408         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17409         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17410         macros.
17411         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17412         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17413         macros.
17414         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17415         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17416         macros.
17417         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17418         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17419         cleanup macros.
17420         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17421         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17422         cleanup macros.
17423         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17424         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17425         macros.
17426         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17427         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17428         cleanup macros.
17429         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17430         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17431         macros.
17432         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17433         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17434         macros.
17435         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17436         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17437         cleanup macros.
17438         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17439
17440 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17441
17442         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17443         to _sifields.sigfault.
17444         (si_addr_lsb): Define new macro.
17445         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17446         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17447         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17448
17449 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17450
17451         [BZ #15441]
17452         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17453         returns -1.
17454         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17455         null return -1.
17456         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17457         loading the domain.
17458
17459 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17460
17461         * math/gen-libm-test.pl (parse_args): Do not include expected
17462         result in test name.
17463         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17464         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17465         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17466         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17467         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17469
17470 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17471
17472         * benchtests/Makefile: Sort function entries.
17473
17474         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17475         tanh, asinh, acosh, atanh.
17476         * benchtests/acos-inputs: New file.
17477         * benchtests/acosh-inputs: New file.
17478         * benchtests/asin-inputs: New file.
17479         * benchtests/asinh-inputs: New file.
17480         * benchtests/atanh-inputs: New file.
17481         * benchtests/cosh-inputs: New file.
17482         * benchtests/log-inputs: New file.
17483         * benchtests/sinh-inputs: New file.
17484         * benchtests/tanh-inputs: New file.
17485
17486 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17487
17488         [BZ #15339]
17489         * posix/tst-getaddrinfo4.c: New test.
17490         * posix/Makefile (tests): Add it.
17491
17492 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17493
17494         [BZ #15339]
17495         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17496         when no services were used.
17497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17498         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17499
17500 2013-05-21  Andreas Schwab  <schwab@suse.de>
17501
17502         [BZ #15014]
17503         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17504         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17505         successful.
17506         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17507         redundant variable declarations and reallocation of buffer when
17508         parsing as IPv6 address.  Always set NSS status when called from
17509         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17510         buffer too small.  Correct computation of needed size.
17511         * nss/Makefile (tests): Add test-digits-dots.
17512         * nss/test-digits-dots.c: New test.
17513
17514 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17515
17516         * benchtests/Makefile: Remove instructions for adding
17517         benchmark tests.
17518         * benchtests/README: New file to explain how to execute and
17519         enhance the benchmark tests.
17520
17521 2013-05-21  Andreas Schwab  <schwab@suse.de>
17522
17523         [BZ #15493]
17524         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17525         * setjmp/tst-sigsetjmp.c: New test.
17526
17527 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17528
17529         * sysdeps/x86_64/memset.S (memset): New implementation.
17530         (__bzero): Likewise.
17531         (__memset_tail): New function.
17532
17533 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17534
17535         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17536         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17537         __memcpy_sse2_unaligned ifunc selection.
17538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17539         Add memcpy-sse2-unaligned.S.
17540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17541         Add: __memcpy_sse2_unaligned.
17542
17543 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17544
17545         [BZ #15490]
17546         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17547         math_force_eval before restoring floating-point envrionment.
17548         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17549         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17550         Likewise.
17551         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17552         <math_private.h>.
17553         (__nearbyintl): Use math_force_eval before restoring
17554         floating-point environment.
17555         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17556
17557         * math/gen-libm-test.pl (special_functions): Remove.
17558         (parse_args): Don't handle TEST_extra.  Handle functions with no
17559         return value.
17560         * math/libm-test.inc (struct test_sincos_data): Replace with
17561         struct test_fFF_11_data.
17562         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17563         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17564         (sincos_test_data): Change element type to struct
17565         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17566         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17567         RUN_TEST_LOOP_sincos.
17568         * math/README.libm-test: Don't mention special handling of
17569         individual functions.
17570         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17571         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17572         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17573         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17574         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17576
17577         * math/gen-libm-test.pl (get_variable): Remove function.
17578         (parse_args): Don't show pointer parameters to call in test
17579         names.  Use "extra output N" in test names for extra outputs
17580         rather than naming variables.
17581
17582 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17583
17584         [BZ #15488]
17585         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17586         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17587         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17588         double tests.
17589         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17590         disable.
17591         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17592         check_long_double.
17593
17594         * math/gen-libm-test.pl (@tests): Remove variable.
17595         ($count): Likewise.
17596         (new_test): Remove function.
17597         (show_exceptions): New function.
17598         (special_functions): Use show_exceptions instead of new_test.
17599         (parse_args): Likewise.
17600         (generate_testfile): Pass only function name in generated call to
17601         print_max_error or print_complex_max_error.
17602         (get_ulps): Do not handle complex tests specially.
17603         (output_test): Rename to ...
17604         (get_all_ulps_for_test): ... this.  Return a string rather than
17605         printing to a file.  Require ulps to be present.
17606         (output_ulps): Generate arrays rather than #defines.
17607         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17608         (struct ulp_data): New type.
17609         (BUILD_COMPLEX_ULP): Remove macro.
17610         (compare_ulp_data): New function.
17611         (find_ulps): Likewise.
17612         (find_test_ulps): Likewise.
17613         (find_function_ulps): Likewise.
17614         (find_complex_function_ulps): Likewise.
17615         (print_max_error): Determine allowed ulps using
17616         find_function_ulps.
17617         (print_complex_max_error): Determine allowed ulps using
17618         find_complex_function_ulps.
17619         (check_float_internal): Determine max ulps using find_test_ulps.
17620         (check_float): Do not take max_ulp parameter.  Update call to
17621         check_float_internal.
17622         (check_complex): Likewise.
17623         (check_int): Do not take max_ulp parameter.
17624         (check_long): Likewise.
17625         (check_bool): Likewise.
17626         (check_longlong): Likewise.
17627         (struct test_f_f_data): Remove max_ulp field.
17628         (struct test_ff_f_data): Likewise.
17629         (struct test_ff_f_data_nexttoward): Likewise.
17630         (struct test_fi_f_data): Likewise.
17631         (struct test_fl_f_data): Likewise.
17632         (struct test_if_f_data): Likewise.
17633         (struct test_fff_f_data): Likewise.
17634         (struct test_c_f_data): Likewise.
17635         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17636         (struct test_fF_f1_data): Likewise.
17637         (struct test_ffI_f1_data): Likewise.
17638         (struct test_c_c_data): Remove max_ulp field.
17639         (struct test_cc_c_data): Likewise.
17640         (struct test_f_i_data): Likewise.
17641         (struct test_ff_i_data): Likewise.
17642         (struct test_f_l_data): Likewise.
17643         (struct test_f_L_data): Likewise.
17644         (struct test_sincos_data): Likewise.
17645         (RUN_TEST_f_f): Do not handle ulps.
17646         (RUN_TEST_LOOP_f_f): Likewise.
17647         (RUN_TEST_2_f): Likewise.
17648         (RUN_TEST_LOOP_2_f): Likewise.
17649         (RUN_TEST_fff_f): Likewise.
17650         (RUN_TEST_LOOP_fff_f): Likewise.
17651         (RUN_TEST_c_f): Likewise.
17652         (RUN_TEST_LOOP_c_f): Likewise.
17653         (RUN_TEST_f_f1): Likewise.
17654         (RUN_TEST_LOOP_f_f1): Likewise.
17655         (RUN_TEST_fF_f1): Likewise.
17656         (RUN_TEST_LOOP_fF_f1): Likewise.
17657         (RUN_TEST_fI_f1): Likewise.
17658         (RUN_TEST_LOOP_fI_f1): Likewise.
17659         (RUN_TEST_ffI_f1): Likewise.
17660         (RUN_TEST_LOOP_ffI_f1): Likewise.
17661         (RUN_TEST_c_c): Likewise.
17662         (RUN_TEST_LOOP_c_c): Likewise.
17663         (RUN_TEST_cc_c): Likewise.
17664         (RUN_TEST_LOOP_cc_c): Likewise.
17665         (RUN_TEST_f_i): Likewise.
17666         (RUN_TEST_LOOP_f_i): Likewise.
17667         (RUN_TEST_f_i_tg): Likewise.
17668         (RUN_TEST_LOOP_f_i_tg): Likewise.
17669         (RUN_TEST_ff_i_tg): Likewise.
17670         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17671         (RUN_TEST_f_b): Likewise.
17672         (RUN_TEST_LOOP_f_b): Likewise.
17673         (RUN_TEST_f_b_tg): Likewise.
17674         (RUN_TEST_LOOP_f_b_tg): Likewise.
17675         (RUN_TEST_f_l): Likewise.
17676         (RUN_TEST_LOOP_f_l): Likewise.
17677         (RUN_TEST_f_L): Likewise.
17678         (RUN_TEST_LOOP_f_L): Likewise.
17679         (RUN_TEST_sincos): Likewise.
17680         (RUN_TEST_LOOP_sincos): Likewise.
17681
17682 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17683
17684         [BZ #15480]
17685         [BZ #15485]
17686         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17687         main case of finite arguments, set rounding mode to FE_TONEAREST
17688         and discard exceptions.
17689         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17690         exceptions.
17691         (remainder_tonearest_test_data): New variable.
17692         (remainder_test_tonearest): New function.
17693         (remainder_towardzero_test_data): New variable.
17694         (remainder_test_towardzero): New function.
17695         (remainder_downward_test_data): New variable.
17696         (remainder_test_downward): New function.
17697         (remainder_upward_test_data): New variable.
17698         (remainder_test_upward): New function.
17699         (main): Call the new test functions.
17700
17701         * math/libm-test.inc (struct test_f_f1_data): Remove field
17702         extra_init.
17703         (struct test_fF_f1_data): Likewise.
17704         (struct test_ffI_f1_data): Likewise.
17705         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17706         based on value of EXTRA_EXPECTED.
17707         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17708         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17709         EXTRA_VAR based on value of EXTRA_EXPECTED.
17710         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17711         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17712         EXTRA_VAR based on value of EXTRA_EXPECTED.
17713         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17714         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17715         EXTRA_VAR based on value of EXTRA_EXPECTED.
17716         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17717         * math/gen-libm-test.pl (parse_args): Don't output initializers
17718         for extra output values.
17719
17720         * math/libm-test.inc (check_int): Expect result to be exactly
17721         equal to expected value and do not handle ulps.
17722         (check_long): Likewise.
17723         (check_longlong): Likewise.
17724
17725         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17726         exceptions.
17727         (cimag_test_data): Likewise.
17728         (conj_test_data): Likewise.
17729         (copysign_test_data): Likewise.
17730         (cproj_test_data): Likewise.
17731         (creal_test_data): Likewise.
17732         (fabs_test_data): Likewise.
17733         (fdim_test_data): Likewise.
17734         (finite_test_data): Likewise.
17735         (floor_test_data): Likewise.
17736         (fmax_test_data): Likewise.
17737         (fmin_test_data): Likewise.
17738         (fmod_test_data): Likewise.
17739         (fpclassify_test_data): Likewise.
17740         (frexp_test_data): Likewise.
17741         (ilogb_test_data): Likewise.
17742         (isfinite_test_data): Likewise.
17743         (isgreater_test_data): Likewise.
17744         (isgreaterequal_test_data): Likewise.
17745         (isinf_test_data): Likewise.
17746         (isless_test_data): Likewise.
17747         (islessequal_test_data): Likewise.
17748         (islessgreater_test_data): Likewise.
17749         (isnan_test_data): Likewise.
17750         (isnormal_test_data): Likewise.
17751         (issignaling_test_data): Likewise.
17752         (isunordered_test_data): Likewise.
17753         (ldexp_test_data): Likewise.
17754         (lrint_test_data): Likewise.
17755         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17756         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17757         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17758         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17759         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17760         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17761         test input.
17762         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17763         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17764         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17765         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17766         that test input.
17767         (lrint_downward_test_data): Test for "inexact" exceptions.
17768         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17769         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17770         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17771         test input.
17772         (lrint_upward_test_data): Test for "inexact" exceptions.
17773         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17774         test input.
17775         (llrint_test_data): Test for "inexact" exceptions.
17776         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17777         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17778         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17779         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17780         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17781         (llrint_downward_test_data): Test for "inexact" exceptions.
17782         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17783         (llrint_upward_test_data): Test for "inexact" exceptions.
17784         (logb_test_data): Likewise.
17785         (logb_downward_test_data): Likewise.
17786         (nextafter_test_data): Likewise.
17787         (nexttoward_test_data): Likewise.
17788         (remainder_test_data): Likewise.
17789         (remquo_test_data): Likewise.
17790         (scalbn_test_data): Likewise.
17791         (scalbln_test_data): Likewise.
17792         (signbit_test_data): Likewise.
17793         (sqrt_test_data): Likewise.
17794         (significand_test_data): Likewise.
17795
17796 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17797
17798         [BZ #15424]
17799         * benchtests/bench-modf.c (struct args): Mark arg0 as
17800         volatile.
17801         * scripts/bench.pl: Mark members of struct args as volatile.
17802
17803 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17804
17805         [BZ # 15497]
17806         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17807         negative infinity on POWER6 or lower.
17808         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17809
17810 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17811
17812         [BZ #15442]
17813         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17814         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17815         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17816         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17817         (_FP_SETQNAN): New macro.
17818         (_FP_SETQNAN_SEMIRAW): Likewise.
17819         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17820         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17821         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17822         (FP_EXTEND): Use _FP_FRAC_SNANP.
17823         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17824         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17825         into account.
17826         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17827         New macro.
17828         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17829         Likewise.
17830
17831 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17832
17833         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17834         with DIVIDE_BY_ZERO_EXCEPTION.
17835         (gamma_test_data): Likewise.
17836         (lgamma_test_data): Likewise.
17837         (log_test_data): Likewise.
17838         (log10_test_data): Likewise.
17839         (log2_test_data): Likewise.
17840         (tgamma_test_data): Likewise.
17841
17842         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17843         (acos_test_tonearest): Likewise.
17844         (acos_test_towardzero): Likewise.
17845         (acos_test_downward): Likewise.
17846         (acos_test_upward): Likewise.
17847         (acosh_test): Likewise.
17848         (asin_test): Likewise.
17849         (asin_test_tonearest): Likewise.
17850         (asin_test_towardzero): Likewise.
17851         (asin_test_downward): Likewise.
17852         (asin_test_upward): Likewise.
17853         (asinh_test): Likewise.
17854         (atan_test): Likewise.
17855         (atanh_test): Likewise.
17856         (atan2_test): Likewise.
17857         (cabs_test): Likewise.
17858         (cacos_test): Likewise.
17859         (cacosh_test): Likewise.
17860         (casin_test): Likewise.
17861         (casinh_test): Likewise.
17862         (catan_test): Likewise.
17863         (catanh_test): Likewise.
17864         (cbrt_test): Likewise.
17865         (ccos_test): Likewise.
17866         (ccosh_test): Likewise.
17867         (cexp_test): Likewise.
17868         (clog_test): Likewise.
17869         (clog10_test): Likewise.
17870         (cos_test): Likewise.
17871         (cos_test_tonearest): Likewise.
17872         (cos_test_towardzero): Likewise.
17873         (cos_test_downward): Likewise.
17874         (cos_test_upward): Likewise.
17875         (cosh_test): Likewise.
17876         (cosh_test_tonearest): Likewise.
17877         (cosh_test_towardzero): Likewise.
17878         (cosh_test_downward): Likewise.
17879         (cosh_test_upward): Likewise.
17880         (cpow_test): Likewise.
17881         (csin_test): Likewise.
17882         (csinh_test): Likewise.
17883         (csqrt_test): Likewise.
17884         (ctan_test): Likewise.
17885         (ctan_test_tonearest): Likewise.
17886         (ctan_test_towardzero): Likewise.
17887         (ctan_test_downward): Likewise.
17888         (ctan_test_upward): Likewise.
17889         (ctanh_test): Likewise.
17890         (ctanh_test_tonearest): Likewise.
17891         (ctanh_test_towardzero): Likewise.
17892         (ctanh_test_downward): Likewise.
17893         (ctanh_test_upward): Likewise.
17894         (erf_test): Likewise.
17895         (erfc_test): Likewise.
17896         (exp_test): Likewise.
17897         (exp_test_tonearest): Likewise.
17898         (exp_test_towardzero): Likewise.
17899         (exp_test_downward): Likewise.
17900         (exp_test_upward): Likewise.
17901         (exp10_test): Likewise.
17902         (exp2_test): Likewise.
17903         (expm1_test): Likewise.
17904         (fmod_test): Likewise.
17905         (gamma_test): Likewise.
17906         (hypot_test): Likewise.
17907         (j0_test): Likewise.
17908         (j1_test): Likewise.
17909         (jn_test): Likewise.
17910         (lgamma_test): Likewise.
17911         (log_test): Likewise.
17912         (log10_test): Likewise.
17913         (log1p_test): Likewise.
17914         (log2_test): Likewise.
17915         (logb_test_downward): Likewise.
17916         (pow_test): Likewise.
17917         (pow_test_tonearest): Likewise.
17918         (pow_test_towardzero): Likewise.
17919         (pow_test_downward): Likewise.
17920         (pow_test_upward): Likewise.
17921         (remainder_test): Likewise.
17922         (remquo_test): Likewise.
17923         (sin_test): Likewise.
17924         (sin_test_tonearest): Likewise.
17925         (sin_test_towardzero): Likewise.
17926         (sin_test_downward): Likewise.
17927         (sin_test_upward): Likewise.
17928         (sincos_test): Likewise.
17929         (sinh_test): Likewise.
17930         (sinh_test_tonearest): Likewise.
17931         (sinh_test_towardzero): Likewise.
17932         (sinh_test_downward): Likewise.
17933         (sinh_test_upward): Likewise.
17934         (sqrt_test): Likewise.
17935         (tan_test): Likewise.
17936         (tan_test_tonearest): Likewise.
17937         (tan_test_towardzero): Likewise.
17938         (tan_test_downward): Likewise.
17939         (tan_test_upward): Likewise.
17940         (tanh_test): Likewise.
17941         (tgamma_test): Likewise.
17942         (y0_test): Likewise.
17943         (y1_test): Likewise.
17944         (yn_test): Likewise.
17945
17946         * math/gen-libm-test.pl (adjust_arg): Remove function.
17947         (special_function): Remove argument $in_func.  Only handle
17948         generating output for tables of tests, not inside functions.
17949         (parse_args): Likewise.
17950         (generate_testfile): Remove variable $in_func.  Update call to
17951         parse_args.
17952         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17953         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17954         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17955         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17956         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17957         (MAX_VALUE_INIT): Rename macro to max_value.
17958         (MIN_VALUE_INIT): Rename macro to min_value.
17959         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17960         (plus_zero): Remove variable.
17961         (minus_zero): Likewise.
17962         (plus_infty): Likewise.
17963         (minus_infty): Likewise.
17964         (qnan_value): Likewise.
17965         (max_value): Likewise.
17966         (min_value): Likewise.
17967         (min_subnorm_value): Likewise.
17968
17969 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17970
17971         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17972         uint64_t or uint32_t usage.
17973         * crypt/sha256-block.c: Likewise.
17974         * crypt/sha256-crypt.c: Likewise.
17975         * crypt/sha256.c: Likewise.
17976         * crypt/sha512-block.c: Likewise.
17977         * crypt/sha512-crypt.c: Likewise.
17978         * crypt/sha512.c: Likewise.
17979         * debug/backtrace-tst.c: Likewise.
17980         * debug/pcprofiledump.c: Likewise.
17981         * elf/cache.c: Likewise.
17982         * elf/dl-cache.c: Likewise.
17983         * elf/dl-misc.c: Likewise.
17984         * elf/dl-profile.c: Likewise.
17985         * elf/dl-support.c: Likewise.
17986         * elf/ldconfig.c: Likewise.
17987         * elf/sprof.c: Likewise.
17988         * iconv/dummy-repertoire.c: Likewise.
17989         * iconv/iconv_charmap.c: Likewise.
17990         * iconv/skeleton.c: Likewise.
17991         * iconvdata/8bit-generic.c: Likewise.
17992         * iconvdata/cp737.h: Likewise.
17993         * iconvdata/cp775.h: Likewise.
17994         * iconvdata/ibm1008.h: Likewise.
17995         * iconvdata/ibm1025.h: Likewise.
17996         * iconvdata/ibm1046.h: Likewise.
17997         * iconvdata/ibm1097.h: Likewise.
17998         * iconvdata/ibm1112.h: Likewise.
17999         * iconvdata/ibm1122.h: Likewise.
18000         * iconvdata/ibm1123.h: Likewise.
18001         * iconvdata/ibm1124.h: Likewise.
18002         * iconvdata/ibm1129.h: Likewise.
18003         * iconvdata/ibm1130.h: Likewise.
18004         * iconvdata/ibm1132.h: Likewise.
18005         * iconvdata/ibm1133.h: Likewise.
18006         * iconvdata/ibm1137.h: Likewise.
18007         * iconvdata/ibm1140.h: Likewise.
18008         * iconvdata/ibm1141.h: Likewise.
18009         * iconvdata/ibm1142.h: Likewise.
18010         * iconvdata/ibm1143.h: Likewise.
18011         * iconvdata/ibm1144.h: Likewise.
18012         * iconvdata/ibm1145.h: Likewise.
18013         * iconvdata/ibm1146.h: Likewise.
18014         * iconvdata/ibm1147.h: Likewise.
18015         * iconvdata/ibm1148.h: Likewise.
18016         * iconvdata/ibm1149.h: Likewise.
18017         * iconvdata/ibm1153.h: Likewise.
18018         * iconvdata/ibm1154.h: Likewise.
18019         * iconvdata/ibm1155.h: Likewise.
18020         * iconvdata/ibm1156.h: Likewise.
18021         * iconvdata/ibm1157.h: Likewise.
18022         * iconvdata/ibm1158.h: Likewise.
18023         * iconvdata/ibm1160.h: Likewise.
18024         * iconvdata/ibm1161.h: Likewise.
18025         * iconvdata/ibm1162.h: Likewise.
18026         * iconvdata/ibm1163.h: Likewise.
18027         * iconvdata/ibm1164.h: Likewise.
18028         * iconvdata/ibm1166.h: Likewise.
18029         * iconvdata/ibm1167.h: Likewise.
18030         * iconvdata/ibm12712.h: Likewise.
18031         * iconvdata/ibm1390.h: Likewise.
18032         * iconvdata/ibm1399.h: Likewise.
18033         * iconvdata/ibm16804.h: Likewise.
18034         * iconvdata/ibm4517.h: Likewise.
18035         * iconvdata/ibm4899.h: Likewise.
18036         * iconvdata/ibm4909.h: Likewise.
18037         * iconvdata/ibm4971.h: Likewise.
18038         * iconvdata/ibm5347.h: Likewise.
18039         * iconvdata/ibm803.h: Likewise.
18040         * iconvdata/ibm856.h: Likewise.
18041         * iconvdata/ibm901.h: Likewise.
18042         * iconvdata/ibm902.h: Likewise.
18043         * iconvdata/ibm9030.h: Likewise.
18044         * iconvdata/ibm9066.h: Likewise.
18045         * iconvdata/ibm921.h: Likewise.
18046         * iconvdata/ibm922.h: Likewise.
18047         * iconvdata/ibm9448.h: Likewise.
18048         * iconvdata/isiri-3342.h: Likewise.
18049         * iconvdata/jis0201.h: Likewise.
18050         * include/link.h: Likewise.
18051         * include/netdb.h: Likewise.
18052         * inet/check_native.c: Likewise.
18053         * inet/check_pf.c: Likewise.
18054         * inet/getipv4sourcefilter.c: Likewise.
18055         * inet/getnameinfo.c: Likewise.
18056         * inet/getsourcefilter.c: Likewise.
18057         * inet/htonl.c: Likewise.
18058         * inet/setipv4sourcefilter.c: Likewise.
18059         * inet/setsourcefilter.c: Likewise.
18060         * inet/test-inet6_opt.c: Likewise.
18061         * inet/tst-network.c: Likewise.
18062         * locale/C-collate.c: Likewise.
18063         * locale/C-ctype.c: Likewise.
18064         * locale/C-time.c: Likewise.
18065         * locale/C-translit.h: Likewise.
18066         * locale/loadarchive.c: Likewise.
18067         * locale/programs/3level.h: Likewise.
18068         * locale/programs/charmap.c: Likewise.
18069         * locale/programs/charmap.h: Likewise.
18070         * locale/programs/ld-address.c: Likewise.
18071         * locale/programs/ld-collate.c: Likewise.
18072         * locale/programs/ld-ctype.c: Likewise.
18073         * locale/programs/ld-identification.c: Likewise.
18074         * locale/programs/ld-measurement.c: Likewise.
18075         * locale/programs/ld-messages.c: Likewise.
18076         * locale/programs/ld-monetary.c: Likewise.
18077         * locale/programs/ld-name.c: Likewise.
18078         * locale/programs/ld-numeric.c: Likewise.
18079         * locale/programs/ld-paper.c: Likewise.
18080         * locale/programs/ld-telephone.c: Likewise.
18081         * locale/programs/ld-time.c: Likewise.
18082         * locale/programs/linereader.c: Likewise.
18083         * locale/programs/locale.c: Likewise.
18084         * locale/programs/locarchive.c: Likewise.
18085         * locale/programs/locfile.h: Likewise.
18086         * locale/programs/repertoire.c: Likewise.
18087         * locale/programs/simple-hash.c: Likewise.
18088         * locale/programs/simple-hash.h: Likewise.
18089         * malloc/memusage.c: Likewise.
18090         * malloc/memusagestat.c: Likewise.
18091         * nis/nis_defaults.c: Likewise.
18092         * nis/nis_hash.c: Likewise.
18093         * nis/nis_print.c: Likewise.
18094         * nis/nis_xdr.c: Likewise.
18095         * nscd/connections.c: Likewise.
18096         * nscd/hstcache.c: Likewise.
18097         * nscd/nscd_gethst_r.c: Likewise.
18098         * nscd/nscd_getserv_r.c: Likewise.
18099         * nscd/nscd_helper.c: Likewise.
18100         * nscd/servicescache.c: Likewise.
18101         * nss/makedb.c: Likewise.
18102         * nss/nss_db/db-XXX.c: Likewise.
18103         * nss/nss_db/db-initgroups.c: Likewise.
18104         * nss/nss_db/db-netgrp.c: Likewise.
18105         * nss/nss_files/files-network.c: Likewise.
18106         * nss/nss_files/files-parse.c: Likewise.
18107         * posix/bug-regex5.c: Likewise.
18108         * posix/fnmatch_loop.c: Likewise.
18109         * posix/regcomp.c: Likewise.
18110         * posix/regexec.c: Likewise.
18111         * posix/tst-rfc3484-2.c: Likewise.
18112         * posix/tst-rfc3484-3.c: Likewise.
18113         * posix/tst-rfc3484.c: Likewise.
18114         * resolv/nss_dns/dns-canon.c: Likewise.
18115         * resolv/nss_dns/dns-network.c: Likewise.
18116         * resolv/res_init.c: Likewise.
18117         * resolv/res_mkquery.c: Likewise.
18118         * resolv/tst-aton.c: Likewise.
18119         * stdlib/cxa_atexit.c: Likewise.
18120         * stdlib/cxa_finalize.c: Likewise.
18121         * stdlib/gen-fpioconst.c: Likewise.
18122         * stdlib/strtol_l.c: Likewise.
18123         * string/tst-endian.c: Likewise.
18124         * sunrpc/auth_des.c: Likewise.
18125         * sunrpc/clnt_udp.c: Likewise.
18126         * sunrpc/rtime.c: Likewise.
18127         * sunrpc/svcauth_des.c: Likewise.
18128         * sunrpc/xdr.c: Likewise.
18129         * sunrpc/xdr_intXX_t.c: Likewise.
18130         * sunrpc/xdr_rec.c: Likewise.
18131         * sysdeps/generic/ldconfig.h: Likewise.
18132         * sysdeps/generic/ldsodefs.h: Likewise.
18133         * sysdeps/generic/memusage.h: Likewise.
18134         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18135         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18136         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18140         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18141         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18142         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18144         * sysdeps/posix/getaddrinfo.c: Likewise.
18145         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18146         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18147         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18148         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18149         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18150         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18151         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18152         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18153         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18154         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18155         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18156         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18157         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18158         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18159         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18160         * sysdeps/x86_64/dl-tls.h: Likewise.
18161         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18162         * time/alt_digit.c: Likewise.
18163         * time/era.c: Likewise.
18164         * wcsmbs/tst-c16c32-1.c: Likewise.
18165
18166 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18167
18168         * math/libm-test.inc (struct test_sincos_data): New type.
18169         (RUN_TEST_LOOP_sincos): New macro.
18170         (sincos_test_data): New variable.
18171         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18172
18173 2013-05-16  Richard Henderson  <rth@redhat.com>
18174
18175         * math/atest-exp2.c (LIMB64): New macro.
18176         (CONSTSZ): New macro.
18177         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18178         (hexdig): Move ...
18179         (print_mpn_fp): ... to function scope.
18180         (read_mpn_hex): Remove.
18181         (get_log2): Remove.
18182         (exp2_mpn): Use mp_log2.
18183         (main): Use mp_exp1.
18184
18185 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18186
18187         * math/libm-test.inc: Remove comment about not testing "inexact"
18188         exceptions.
18189         (INEXACT_EXCEPTION): New macro.
18190         (NO_INEXACT_EXCEPTION): Likewise.
18191         (INVALID_EXCEPTION_OK): Update value.
18192         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18193         (OVERFLOW_EXCEPTION_OK): Likewise.
18194         (UNDERFLOW_EXCEPTION_OK): Likewise.
18195         (IGNORE_ZERO_INF_SIGN): Likewise.
18196         (ERRNO_UNCHANGED): Likewise.
18197         (ERRNO_EDOM): Likewise.
18198         (ERRNO_ERANGE): Likewise.
18199         (test_exceptions): Handle testing "inexact" exceptions.
18200         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18201         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18202         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18203         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18204         INEXACT_EXCEPTION.
18205         (rint_towardzero_test_data): Likewise.
18206         (rint_downward_test_data): Likewise.
18207         (rint_upward_test_data): Likewise.
18208
18209         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18210         with OVERFLOW_EXCEPTION.
18211         (exp10_test_data): Likewise.
18212         (exp2_test_data): Likewise.
18213         (expm1_test_data): Likewise.
18214         (lgamma_test_data): Likewise.
18215         (pow_test_data): Likewise.
18216         (tgamma_test_data): Likewise.
18217         (yn_test_data): Remove duplicate test of overflow.
18218
18219         * math/libm-test.inc (struct test_cc_c_data): New type.
18220         (RUN_TEST_LOOP_cc_c): New macro.
18221         (cpow_test_data): New variable.
18222         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18223
18224         * math/libm-test.inc (struct test_f_L_data): New type.
18225         (RUN_TEST_LOOP_f_L): New macro.
18226         (llrint_test_data): New variable.
18227         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18228         (llrint_tonearest_test_data): New variable.
18229         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18230         (llrint_towardzero_test_data): New variable.
18231         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18232         (llrint_downward_test_data): New variable.
18233         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18234         (llrint_upward_test_data): New variable.
18235         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18236         (llround_test_data): New variable.
18237         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18238
18239 2013-05-13  Peter Collingbourne  <pcc@google.com>
18240
18241         * math/atest-exp2.c (get_log2): Remove const attribute.
18242
18243 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18244
18245         * math/libm-test.inc (struct test_f_l_data): New type.
18246         (RUN_TEST_LOOP_f_l): New macro.
18247         (lrint_test_data): New variable.
18248         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18249         (lrint_tonearest_test_data): New variable.
18250         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18251         (lrint_towardzero_test_data): New variable.
18252         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18253         (lrint_downward_test_data): New variable.
18254         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18255         (lrint_upward_test_data): New variable.
18256         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18257         (lround_test_data): New variable.
18258         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18259
18260 2013-05-15  Peter Collingbourne  <pcc@google.com>
18261
18262         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18263         (EXTRACT_WORDS64) Use where appropriate.
18264         (INSERT_WORDS64) Likewise.
18265
18266         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18267         constraints with x constraints.
18268         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18269
18270         * malloc/obstack.c (_obstack_compat): Add initializer.
18271
18272 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18273
18274         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18275         si_trapno and add si_addr_lsb to _sifields.sigfault.
18276         (si_trapno): Remove macro.
18277         (si_addr_lsb): Define new macro.
18278         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18279
18280 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18281
18282         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18283         instead of TEST_f_l.
18284         (llrint_test_tonearest): Likewise.
18285         (llrint_test_towardzero): Likewise.
18286         (llrint_test_downward): Likewise.
18287         (llrint_test_upward): Likewise.
18288         (llround_test): Likewise.
18289
18290         * math/libm-test.inc (struct test_f_i_data): Add comment.
18291         (RUN_TEST_LOOP_f_b): New macro.
18292         (RUN_TEST_LOOP_f_b_tg): Likewise.
18293         (finite_test_data): New variable.
18294         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18295         (isfinite_test_data): New variable.
18296         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18297         (isinf_test_data): New variable.
18298         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18299         (isnan_test_data): New variable.
18300         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18301         (isnormal_test_data): New variable.
18302         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18303         (issignaling_test_data): New variable.
18304         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18305         (signbit_test_data): New variable.
18306         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18307
18308         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18309         with INVALID_EXCEPTION.
18310         (acosh_test_data): Likewise.
18311         (asin_test_data): Likewise.
18312         (atanh_test_data): Likewise.
18313         (fmod_test_data): Likewise.
18314         (log_test_data): Likewise.
18315         (log10_test_data): Likewise.
18316         (log2_test_data): Likewise.
18317         (pow_test_data): Likewise.
18318         (sqrt_test_data): Likewise.
18319         (y0_test_data): Likewise.
18320         (y1_test_data): Likewise.
18321         (yn_test_data): Likewise.
18322
18323         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18324         function contents.
18325
18326         * math/libm-test.inc (struct test_ff_i_data): New type.
18327         (RUN_TEST_LOOP_ff_i_tg): New macro.
18328         (isgreater_test_data): New variable.
18329         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18330         (isgreaterequal_test_data): New variable.
18331         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18332         (isless_test_data): New variable.
18333         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18334         (islessequal_test_data): New variable.
18335         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18336         (islessgreater_test_data): New variable.
18337         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18338         (isunordered_test_data): New variable.
18339         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18340
18341 2013-05-14  David S. Miller  <davem@davemloft.net>
18342
18343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18344
18345 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18346
18347         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18348
18349         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18350         extra_test to int.
18351         (struct test_f_i_data): Change type of max_ulp to int.
18352
18353         * math/libm-test.inc (test_ffI_f1_data): New type.
18354         (RUN_TEST_LOOP_ffI_f1): New macro.
18355         (remquo_test_data): New variable.
18356         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18357
18358         * setjmp/tst-setjmp-fp.c: New file.
18359         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18360         (link-libm): New variable.
18361         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18362
18363         * math/libm-test.inc (struct test_f_i_data): New type.
18364         (RUN_TEST_LOOP_f_i): New macro.
18365         (RUN_TEST_LOOP_f_i_tg): Likewise.
18366         (fpclassify_test_data): New variable.
18367         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18368         (ilogb_test_data): New variable.
18369         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18370
18371         * math/libm-test.inc (scalbln_test): Correct function name in END
18372         call.
18373
18374         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18375         (RUN_TEST_LOOP_fI_f1): New macro.
18376         (frexp_test_data): New variable.
18377         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18378
18379         * math/libm-test.inc (struct test_fF_f1_data): New type.
18380         (RUN_TEST_LOOP_fF_f1): New macro.
18381         (modf_test_data): New variable.
18382         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18383
18384         * math/libm-test.inc (struct test_f_f1_data): New type.
18385         (RUN_TEST_LOOP_f_f1): New macro.
18386         (gamma_test_data): New variable.
18387         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18388         (lgamma_test_data): New variable.
18389         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18390
18391 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18392
18393         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18394         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18395         (main): Comment "tls" pseudo-hwcap.
18396
18397 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18398
18399         * math/libm-test.inc (struct test_fl_f_data): New type.
18400         (RUN_TEST_LOOP_fl_f): New variable.
18401         (scalbln_test_data): New variable.
18402         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18403
18404         * math/libm-test.inc (struct test_fi_f_data): New type.
18405         (RUN_TEST_LOOP_fi_f): New macro.
18406         (ldexp_test_data): New variable.
18407         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18408         (scalbn_test_data): New variable.
18409         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18410
18411         * math/libm-test.inc (struct test_c_f_data): New type.
18412         (RUN_TEST_LOOP_c_f): New macro.
18413         (cabs_test_data): New variable.
18414         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18415         (carg_test_data): New variable.
18416         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18417         (cimag_test_data): New variable.
18418         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18419         (creal_test_data): New variable.
18420         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18421
18422         * math/libm-test.inc (struct test_if_f_data): New type.
18423         (RUN_TEST_LOOP_if_f): New macro.
18424         (jn_test_data): New variable.
18425         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18426         (yn_test_data): New variable.
18427         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18428
18429         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18430
18431 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18432
18433         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18434         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18435
18436 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18437
18438         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18439         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18440         (bench-deps): Add bench-timing.h.
18441         * benchtests-bench-skeleton.c: Include bench-timing.h.
18442         (main): Use TIMING_* macros instead of clock_gettime.
18443         * benchtests/bench-timing.h: New file.
18444
18445         [BZ #14582]
18446         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18447         Renamed from _LIB_VERSION.
18448         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18449
18450 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18451
18452         * math/libm-test.inc (struct test_fff_f_data): New type.
18453         (RUN_TEST_LOOP_fff_f): New macro.
18454         (fma_test_data): New variable.
18455         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18456         (fma_towardzero_test_data): New variable.
18457         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18458         (fma_downward_test_data): New variable.
18459         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18460         (fma_upward_test_data): New variable.
18461         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18462
18463         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18464         (struct test_c_c_data): New type.
18465         (RUN_TEST_LOOP_c_c): New macro.
18466         (cacos_test_data): New variable.
18467         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18468         (cacosh_test_data): New variable.
18469         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18470         (casin_test_data): New variable.
18471         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18472         (casinh_test_data): New variable.
18473         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18474         (catan_test_data): New variable.
18475         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18476         (catanh_test_data): New variable.
18477         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18478         (ccos_test_data): New variable.
18479         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18480         (ccosh_test_data): New variable.
18481         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18482         (cexp_test_data): New variable.
18483         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18484         (clog_test_data): New variable.
18485         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18486         (clog10_test_data): New variable.
18487         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18488         (conj_test_data): New variable.
18489         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18490         (cproj_test_data): New variable.
18491         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18492         (csin_test_data): New variable.
18493         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18494         (csinh_test_data): New variable.
18495         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18496         (csqrt_test_data): New variable.
18497         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18498         (ctan_test_data): New variable.
18499         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18500         (ctan_tonearest_test_data): New variable.
18501         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18502         (ctan_towardzero_test_data): New variable.
18503         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18504         (ctan_downward_test_data): New variable.
18505         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18506         (ctan_upward_test_data): New variable.
18507         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18508         (ctanh_test_data): New variable.
18509         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18510         (ctanh_tonearest_test_data): New variable.
18511         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18512         (ctanh_towardzero_test_data): New variable.
18513         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18514         (ctanh_downward_test_data): New variable.
18515         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18516         (ctanh_upward_test_data): New variable.
18517         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18518         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18519         of BUILD_COMPLEX.
18520
18521         * math/libm-test.inc (struct test_ff_f_data): New type.
18522         (struct test_ff_f_data_nexttoward): Likewise.
18523         (RUN_TEST_LOOP_2_f): New macro.
18524         (RUN_TEST_LOOP_ff_f): Likewise.
18525         (atan2_test_data): New variable.
18526         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18527         (copysign_test_data): New variable.
18528         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18529         (fdim_test_data): New variable.
18530         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18531         (fmax_test_data): New variable.
18532         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18533         (fmin_test_data): New variable.
18534         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18535         (fmod_test_data): New variable.
18536         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18537         (hypot_test_data): New variable.
18538         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18539         (nextafter_test_data): New variable.
18540         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18541         (nexttoward_test_data): New variable.
18542         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18543         (pow_test_data): New variable.
18544         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18545         (pow_tonearest_test_data): New variable.
18546         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18547         (pow_towardzero_test_data): New variable.
18548         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18549         (pow_downward_test_data): New variable.
18550         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18551         (pow_upward_test_data): New variable.
18552         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18553         (remainder_test_data): New variable.
18554         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18555         (scalb_test_data): New variable.
18556         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18557         * sysdeps/i386/fpu/libm-test-ulps: Update.
18558
18559 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18560
18561         * math/libm-test.inc (fma_test): Use max_value instead of local
18562         variable fltmax.
18563         (nextafter_test): Likewise.
18564
18565         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18566         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18567         (acos_downward_test_data): New variable.
18568         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18569         (acos_upward_test_data): New variable.
18570         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18571         (acosh_test_data): New variable.
18572         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18573         (asin_test_data): New variable.
18574         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18575         (asin_tonearest_test_data): New variable.
18576         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18577         (asin_towardzero_test_data): New variable.
18578         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18579         (asin_downward_test_data): New variable.
18580         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18581         (asin_upward_test_data): New variable.
18582         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18583         (asinh_test_data): New variable.
18584         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18585         (atan_test_data): New variable.
18586         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18587         (atanh_test_data): New variable.
18588         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18589         (cbrt_test_data): New variable.
18590         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18591         (ceil_test_data): New variable.
18592         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18593         (cos_test_data): New variable.
18594         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18595         (cos_tonearest_test_data): New variable.
18596         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18597         (cos_towardzero_test_data): New variable.
18598         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18599         (cos_downward_test_data): New variable.
18600         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18601         (cos_upward_test_data): New variable.
18602         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18603         (cosh_test_data): New variable.
18604         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18605         (cosh_tonearest_test_data): New variable.
18606         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18607         (cosh_towardzero_test_data): New variable.
18608         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18609         (cosh_downward_test_data): New variable.
18610         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18611         (cosh_upward_test_data): New variable.
18612         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18613         (erf_test_data): New variable.
18614         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18615         (erfc_test_data): New variable.
18616         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18617         (exp_test_data): New variable.
18618         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18619         (exp_tonearest_test_data): New variable.
18620         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18621         (exp_towardzero_test_data): New variable.
18622         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18623         (exp_downward_test_data): New variable.
18624         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18625         (exp_upward_test_data): New variable.
18626         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18627         (exp10_test_data): New variable.
18628         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18629         (exp2_test_data): New variable.
18630         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18631         (expm1_test_data): New variable.
18632         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18633         (fabs_test_data): New variable.
18634         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18635         (floor_test_data): New variable.
18636         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18637         (j0_test_data): New variable.
18638         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18639         (j1_test_data): New variable.
18640         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18641         (log_test_data): New variable.
18642         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18643         (log10_test_data): New variable.
18644         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18645         (log1p_test_data): New variable.
18646         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18647         (log2_test_data): New variable.
18648         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18649         (logb_test_data): New variable.
18650         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18651         (logb_downward_test_data): New variable.
18652         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18653         (nearbyint_test_data): New variable.
18654         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18655         (rint_test_data): New variable.
18656         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18657         (rint_tonearest_test_data): New variable.
18658         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18659         (rint_towardzero_test_data): New variable.
18660         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18661         (rint_downward_test_data): New variable.
18662         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18663         (rint_upward_test_data): New variable.
18664         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18665         (round_test_data): New variable.
18666         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18667         (sin_test_data): New variable.
18668         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18669         (sin_tonearest_test_data): New variable.
18670         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18671         (sin_towardzero_test_data): New variable.
18672         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18673         (sin_downward_test_data): New variable.
18674         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18675         (sin_upward_test_data): New variable.
18676         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18677         (sinh_test_data): New variable.
18678         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18679         (sinh_tonearest_test_data): New variable.
18680         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18681         (sinh_towardzero_test_data): New variable.
18682         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18683         (sinh_downward_test_data): New variable.
18684         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18685         (sinh_upward_test_data): New variable.
18686         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18687         (sqrt_test_data): New variable.
18688         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18689         (tan_test_data): New variable.
18690         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18691         (tan_tonearest_test_data): New variable.
18692         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18693         (tan_towardzero_test_data): New variable.
18694         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18695         (tan_downward_test_data): New variable.
18696         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18697         (tan_upward_test_data): New variable.
18698         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18699         (tanh_test_data): New variable.
18700         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18701         (tgamma_test_data): New variable.
18702         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18703         (trunc_test_data): New variable.
18704         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18705         (y0_test_data): New variable.
18706         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18707         (y1_test_data): New variable.
18708         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18709         (significand_test_data): New variable.
18710         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18711
18712 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18713
18714         [BZ #12387]
18715         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18716
18717 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18718
18719         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18720
18721 2013-05-10  Andreas Jaeger  <aj@suse.de>
18722
18723         [BZ #15448]
18724         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18725         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18726
18727 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18728
18729         * math/gen-libm-test.pl (adjust_arg): New function.
18730         (special_functions): Handle generating output in both functions
18731         and arrays.
18732         (parse_args): Likewise.
18733         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18734         $in_func argument to parse_args.
18735         * math/libm-test.inc (struct test_f_f_data): New type.
18736         (IF_ROUND_INIT_): New macro.
18737         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18738         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18739         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18740         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18741         (ROUND_RESTORE_): Likewise.
18742         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18743         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18744         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18745         (ROUND_RESTORE_FE_UPWARD): Likewise.
18746         (RUN_TEST_LOOP_f_f): New macro.
18747         (acos_test_data): New variable.
18748         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18749         (acos_tonearest_test_data): New variable.
18750         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18751
18752 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18753
18754         * benchtests/bench-skeleton.c (startup): Fix coding style.
18755
18756 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18757
18758         [BZ #6809]
18759         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18760         negative infinity argument.
18761         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18762         negative infinity argument.
18763         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18764         negative infinity argument.
18765         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18766         domain errors.
18767
18768 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18769
18770         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18771         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18772         * iconv/iconv_prog.c (main): Likewise.
18773         * locale/programs/charmap-dir.c (charmap_readdir)
18774         (fopen_uncompressed): Likewise.
18775         * locale/programs/locfile.c (siblings_uncached)
18776         (write_locale_data): Use lstat64 instead of lstat.
18777         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18778         stat.
18779
18780 2013-05-10  Andreas Jaeger  <aj@suse.de>
18781
18782         [BZ #15395]
18783         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18784         localization.
18785         Include <locale.h>.
18786
18787 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18788
18789         * elf/dl-close.c (_dl_close_worker): Add comments.
18790
18791 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18792
18793         [BZ #15359]
18794         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18795         high part of pi/2.
18796         (__ieee754_rem_pio2l): Update comments.
18797
18798         [BZ #15429]
18799         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18800         high part of pi/2.
18801         (__ieee754_rem_pio2l): Update comments.
18802
18803         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18804         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18805
18806         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18807         M_PI_4l.
18808
18809         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18810         (M_PI_34_LOG10El): Likewise.
18811         (M_PI2_LOG10El): Likewise.
18812         (M_PI4_LOG10El): Likewise.
18813         (M_PI_LOG10El): Likewise.
18814
18815 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18816
18817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18818
18819 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18820
18821         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18822         (MINUS_ZERO_INIT): Likewise.
18823         (PLUS_INFTY_INIT): Likewise.
18824         (MINUS_INFTY_INIT): Likewise.
18825         (QNAN_VALUE_INIT): Likewise.
18826         (MAX_VALUE_INIT): Likewise.
18827         (MIN_VALUE_INIT): Likewise.
18828         (MIN_SUBNORM_VALUE_INIT): Likewise.
18829         (plus_zero): Initialize with PLUS_ZERO_INIT.
18830         (minus_zero): Initialize with MINUS_ZERO_INIT.
18831         (plus_infty): Initialize with PLUS_INFTY_INIT.
18832         (minus_infty): Initialize with MINUS_INFTY_INIT.
18833         (qnan_value): Initialize with QNAN_VALUE_INIT.
18834         (max_value): Initialize with MAX_VALUE_INIT.
18835         (min_value): Initialize with MIN_VALUE_INIT.
18836         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18837
18838         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18839         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18840         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18841         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18842
18843         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18844         (RUN_TEST_2_f): Likewise.
18845         (RUN_TEST_ff_f): Likewise.
18846         (RUN_TEST_fi_f): Likewise.
18847         (RUN_TEST_fl_f): Likewise.
18848         (RUN_TEST_fff_f): Likewise.
18849         (RUN_TEST_c_f): Likewise.
18850         (RUN_TEST_f_f1): Likewise.
18851         (RUN_TEST_fF_f1): Likewise.
18852         (RUN_TEST_fI_f1): Likewise.
18853         (RUN_TEST_ffI_f1): Likewise.
18854         (RUN_TEST_c_c): Likewise.
18855         (RUN_TEST_cc_c): Likewise.
18856         (RUN_TEST_f_i): Likewise.
18857         (RUN_TEST_f_i_tg): Likewise.
18858         (RUN_TEST_ff_i_tg): Likewise.
18859         (RUN_TEST_f_b): Likewise.
18860         (RUN_TEST_f_b_tg): Likewise.
18861         (RUN_TEST_f_l): Likewise.
18862         (RUN_TEST_f_L): Likewise.
18863         (RUN_TEST_sincos): Likewise.
18864         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18865         whether to show exceptions.  Do not include ");\n" in return
18866         value.
18867         (special_functions): Output call to RUN_TEST_sincos instead of
18868         check_float calls.  Update calls to new_test.
18869         (parse_args): Output call to single RUN_TEST_* macro instead of
18870         check_* calls and other assignments.  Update calls to new_test.
18871
18872         [BZ #2546]
18873         [BZ #2560]
18874         [BZ #5159]
18875         [BZ #15426]
18876         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18877         input to result for tgamma overflow.
18878         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18879         (gamma_coeff): New variable.
18880         (NCOEFF): New macro.
18881         (gamma_positive): New function.
18882         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18883         underflow here.  Use gamma_positive instead of exp (lgamma) for
18884         other arguments.
18885         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18886         (gamma_coeff): New variable.
18887         (NCOEFF): New macro.
18888         (gammaf_positive): New function.
18889         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18890         underflow here.  Use gamma_positive instead of exp (lgamma) for
18891         other arguments.
18892         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18893         (gamma_coeff): New variable.
18894         (NCOEFF): New macro.
18895         (gammal_positive): New function.
18896         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18897         underflow here.  Use gamma_positive instead of exp (lgamma) for
18898         other arguments.
18899         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18900         (gamma_coeff): New variable.
18901         (NCOEFF): New macro.
18902         (gammal_positive): New function.
18903         (__ieee754_gammal_r): Handle positive infinity, overflow and
18904         underflow here.  Handle NaN the same as positive infinity.  Remove
18905         check x < 0xffffffff for negative integers.  Use gamma_positive
18906         instead of exp (lgamma) for other arguments.
18907         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18908         (gamma_coeff): New variable.
18909         (NCOEFF): New macro.
18910         (gammal_positive): New function.
18911         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18912         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18913         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18914         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18915         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18916         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18917         * sysdeps/generic/math_private.h (__gamma_productf): New
18918         prototype.
18919         (__gamma_product): Likewise.
18920         (__gamma_productl): Likewise.
18921         * math/Makefile (libm-calls): Add gamma_product.
18922         * math/libm-test.inc (tgamma_test): Add more tests.
18923         * sysdeps/i386/fpu/libm-test-ulps: Update.
18924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925
18926 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18927
18928         * benchtests/bench-skeleton.c (main): Preheat CPU.
18929
18930 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18931
18932         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18933
18934 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18935
18936         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18937         and _dl_skip_args_internal.
18938
18939 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18940
18941         * manual/message.texi (Message Translation): Talk about users.
18942         Message to key mapping impacts design.
18943
18944 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18945
18946         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18947
18948         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18949
18950         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18951         * sysdeps/wordsize-64/glob64.c: ... here.
18952
18953         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18954         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18955         New macros.
18956
18957         * debug/getlogin_r_chk.c: Moved to ...
18958         * login/getlogin_r_chk.c: ... here.
18959         * debug/Makefile (routines): Move getlogin_r_chk to ...
18960         * login/Makefile (routines): ... here.
18961         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18962         * login/Versions (libc: GLIBC_2.4): ... here.
18963
18964         * io/poll.c (__poll): Renamed from poll.
18965         Add libc_hidden_def.
18966         (poll): Define as weak alias.
18967
18968         * debug/ptsname_r_chk.c: Moved to ...
18969         * login/ptsname_r_chk.c: ... here.
18970         * debug/Makefile (routines): Move ptsname_r_chk to ...
18971         * login/Makefile (routines): ... here.
18972         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18973         * login/Versions (libc: GLIBC_2.4): ... here.
18974
18975         * posix/getlogin.c: Moved to ...
18976         * login/getlogin.c: ... here.
18977         * posix/getlogin_r.c: Moved to ...
18978         * login/getlogin_r.c: ... here.
18979         * posix/getlogin_r.c: Moved to ...
18980         * login/getlogin_r.c: ... here.
18981         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18982         * login/Makefile (routines): ... here.
18983         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18984         * login/Versions (libc: GLIBC_2.0): ... here.
18985
18986         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18987         (setrlimit): Define as weak alias.
18988
18989         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18990         Call __ names for open, ftruncate, and close.
18991         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18992         (truncate): Define as weak alias.
18993
18994 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18995
18996         * math/gen-libm-test.pl (parse_args): Initialize x before each
18997         test of frexp, modf and remquo.
18998
18999         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19000         test signgam value.
19001
19002 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19003
19004         [BZ #15418]
19005         [BZ #15419]
19006         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19007         internal tests.
19008         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19009
19010 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19011
19012         * elf/dl-writev.h: New file.
19013         * elf/dl-misc.c: Include it.
19014         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19015         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19016
19017 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19018
19019         * math/libm-test.inc (noXFails): Remove variable.
19020         (noXPasses): Likewise.
19021         (BUILD_COMPLEX_INT): Remove macro.
19022         (print_screen): Remove xfail argument.
19023         (print_screen_max_error): Likewise.
19024         (update_stats): Likewise.
19025         (print_max_error): Likewise.  Update calls to other affected
19026         functions.
19027         (print_complex_max_error): Likewise.
19028         (test_single_exception): Update calls to print_screen.
19029         (test_single_errno): Likewise.
19030         (check_float_internal): Remove xfail argument.  Update calls to
19031         other affected functions.
19032         (check_float): Likewise.
19033         (check_complex): Likewise.
19034         (check_int): Likewise.
19035         (check_long): Likewise.
19036         (check_bool): Likewise.
19037         (check_longlong): Likewise.
19038         (main): Don't print noXFails and noXPasses.
19039         * math/gen-libm-test.pl (top level): Don't mention expected
19040         failure handling in comment.
19041         (new_test): Don't handle expected failures.
19042         (parse_args): Don't mention expected failure handling in comment.
19043         (generate_testfile): Don't handle expected failures.
19044         (parse_ulps): Likewise.
19045         (print_ulps_file): Likewise.
19046         (get_failure): Remove function.
19047         (output_test): Don't handle expected failures.
19048         * make/README.libm-test: Don't mention expected failure handling.
19049
19050         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19051         (minus_zero): Likewise.
19052         (plus_infty): Likewise.
19053         (minus_infty): Likewise.
19054         (qnan_value): Likewise.
19055         (max_value): Likewise.
19056         (min_value): Likewise.
19057         (min_subnorm_value): Likewise.
19058         (initialize): Do not initialize those variables dynamically.
19059
19060 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19061
19062         * io/open.c (__open_2): Moved to ...
19063         * io/open_2.c: ... this new file.
19064         * io/open64.c (__open64_2): Moved to ...
19065         * io/open64_2.c: ... this new file.
19066         * io/openat.c (__openat_2): Moved to ...
19067         * io/openat_2.c: ... this new file.
19068         * io/openat64.c (__openat64_2): Moved to ...
19069         * io/openat64_2.c: ... this new file.
19070         * io/Makefile (routines): Add them.
19071         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19072         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19073         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19074         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19075         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19076         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19077         (__openat64): Add hidden_ver.
19078         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19079         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19080
19081         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19082         Separately conditionalize setting of GLRO(dl_sysinfo) so
19083         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19084         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19085
19086 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19087
19088         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19089         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19090         definition.
19091         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19092         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19093         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19094         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19095         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19096
19097 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19098
19099         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19100         test signgam value.
19101
19102         * math/libm-test.inc (hypot_test): Do not use
19103         IGNORE_ZERO_INF_SIGN.
19104
19105 2013-05-03  Andreas Jaeger  <aj@suse.de>
19106
19107         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19108         Linux 3.9.
19109         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19110         (PF_MAX): Adjust for VSOCK change.
19111
19112 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19113
19114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19115
19116 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19117
19118         [BZ #15264]
19119         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19120         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19121         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19122
19123 2013-05-02  David S. Miller  <davem@davemloft.net>
19124
19125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19126
19127 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19128
19129         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19130
19131 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19132
19133         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19134
19135 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19136
19137         [BZ #14952]
19138         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19139         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19140         Use __attribute__ ((__gnu_inline__)).
19141         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19142         Don't use __attribute__ ((__gnu_inline__)).
19143
19144 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19145
19146         [BZ #15423]
19147         * math/s_catan.c (__catan): Handle small real or imaginary part of
19148         input specially to avoid spurious underflow.
19149         * math/s_catanf.c (__catanf): Likewise.
19150         * math/s_catanh.c (__catanh): Likewise.
19151         * math/s_catanhf.c (__catanhf): Likewise.
19152         * math/s_catanhl.c (__catanhl): Likewise.
19153         * math/s_catanl.c (__catanl): Likewise.
19154         * math/libm-test.inc (catan_test): Add more tests.
19155         (catanh_test): Likewise.
19156         * sysdeps/i386/fpu/libm-test-ulps: Update.
19157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19158
19159 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19160
19161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19162
19163 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19164
19165         [BZ #15416]
19166         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19167         accurately for denominator in atan2.
19168         * math/s_catanf.c (__catanf): Likewise.
19169         * math/s_catanh.c (__catanh): Likewise.
19170         * math/s_catanhf.c (__catanhf): Likewise.
19171         * math/s_catanhl.c (__catanhl): Likewise.
19172         * math/s_catanl.c (__catanl): Likewise.
19173         * math/libm-test.inc (catan_test): Add more tests.
19174         (catanh_test): Likewise.
19175         * sysdeps/i386/fpu/libm-test-ulps: Update.
19176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19177
19178 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19179
19180         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19181
19182         * benchtests/Makefile (bench): Remove slow benchmarks.
19183         * benchtests/atan-inputs: Add slow benchmark inputs.
19184         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19185         (BENCH_FUNC): Accept variant offset.
19186         (VARIANT): Define.
19187         * benchtests/bench-skeleton.c (main): Run benchmark for each
19188         variant.
19189         * benchtests/cos-inputs: Add slow benchmark inputs.
19190         * benchtests/exp-inputs: Likewise.
19191         * benchtests/pow-inputs: Likewise.
19192         * benchtests/sin-inputs: Likewise.
19193         * benchtests/slowatan-inputs: Remove.
19194         * benchtests/slowatan.c: Remove.
19195         * benchtests/slowcos-inputs: Remove.
19196         * benchtests/slowcos.c: Remove.
19197         * benchtests/slowexp-inputs: Remove.
19198         * benchtests/slowexp.c: Remove.
19199         * benchtests/slowpow-inputs: Remove.
19200         * benchtests/slowpow.c: Remove.
19201         * benchtests/slowsin-inputs: Remove.
19202         * benchtests/slowsin.c: Remove.
19203         * benchtests/slowtan-inputs: Remove.
19204         * benchtests/slowtan.c: Remove.
19205         * benchtests/tan-inputs: Add slow benchmark inputs.
19206         * scripts/bench.pl: Parse comments and directives.
19207
19208         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19209         in CPPFLAGS.
19210         ($(objpfx)bench-%.c): Remove *-ITER.
19211         * benchtests/bench-modf.c: Remove definition of ITER.
19212         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19213         (main): Loop for DURATION seconds instead of fixed number of
19214         iterations.
19215         * scripts/bench.pl: Don't expect iterations in parameters.
19216
19217 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19218
19219         * io/fchdir.c (__fchdir): Renamed from fchdir.
19220         (fchdir): Define as weak alias.
19221
19222 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19223
19224         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19225         (ERRNO_EDOM): Likewise.
19226         (ERRNO_ERANGE): Likewise.
19227         (noErrnoTests): New variable.
19228         (init_max_error): Set errno to 0.
19229         (test_single_errno): New function.
19230         (test_errno): Likewise.
19231         (check_float_internal): Call test_errno.  Set errno to 0.
19232         (check_complex): Refer to errno tests in comment.
19233         (check_int): Call test_errno.  Set errno to 0.
19234         (check_long): Likewise.
19235         (check_bool): Likewise.
19236         (check_longlong): Likewise.
19237         (cos_test): Use ERRNO_* flags for errno tests instead of
19238         check_int.
19239         (expm1_test): Likewise.
19240         (fmod_test): Likewise.
19241         (ilogb_test): Likewise.
19242         (lgamma_test): Likewise.
19243         (pow_test): Likewise.
19244         (remainder_test): Likewise.
19245         (sin_test): Likewise.
19246         (tan_test): Likewise.
19247         (yn_test): Likewise.
19248         (initialize): Set errno to 0.
19249         (main): Print number of errno tests.
19250         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19251
19252 2013-04-29  Andreas Jaeger  <aj@suse.de>
19253
19254         [BZ #15084]
19255         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19256         and RES_USEVC.
19257
19258         [BZ #15085]
19259         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19260         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19261         unimplemented.
19262
19263         [BZ #15380]
19264         * stdlib/random.c (__initstate): Return NULL if
19265         __initstate fails.
19266
19267         [BZ #15086]
19268         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19269         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19270         RES_SNGLKUPREOP.
19271
19272 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19273
19274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19275
19276 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19277
19278         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19279         of individual tests.
19280         (casin_test): Likewise.
19281         (casinh_test): Likewise.
19282
19283 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19284
19285         [BZ #15409]
19286         * math/s_catan.c (__catan): Handle arguments with large real or
19287         imaginary part separately without squaring.
19288         * math/s_catanf.c (__catanf): Likewise.
19289         * math/s_catanh.c (__catanh): Likewise.
19290         * math/s_catanhf.c (__catanhf): Likewise.
19291         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19292         and redefine.
19293         (__catanhl): Handle arguments with large real or imaginary part
19294         separately without squaring.
19295         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19296         and redefine.
19297         (__catanl): Handle arguments with large real or imaginary part
19298         separately without squaring.
19299         * math/libm-test.inc (catan_test): Add more tests.
19300         (catanh_test): Likewise.
19301         * sysdeps/i386/fpu/libm-test-ulps: Update.
19302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303
19304 2013-04-27  Andreas Jaeger  <aj@suse.de>
19305
19306         [BZ #15007]
19307         * stdlib/stdlib.h: Update guards for qecvt.
19308         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19309         <stdlib.h>.
19310
19311 2013-04-27  Allan McRae  <allan@archlinux.org>
19312
19313         * sysdeps/i386/fpu/libm-test-ulps: Update.
19314
19315 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19316
19317         [BZ #15406]
19318         * math/s_catan.c: Include <float.h>.
19319         (__catan): Ensure underflow exception occurs for underflowed
19320         result.
19321         * math/s_catanf.c: Include <float.h>.
19322         (__catanf): Ensure underflow exception occurs for underflowed
19323         result.
19324         * math/s_catanh.c: Include <float.h>.
19325         (__catanh): Ensure underflow exception occurs for underflowed
19326         result.
19327         * math/s_catanhf.c: Include <float.h>.
19328         (__catanhf): Ensure underflow exception occurs for underflowed
19329         result.
19330         * math/s_catanhl.c: Include <float.h>.
19331         (__catanhl): Ensure underflow exception occurs for underflowed
19332         result.
19333         * math/s_catanl.c: Include <float.h>.
19334         (__catanl): Ensure underflow exception occurs for underflowed
19335         result.
19336         * math/libm-test.inc (catan_test): Add more tests.
19337         (catanh_test): Likewise.
19338
19339         [BZ #15405]
19340         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19341         underflowed result.
19342         * math/s_ccoshf.c (__ccoshf): Likewise.
19343         * math/s_ccoshl.c (__ccoshl): Likewise.
19344         * math/s_csin.c (__csin): Likewise.
19345         * math/s_csinf.c (__csinf): Likewise.
19346         * math/s_csinh.c (__csinh): Likewise.
19347         * math/s_csinhf.c (__csinhf): Likewise.
19348         * math/s_csinhl.c (__csinhl): Likewise.
19349         * math/s_csinl.c (__csinl): Likewise.
19350         * math/libm-test.inc (ccos_test): Add more tests.
19351         (ccosh_test): Likewise.
19352         (csin_test): Likewise.
19353         (csinh_test): Likewise.
19354
19355 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19356
19357         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19358         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19359         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19360         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19361         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19362         powerpc/power5+/fpu folders.
19363         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19364
19365
19366 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19367
19368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19369
19370 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19371
19372         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19373         additions to variable.
19374         [$(config-machine) = x86_64] (modules-names): Likewise.
19375         ($(objpfx)tst-audit3): Remove dependency.
19376         ($(objpfx)tst-audit3.out): Likewise.
19377         ($(objpfx)tst-audit4): Likewise.
19378         ($(objpfx)tst-audit4.out): Likewise.
19379         ($(objpfx)tst-audit5): Likewise.
19380         ($(objpfx)tst-audit5.out): Likewise.
19381         ($(objpfx)tst-audit6): Likewise.
19382         ($(objpfx)tst-audit6.out): Likewise.
19383         ($(objpfx)tst-audit7): Likewise.
19384         ($(objpfx)tst-audit7.out): Likewise.
19385         (tst-audit3-ENV): Remove variable.
19386         (tst-audit4-ENV): Likewise.
19387         (tst-audit5-ENV): Likewise.
19388         (tst-audit6-ENV): Likewise.
19389         (tst-audit7-ENV): Likewise.
19390         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19391         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19392         addition to variable.
19393         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19394         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19395         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19396         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19397         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19398         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19399         tst-audit3, tst-audit4 and tst-audit5.
19400         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19401         tst-audit6 and tst-audit7.
19402         [$(subdir) = elf] (modules-names): Add audit modules for those
19403         tests.
19404         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19405         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19406         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19407         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19408         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19409         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19410         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19411         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19412         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19413         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19414         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19415         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19416         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19417         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19418         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19419         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19420         Likewise.
19421         [$(subdir) = elf && $(config-cflags-avx) = yes]
19422         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19423         [$(subdir) = elf && $(config-cflags-avx) = yes]
19424         (CFLAGS-tst-auditmod4a.c): Likewise.
19425         [$(subdir) = elf && $(config-cflags-avx) = yes]
19426         (CFLAGS-tst-auditmod4b.c): Likewise.
19427         [$(subdir) = elf && $(config-cflags-avx) = yes]
19428         (CFLAGS-tst-auditmod6b.c): Likewise.
19429         [$(subdir) = elf && $(config-cflags-avx) = yes]
19430         (CFLAGS-tst-auditmod6c.c): Likewise.
19431         [$(subdir) = elf && $(config-cflags-avx) = yes]
19432         (CFLAGS-tst-auditmod7b.c): Likewise.
19433         * elf/tst-audit3.c: Move to ...
19434         * sysdeps/x86_64/tst-audit3.c: ... here.
19435         * elf/tst-audit4.c: Move to ...
19436         * sysdeps/x86_64/tst-audit4.c: ... here.
19437         * elf/tst-audit5.c: Move to ...
19438         * sysdeps/x86_64/tst-audit5.c: ... here.
19439         * elf/tst-audit6.c: Move to ...
19440         * sysdeps/x86_64/tst-audit6.c: ... here.
19441         * elf/tst-audit7.c: Move to ...
19442         * sysdeps/x86_64/tst-audit7.c: ... here.
19443         * elf/tst-auditmod3a.c: Move to ...
19444         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19445         * elf/tst-auditmod3b.c: Move to ...
19446         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19447         * elf/tst-auditmod4a.c: Move to ...
19448         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19449         * elf/tst-auditmod4b.c: Move to ...
19450         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19451         * elf/tst-auditmod5a.c: Move to ...
19452         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19453         * elf/tst-auditmod5b.c: Move to ...
19454         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19455         * elf/tst-auditmod6a.c: Move to ...
19456         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19457         * elf/tst-auditmod6b.c: Move to ...
19458         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19459         * elf/tst-auditmod6c.c: Move to ...
19460         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19461         * elf/tst-auditmod7a.c: Move to ...
19462         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19463         * elf/tst-auditmod7b.c: Move to ...
19464         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19465
19466 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19467
19468         [BZ #15366]
19469         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19470         define unconditionally.
19471         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19472         define unconditionally.
19473         (INT8_C, INT16_C, etc.): Likewise.
19474
19475 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19476
19477         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19478         __ehdr_start with hidden visibility.
19479
19480         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19481
19482 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19483
19484         * math/libm-test.inc (cos_test): Use accurate hex constants.
19485         (sincost_test): Likewise.
19486
19487 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19488
19489         * math/libm-test.inc (catan_test): Add more tests.
19490         (catanh_test): Likewise.
19491
19492         * math/s_catanf.c (__catanf): Use suffixed floating-point
19493         constants.
19494         * math/s_catanhf.c (__catanhf): Likewise.
19495         * math/s_catanhl.c (__catanhl): Likewise.
19496         * math/s_catanl.c (__catanl): Likewise.
19497
19498         [BZ #15394]
19499         * math/s_catan.c (__catan): Calculate imaginary part of result
19500         with log1p not log unless computing log of number close to 0.
19501         * math/s_catanf.c (__catanf): Likewise.
19502         * math/s_catanl.c (__catanl): Likewise.
19503         * math/s_catanh.c (__catanh): Calculate real part of result with
19504         log1p not log unless computing log of number close to 0.
19505         * math/s_catanhf.c (__catanhf): Likewise.
19506         * math/s_catanhl.c (__catanhl): Likewise.
19507         * math/libm-test.inc (catan_test): Add more tests.
19508         (catanh_test): Likewise.
19509         * sysdeps/i386/fpu/libm-test-ulps: Update.
19510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19511
19512 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19513
19514         * benchtests/Makefile: Mention files in which fast and slow
19515         paths of math functions are implemented.
19516
19517 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19518
19519         * sysdeps/posix/timespec_get.c: New file.
19520
19521 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19522
19523         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19524         POWER.
19525         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19526         for POWER.
19527         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19528         powerpc/power5/fpu folders.
19529         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19530         * benchtests/Makefile: Add modf testcase.
19531         * benchtests/bench-modf.c: New file: Benchmark test for mo
19532
19533 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19534
19535         [BZ #14888]
19536         * time/Makefile (tests): Add tst-strptime-whitespace.
19537         * time/strptime_l.c (get_number): Use ISSPACE.
19538         (__strptime_internal): Likewise.
19539         * time/tst-strptime-whitespace.c: New test case.
19540
19541 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19542
19543         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19544         member.
19545         (_nss_files_init): Set it here.
19546
19547 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19548
19549         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19550         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19551         unsigned.
19552
19553 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19554
19555         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19556
19557 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19558
19559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19560         size just once.
19561
19562 2013-04-21  David S. Miller  <davem@davemloft.net>
19563
19564         * po/ru.po: Update Russion translation from translation project.
19565
19566 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19567
19568         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19569         and setfsgid.
19570
19571 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19572
19573         * configure.in: Remove i386 configure warning. Remove i386 case.
19574         * configure: Regenerate.
19575         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19576         Add example to error message.
19577         * sysdeps/i386/configure: Regenerate.
19578
19579 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19580
19581         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19582         slowtan.
19583         * benchtests/cos-inputs: New file.
19584         * benchtests/slowcos-inputs: New file.
19585         * benchtests/slowcos.c: New file.
19586         * benchtests/slowtan-inputs: New file.
19587         * benchtests/slowtan.c: New file.
19588         * benchtests/tan-inputs: New file.
19589
19590 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19591
19592         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19593         considered kosher.
19594
19595 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19596
19597         * benchtests/Makefile: Include cppflags-iterator.mk to add
19598         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19599
19600         * Makefile.in (bench-clean): New target.
19601         * benchtests/Makefile (bench-clean): Likewise.
19602
19603 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19604
19605         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19606
19607 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19608
19609         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19610
19611 2013-04-15  Andreas Schwab  <schwab@suse.de>
19612
19613         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19614         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19615         * nscd/pwdcache.c (cache_addpw): Likewise.
19616         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19617         more than recsize.
19618
19619 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19620
19621         * benchtests/Makefile (bench): Write all output to
19622         bench-out.tmp together.
19623
19624 2013-04-15  Andreas Schwab  <schwab@suse.de>
19625
19626         * nscd/nscd.c (main): Don't fork again after closing files.
19627
19628 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19629
19630         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19631
19632         * benchtests/Rules (bench-deps): Collect dependencies into a
19633         single variable.  Add Makefile to dependencies.
19634         ($(objpfx)bench-%.c): Depend on bench-deps.
19635
19636 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19637             Xavier Roche  <roche+kml2@exalead.com>
19638
19639         [BZ #15361]
19640         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19641         just that it's a file descriptor.
19642         * manual/llio.texi (Synchronizing AIO Operations): Update description
19643         for EBADF error from aio_fsync.
19644
19645 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19646
19647         * Rules (bench): Move target definition...
19648         * benchtests/Makefile: ... here.
19649
19650 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19651
19652         * math/libm-test.inc (cos_test): Fix PI/2 test.
19653         (sincos_test): Likewise.
19654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19655         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19656
19657 2013-04-11  Andreas Schwab  <schwab@suse.de>
19658
19659         [BZ #13988]
19660         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19661         accept exponent character only when digits were seen.
19662         * stdio-common/Makefile (tests): Add bug26.
19663         * stdio-common/bug26.c: New file.
19664
19665         [BZ #14293]
19666         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19667         non-freeable.
19668
19669 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19670
19671         * Makeconfig (rtld-prefix): Define built linker prefix.
19672         * Rules (run-bench): Use it.
19673         * math/Makefile (run-regen-ulps): Likewise.
19674
19675         * Rules (bench): Remove eval.
19676
19677 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19678             Roland McGrath  <roland@hack.frob.com>
19679             Ondrej Bilka  <neleai@seznam.cz>
19680
19681         [BZ #15346]
19682         * time/getdate.c: Include ctype.h and alloca.h.
19683         (__getdate_r): Trim leading and trailing spaces of input.
19684         * time/tst-getdate.c (tests): Add tests with leading and
19685         trailing spaces.
19686
19687 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19688
19689         [BZ #14280]
19690         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19691         when computing value.
19692
19693 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19694
19695         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19696         Use testrun.sh to run libm tests.
19697
19698         [BZ #15309]
19699         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19700
19701 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19702
19703         [BZ #15264]
19704         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19705
19706 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19707
19708         * Makefile.in (regen-ulps): New target.
19709         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19710         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19711         [ifneq (no,$(PERL)] (regen-ulps): New target.
19712         [ifeq (no,$(PERL)] (regen-ulps): New target.
19713         * math/libm-test.inc (ulps_file_name): Define.
19714         (output_dir): New variable.
19715         (options): Add "output-dir" option.
19716         (parse_opt): Handle 'o' case.
19717         (main): If output_dir is non-NULL use it as a prefix
19718         otherwise use "".
19719         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19720
19721 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19722
19723         [BZ #10060, #10062]
19724         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19725         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19726         fail configure if __sync_val_compare_and_swap is not inlined.
19727         * sysdeps/i386/configure: Regenerate.
19728         * configure.in: Build for i686 when configured for i386.
19729         * configure: Regenerate.
19730         * README: Remove i386 reference.
19731
19732 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19733
19734         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19735         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19736
19737 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19738
19739         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19740         (lmsnanval): New variables.
19741         (F): Add conversion tests.
19742         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19743         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19744
19745         * stdio-common/tstdiomisc.c (F): Properly collect individual
19746         tests' results.
19747
19748         [BZ #14686, #15336]
19749         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19750         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19751         Instead, use input NaN values or generate a qNaN by arithmetic
19752         operation.  Also fix bugs to comply with the standard.
19753         * math/libm-test.inc (remainder_test): Add more tests.
19754
19755         [BZ #15335, #15342]
19756         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19758         input NaN values or generate a qNaN by arithmetic operation.
19759
19760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19761         unreachable code.
19762
19763         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19764         definitions.
19765
19766 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19767
19768         [BZ #14478]
19769         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19770         underflowed result.
19771         * math/s_cexpf.c (__cexpf): Likewise.
19772         * math/s_cexpl.c (__cexpl): Likewise.
19773         * math/libm-test.inc (cexp_test): Add more tests.
19774
19775 2013-04-03  Andreas Schwab  <schwab@suse.de>
19776
19777         [BZ #15330]
19778         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19779         order arrays from heap if bigger than alloca cutoff.
19780
19781 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19782
19783         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19784         (SNAN_TESTS_double): Refer to GCC PR56831.
19785         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19786         GCC PR56828.
19787
19788 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19789
19790         * Rules (bench): Move bench.out after the run is complete.
19791
19792         * Rules (bench): Echo currently running benchmark.
19793
19794         * benchtests/Makefile (bench): Add atan and slowatan.
19795         * benchtests/atan-inputs: New file.
19796         * benchtests/slowatan-inputs: New file.
19797         * benchtests/slowatan.c: New file.
19798
19799         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19800         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19801         its value.
19802
19803         [BZ #15305]
19804         * sysdeps/unix/sysv/linux/kernel-features.h
19805         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19806         __ASSUME_XFS_RESTRICTED_CHOWN.
19807         * sysdeps/unix/sysv/linux/pathconf.c
19808         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19809         Save and restore errno.
19810
19811 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19812
19813         [BZ #15327]
19814         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19815         arguments using __kernel_casinh.
19816         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19817         arguments using __kernel_casinhf.
19818         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19819         arguments using __kernel_casinhl.
19820         * math/libm-test.inc (cacosh_test): Add more tests.
19821         * sysdeps/i386/fpu/libm-test-ulps: Update.
19822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19823
19824 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19825
19826         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19827         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19828
19829         * bench/Makefile (bench): Add sin and slowsin.
19830         * benchtests/sin-inputs: New file.
19831         * benchtests/slowsin-inputs: New file.
19832         * benchtests/slowsin.c: New file.
19833
19834         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19835         (bench): Add slowexp and slowpow.
19836         (exp-ITER): Increase iterations.
19837         (pow-ITER): Likewise.
19838         * benchtests/exp-inputs: Change input.
19839         * benchtests/pow-inputs: Likewise.
19840         * benchtests/slowexp-inputs: New file.
19841         * benchtests/slowexp.c: New file.
19842         * benchtests/slowpow-inputs: New file.
19843         * benchtests/slowpow.c: New file.
19844
19845 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19846
19847         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19848         instructions.
19849         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19850         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19851         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19852         * benchtests/Makefile: Add rint benchtest.
19853         * benchtests/rint-inputs: Input for rint benchtest.
19854
19855 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19856
19857         * Versions.def (libm): Add GLIBC_2.18.
19858         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19859         hidden libm prototypes.
19860         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19861         * math/Makefile (libm-calls): Add s_issignaling.
19862         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19863         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19864         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19865         declaration.
19866         * math/math.h [__USE_GNU] (issignaling): New macro.
19867         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19868         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19869         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19870         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19871         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19872         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19873         * manual/arith.texi (issignaling): New section.
19874         * manual/libm-err-tab.pl (@all_functions): Update comment.
19875         * math/gen-libm-test.pl (parse_args): Apply special handling for
19876         issignaling.
19877         * math/libm-test.inc (print_float, issignaling_test): New
19878         functions.
19879         (check_float_internal): Add issignaling checks.
19880         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19881         default definition.
19882         * sysdeps/powerpc/math-tests.h: New file.
19883         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19884         tests.
19885         * math/test-snan.c (TEST_FUNC): Likewise.
19886
19887 2013-03-30  David S. Miller  <davem@davemloft.net>
19888
19889         * po/de.po: Update from translation team.
19890
19891 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19892
19893         [BZ #10357]
19894         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19895         imaginary part less than 1.0 and real part less than 0.5
19896         specially.
19897         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19898         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19899         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19900         (cacos_test): Add more tests.
19901         (casin_test): Likewise.
19902         (casinh_test): Likewise.
19903         * sysdeps/i386/fpu/libm-test-ulps: Update.
19904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19905
19906 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19907
19908         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19909         ONE with its value.
19910
19911         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19912         (__pow_mp): Replace ONE and MONE with their values.
19913         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19914         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19915         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19916         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19917         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19918         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19919
19920         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19921
19922         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19923         (__pow_mp): Replace ZERO and MZERO with their values.
19924         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19925         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19926         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19928         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19929         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19930         (__sqr): Likewise.
19931
19932         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19933
19934         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19935
19936 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19937
19938         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19939         Declare with __attribute__ ((weak)).
19940         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19941         Call __call_tls_dtors only if it's not NULL.
19942
19943 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19944
19945         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19946         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19947         magic __ehdr_start linker symbol if it's defined.
19948         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19949         them up here if it was already done.
19950
19951         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19952         (_dl_aux_init): Use const in cast when setting it.
19953         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19954         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19955         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19956
19957         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19958         Declare them here.
19959         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19960         * csu/libc-tls.c: Nor here.
19961         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19962
19963         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19964         (__libc_message): Never call vsyslog.
19965
19966 2013-03-28  Alan Modra  <amodra@gmail.com>
19967
19968         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19969         Define as empty.
19970         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19971         Likewise.
19972
19973 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19974
19975         [BZ #15214]
19976         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19977         underflow.
19978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19979
19980 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19981
19982         [BZ #15304]
19983         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19984         Don't add gid passed as argument.
19985
19986         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19987
19988 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19989
19990         [BZ #15307]
19991         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19992         imaginary part between 1.0 and 1.5 and real part less than 0.5
19993         specially.
19994         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19995         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19996         * math/libm-test.inc (cacos_test): Add more tests.
19997         (casin_test): Likewise.
19998         (casinh_test): Likewise.
19999         * sysdeps/i386/fpu/libm-test-ulps: Update.
20000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20001
20002 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20003
20004         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20005         constants.
20006         (norm): Likewise.
20007         (denorm): Likewise.
20008         (__dbl_mp): Likewise.
20009         (add_magnitudes): Likewise.
20010         (sub_magnitudes): Likewise.
20011         (__add): Likewise.
20012         (__sub): Likewise.
20013         (__mul): Likewise.
20014         (__sqr): Likewise.
20015         (__inv): Likewise.
20016         (__dvd): Likewise.
20017
20018         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20019         commented code.
20020         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20021         (__dubcos): Likewise.
20022         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20023         (__ieee754_acos): Likewise.
20024         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20025         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20026         (__exp1): Likewise.
20027         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20029         (log1): Likewise.
20030         (my_log2): Likewise.
20031         (checkint): Likewise.
20032         * sysdeps/ieee754/dbl-64/e_remainder.c
20033         (__ieee754_remainder): Likewise.
20034         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20035         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20036         (bsloww): Likewise.
20037         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20038
20039         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20040         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20041         MANTISSA_STORE_T to store computations on mantissa.  Use
20042         macros for rounding and division.
20043         (denorm): Likewise.
20044         (__dbl_mp): Likewise.
20045         (add_magnitudes): Likewise.
20046         (sub_magnitudes): Likewise.
20047         (__mul): Likewise.
20048         (__sqr): Likewise.
20049         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20050         powers of two in terms of TWOPOW macro.
20051         (mp_no): Make type of mantissa as MANTISSA_T.
20052         [!RADIXI]: Define RADIXI.
20053         [!TWO52]: Define TWO52.
20054         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20055
20056 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20057
20058         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20059         llroundl symbol when building for PPC32.
20060
20061 2013-03-24  Mark H Weaver  <mhw@netris.org>
20062
20063         * manual/arith.texi (Normalization Functions): Fix prototypes for
20064         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20065
20066 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20067
20068         [BZ #13889]
20069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20070         high value to check if expl overflow.
20071         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20072         to check for underflow and overflow.
20073         * math/libm-test.inc: Add exp test.
20074
20075 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20076
20077         [BZ #11120]
20078         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20079         with NOT_IN_libc.
20080
20081 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20082
20083         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20084         symbol.
20085
20086 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20087
20088         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20089         wrap blocks consisting of several statements.
20090
20091         * sysdeps/generic/math-tests.h: New file.
20092         * sysdeps/i386/fpu/math-tests.h: Likewise.
20093         * math/test-snan.c: Include it.
20094         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20095
20096 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20097
20098         [BZ #15285]
20099         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20100         (__ieee754_j0l): Do not improve calculations using cos of twice
20101         input for inputs above LDBL_MAX / 2.0L.
20102         (__ieee754_y0l): Likewise.
20103         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20104         (__ieee754_j1l): Do not improve calculations using cos of twice
20105         input for inputs above LDBL_MAX / 2.0L.
20106         (__ieee754_y1l): Likewise.
20107         * math/libm-test.inc (j0_test): Add another test.
20108         (j1_test): Likewise.
20109         (y0_test): Likewise.
20110         (y1_test): Likewise.
20111         * sysdeps/i386/fpu/libm-test-ulps: Update.
20112
20113 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20114
20115         * Rules ($(objpfx)bench-%.c): Include code from a C source
20116         file.
20117
20118 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20119
20120         [BZ #15287]
20121         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20122         imaginary part 1.0 and real part less than 0.5 specially.
20123         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20124         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20125         * math/libm-test.inc (cacos_test): Add more tests.
20126         (casin_test): Likewise.
20127         (casinh_test): Likewise.
20128         * sysdeps/i386/fpu/libm-test-ulps: Update.
20129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20130
20131 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20132
20133         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20134         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20135
20136 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20137
20138         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20139         * config.make.in (config-cflags-sse4): Remove variable.
20140         (config-cflags-avx): Likewise.
20141         (config-cflags-sse2avx): Likewise.
20142         (config-cflags-novzeroupper): Likewise.
20143         (config-asflags-i686): Likewise.
20144         (have-mfma4): Likewise.
20145         (have-as-vis3): Likewise.
20146         (MIG): Likewise.
20147         * configure.in (MIG): Do not AC_SUBST.
20148         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20149         (libc_cv_cc_sse4): Do not AC_SUBST.
20150         (libc_cv_cc_avx): Likewise.
20151         (libc_cv_cc_sse2avx): Likewise.
20152         (libc_cv_cc_novzeroupper): Likewise.
20153         (libc_cv_cc_fma4): Likewise.
20154         (libc_cv_as_i686): Likewise.
20155         (libc_cv_sparc_as_vis3): Likewise.
20156         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20157         LIBC_CONFIG_VAR.
20158         (config-asflags-i686): Likewise.
20159         (config-cflags-avx): Likewise.
20160         (config-cflags-sse2avx): Likewise.
20161         (have-mfma4): Likewise.
20162         (config-cflags-novzeroupper): Likewise.
20163         * sysdeps/mach/configure.in (MIG): Likewise.
20164         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20165         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20166         LIBC_CONFIG_VAR.
20167         (config-cflags-avx): Likewise.
20168         (config-cflags-sse2avx): Likewise.
20169         (have-mfma4): Likewise.
20170         (config-cflags-novzeroupper): Likewise.
20171         * configure: Regenerated.
20172         * sysdeps/i386/configure: Likewise.
20173         * sysdeps/mach/configure: Likewise.
20174         * sysdeps/sparc/configure: Likewise.
20175         * sysdeps/x86_64/configure: Likewise.
20176
20177 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20178
20179         [BZ #14812]
20180         * locale/programs/localedef.c (options): Put N_ translation marker
20181         on argument names, not just descriptions.
20182
20183 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20184
20185         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20186
20187 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20188
20189         [BZ #14176]
20190         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20191
20192 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20193
20194         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20195         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20196         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20197         [!BEFORE_ABORT] (before_abort): New function.
20198         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20199         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20200         (writev_for_fatal): New function.
20201         (WRITEV_FOR_FATAL): New macro; call that.
20202         (backtrace_and_maps): New function.
20203         (BEFORE_ABORT): New macro; call that.
20204         (struct str_list): Type removed.
20205         (__libc_message, __libc_fatal): Functions removed.
20206         Include <sysdeps/posix/libc_fatal.c> instead.
20207
20208 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20209
20210         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20211         constants.
20212         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20213         double constants.
20214
20215 2013-03-19  Andreas Schwab  <schwab@suse.de>
20216
20217         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20218         * sysdeps/gnu/configure: Regenerate.
20219
20220         * configure.in: Substitute libc_cv_rtlddir.
20221         * configure: Regenerate.
20222         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20223         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20224         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20225         * elf/Makefile (install-others, CFLAGS-interp.c)
20226         (ldso_install, common-ldd-rewrite): Likewise.
20227         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20228         $(inst_slibdir)/$(rtld-installed-name).
20229         * scripts/rellns-sh: Add -p option.
20230         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20231         for source.
20232
20233 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20234
20235         * manual/nptl.texi: Renamed to ...
20236         * manual/threads.texi: ... this.
20237         * manual/Makefile (chapters): Update.
20238
20239 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20240
20241         [BZ #14812]
20242         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20243         on argument names, not just descriptions.
20244         * malloc/memusagestat.c (options): Likewise.
20245         * nss/getent.c (options): Likewise.
20246
20247 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20248
20249         [BZ #14812]
20250         * iconv/iconv_prog.c (options): Put N_ translation marker
20251         on argument names, not just descriptions.
20252         * iconv/iconvconfig.c (options): Likewise.
20253
20254 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20255
20256         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20257         implementation which is faster on all x86_64 architectures.
20258         Tested on AMD, Intel Nehalem, SNB, IVB.
20259         * sysdeps/x86_64/strnlen.S: Likewise.
20260
20261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20262         Remove all multiarch strlen and strnlen versions.
20263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20264         Remove strlen and strnlen related parts.
20265
20266         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20267         Inline strlen part.
20268         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20269
20270         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20271         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20272         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20273         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20274         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20275         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20276
20277 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20278
20279         * manual/memory.texi (Malloc Tunable Parameters):
20280         Sort parameters alphabetically. Add comments for missing entries.
20281
20282 2013-03-17  David S. Miller  <davem@davemloft.net>
20283
20284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20285
20286 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20287
20288         [BZ #15283]
20289         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20290         for arguments at most half maximum finite value.
20291         * math/libm-test.inc (j0_test): Add more tests.
20292         (j1_test): Likewise.
20293         (y0_test): Likewise.
20294         (y1_test): Likewise.
20295         * sysdeps/i386/fpu/libm-test-ulps: Update.
20296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20297
20298         [BZ #14155]
20299         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20300         1 / x and functions P and Q for arguments above 0x1p256L.
20301         (__ieee754_y0l): Likewise.
20302         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20303         (__ieee754_y1l): Likewise.
20304         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20305         (j1_test): Likewise.
20306         (y0_test): Likewise.
20307         (y1_test): Likewise.
20308
20309 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20310
20311         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20312         variable.
20313
20314 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20315
20316         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20317         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20318         zero since it's initialized to EXEC_PAGESIZE.
20319
20320         * sysdeps/unix/sysv/linux/ldsodefs.h
20321         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20322         * sysdeps/generic/ldsodefs.h: ... here.
20323
20324 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20325
20326         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20327
20328         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20329         math/test-snan.c.
20330         * math/test-snan.c: Renamed from
20331         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20332         * math/Makefile (tests): Add test-snan.
20333         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20334         test-powerpc-snan.
20335
20336         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20337         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20338         functions.
20339         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20340         __builtin_nan family of functions.
20341         * math/libm-test.inc (initialize): Initialize qnan_value with
20342         __builtin_nan family of functions.
20343         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20344         Remove variables.
20345         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20346         Remove functions.
20347         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20348         storage class.  Initialize qNaN_var and sNaN_var with
20349         __builtin_nan and __builtin_nans families of functions,
20350         respectively.
20351
20352         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20353         (sqrt_test): Remove duplicate test with qNaN input.
20354         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20355         (round_test, signbit_test, significand_test): Note missing +/-Inf
20356         as well as qNaN tests.
20357
20358         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20359         qNaN_var.  Fix a few strings, too.
20360         * math/libm-test.inc (nan_value): Rename to qnan_value.
20361         * math/gen-libm-test.pl (%beautify): Adjust to that.
20362         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20363         * math/test-misc.c (main): Likewise.
20364         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20365         to __qnan_bytes, and __qnan_union, respectively.
20366         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20367         Likewise.
20368         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20369         and lqnanval, respectively.
20370         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20371         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20372         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20373         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20374
20375         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20376         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20377         doubles.
20378
20379         * math/test-misc.c (main): Fix copy'n'pastos.
20380         * misc/tst-efgcvt.c (special): Likewise.
20381
20382         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20383         Remove declarations.
20384
20385 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20386
20387         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20388         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20389         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20390         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20391
20392 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20393
20394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20395         macro to return vdso values correctly in IFUNC implementations.
20396         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20397         Optimization by using IFUNC.
20398
20399 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20400             Richard Henderson  <rth@redhat.com>
20401             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20402
20403         * Makefile.in (bench): New target.
20404         * NEWS: Mention the benchmark framework.
20405         * Rules (bench): Likewise.
20406         (binaries-bench): Generate binaries for functions to
20407         benchmark.
20408         * benchtests/Makefile: New makefile for benchmark tests.
20409         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20410         programs.
20411         * benchtests/exp-inputs: New input file for EXP function.
20412         * benchtests/pow-inputs: New input file for POW function.
20413         * scripts/bench.pl: New script to generate source files for
20414         benchmark programs.
20415
20416 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20417
20418         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20419         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20420         computations on mantissa.  Use macros for rounding and
20421         division.
20422         (denorm): Likewise.
20423         (__dbl_mp): Likewise.
20424         (add_magnitudes): Likewise.
20425         (sub_magnitudes): Likewise.
20426         (__mul): Likewise.
20427         (__sqr): Likewise.
20428         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20429         powers of two in terms of TWOPOW macro.
20430         (mp_no): Make type of mantissa as MANTISSA_T.
20431         [!RADIXI]: Define RADIXI.
20432         [!TWO52]: Define TWO52.
20433         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20434
20435         * manual/nptl.texi (cindex): Modify threads to pthreads.
20436
20437 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20438
20439         * sysdeps/x86_64/preconfigure: Regenerated.
20440
20441 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20442
20443         [BZ #14155]
20444         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20445         0x1p28 and above.
20446         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20447         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20448         0x1p28 and above.
20449         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20450         * math/libm-test.inc (j0_test): Do not allow one spurious
20451         underflow exception.
20452         (y1_test): Likewise.
20453
20454 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20455
20456         * manual/Makefile (chapters): Add nptl.
20457         * manual/debug.texi (Debugging Support): Add link to Threads
20458         chapter.
20459         * manual/nptl.texi: New file.
20460
20461         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20462
20463 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20464
20465         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20466         for non-NULL pointer before the memory validity test. Pointed
20467         out by Holger Brunck <holger.brunck@keymile.com>.
20468
20469 2013-03-13  Andreas Schwab  <schwab@suse.de>
20470
20471         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20472         instead of .os.
20473
20474 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20475
20476         * timezone/zic.c: Update from tzcode 2013b.
20477
20478 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20479
20480         * manual/install.texi (Configuring and compiling):
20481         Mention i686 and i586.
20482         * INSTALL: Regenerate.
20483
20484 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20485
20486         * sysdeps/init_array/elf-init.c: New file.
20487         * csu/elf-init.c
20488         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20489         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20490
20491         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20492         __gmon_start__ as global, but as static with a .preinit_array pointer.
20493         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20494         * sysdeps/init_array/crti.S: New file, empty except for comments.
20495         * sysdeps/init_array/crtn.S: Likewise.
20496
20497 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20498
20499         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20500         definining bcopy.
20501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20502         Remove Prefer_SSE_for_memop.
20503         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20504         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20505         HAS_PREFER_SSE_FOR_MEMOP.
20506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20507         memset-x86-64.
20508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20509         Remove bzero, memset ifunc support.
20510         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20511         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20512         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20513         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20514
20515 2013-03-11  Andreas Schwab  <schwab@suse.de>
20516
20517         [BZ #15234]
20518         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20519         by SHLIB_COMPAT.
20520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20521         (GLIBC_2.16): Remove pthread_atfork.
20522
20523 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20524
20525         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20526         (ptestcases.h): Likewise.
20527
20528 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20529
20530         * Makeconfig ($(common-objpfx)config.status): Depend on
20531         sysdeps/*/preconfigure{,.in} too.
20532
20533 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20534
20535         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20536         (__free_hook): Use void * instead of __malloc_ptr_t.
20537         (__malloc_hook): Likewise.
20538         (__realloc_hook): Likewise.
20539         (__memalign_hook): Likewise.
20540         (__after_morecore_hook): Likewise.
20541         * malloc/arena.c (save_malloc_hook): Likewise.
20542         (save_free_hook): Likewise.
20543         * malloc/hooks.c (malloc_hook_ini): Likewise.
20544         (realloc_hook_ini): Likewise.
20545         (memalign_hook_ini): Likewise.
20546         * malloc/malloc.c (malloc_hook_ini): Likewise.
20547         (realloc_hook_ini): Likewise.
20548         (memalign_hook_ini): Likewise.
20549         (__free_hook): Likewise.
20550         (__malloc_hook): Likewise.
20551         (__realloc_hook): Likewise.
20552         (__memalign_hook): Likewise.
20553         (__libc_malloc): Likewise.
20554         (__libc_free): Likewise.
20555         (__libc_realloc): Likewise.
20556         (__libc_memalign): Likewise.
20557         (__libc_valloc): Likewise.
20558         (__libc_pvalloc): Likewise.
20559         (__libc_calloc): Likewise.
20560         (__posix_memalign): Likewise.
20561         * malloc/morecore.c (__sbrk): Likewise.
20562         (__default_morecore): Likewise.
20563
20564         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20565
20566         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20567         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20568         __malloc_ptrdiff_t.
20569
20570         * malloc/malloc.h (__malloc_size_t): Remove macro.
20571         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20572         __malloc_size_t.
20573         (old_memalign_hook): Likewise.
20574         (old_realloc_hook): Likewise.
20575         (struct hdr): Likewise.
20576         (flood): Likewise.
20577         (mallochook): Likewise.
20578         (memalignhook): Likewise.
20579         (reallochook): Likewise.
20580         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20581         (tr_old_realloc_hook): Likewise.
20582         (tr_old_memalign_hook): Likewise.
20583         (tr_mallochook): Likewise.
20584         (tr_reallochook): Likewise.
20585         (tr_memalignhook): Likewise.
20586
20587 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20588
20589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20590         default_ldbl_pack and using as default implementation.
20591         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20592         implementation.
20593         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20594         redundant definition.
20595         (ldbl_insert_mantissa): Likewise.
20596         (ldbl_canonicalize): Likewise.
20597         (ldbl_nearbyint): Likewise.
20598         (ldbl_pack): Rename to ldbl_pack_ppc.
20599         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20600         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20601         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20602
20603 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20604
20605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20606         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20607         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20608         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20610         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20611         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20612         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20613
20614 2013-03-07  Andreas Jaeger  <aj@suse.de>
20615
20616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20617         bits/mman-linux.h.
20618
20619 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20620
20621         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20622         Include mpa.h and declare __MPEXP.
20623         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20624         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20625         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20626         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20628         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20629         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20630
20631         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20632         (__slowpow): Use long double EXPL and LOGL functions to
20633         compute POW.
20634         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20635         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20636         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20637         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20638         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20639         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20640
20641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20642         intermediate variable to calculate exponent.
20643         (__sqr): Likewise.
20644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20645         Likewise.
20646         (__sqr): Likewise.
20647
20648         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20649         [!NO__SQR]: Define __sqr.
20650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20651         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20652         sysdeps/ieee754/dbl-64/mpa.c.
20653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20654
20655         [BZ #12723]
20656         * posix/Makefile (tests): Add tst-pathconf.
20657         * posix/tst-pathconf.c: New test case.
20658         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20659         _PC_PIPE_BUF.
20660         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20661
20662 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20663
20664         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20665
20666 2013-03-06  Andreas Jaeger  <aj@suse.de>
20667
20668         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20669         definition via __MAP_ANONYMOUS.
20670
20671         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20672         it's not part of Linux headers.
20673
20674         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20675         (MAP_HUGE_MASK): Define.
20676
20677         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20678         Define.
20679         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20680         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20681         Define.
20682         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20683         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20684         Define.
20685         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20686         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20687         Define.
20688         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20689
20690         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20691         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20692         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20693         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20694         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20695         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20696
20697         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20698         Handle f2fs.
20699
20700         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20701         Handle f2fs and efivarfs.
20702
20703         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20704         f2fs.
20705
20706         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20707         (EFIVARFS_MAGIC): Add.
20708         (F2FS_LINK_MAX): Add.
20709
20710 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20711
20712         * stdio-common/vfprintf.c: Replace __builtin_expect with
20713         __glibc_unlikely.
20714
20715 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20716
20717         [BZ #13550]
20718         * sysdeps/generic/bp-sym.h: Remove file.
20719         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20720         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20721         <bp-sym.h> and <bp-asm.h>.
20722         (__longjmp): Don't use BP_SYM.
20723         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20724         and <bp-asm.h>.
20725         (memcpy): Don't use BP_SYM.
20726         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20727         <bp-sym.h> and <bp-asm.h>.
20728         (memcpy): Don't use BP_SYM.
20729         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20730         <bp-asm.h>.
20731         (memcpy): Don't use BP_SYM.
20732         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20733         <bp-asm.h>.
20734         (memset): Don't use BP_SYM.
20735         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20736         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20737         (__bzero): Don't use BP_SYM.
20738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20740         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20741         <bp-sym.h> and <bp-asm.h>.
20742         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20743         pointers.
20744         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20745         <bp-sym.h> and <bp-asm.h>.
20746         (memcpy): Don't use BP_SYM.
20747         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20748         <bp-sym.h> and <bp-asm.h>.
20749         (memset): Don't use BP_SYM.
20750         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20751         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20752         (__bzero): Don't use BP_SYM.
20753         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20754         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20755         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20756         <bp-sym.h> and <bp-asm.h>.
20757         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20758         pointers.
20759         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20760         <bp-sym.h> and <bp-asm.h>.
20761         (memcpy): Don't use BP_SYM.
20762         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20763         <bp-sym.h> and <bp-asm.h>.
20764         (memset): Don't use BP_SYM.
20765         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20766         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20767         (__bzero): Don't use BP_SYM.
20768         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20769         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20770         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20771         <bp-sym.h> and <bp-asm.h>.
20772         (__memchr): Don't use BP_SYM.
20773         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20774         <bp-sym.h> and <bp-asm.h>.
20775         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20776         pointers.
20777         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20778         <bp-sym.h> and <bp-asm.h>.
20779         (memcpy): Don't use BP_SYM.
20780         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20781         <bp-sym.h> and <bp-asm.h>.
20782         (__mempcpy): Don't use BP_SYM.
20783         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20784         <bp-sym.h> and <bp-asm.h>.
20785         (__memrchr): Don't use BP_SYM.
20786         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20787         <bp-sym.h> and <bp-asm.h>.
20788         (memset): Don't use BP_SYM.
20789         (__bzero): Likewise.
20790         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20791         <bp-sym.h> and <bp-asm.h>.
20792         (__rawmemchr): Don't use BP_SYM.
20793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20794         <bp-sym.h> and <bp-asm.h>.
20795         (__STRCMP): Don't use BP_SYM.
20796         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20797         <bp-sym.h> and <bp-asm.h>.
20798         (strchr): Don't use BP_SYM.
20799         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20800         <bp-sym.h> and <bp-asm.h>.
20801         (__strchrnul): Don't use BP_SYM.
20802         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20803         <bp-sym.h> and <bp-asm.h>.
20804         (strlen): Don't use BP_SYM.
20805         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20806         <bp-sym.h> and <bp-asm.h>.
20807         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20808         pointers.
20809         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20810         <bp-sym.h> and <bp-asm.h>.
20811         (__strnlen): Don't use BP_SYM.
20812         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20813         <bp-sym.h> and <bp-asm.h>.
20814         (__GI__setjmp): Don't use BP_SYM.
20815         (_setjmp): Likewise.
20816         (__sigsetjmp): Likewise.
20817         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20818         (L(start_addresses)): Don't use BP_SYM.
20819         (_start): Likewise.
20820         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20821         <bp-asm.h>.
20822         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20823         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20824         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20825         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20826         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20827         <bp-asm.h>.
20828         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20829         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20830         about bounded pointers.
20831         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20832         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20833         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20834         <bp-asm.h>.
20835         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20836         about bounded pointers.  Remove GKM FIXME comments.
20837         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20838         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20839         <bp-asm.h>.
20840         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20841         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20842         Remove GKM FIXME comments.
20843         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20844         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20845         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20846         <bp-asm.h>.
20847         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20848         about bounded pointers.  Remove GKM FIXME comment.
20849         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20850         and <bp-asm.h>.
20851         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20852         pointers.
20853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20854         <bp-sym.h> and <bp-asm.h>.
20855         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20857         <bp-sym.h> and <bp-asm.h>.
20858         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20859         comment.
20860
20861 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20862
20863         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20864         call free(NULL).
20865
20866 2013-03-05  David S. Miller  <davem@davemloft.net>
20867
20868         * po/es.po: Update from translation team.
20869
20870 2013-03-05  Andreas Jaeger  <aj@suse.de>
20871
20872         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20873         <bits/mman-linux.h>.
20874         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20875         is fine.
20876         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20877         <bits/mman-linux.h> to end of file.
20878         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20879         is fine.
20880         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20881         <bits/mman-linux.h> to end of file.
20882         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20883         is fine.
20884         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20885         <bits/mman-linux.h> to end of file.
20886
20887         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20888         (MCL_CURRENT, MCL_FUTURE): Define here.
20889
20890 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20891
20892         [BZ #15232]
20893         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20894         attribute_hidden.
20895         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20896
20897 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20898
20899         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20900         fourth parameter needed for rt_sigprocmask syscall.
20901         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20902         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20903         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20904         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20905         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20906         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20907
20908 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20909
20910         [BZ #13550]
20911         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20912         comment about bounded pointers.
20913         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20914         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20915
20916 2013-03-04  Andreas Jaeger  <aj@suse.de>
20917
20918         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20919         common definitions.
20920
20921         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20922         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20923         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20924         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20925         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20926         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20927
20928 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20929
20930         [BZ #15055]
20931         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20932         __ieee754_sqrl instead of __sqrl.
20933
20934 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20935
20936         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20937         * sysdeps/powerpc/fpu_control.h: ... here.
20938         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20939         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20940         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20941         * sysdeps/powerpc/bits/mathinline.h: ... here.
20942
20943 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20944
20945         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20946         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20947         to just [NEED_DL_SYSINFO_DSO].
20948         * elf/dl-support.c: Likewise.
20949         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20950         * elf/rtld.c (dl_main): Likewise.
20951         * elf/setup-vdso.h (setup_vdso): Likewise.
20952         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20953         * sysdeps/unix/sysv/linux/dl-sysdep.c
20954         (_dl_discover_osversion): Likewise.
20955
20956 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20957
20958         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20959         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20960
20961 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20962
20963         * NEWS: Mention libm performance improvements and non-x86 PI
20964         futex support.
20965
20966         * csu/libc-start.c (__pthread_initialize_minimal): Change
20967         function arguments.
20968         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20969
20970 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20971
20972         [BZ #13550]
20973         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20974         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20975         <bp-sym.h> and <bp-asm.h>.
20976         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20977         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20978         and <bp-asm.h>.
20979         (memcpy): Don't use BP_SYM.
20980         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20981         <bp-asm.h>.
20982         (__mpn_add_n): Don't use BP_SYM.
20983         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20984         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20985         and <bp-asm.h>.
20986         (__mpn_addmul_1): Don't use BP_SYM.
20987         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20988         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20989         <bp-sym.h>.
20990         (_setjmp): Don't use BP_SYM.
20991         (__novmx_setjmp): Likewise.
20992         (__GI__setjmp): Likewise.
20993         (__vmx_setjmp): Likewise.
20994         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20995         <bp-sym.h>.
20996         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20997         (__bzero): Don't use BP_SYM.
20998         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20999         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21000         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21001         <bp-sym.h> and <bp-asm.h>.
21002         (memcpy): Don't use BP_SYM.
21003         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21004         <bp-sym.h> and <bp-asm.h>.
21005         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21006         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21007         <bp-sym.h> and <bp-asm.h>.
21008         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21009         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21010         <bp-asm.h>.
21011         (__mpn_lshift): Don't use BP_SYM.
21012         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21013         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21014         <bp-asm.h>.
21015         (memset): Don't use BP_SYM.
21016         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21017         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21018         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21019         <bp-asm.h>.
21020         (__mpn_mul_1): Don't use BP_SYM.
21021         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21022         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21023         <bp-sym.h> and <bp-asm.h>.
21024         (memcmp): Don't use BP_SYM.
21025         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21026         <bp-sym.h> and <bp-asm.h>.
21027         (memcpy): Don't use BP_SYM.
21028         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21029         <bp-sym.h> and <bp-asm.h>.
21030         (memset): Don't use BP_SYM.
21031         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21032         <bp-sym.h> and <bp-asm.h>.
21033         (strncmp): Don't use BP_SYM.
21034         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21035         <bp-sym.h> and <bp-asm.h>.
21036         (memcpy): Don't use BP_SYM.
21037         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21038         <bp-sym.h> and <bp-asm.h>.
21039         (memset): Don't use BP_SYM.
21040         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21041         <bp-sym.h> and <bp-asm.h>.
21042         (__memchr): Don't use BP_SYM.
21043         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21044         <bp-sym.h> and <bp-asm.h>.
21045         (memcmp): Don't use BP_SYM.
21046         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21047         <bp-sym.h> and <bp-asm.h>.
21048         (memcpy): Don't use BP_SYM.
21049         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21050         <bp-sym.h> and <bp-asm.h>.
21051         (__mempcpy): Don't use BP_SYM.
21052         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21053         <bp-sym.h> and <bp-asm.h>.
21054         (__memrchr): Don't use BP_SYM.
21055         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21056         <bp-sym.h> and <bp-asm.h>.
21057         (memset): Don't use BP_SYM.
21058         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21059         <bp-sym.h> and <bp-asm.h>.
21060         (__rawmemchr): Don't use BP_SYM.
21061         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21062         <bp-sym.h> and <bp-asm.h>.
21063         (__STRCMP): Don't use BP_SYM.
21064         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21065         <bp-sym.h> and <bp-asm.h>.
21066         (strchr): Don't use BP_SYM.
21067         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21068         <bp-sym.h> and <bp-asm.h>.
21069         (__strchrnul): Don't use BP_SYM.
21070         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21071         <bp-sym.h> and <bp-asm.h>.
21072         (strlen): Don't use BP_SYM.
21073         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21074         <bp-sym.h> and <bp-asm.h>.
21075         (strncmp): Don't use BP_SYM.
21076         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21077         <bp-sym.h> and <bp-asm.h>.
21078         (__strnlen): Don't use BP_SYM.
21079         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21080         <bp-asm.h>.
21081         (__mpn_rshift): Don't use BP_SYM.
21082         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21083         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21084         <bp-sym.h> and <bp-asm.h>.
21085         (__sigsetjmp): Don't use BP_SYM.
21086         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21087         (L(start_addresses)): Don't use BP_SYM.
21088         (_start): Likewise.
21089         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21090         <bp-asm.h>.
21091         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21092         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21093         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21094         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21095         <bp-asm.h>.
21096         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21097         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21098         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21099         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21100         <bp-asm.h>.
21101         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21102         comments.
21103         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21104         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21105         <bp-asm.h>.
21106         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21107         FIXME comments.
21108         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21109         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21110         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21111         <bp-asm.h>.
21112         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21113         comment.
21114         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21115         and <bp-asm.h>.
21116         (strncmp): Don't use BP_SYM,
21117         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21118         <bp-asm.h>.
21119         (__mpn_sub_n): Don't use BP_SYM.
21120         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21121         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21122         and <bp-asm.h>.
21123         (__mpn_submul_1): Don't use BP_SYM.
21124         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21126         <bp-sym.h> and <bp-asm.h>.
21127         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21129         <bp-sym.h> and <bp-asm.h>.
21130         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21131         comment.
21132
21133 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21134
21135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21136         Use ZK to minimize writes to Z.
21137         (sub_magnitudes): Simplify code a bit.
21138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21139         Use ZK to minimize writes to Z.
21140         (sub_magnitudes): Simplify code a bit.
21141
21142 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21143
21144         * csu/gmon-start.c: Add special exception to license text.
21145
21146 2013-02-27  Richard Henderson  <rth@redhat.com>
21147
21148         * scripts/config.guess: Update from config.git.
21149         * scripts/config.sub: Likewise.
21150
21151 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21152
21153         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21154
21155         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21156
21157         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21158
21159         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21160
21161         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21162
21163 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21164
21165         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21166         [$(build-shared = yes].
21167
21168 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21169
21170         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21171         (__mul): Reduce iterations for calculating mantissa.
21172
21173         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21174         MPTWO.
21175         (__mpranred): Likewise.
21176
21177         [BZ #15160]
21178         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21179         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21180
21181 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21182
21183         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21184         Define __attribute__.
21185
21186 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21187
21188         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21189         unused.
21190         * posix/regex_internal.h (__attribute): Remove.
21191         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21192         (re_string_context_at): Likewise.
21193         (bitset_not): Use __attribute__ and mark function as possibly
21194         unused.
21195         (bitset_merge): Likewise.
21196         (bitset_mask): Likewise.
21197         (re_string_char_size_at): Likewise.
21198         (re_string_wchar_at): Likewise.
21199         (re_string_elem_size_at): Likewise.
21200
21201 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21202
21203         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21204         code.
21205         (cc32): Likewise.
21206
21207         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21208         (__acr): Likewise.
21209         (__cpy): Likewise.
21210         (norm): Likewise.
21211         (denorm): Likewise.
21212         (__dbl_mp): Likewise.
21213         (add_magnitudes): Likewise.
21214         (sub_magnitudes): Likewise.
21215         (__mul): Likewise.
21216         (__inv): Likewise.
21217
21218         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21219         style.
21220
21221         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21222         style.
21223
21224         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21225         code.
21226
21227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21228         up changes with default code.
21229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21230         Likewise.
21231
21232 2013-02-24  Allan McRae  <allan@archlinux.org>
21233
21234         * manual/socket.texi (The Internet Namespace): Order menu items
21235         to match that in the file.
21236
21237         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21238         node listing of the info page menu.
21239
21240 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21241
21242         [BZ #13550]
21243         * sysdeps/i386/bp-asm.h: Remove file.
21244         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21245         (PARMS): Do not use macros from bp-asm.h.
21246         (S1): Likewise.
21247         (S2): Likewise.
21248         (SIZE): Likewise.
21249         (__mpn_add_n): Do not use BP_SYM
21250         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21251         "bp-asm.h".
21252         (PARMS): Do not use macros from bp-asm.h.
21253         (S1): Likewise.
21254         (SIZE): Likewise.
21255         (__mpn_addmul_1): Do not use BP_SYM
21256         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21257         "bp-asm.h".
21258         (PARMS): Do not use macros from bp-asm.h.
21259         (SIGMSK): Likewise.
21260         (_setjmp): Likewise.  Do not use BP_SYM.
21261         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21262         "bp-asm.h".
21263         (PARMS): Do not use macros from bp-asm.h.
21264         (SIGMSK): Likewise.
21265         (setjmp): Likewise.  Do not use BP_SYM.
21266         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21267         "bp-asm.h".
21268         (PARMS): Do not use macros from bp-asm.h.
21269         (__frexp): Do not use BP_SYM.
21270         (frexp): Likewise.
21271         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21272         "bp-asm.h".
21273         (PARMS): Do not use macros from bp-asm.h.
21274         (__frexpf): Do not use BP_SYM.
21275         (frexpf): Likewise.
21276         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21277         "bp-asm.h".
21278         (PARMS): Do not use macros from bp-asm.h.
21279         (__frexpl): Do not use BP_SYM.
21280         (frexpl): Likewise.
21281         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21282         "bp-asm.h".
21283         (PARMS): Do not use macros from bp-asm.h.
21284         (__remquo): Do not use BP_SYM.
21285         (remquo): Likewise.
21286         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21287         "bp-asm.h".
21288         (PARMS): Do not use macros from bp-asm.h.
21289         (__remquof): Do not use BP_SYM.
21290         (remquof): Likewise.
21291         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21292         "bp-asm.h".
21293         (PARMS): Do not use macros from bp-asm.h.
21294         (__remquol): Do not use BP_SYM.
21295         (remquol): Likewise.
21296         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21297         "bp-asm.h".
21298         (PARMS): Do not use macros from bp-asm.h.
21299         (DEST): Likewise.
21300         (SRC): Likewise.
21301         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21302         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21303         "bp-asm.h".
21304         (PARMS): Do not use macros from bp-asm.h.
21305         (strlen): Do not use BP_SYM.
21306         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21307         "bp-asm.h".
21308         (PARMS): Do not use macros from bp-asm.h.
21309         (S1): Likewise.
21310         (S2): Likewise.
21311         (SIZE): Likewise.
21312         (__mpn_add_n): Do not use BP_SYM.
21313         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21314         "bp-asm.h".
21315         (PARMS): Do not use macros from bp-asm.h.
21316         (S1): Likewise.
21317         (SIZE): Likewise.
21318         (__mpn_addmul_1): Do not use BP_SYM.
21319         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21320         weak_alias.
21321         (bzero): Likewise.
21322         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21323         "bp-asm.h".
21324         (PARMS): Do not use macros from bp-asm.h.
21325         (S): Likewise.
21326         (SIZE): Likewise.
21327         (__mpn_lshift): Do not use BP_SYM.
21328         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21329         "bp-asm.h".
21330         (PARMS): Do not use macros from bp-asm.h.
21331         (DEST): Likewise.
21332         (SRC): Likewise.
21333         (LEN): Likewise.
21334         (memcpy): Likewise.  Do not use BP_SYM.
21335         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21336         libc_hidden_def and weak_alias.
21337         (mempcpy): Do not use BP_SYM in weak_alias.
21338         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21339         "bp-asm.h".
21340         (PARMS): Do not use macros from bp-asm.h.
21341         (DEST): Likewise.
21342         (LEN): Likewise.
21343         [!BZERO_P] (CHR): Likewise.
21344         (memset): Likewise.  Do not use BP_SYM.
21345         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21346         "bp-asm.h".
21347         (PARMS): Do not use macros from bp-asm.h.
21348         (S1): Likewise.
21349         (SIZE): Likewise.
21350         (__mpn_mul_1): Do not use BP_SYM.
21351         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21352         "bp-asm.h".
21353         (PARMS): Do not use macros from bp-asm.h.
21354         (S): Likewise.
21355         (SIZE): Likewise.
21356         (__mpn_rshift): Do not use BP_SYM.
21357         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21358         "bp-asm.h".
21359         (PARMS): Do not use macros from bp-asm.h.
21360         (STR): Likewise.
21361         (CHR): Likewise.
21362         (strchr): Likewise.  Do not use BP_SYM.
21363         (index): Do not use BP_SYM in weak_alias.
21364         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21365         "bp-asm.h".
21366         (PARMS): Do not use macros from bp-asm.h.
21367         (DEST): Likewise.
21368         (SRC): Likewise.
21369         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21370         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21371         "bp-asm.h".
21372         (PARMS): Do not use macros from bp-asm.h.
21373         (strlen): Do not use BP_SYM.
21374         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21375         "bp-asm.h".
21376         (PARMS): Do not use macros from bp-asm.h.
21377         (S1): Likewise.
21378         (S2): Likewise.
21379         (SIZE): Likewise.
21380         (__mpn_sub_n): Do not use BP_SYM.
21381         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21382         "bp-asm.h".
21383         (PARMS): Do not use macros from bp-asm.h.
21384         (S1): Likewise.
21385         (SIZE): Likewise.
21386         (__mpn_submul_1): Do not use BP_SYM.
21387         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21388         "bp-asm.h".
21389         (PARMS): Do not use macros from bp-asm.h.
21390         (S1): Likewise.
21391         (S2): Likewise.
21392         (SIZE): Likewise.
21393         (__mpn_add_n): Do not use BP_SYM.
21394         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21395         weak_alias.
21396         (bzero): Likewise.
21397         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21398         "bp-asm.h".
21399         (PARMS): Do not use macros from bp-asm.h.
21400         (BLK2): Likewise.
21401         (LEN): Likewise.
21402         (memcmp): Do not use BP_SYM.
21403         (bcmp): Do not use BP_SYM in weak_alias.
21404         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21405         "bp-asm.h".
21406         (PARMS): Do not use macros from bp-asm.h.
21407         (DEST): Likewise.
21408         (SRC): Likewise.
21409         (LEN): Likewise.
21410         (memcpy): Likewise.  Do not use BP_SYM.
21411         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21412         "bp-asm.h".
21413         (PARMS): Do not use macros from bp-asm.h.
21414         (DEST): Likewise.
21415         (SRC): Likewise.
21416         (LEN): Likewise.
21417         (memmove): Likewise.  Do not use BP_SYM.
21418         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21419         "bp-asm.h".
21420         (PARMS): Do not use macros from bp-asm.h.
21421         (DEST): Likewise.
21422         (SRC): Likewise.
21423         (LEN): Likewise.
21424         (__mempcpy): Likewise.  Do not use BP_SYM.
21425         (mempcpy): Do not use BP_SYM in weak_alias.
21426         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21427         "bp-asm.h".
21428         (PARMS): Do not use macros from bp-asm.h.
21429         (DEST): Likewise.
21430         (LEN): Likewise.
21431         [!BZERO_P] (CHR): Likewise.
21432         (memset): Likewise.  Do not use BP_SYM.
21433         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21434         "bp-asm.h".
21435         (PARMS): Do not use macros from bp-asm.h.
21436         (STR2): Likewise.
21437         (strcmp): Do not use BP_SYM.
21438         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21439         "bp-asm.h".
21440         (PARMS): Do not use macros from bp-asm.h.
21441         (STR): Likewise.
21442         (DELIM): Likewise.
21443         [USE_AS_STRTOK_R] (SAVE): Likewise.
21444         (FUNCTION): Likewise.  Do not use BP_SYM.
21445         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21446         aliases.
21447         (strtok_r): Likewise.
21448         (__GI___strtok_r): Likewise.
21449         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21450         (PARMS): Do not use macros from bp-asm.h.
21451         (S): Likewise.
21452         (SIZE): Likewise.
21453         (__mpn_lshift): Do not use BP_SYM.
21454         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21455         (PARMS): Do not use macros from bp-asm.h.
21456         (STR): Likewise.
21457         (CHR): Likewise.
21458         (__memchr): Do not use BP_SYM.
21459         (memchr): Do not use BP_SYM in weak_alias.
21460         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21461         (PARMS): Do not use macros from bp-asm.h.
21462         (BLK2): Likewise.
21463         (LEN): Likewise.
21464         (memcmp): Do not use BP_SYM.
21465         (bcmp): Do not use BP_SYM in weak_alias.
21466         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21467         (PARMS): Do not use macros from bp-asm.h.
21468         (S1): Likewise.
21469         (SIZE): Likewise.
21470         (__mpn_mul_1): Do not use BP_SYM.
21471         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21472         "bp-asm.h".
21473         (PARMS): Do not use macros from bp-asm.h.
21474         (STR): Likewise.
21475         (CHR): Likewise.
21476         (__rawmemchr): Do not use BP_SYM.
21477         (rawmemchr): Do not use BP_SYM in weak_alias.
21478         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21479         (PARMS): Do not use macros from bp-asm.h.
21480         (S): Likewise.
21481         (SIZE): Likewise.
21482         (__mpn_rshift): Do not use BP_SYM.
21483         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21484         (PARMS): Do not use macros from bp-asm.h.
21485         (SIGMSK): Likewise.
21486         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21487         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21488         (_start): Do not use BP_SYM.
21489         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21490         (PARMS): Do not use macros from bp-asm.h.
21491         (DEST): Likewise.
21492         (SRC): Likewise.
21493         (__stpcpy): Likewise.  Do not use BP_SYM.
21494         (stpcpy): Do not use BP_SYM in weak_alias.
21495         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21496         "bp-asm.h".
21497         (PARMS): Do not use macros from bp-asm.h.
21498         (DEST): Likewise.
21499         (SRC): Likewise.
21500         (LEN): Likewise.
21501         (__stpncpy): Likewise.  Do not use BP_SYM.
21502         (stpncpy): Do not use BP_SYM in weak_alias.
21503         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21504         (PARMS): Do not use macros from bp-asm.h.
21505         (STR): Likewise.
21506         (CHR): Likewise.
21507         (strchr): Likewise.  Do not use BP_SYM.
21508         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21509         "bp-asm.h".
21510         (PARMS): Do not use macros from bp-asm.h.
21511         (STR): Likewise.
21512         (CHR): Likewise.
21513         (__strchrnul): Likewise.  Do not use BP_SYM.
21514         (strchrnul): Do not use BP_SYM in weak_alias.
21515         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21516         "bp-asm.h".
21517         (PARMS): Do not use macros from bp-asm.h.
21518         (STOP): Likewise.
21519         (strcspn): Do not use BP_SYM.
21520         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21521         "bp-asm.h".
21522         (PARMS): Do not use macros from bp-asm.h.
21523         (STR): Likewise.
21524         (STOP): Likewise.
21525         (strpbrk): Likewise.  Do not use BP_SYM.
21526         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21527         "bp-asm.h".
21528         (PARMS): Do not use macros from bp-asm.h.
21529         (STR): Likewise.
21530         (CHR): Likewise.
21531         (strrchr): Likewise.  Do not use BP_SYM.
21532         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21533         (PARMS): Do not use macros from bp-asm.h.
21534         (SKIP): Likewise.
21535         (strspn): Do not use BP_SYM.
21536         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21537         (PARMS): Do not use macros from bp-asm.h.
21538         (STR): Likewise.
21539         (DELIM): Likewise.
21540         (SAVE): Likewise.
21541         (FUNCTION): Likewise.  Do not use BP_SYM.
21542         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21543         aliases.
21544         (strtok_r): Likewise.
21545         (__GI___strtok_r): Likewise.
21546         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21547         (PARMS): Do not use macros from bp-asm.h.
21548         (S1): Likewise.
21549         (S2): Likewise.
21550         (SIZE): Likewise.
21551         (__mpn_sub_n): Do not use BP_SYM.
21552         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21553         "bp-asm.h".
21554         (PARMS): Do not use macros from bp-asm.h.
21555         (S1): Likewise.
21556         (SIZE): Likewise.
21557         (__mpn_submul_1): Do not use BP_SYM.
21558         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21559         <bp-sym.h>.
21560         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21561         and <bp-asm.h>.
21562         (PARMS): Do not use macros from bp-asm.h.
21563         (FLAGS): Likewise.
21564         (PTID): Likewise.
21565         (TLS): Likewise.
21566         (CTID): Likewise.
21567         (__clone): Do not use BP_SYM.
21568         (clone): Do not use BP_SYM in weak_alias.
21569         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21570         and <bp-asm.h>.
21571         (PARMS): Do not use macros from bp-asm.h.
21572         (LEN): Likewise.
21573         (__mmap64): Do not use BP_SYM.
21574         (mmap64): Do not use BP_SYM in weak_alias.
21575         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21576         <bp-sym.h> and <bp-asm.h>.
21577         (PARMS): Do not use macros from bp-asm.h.
21578         (__posix_fadvise64_l64): Do not use BP_SYM.
21579         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21580         (PARMS): Do not use macros from bp-asm.h.
21581         (NSOPS): Likewise.
21582         (semtimedop): Do not use BP_SYM.
21583         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21584         and <bp-asm.h>.
21585
21586 2013-02-21  Allan McRae  <allan@archlinux.org>
21587
21588         * manual/message.texi (Charset conversion in gettext):
21589         Move @end statement to beginning of line.
21590
21591 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21592
21593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21594         static.
21595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21596         Likewise.
21597
21598         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21599         (denorm): Likewise.
21600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21602
21603 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21604
21605         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21606         tail-call to the resolved function if pltexit isn't needed.
21607
21608 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21609
21610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21611         or Y being zero as being unlikely.
21612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21613         Likewise.
21614
21615 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21616
21617         * manual/nss.texi (System Databases and Name Service Switch):
21618         Remove frobnicate @pxref.
21619
21620 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21621
21622         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21623         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21624
21625 2013-02-20  Petr Machata  <pmachata@redhat.com>
21626
21627         * elf/elf.h (R_ARM_TARGET1): New macro.
21628         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21629         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21630         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21631         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21632         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21633         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21634         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21635         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21636         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21637         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21638         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21639         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21640         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21641         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21642         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21643         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21644         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21645         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21646         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21647         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21648         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21649         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21650         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21651         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21652         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21653         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21654         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21655         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21656         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21657         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21658         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21659         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21660         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21661         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21662         (R_ARM_THM_GOT_BREL12): Likewise.
21663         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21664         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21665         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21666         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21667         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21668         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21669         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21670         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21671         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21672
21673 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21674
21675         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21676         __attribute_used__ to __attribute__ ((unused)).
21677
21678 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21679
21680         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21681         powerpc mpa.c.
21682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21683         comment formatting.
21684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21685
21686 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21687
21688         [BZ #13550]
21689         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21690         Remove macro.
21691         (ENTER): Remove both macro definitions.
21692         (LEAVE): Likewise.
21693         (CHECK_BOUNDS_LOW): Likewise.
21694         (CHECK_BOUNDS_HIGH): Likewise.
21695         (CHECK_BOUNDS_BOTH): Likewise.
21696         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21697         (RETURN_BOUNDED_POINTER): Likewise.
21698         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21699         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21700         (POP_ERRNO_LOCATION_RETURN): Likewise.
21701         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21702         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21703         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21704         macros.
21705         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21706         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21707         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21708         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21709         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21710         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21711         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21712         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21713         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21714         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21715         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21716         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21717         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21718         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21719         removed macros.
21720         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21721         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21722         macros.
21723         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21724         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21725         * sysdeps/i386/i586/memset.S (memset): Likewise.
21726         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21727         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21728         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21729         macros.
21730         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21731         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21732         Change uses of L(2) to L(out).
21733         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21734         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21735         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21736         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21737         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21738         removed macros.
21739         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21740         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21741         macros.
21742         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21743         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21744         (RETURN): Do not use macro LEAVE.
21745         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21746         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21747         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21748         * sysdeps/i386/i686/memset.S (memset): Likewise.
21749         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21750         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21751         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21752         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21753         Likewise.
21754         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21755         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21756         L(1_2) and L(1_3) into L(1).
21757         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21758         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21759         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21760         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21761         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21762         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21763         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21764         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21765         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21766         macros.
21767         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21768         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21769         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21770         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21771         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21772         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21773         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21774         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21775         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21776         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21777         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21778         * sysdeps/i386/strspn.S (strspn): Likewise.
21779         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21780         conditional code.
21781         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21782         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21783         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21784         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21785         L(1_3) into L(1_1).
21786         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21787         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21788         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21789         macros.
21790         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21791
21792 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21793
21794         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21795         macro.
21796
21797 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21798
21799         * math/atest-exp.c (exp_mpn): Remove ROUND.
21800         * math/atest-exp2.c (exp_mpn): Likewise.
21801         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21802
21803         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21804         * stdlib/tst-tls-atexit-lib.c: Likewise.
21805         * stdlib/tst-tls-atexit.c: Likewise.
21806
21807 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21808
21809         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21810         and __attribute_alloc_size__.
21811
21812 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21813
21814         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21815         __attribute_alloc_size__.
21816         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21817         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21818
21819 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21820
21821         * include/programs/xmalloc.h: New file.
21822         * catgets/gencat.c: Include it.
21823         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21824         * elf/pldd.c: Likewise.
21825         * iconv/iconv_charmap.c: Likewise.
21826         * iconv/iconvconfig.c: Likewise.
21827         * iconv/strtab.c: Likewise.
21828         * locale/programs/locale.c: Likewise.
21829         * locale/programs/localedef.h: Likewise.
21830         * locale/programs/simple-hash.c: Likewise.
21831         * nscd/nscd.h: Likewise.
21832         * nss/makedb.c: Likewise.
21833         * sysdeps/generic/ldconfig.h: Likewise.
21834
21835 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21836
21837         * Versions.def: Add GLIBC_2.18.
21838         * include/link.h (struct link_map): New member l_tls_dtor_count.
21839         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21840         (__call_tls_dtors): Likewise.
21841         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21842         __cxa_thread_atexit_impl.
21843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21844         Likewise.
21845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21846         Likewise.
21847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21848         Likewise.
21849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21850         Likewise.
21851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21853         Likewise.
21854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21855         Likewise.
21856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21858         Likewise.
21859         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21860         (tests): Add test case tst-tls-atexit.
21861         (modules-names): Add shared library for tst-tls-atexit.
21862         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21863         (GLIBC_PRIVATE): Add __call_tls_dtors.
21864         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21865         for libstdc++.
21866         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21867         * stdlib/tst-tls-atexit.c: New test case.
21868         * stdlib/tst-tls-atexit-lib.c: New test case.
21869
21870         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21871
21872         * elf/Versions (ld): Add _dl_find_dso_for_object.
21873         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21874         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21875         (dl_open_worker): Use _dl_find_dso_for_object.
21876         * elf/dl-sym.c (do_sym): Likewise.
21877         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21878
21879 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21880
21881         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21882         Syntactic changes only.
21883         (_dl_runtime_profile): Do a tail-call to the resolved function.
21884
21885 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21886
21887         [BZ #13550]
21888         * sysdeps/x86_64/bp-asm.h: Remove file.
21889         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21890         <bp-sym.h> and <bp-asm.h>.
21891         (__clone): Do not use BP_SYM.
21892         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21893         <bp-sym.h> and <bp-asm.h>.
21894         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21895         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21896         "bp-asm.h".
21897         (_setjmp): Do not use BP_SYM.
21898         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21899         "bp-asm.h".
21900         (setjmp): Do not use BP_SYM.
21901         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21902         libc_hidden_def.
21903         (mempcpy): Do not use BP_SYM in weak_alias.
21904         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21905         "bp-asm.h".
21906         (strchr): Do not use BP_SYM.
21907         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21908         "bp-asm.h".
21909         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21910         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21911         (_start): Do not use BP_SYM.
21912         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21913         "bp-asm.h".
21914         (strcat): Do not use BP_SYM.
21915         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21916         "bp-asm.h".
21917         (STRCMP): Do not use BP_SYM.
21918         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21919         "bp-asm.h".
21920         (STRCPY): Do not use BP_SYM.
21921         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21922         "bp-asm.h".
21923         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21924         "bp-asm.h".
21925         (FUNCTION): Do not use BP_SYM.
21926         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21927         weak_alias.
21928         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21929
21930 2013-02-17  Andreas Jaeger  <aj@suse.de>
21931
21932         * time/Versions: Sort entries.
21933         * string/Versions: Likewise.
21934         * resolv/Versions: Likewise.
21935         * posix/Versions: Likewise.
21936         * iconv/Versions: Likewise.
21937         * elf/Versions: Likewise.
21938         * wcsmbs/Versions: Likewise.
21939
21940 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21941
21942         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21943         loop termination condition.
21944
21945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21946         variable to calculate EZ.
21947         (__sqr): Likewise.
21948
21949         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21950         the lower precision input.
21951
21952 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21953
21954         [BZ #13550]
21955         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21956         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21957         (run-via-rtld-prefix): Do not handle %-bp tests.
21958         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21959         (all-object-suffixes): Remove .ob.
21960         (bppfx): Remove variable.
21961         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21962         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21963         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21964         [$(build-bounded) = yes] (libtype.ob): Likewise.
21965         * Makerules (elide-routines.ob): Remove variable.
21966         (do-tests-clean): Do not handle *-bp.out.
21967         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21968         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21969         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21970         (tests): Do not include $(tests-bp.out).
21971         (xtests): Do not include $(xtests-bp.out).
21972         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21973         [$(build-bounded) = yes] ($(addprefix
21974         $(objpfx),$(binaries-bounded))): Remove rule.
21975         ($(objpfx)%-bp.out): Remove rule.
21976         * config.make.in (build-bounded): Remove variable.
21977         * crypt/Makefile [$(build-bounded) = yes]
21978         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21979         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21980         append to variable.
21981         [$(build-bounded) = yes] (install-lib): Likewise.
21982         [$(build-bounded) = yes] (generated): Likewise.
21983         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21984         Remove rule.
21985         * intl/Makefile [$(build-bounded) = yes]
21986         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21987         * math/Makefile [$(build-bounded) = yes]
21988         ($(tests:%=$(objpfx)%-bp): Likewise.
21989         * misc/Makefile [$(build-bounded) = yes]
21990         ($(objpfx)tst-tsearch-bp): Likewise.
21991         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21992         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21993         Remove dependency.
21994         * string/Makefile (o-objects.ob): Remove variable.
21995         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21996         (CFLAGS-.ob): Remove variable.
21997         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21998         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21999         both definitions of variable.
22000         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22001         (ASFLAGS-.ob): Remove variable.
22002
22003 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22004
22005         [BZ #13550]
22006         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22007         Remove __BOUNDED_POINTERS__ from condition.
22008         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22009         * string/bits/string2.h [!__NO_STRING_INLINES &&
22010         !__BOUNDED_POINTERS__]: Likewise.
22011         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22012         Likewise.
22013         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22014         Remove conditional code.
22015         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22016         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22017         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22018         condition.
22019
22020         [BZ #13550]
22021         * csu/libc-start.c: Do not include <bp-sym.h>.
22022         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22023         * elf/dl-open.c: Do not include <bp-sym.h>.
22024         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22025         * math/fegetenv.c: Do not include <bp-sym.h>.
22026         (fegetenv): Do not use BP_SYM in versioned symbols.
22027         * nptl/sysdeps/pthread/bits/libc-lockP.h
22028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22029         <bp-sym.h>.
22030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22031         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22033         (__pthread_mutex_destroy): Likewise.
22034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22035         (__pthread_mutex_lock): Likewise.
22036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22037         (__pthread_mutex_trylock): Likewise.
22038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22039         (__pthread_mutex_unlock): Likewise.
22040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22041         (__pthread_mutexattr_init): Likewise.
22042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22043         (__pthread_mutexattr_destroy): Likewise.
22044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22045         (__pthread_mutexattr_settype): Likewise.
22046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22047         (__pthread_rwlock_init): Likewise.
22048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22049         (__pthread_rwlock_destroy): Likewise.
22050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22051         (__pthread_rwlock_rdlock): Likewise.
22052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22053         (__pthread_rwlock_tryrdlock): Likewise.
22054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22055         (__pthread_rwlock_wrlock): Likewise.
22056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22057         (__pthread_rwlock_trywrlock): Likewise.
22058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22059         (__pthread_rwlock_unlock): Likewise.
22060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22061         (__pthread_key_create): Likewise.
22062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22063         (__pthread_setspecific): Likewise.
22064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22065         (__pthread_getspecific): Likewise.
22066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22067         Likewise.
22068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22069         (_pthread_cleanup_push_defer): Likewise.
22070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22071         (_pthread_cleanup_pop_restore): Likewise.
22072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22073         (pthread_setcancelstate): Likewise.
22074         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22075         <bp-sym.h>.
22076         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22077         (memchr): Do not use BP_SYM in weak_alias.
22078         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22079         (fegetenv): Do not use BP_SYM in versioned symbols.
22080         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22081         (fesetenv): Do not use BP_SYM in versioned symbols.
22082         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22083         (feupdateenv): Do not use BP_SYM in versioned symbols.
22084         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22085         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22086         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22087         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22088         (open64): Do not use BP_SYM in weak_alias.
22089         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22090         (fegetenv): Do not use BP_SYM in versioned symbols.
22091         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22092         (fesetenv): Do not use BP_SYM in versioned symbols.
22093         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22094         (feupdateenv): Do not use BP_SYM in versioned symbols.
22095         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22096         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22097         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22098         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22099         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22100         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22101         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22102         <bp-sym.h>.
22103         (__libc_start_main): Do not use BP_SYM.
22104
22105 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22106
22107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22108         redundant return line.
22109         (norm): Likewise.
22110         (denorm): Likewise.
22111         (dbl_mp): Likewise.
22112         (sub_magnitudes): Likewise.
22113         (__add): Likewise.
22114         (__sub): Likewise.
22115         (__mul): Likewise.
22116         (__inv): Likewise.
22117         (__dvd): Likewise.
22118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22119         (norm): Likewise.
22120         (denorm): Likewise.
22121         (dbl_mp): Likewise.
22122         (sub_magnitudes): Likewise.
22123         (__add): Likewise.
22124         (__sub): Likewise.
22125         (__mul): Likewise.
22126         (__inv): Likewise.
22127         (__dvd): Likewise.
22128
22129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22130         instead of __mul.
22131         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22132         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22133         (cc32): Likewise.
22134
22135         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22136         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22137         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22138         of __mul for squares.
22139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22140         function
22141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22142         Likewise.
22143         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22144         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22145
22146 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22147
22148         [BZ #13550]
22149         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22150         code.
22151         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22152         prototype or function definition.  Rename ubp_* variables and
22153         parameters.  Remove argv definitions conditional on
22154         [__BOUNDED_POINTERS__].
22155         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22156         * elf/dl-runtime.c (_dl_fixup): Likewise.
22157         * include/set-hooks.h (RUN_HOOK): Likewise.
22158         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22159         definition.
22160         * string/strcpy.c (strcpy): Do not use __unbounded.
22161         * sysdeps/generic/frame.h (struct layout): Likewise.
22162         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22163         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22164         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22165         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22166         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22167         (__backtrace): Likewise.
22168         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22169         use __ptrvalue.
22170         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22171         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22172         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22173         Likewise.
22174         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22175         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22176         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22177         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22178         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22179         Do not use __unbounded.
22180         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22181         Rename __unboundedrlimits parameter to rlimits in prototype.
22182         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22183         Do not use __unbounded.
22184         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22185         not use __ptrvalue.
22186         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22187         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22188         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22189         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22190         __ptrvalue or __unbounded.
22191         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22192         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22193         use __unbounded.
22194         (__new_msgctl): Do not use __ptrvalue.
22195         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22196         __unbounded.
22197         (__libc_msgrcv): Do not use __ptrvalue.
22198         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22199         startup_info): Do not use __unbounded.
22200         (__libc_start_main): Likewise.  Rename ubp_* variables and
22201         parameters.  Remove argv definitions conditional on
22202         [__BOUNDED_POINTERS__].
22203         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22204         __ptrvalue.
22205         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22206         use __unbounded.
22207         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22208         or __ptrvalue.
22209         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22210         use __unbounded.
22211         (__new_shmctl): Do not use __ptrvalue.
22212         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22213         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22214         Likewise.
22215         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22216         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22217         (__libc_sigaction): Likewise.
22218         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22219         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22220         Likewise.
22221         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22222
22223 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22224
22225         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22226
22227         * string/mempcpy.c: Implement by calling memcpy.
22228
22229 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22230
22231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22232
22233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22234         evaluation.
22235
22236         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22237         values in the mantissa.
22238
22239         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22240         minimize writes to Z.
22241         (sub_magnitudes): Simplify code a bit.
22242
22243 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22244
22245         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22246         from the message.  The linker prefixes all warnings with that already.
22247
22248 2013-02-12  Andreas Schwab  <schwab@suse.de>
22249
22250         [BZ #15078]
22251         * posix/regexec.c (extend_buffers): Add parameter min_len.
22252         (check_matching): Pass minimum needed length.
22253         (clean_state_log_if_needed): Likewise.
22254         (get_subexp): Likewise.
22255         * posix/Makefile (tests): Add bug-regex34.
22256         (bug-regex34-ENV): Define.
22257         * posix/bug-regex34.c: New file.
22258
22259         [BZ #11561]
22260         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22261         elements compare against the byte sequence of it, not its name.
22262         * posix/Makefile (tests): Add bug-regex35.
22263         (bug-regex35-ENV): Define.
22264         * posix/bug-regex35.c: New file.
22265
22266 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22267
22268         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22269         comment.
22270         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22271         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22272         (CHECK_EOL): Add undef.
22273
22274 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22275
22276         * bits/stdlib-bsearch.h: New file.
22277         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22278         * stdlib/stdlib.h: Likewise.
22279
22280 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22281
22282         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22283         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22284         declaration.
22285         * manual/search.texi (Array Search Function): Add missing const in
22286         lfind prototype.
22287         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22288         declaration to use rlim_t.
22289         (Basic Scheduling Functions): Remove erroneous const from
22290         sched_getparam prototype.  Remove erroneous * from
22291         sched_get_priority_max and sched_get_priority_min prototypes.
22292         (Resource Usage): Fix summary @comment on vtimes to refer to
22293         sys/vtimes.h rather than vtimes.h.
22294         Add missing *s in vtimes prototype.
22295         (Limits on Resources): Fix ulimit prototype to return long int.
22296         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22297         prototypes to use long int rather than double.
22298         (BSD Random): Fix initstate and setstate to use char *, not void *.
22299         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22300         prototype to make second argument 'struct aiocb64 *const[]'.
22301         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22302         (Status of AIO Operations): Remove erroneous const in aio_return and
22303         aio_return64 prototypes.
22304         (Synchronizing I/O): Fix sync prototype to return void.
22305         * manual/startup.texi (Suboptions): Remove an erroneous const in
22306         getsubopt prototype.
22307         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22308         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22309         use size_t rather than int.
22310         (Scanning All Users): Likewise for getpwent_r.
22311         (Setting Groups): Add missing const to setgroups prototype.
22312         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22313         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22314         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22315         'const void *' rather than 'const char *'.
22316         (Host Address Functions): Likewise for inet_ntop.
22317         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22318         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22319         ssize_t for return value.
22320         (Sending Data): Likewise for send, sendto, sendmsg.
22321         (Socket Option Functions): Add a missing const in setsockopt prototype.
22322         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22323         use wchar_t for the argument.
22324         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22325         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22326         take no arguments.
22327         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22328         double/float/long double for second argument.
22329         Fix return types of significand, significandf, significandl.
22330         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22331         argument in fchmod prototype.
22332         (File Owner): Use uid_t and gid_t in fchown prototype.
22333         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22334         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22335         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22336         use 'const struct dirent **' as argument types to CMP function pointer
22337         argument.
22338         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22339         (File Times): Fix summary magic @comment for struct utimbuf and utime
22340         to refer to utime.h, not time.h.
22341         * manual/string.texi (Argz Functions): Add missing const in
22342         argz_extract and argz_next prototypes.
22343         (Finding Tokens in a String): Likewise for basename.
22344         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22345         (Copying and Concatenation): Fix typo in wmemmove prototype.
22346         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22347         (Signal Stack): Remove erroneous const in sigstack prototype.
22348         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22349         prototype.
22350         (Simple Calendar Time): Likewise for stime.
22351         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22352         prototype.
22353         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22354         say sys/sysctl.h instead.
22355         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22356         and vsyslog prototypes.
22357
22358 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22359
22360         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22361         Remove.
22362
22363 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22364
22365         * misc/sys/mman.h: Fix typo in mremap comment.
22366
22367 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22368
22369         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22370         the '\0' terminator.
22371
22372 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22373
22374         [BZ #13550]
22375         * debug/segfault.c: Don't include <bp-checks.h>.
22376         * sysdeps/generic/bp-checks.h: Remove file.
22377         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22378         (__GETDENTS): Don't use CHECK_N.
22379         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22380         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22381         (__getgroups): Don't use CHECK_N.
22382         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22383         (setgroups): Don't use CHECK_N.
22384         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22385         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22386         (__libc_msgrcv): Don't use CHECK_N.
22387         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22388         (__libc_msgsnd): Don't use CHECK_N.
22389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22390         <bp-checks.h>.
22391         (__libc_pread): Don't use CHECK_N.
22392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22393         include <bp-checks.h>.
22394         (__libc_pread64): Don't use CHECK_N.
22395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22396         include <bp-checks.h>.
22397         (__libc_pwrite): Don't use CHECK_N.
22398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22399         include <bp-checks.h>.
22400         (__libc_pwrite64): Don't use CHECK_N.
22401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22402         <bp-checks.h>.
22403         (__libc_pread): Don't use CHECK_N.
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22405         include <bp-checks.h>.
22406         (__libc_pread64): Don't use CHECK_N.
22407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22408         include <bp-checks.h>.
22409         (__libc_pwrite): Don't use CHECK_N.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22411         include <bp-checks.h>.
22412         (__libc_pwrite64): Don't use CHECK_N.
22413         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22414         (do_pread): Don't use CHECK_N.
22415         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22416         (do_pread64): Don't use CHECK_N.
22417         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22418         (do_pwrite): Don't use CHECK_N.
22419         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22420         (do_pwrite64): Don't use CHECK_N.
22421         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22422         (__libc_readv): Don't use CHECK_N.
22423         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22424         (semop): Don't use CHECK_N.
22425         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22426         <bp-checks.h>.
22427         (semtimedop): Don't use CHECK_N.
22428         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22429         (__libc_pread): Don't use CHECK_N.
22430         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22431         <bp-checks.h>.
22432         (__libc_pread64): Don't use CHECK_N.
22433         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22434         <bp-checks.h>.
22435         (__libc_pwrite): Don't use CHECK_N.
22436         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22437         <bp-checks.h>.
22438         (__libc_pwrite64): Don't use CHECK_N.
22439         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22440         <bp-checks.h>.
22441         (__libc_msgrcv): Don't use CHECK_N.
22442         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22443         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22444         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22445         (__libc_writev): Don't use CHECK_N.
22446
22447 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22448
22449         * string/strcpy.c: Removed unused variable.
22450
22451         * Makeconfig (+sysdep-includes): Define with := rather than =.
22452         Use an existing include/ subdir of each sysdeps dir before it.
22453
22454 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22455
22456         * nscd/connection.c (register_traced_file): Comment function.
22457         [HAVE_INOTIFY] (union __inev): Define.
22458         [HAVE_INOTIFY] (inotify_check_files): New function.
22459         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22460         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22461         clear_db_cache.
22462         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22463
22464 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22465
22466         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22467         loaded if not already and that a failure is permanent.
22468
22469 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22470
22471         [BZ #15006]
22472         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22473         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22474
22475 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22476
22477         [BZ #13550]
22478         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22479         (CHECK_1_NULL_OK): Likewise.
22480         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22481         (__fxstat): Do not use CHECK_1.
22482         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22483         <bp-checks.h>.
22484         (___fxstat64): Do not use CHECK_1.
22485         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22486         <bp-checks.h>.
22487         (__fxstatat): Do not use CHECK_1.
22488         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22489         <bp-checks.h>.
22490         (__fxstatat64): Do not use CHECK_1.
22491         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22492         <bp-checks.h>.
22493         (__fxstat): Do not use CHECK_1.
22494         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22495         <bp-checks.h>.
22496         (__fxstatat): Do not use CHECK_1.
22497         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22498         <bp-checks.h>.
22499         (__getresgid): Do not use CHECK_1.
22500         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22501         <bp-checks.h>.
22502         (__getresuid): Do not use CHECK_1.
22503         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22504         <bp-checks.h>.
22505         (__lxstat): Do not use CHECK_1.
22506         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22507         <bp-checks.h>.
22508         (__old_msgctl): Do not use CHECK_1.
22509         (__new_msgctl): Likewise.
22510         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22511         <bp-checks.h>.
22512         (__new_setrlimit): Do not use CHECK_1.
22513         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22514         <bp-checks.h>.
22515         (__old_shmctl): Do not use CHECK_1.
22516         (__new_shmctl): Likewise.
22517         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22518         <bp-checks.h>.
22519         (__xstat): Do not use CHECK_1.
22520         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22521         (__lxstat): Do not use CHECK_1.
22522         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22523         <bp-checks.h>.
22524         (___lxstat64): Do not use CHECK_1.
22525         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22526         (__old_msgctl): Do not use CHECK_1.
22527         (__new_msgctl): Likewise.
22528         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22529         <bp-checks.h>.
22530         (__gettimeofday): Do not use CHECK_1.
22531         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22532         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22533         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22534         <bp-checks.h>.
22535         (__gettimeofday): Do not use CHECK_1.
22536         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22537         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22538         (__new_shmctl): Do not use CHECK_1.
22539         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22540         <bp-checks.h>.
22541         (do_sigtimedwait): Do not use CHECK_1.
22542         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22543         <bp-checks.h>.
22544         (do_sigwaitinfo): Do not use CHECK_1.
22545         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22546         <bp-checks.h>.
22547         (msgctl): Do not use CHECK_1.
22548         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22549         <bp-checks.h>.
22550         (shmctl): Do not use CHECK_1.
22551         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22552         (ustat): Do not use CHECK_1.
22553         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22554         <bp-checks.h>.
22555         (__fxstat): Do not use CHECK_1.
22556         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22557         <bp-checks.h>.
22558         (__fxstatat): Do not use CHECK_1.
22559         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22560         <bp-checks.h>.
22561         (__lxstat): Do not use CHECK_1.
22562         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22563         <bp-checks.h>.
22564         (__xstat): Do not use CHECK_1.
22565         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22566         (__xstat): Do not use CHECK_1.
22567         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22568         (___xstat64): Do not use CHECK_1.
22569
22570         [BZ #13550]
22571         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22572         definitions.
22573         (CHECK_BOUNDS_HIGH): Likewise.
22574         * string/strcpy.c: Do not include <bp-checks.h>.
22575         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22576
22577 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22578
22579         * nscd/nscd-client.h (__nscd_drop_map_ref):
22580         Add __attribute__ ((unused)).
22581         * nis/nss-nisplus.h (niserr2nss): Likewise.
22582
22583         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22584         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22585
22586         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22587         Remove inline keyword.
22588         * include/rounding-mode.h (round_away): Likewise.
22589         * libio/wfileops.c (adjust_wide_data): Likewise.
22590         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22591         (__m128i_strloadu_tolower): Likewise.
22592         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22593         (__m128i_strloadu_tolower): Likewise.
22594         * time/mktime.c (ydhms_diff): Likewise.
22595         * locale/elem-hash.h (elem_hash): Likewise.
22596         * locale/setlocale.c (setdata): Likewise.
22597         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22598         (re_string_wchar_at): Likewise.
22599         (bitset_not, bitset_merge, bitset_mask): Likewise.
22600         [!(__GNUC__ > 3)] (inline): Remove macro.
22601         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22602         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22603         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22604         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22605         * string/memcmp.c (memcmp_bytes): Likewise.
22606         * locale/programs/locarchive.c (compute_hashval): Likewise.
22607         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22608         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22609         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22610         * nss/getent.c (print_rpc, print_protocols): Likewise.
22611         (print_passwd, print_group, print_aliases): Likewise.
22612         * nis/nss-nisplus.h (niserr2nss): Likewise.
22613         * nscd/connections.c (restart_p): Likewise.
22614         Change return type to bool.
22615
22616 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22617
22618         * Makeconfig (all-Depend-files): Add existing
22619         $(sorted-subdirs:=/Depend) files.
22620         (all-subdirs): Remove nss.
22621         * sysdeps/unix/inet/Subdirs: Add it here instead.
22622         * hesiod/Depend: New file.
22623
22624         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22625         instead of calling alloca.
22626
22627         * io/lseek.c (__lseek): Rename to __libc_lseek.
22628         Define __lseek as an alias.
22629
22630         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22631
22632 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22633
22634         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22635         else clause and remove check for non-standard endianness.
22636
22637 2013-02-04  David S. Miller  <davem@davemloft.net>
22638
22639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22640
22641 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22642
22643         [BZ #13550]
22644         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22645         (__ubp_memchr): Remove prototype.
22646         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22647         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22648         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22649         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22650         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22651         Remove alias.
22652         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22653         (__ubp_memchr): Likewise.
22654         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22655         (__ubp_memchr): Likewise.
22656         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22657         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22658         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22659         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22660         CHECK_STRING.
22661         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22662         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22663         (__getcwd): Do not use CHECK_STRING.
22664         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22665         <bp-checks.h>.
22666         (__real_chown): Do not use CHECK_STRING.
22667         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22668         <bp-checks.h>.
22669         (fchownat): Do not use CHECK_STRING.
22670         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22671         CHECK_STRING.
22672         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22673         <bp-checks.h>.
22674         (__lchown): Do not use CHECK_STRING.
22675         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22676         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22677         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22678         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22680         include <bp-checks.h>.
22681         (truncate64): Do not use CHECK_STRING.
22682         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22683         <bp-checks.h>.
22684         (__real_chown): Do not use CHECK_STRING.
22685         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22686         <bp-checks.h>.
22687         (__lchown): Do not use CHECK_STRING.
22688         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22689         <bp-checks.h>.
22690         (__chown): Do not use CHECK_STRING.
22691         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22692         <bp-checks.h>.
22693         (truncate64): Do not use CHECK_STRING.
22694         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22695         Likewise.
22696         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22697         (__xmknod): Do not use CHECK_STRING.
22698         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22699         <bp-checks.h>.
22700         (__xmknodat): Do not use CHECK_STRING.
22701         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22702         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22703
22704 2013-02-04  Andreas Schwab  <schwab@suse.de>
22705
22706         [BZ #14142]
22707         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22708         * include/netdb.h: Likewise for h_errno.
22709         * elf/tst-stackguard1.c: Include <tls.h>.
22710
22711 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22712
22713         * elf/link.h (struct link_map): Extend the l_addr comment.
22714         * include/link.h (struct link_map): Likewise.
22715
22716 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22717
22718         [BZ #13550]
22719         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22720         (BOUNDED_1): Remove macro.
22721         * debug/backtrace.c: Don't include <bp-checks.h>.
22722         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22723         (__backtrace): Likewise.
22724         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22725         <bp-checks.h>.
22726         (__backtrace): Don't use BOUNDED_1.
22727         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22728         <bp-checks.h>.
22729         (__backtrace): Don't use BOUNDED_1.
22730         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22731         (__backtrace): Don't use BOUNDED_1.
22732         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22733         (shmat): Don't use BOUNDED_N.
22734
22735 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22736
22737         [BZ #13550]
22738         * sysdeps/generic/bp-start.h: Remove file.
22739         * csu/libc-start.c: Don't include <bp-start.h>.
22740         (LIBC_START_MAIN): Set up __environ directly instead of using
22741         INIT_ARGV_and_ENVIRON.
22742         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22743         <bp-start.h>.
22744
22745         [BZ #13550]
22746         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22747         definitions.
22748         (CHECK_FCNTL): Likewise.
22749         (CHECK_N_PAGES): Likewise.
22750
22751         [BZ #13550]
22752         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22753         definitions.
22754         (CHECK_SIGSET_NULL_OK): Likewise.
22755         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22756         <bp-checks.h>.
22757         (sigpending): Don't use CHECK_SIGSET.
22758         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22759         <bp-checks.h>.
22760         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22761         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22762         <bp-checks.h>.
22763         (do_sigsuspend): Don't use CHECK_SIGSET.
22764         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22765         use CHECK_SIGSET.
22766         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22767         (do_sigwait): Don't use CHECK_SIGSET.
22768         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22769         use CHECK_SIGSET.
22770         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22771         include <bp-checks.h>.
22772         (sigpending): Don't use CHECK_SIGSET.
22773         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22774         include <bp-checks.h>.
22775         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22776         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22777         <bp-checks.h>.
22778         (sigpending): Don't use CHECK_SIGSET.
22779         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22780         <bp-checks.h>.
22781         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22782
22783         [BZ #13550]
22784         * sysdeps/generic/bp-semctl.h: Remove file.
22785         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22786         <bp-checks.h> and <bp-semctl.h>.
22787         (__old_semctl): Don't use CHECK_SEMCTL.
22788         (__new_semctl): Likewise.
22789         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22790         and <bp-semctl.h>.
22791         (__old_semctl): Don't use CHECK_SEMCTL.
22792         (__new_semctl): Likewise.
22793         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22794         <bp-checks.h> and <bp-semctl.h>.
22795         (__old_semctl): Don't use CHECK_SEMCTL.
22796         (__new_semctl): Likewise.
22797         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22798         <bp-checks.h> and <bp-semctl.h>.
22799         (semctl): Don't use CHECK_SEMCTL.
22800
22801         [BZ #13550]
22802         * Makerules (elide-bp-thunks): Remove variable.
22803         (elide-routines.oS): Don't use $(elide-bp-thunks).
22804         (elide-routines.os): Likewise.
22805         (elide-routines.o): Likewise.
22806         (elide-routines.op): Likewise.
22807         (elide-routines.og): Likewise.
22808         (objects): Don't use $(bp-thunks).
22809         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22810         include.
22811         (common-generated): Do not add s-proto-bp.d.
22812         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22813         (int): Likewise.
22814         (typ): Likewise.
22815         Do not generate makefile rules for bounded-pointer thunks.
22816         * sysdeps/generic/bp-thunks.h: Remove file.
22817         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22818         * sysdeps/unix/s-proto-bp.S: Likewise.
22819
22820         [BZ #15062]
22821         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22822         parts of result separately when argument is not close to line from
22823         -i to i and one part of argument is small.
22824         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22825         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22826         * math/libm-test.inc (cacos_test): Add more tests.
22827         (casin_test): Likewise.
22828         (casinh_test): Likewise.
22829         * sysdeps/i386/fpu/libm-test-ulps: Update.
22830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22831
22832 2013-01-31  David S. Miller  <davem@davemloft.net>
22833
22834         * po/de.po: Update from translation team.
22835
22836 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22837
22838         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22839
22840 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22841
22842         * configure.in (_AC_PROG_CC_C89): New definition.
22843         * configure: Regenerate.
22844
22845         * configure.in (AC_PROG_CPP): New definition.
22846         * configure: Regenerate.
22847
22848 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22849
22850         * debug/tst-backtrace.h: New file.
22851         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22852         (ret): Remove variable.
22853         (x): Likewise.
22854         (FAIL): Remove macro.
22855         (NO_INLINE): Likewise.
22856         (fn1): Use match function instead of strstr.
22857         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22858         (ret): Remove variable.
22859         (x): Likewise.
22860         (FAIL): Remove macro.
22861         (NO_INLINE): Likewise.
22862         (fn): Use match function instead of strstr.
22863         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22864         (ret): Remove variable.
22865         (x): Likewise.
22866         (FAIL): Remove macro.
22867         (NO_INLINE): Likewise.
22868         (handle_signal): Use match function instead of strstr.
22869         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22870         (ret): Remove variable.
22871         (x): Likewise.
22872         (FAIL): Remove macro.
22873         (NO_INLINE): Likewise.
22874         (handle_signal): Use match function instead of strstr.
22875
22876 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22877
22878         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22879
22880 2013-01-23  David S. Miller  <davem@davemloft.net>
22881
22882         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22883         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22884         argument of CAS if possible.
22885         * sysdeps/sparc/sparc64/bits/atomic.h
22886         (__arch_compare_and_exchange_val_32_acq): Likewise.
22887         (__arch_compare_and_exchange_val_64_acq): Likewise.
22888
22889 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22890
22891         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22892         * sysdeps/posix/ulimit.c: ... this.
22893         Include <limits.h>.
22894         * sysdeps/unix/bsd/ulimit.c: Remove file.
22895
22896 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22897
22898         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22899         (LDFLAGS-tst-array5): Likewise.
22900
22901 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22902
22903         [BZ #15036]
22904         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22905         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22906         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22907         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22908
22909 2013-01-21  David S. Miller  <davem@davemloft.net>
22910
22911         * sysdeps/sparc/backtrace.c: New file.
22912         * sysdeps/sparc/sparc32/backtrace.h: New file.
22913         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22914         * sysdeps/sparc/sparc64/backtrace.h: New file.
22915         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22916         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22917         -funwind-tables.
22918
22919 2013-01-21  Andreas Schwab  <schwab@suse.de>
22920
22921         [BZ #15020]
22922         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22923         closed its stdout.
22924
22925 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22926
22927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22928         "mpa2.h".
22929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22930
22931 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22932             Mark Mitchell  <mark@codesourcery.com>
22933             Tom de Vries  <tom@codesourcery.com>
22934             Paul Pluzhnikov  <ppluzhnikov@google.com>
22935
22936         * debug/tst-backtrace2.c: New file.
22937         * debug/tst-backtrace3.c: Likewise.
22938         * debug/tst-backtrace4.c: Likewise.
22939         * debug/tst-backtrace5.c: Likewise.
22940         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22941         (CFLAGS-tst-backtrace3.c): Likewise.
22942         (CFLAGS-tst-backtrace4.c): Likewise.
22943         (CFLAGS-tst-backtrace5.c): Likewise.
22944         (LDFLAGS-tst-backtrace2): Likewise.
22945         (LDFLAGS-tst-backtrace3): Likewise.
22946         (LDFLAGS-tst-backtrace4): Likewise.
22947         (LDFLAGS-tst-backtrace5): Likewise.
22948         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22949         tst-backtrace4 and tst-backtrace5.
22950
22951 2013-01-18  Anton Blanchard  <anton@samba.org>
22952             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22953
22954         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22955         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22956         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22957         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22959         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22960         "+r" and remove output regs list as redundant.  Add explicit inline
22961         asm to specify register of return val to work around compiler codegen
22962         bug.  Remove (int) cast on return value.  Add return type parameter to
22963         use in macro so that this macro does not truncate return value for
22964         64-bit values.
22965         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22966         pass to INTERNAL_VSYSCALL_NCS.
22967         (INLINE_VSYSCALL): Add 'long int' as return type to
22968         INTERNAL_VSYSCALL_NCS macro invocation.
22969         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22970         INTERNAL_VSYSCALL_NCS macro invocation.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22972
22973 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22974
22975         [BZ #14496]
22976         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22977         Fix application of SIMD FP exception mask.
22978
22979         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22980         mp_no from a power of two.
22981         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22982         __mpexp_twomm1.  Use __pow_mp.
22983
22984         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22985         multiplication.
22986
22987 2013-01-17  David S. Miller  <davem@davemloft.net>
22988
22989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22990
22991 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22992
22993         [BZ #15023]
22994         * include/complex.h: Condition contents on [!_COMPLEX_H].
22995         (__kernel_casinhf): New prototype.
22996         (__kernel_casinh): Likewise.
22997         (__kernel_casinhl): Likewise.
22998         * math/Makefile (libm_calls): Add k_casinh.
22999         * math/k_casinh.c: New file.
23000         * math/k_casinhf.c: Likewise.
23001         * math/k_casinhl.c: Likewise.
23002         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23003         finite nonzero arguments.
23004         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23005         finite nonzero arguments.
23006         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23007         finite nonzero arguments.
23008         * math/s_casinh.c: Do not include <float.h>.
23009         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23010         * math/s_casinhf.c: Do not include <float.h>.
23011         (__casinhf): Move code for finite nonzero arguments to
23012         k_casinhf.c.
23013         * math/s_casinhl.c: Do not include <float.h>.
23014         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23015         redefine.
23016         (__casinhl): Move code for finite nonzero arguments to
23017         k_casinhl.c.
23018         * math/libm-test.inc (cacos_test): Add more tests.
23019         * sysdeps/i386/fpu/libm-test-ulps: Update.
23020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23021
23022 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23023
23024         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23025         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23026         [!HAVE_MREMAP]: Remove [defined linux] case.
23027         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23028
23029 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23030
23031         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23032
23033 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23034
23035         * elf/elf.h (R_386_SIZE32): New relocation.
23036         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23037         R_386_SIZE32.
23038         (elf_machine_rela): Likewise.
23039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23040         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23041
23042 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23043
23044         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23045         (FP_FAST_FMA): Do not define.
23046         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23047         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23048         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23049         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23050         !_SOFT_FLOAT]: Likewise.
23051         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23052         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23053         value.
23054         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23055         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23056         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23057         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23058         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23059         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23060         file.
23061
23062 2013-01-16  Andreas Schwab  <schwab@suse.de>
23063
23064         [BZ #14327]
23065         * include/stdlib.h (__mktemp): Add declaration.
23066         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23067         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23068
23069 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23070
23071         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23072         definitions.
23073         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23074         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23075         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23076         definitions here.
23077         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23078         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23079         definitions.
23080         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23081         and ONE.
23082         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23083         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23084         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23085         definitions.
23086         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23087         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23088         definitions.
23089         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23090
23091         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23092
23093 2013-01-15  David S. Miller  <davem@davemloft.net>
23094
23095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23096         trunc{,f} to libm-sysdep_routes.
23097         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23099         file.
23100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23102         file.
23103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23104         file.
23105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23107         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23108         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23109         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23110         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23111         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23112         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23113
23114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23115         nearbyint{,f} to libm-sysdep_routes.
23116         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23118         New file.
23119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23120         file.
23121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23122         New file.
23123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23124         file.
23125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23127         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23128         file.
23129         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23130         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23131         file.
23132         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23133         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23134         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23135
23136         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23137         libc_feholdexcept and libc_fesetenv.
23138
23139 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23140
23141         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23142
23143 2013-01-14  David S. Miller  <davem@davemloft.net>
23144
23145         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23146         (SPARC_ASM_VIS2_IFUNC): Likewise.
23147         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23149         use of 'siam' instruction.
23150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23151         Likewise.
23152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23153         Likewise.
23154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23155         Likewise.
23156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23158         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23161         file.
23162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23163         file.
23164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23165         file.
23166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23167         file.
23168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23173         new VIS2 routines.
23174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23177         Likewise.
23178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23183         routines to libm-sysdep_routines.
23184         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23185
23186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23187         fdim/fdimf to libm-sysdep_routines.
23188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23189         file.
23190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23192         file.
23193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23196         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23197         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23198         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23199         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23200
23201 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23202
23203         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23204         to optimize copies.
23205
23206         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23209
23210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23211         local variable MPTWO.
23212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23213         Likewise.
23214
23215 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23216
23217         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23218         GLOB_NOESCAPE.
23219
23220 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23221
23222         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23223
23224 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23225
23226         * manual/pattern.texi (glob_t): Document gl_flags.
23227         (glob64_t): Likewise.
23228
23229 2013-01-11  David S. Miller  <davem@davemloft.net>
23230
23231         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23232         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23233         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23234         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23235         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23236         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23237         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23238         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23239         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23240         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23241         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23242         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23243         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23244
23245         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23246         sparc V9 rather than using V8 code.
23247         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23248         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23249
23250         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23251         Move to...
23252         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23253         Here.
23254
23255 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23256
23257         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23258         not in the main loop.
23259         * configure: Regenerated.
23260
23261 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23262
23263         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23264         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23265         to just #else.
23266         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23267         [!__GLIBC_HAVE_LONG_LONG] case.
23268         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23269         condition to just #else.
23270         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23271         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23272         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23273         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23274         unconditional.
23275         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23276         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23277         #elif condition to just #else.
23278         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23279         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23280         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23281         #elif condition to just #else.
23282
23283 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23284
23285         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23286         (EF_MIPS_ARCH_64): Fix value.
23287         (EF_MIPS_ARCH_32R2): New.
23288         (EF_MIPS_ARCH_64R2): New.
23289
23290 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23291
23292         * Makeconfig (+link-pie-before-libc): New.
23293         (+link-pie-after-libc): Likewise.
23294         (+link-pie-tests): Likewise.
23295         (+link-pie): Rewritten.
23296         (link-before-libc): Remove $(config-LDFLAGS).
23297         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23298         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23299         (config-LDFLAGS): Renamed to ...
23300         (rtld-LDFLAGS): This.
23301         (rtld-tests-LDFLAGS): New macro.
23302         (link-libc-rpath-link): Likewise.
23303         (link-libc-tests-rpath-link): Likewise.
23304         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23305         (link-libc): Prepand $(link-libc-rpath-link).
23306         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23307         (test-program-prefix): New macro.
23308         (test-via-rtld-prefix): Likewise.
23309         (test-program-cmd): Likewise.
23310         (host-test-program-cmd): Likewise.
23311         * Makefile ($(common-objpfx)testrun.sh): Replace
23312         $(run-program-prefix) with $(test-program-prefix).
23313         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23314         $(rtld-LDFLAGS).
23315         ($(common-objpfx)shlib.lds): Likewise.
23316         (build-module-helper): Likewise.
23317         ($(common-objpfx)format.lds): Likewise.
23318         * Rules (binaries-pie-tests): New.
23319         (binaries-pie-notests): Likewise.
23320         (binaries-pie): Rewritten.
23321         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23322         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23323         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23324         (make-test-out): Replace $(host-built-program-cmd) with
23325         $(host-test-program-cmd).
23326         * config.make.in (build-hardcoded-path-in-tests): New variable.
23327         * configure.in (--enable-hardcoded-path-in-tests): New configure
23328         option.
23329         (hardcoded_path_in_tests): New AC_SUBST.
23330         * configure: Regenerated.
23331         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23332         $(built-program-cmd) with $(test-program-cmd).
23333         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23334         (test_program_cmd): This.
23335         * elf/Makefile ($(objpfx)order.out): Run test with
23336         $(test-program-prefix).
23337         ($(objpfx)order2.out): Likewise.
23338         ($(objpfx)tst-initorder.out): Likewise.
23339         ($(objpfx)tst-initorder2.out): Likewise.
23340         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23341         $(test-program-cmd).
23342         ($(objpfx)tst-array1-static.out): Likewise.
23343         ($(objpfx)tst-array2.out): Likewise.
23344         ($(objpfx)tst-array3.out): Likewise.
23345         ($(objpfx)tst-array4.out): Likewise.
23346         ($(objpfx)tst-array5.out): Likewise.
23347         ($(objpfx)tst-array5-static.out): Likewise.
23348         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23349         $(test-program-cmd).
23350         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23351         $(run-program-prefix) with $(test-program-prefix).
23352         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23353         (test_program_prefix): This.
23354         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23355         $(run-program-prefix) with $(test-program-prefix).
23356         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23357         (test_program_prefix): This.
23358         * iconvdata/tst-tables.sh: Likewise.
23359         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23360         $(run-program-prefix) with $(test-program-prefix).
23361         ($(objpfx)tst-translit.out): Likewise.
23362         ($(objpfx)tst-gettext2.out): Likewise.
23363         ($(objpfx)tst-gettext4.out): Likewise.
23364         ($(objpfx)tst-gettext6.out): Likewise.
23365         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23366         (test_program_prefix): This.
23367         * intl/tst-gettext2.sh: Likewise.
23368         * intl/tst-gettext4.sh  Likewise.
23369         * intl/tst-gettext6.sh: Likewise.
23370         * intl/tst-translit.sh: Likewise.
23371         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23372         with $(test-program-cmd).
23373         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23374         $(run-program-prefix) with $(test-program-prefix).
23375         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23376         (test_program_prefix): This.
23377         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23378         $(run-program-prefix) with $(test-program-prefix).
23379         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23380         (test_program_prefix): This.
23381         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23382         * posix/Makefile ($(objpfx)globtest.out): Replace
23383         $(run-via-rtld-prefix) and $(test-wrapper) with
23384         $(test-program-prefix) and $(test-via-rtld-prefix).
23385         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23386         $(test-program-prefix).
23387         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23388         $(host-test-program-cmd).
23389         (tst-spawn-ARGS): Likewise.
23390         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23391         $(test-program-prefix).
23392         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23393         (test_via_rtld_prefix): This.
23394         (test_wrapper): Renamed to ...
23395         (test_program_prefix): This.
23396         (run_program_prefix): Replaced by test_program_prefix.
23397         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23398         (test_program_prefix): This.
23399         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23400         with $(host-test-program-cmd).
23401         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23402         $(run-program-prefix) with $(test-program-prefix).
23403         ($(objpfx)tst-printf.out): Likewise.
23404         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23405         $(test-program-cmd).
23406         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23407         (test_program_prefix): This.
23408         * stdio-common/tst-unbputc.sh: Likewise.
23409         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23410         $(run-program-prefix) with $(test-program-prefix).
23411         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23412         (test_program_prefix): This.
23413         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23414         $(built-program-cmd) with $(test-program-cmd).
23415
23416 2013-01-11  Andreas Jaeger  <aj@suse.de>
23417
23418         [BZ #15003]
23419         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23420         value. Sync with Linux 3.7.
23421
23422 2013-01-10  David S. Miller  <davem@davemloft.net>
23423
23424         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23425         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23426         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23427
23428 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23429
23430         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23431         never set.
23432         * configure: Regenerated.
23433
23434 2013-01-10  David S. Miller  <davem@davemloft.net>
23435
23436         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23437         sparc V9 rather than using V8 code.
23438         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23439         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23440
23441 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23442
23443         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23444         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23445         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23446         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23447         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23448         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23449         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23450         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23451         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23452         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23453         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23454         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23455         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23456         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23457         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23458         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23459         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23460         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23461         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23462         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23463         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23464         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23465         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23466         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23467         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23468         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23469         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23470
23471 2013-01-10  David S. Miller  <davem@davemloft.net>
23472
23473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23474
23475 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23476
23477         * posix/Makefile (tests-static): New variable.
23478         (tests): Add $(tests-static).
23479         (tst-exec-static-ARGS): New variable.
23480         (tst-spawn-static-ARGS): Likewise.
23481         * posix/tst-exec-static.c: New file.
23482         * posix/tst-spawn-static.c: Likewise.
23483         * posix/tst-exec.c: Support run directly.
23484         * posix/tst-spawn.c: Likewise.
23485
23486 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23487
23488         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23489         long.
23490         * math/bits/mathcalls.h (llrint): Likewise.
23491         (llround): Likewise.
23492         * stdlib/stdlib.h (struct drand48_data): Likewise.
23493         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23494         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23495         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23496         Likewise.
23497         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23498         Likewise.
23499         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23500         (elf_greg_t): Likewise.
23501         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23502         (__jmp_buf): Likewise.
23503         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23504         definitions.
23505         (llrint): Likewise, for all definitions.
23506         (llrintl): Likewise.
23507
23508         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23509         Remove [__GNUC__] condition.
23510         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23511         condition to just [__USE_ISOC99].
23512         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23513
23514 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23515
23516         [BZ #14200]
23517         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23518         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23519         defined.
23520         (_POSIX_V6_ILP32_OFF32): Likewise.
23521         (_XBS5_ILP32_OFF32): Likewise.
23522         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23523         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23524
23525 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23526
23527         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23528
23529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23530         doubles __mpexp_twomm1.  Adjust usage.
23531         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23532         Remove.
23533
23534 2013-01-10  Andreas Schwab  <schwab@suse.de>
23535
23536         [BZ #14964]
23537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23538         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23539
23540 2013-01-09  David S. Miller  <davem@davemloft.net>
23541
23542         [BZ #15003]
23543         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23544         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23545         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23546         (TCP_FASTOPEN): Define.
23547         (tcp_repair_opt): New structure.
23548         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23549         enum values.
23550         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23551         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23552         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23553         (tcp_cookie_transactions): New structure.
23554
23555 2013-01-09  Anton Blanchard  <anton@samba.org>
23556
23557         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23558         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23559         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23560         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23561
23562 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23563
23564         * include/features.h (__USE_ANSI): Remove.
23565
23566 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23567
23568         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23569
23570         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23571
23572 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23573
23574         * sysdeps/s390/fpu/libm-test-ulps: Update.
23575
23576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23577
23578         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23579         (__acr): Likewise.
23580         (__cpy): Likewise.
23581         (norm): Likewise.
23582         (denorm): Likewise.
23583         (__mp_dbl): Likewise.
23584         (__dbl_mp): Likewise.
23585         (add_magnitudes): Likewise.
23586         (sub_magnitudes): Likewise.
23587         (__add): Likewise.
23588         (__sub): Likewise.
23589         (__mul): Likewise.
23590         (__inv): Likewise.
23591         (__dvd): Likewise.
23592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23593         (__acr): Likewise.
23594         (__cpy): Likewise.
23595         (norm): Likewise.
23596         (denorm): Likewise.
23597         (__mp_dbl): Likewise.
23598         (__dbl_mp): Likewise.
23599         (add_magnitudes): Likewise.
23600         (sub_magnitudes): Likewise.
23601         (__add): Likewise.
23602         (__sub): Likewise.
23603         (__mul): Likewise.
23604         (__inv): Likewise.
23605         (__dvd): Likewise.
23606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23607         (__acr): Likewise.
23608         (__cpy): Likewise.
23609         (norm): Likewise.
23610         (denorm): Likewise.
23611         (__mp_dbl): Likewise.
23612         (__dbl_mp): Likewise.
23613         (add_magnitudes): Likewise.
23614         (sub_magnitudes): Likewise.
23615         (__add): Likewise.
23616         (__sub): Likewise.
23617         (__mul): Likewise.
23618         (__inv): Likewise.
23619         (__dvd): Likewise.
23620
23621 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23622
23623         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23624         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23625         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23626         2 && __USE_EXTERN_INLINES]: Likewise.
23627
23628 2013-01-08  Andreas Jaeger  <aj@suse.de>
23629
23630         [BZ# 14985]
23631         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23632         Remove.
23633         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23634         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23635
23636 2013-01-07  Anton Blanchard  <anton@samba.org>
23637
23638         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23639         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23640         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23641         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23642         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23643         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23644         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23645         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23647         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23648         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23649         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23650         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23652         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23653         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23654         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23655         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23656         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23658         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23659         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23661         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23662         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23663         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23664         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23665         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23666         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23667         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23668         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23670         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23671         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23672         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23673         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23674         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23675         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23676         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23677         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23678         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23679         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23680         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23681
23682 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23683
23684         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23685         (__MALLOC_PMT): Likewise.
23686         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23687         [__GNUC__], only on [_LIBC].
23688         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23689         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23690         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23691         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23692         forward declaration.
23693         (realloc_hook_ini): Likewise.
23694         (memalign_hook_ini): Likewise.
23695         (__libc_memalign): Do not use __MALLOC_PMT in variable
23696         declaration.
23697         (__libc_valloc): Likewise.
23698         (__libc_pvalloc): Likewise.
23699         (__libc_calloc): Likewise.
23700         (__posix_memalign): Likewise.
23701
23702         [BZ #14996]
23703         * math/s_casinh.c: Include <float.h>.
23704         (__casinh): Do not do computation with squaring and square root
23705         for large arguments.
23706         * math/s_casinhf.c: Include <float.h>.
23707         (__casinhf): Do not do computation with squaring and square root
23708         for large arguments.
23709         * math/s_casinhl.c: Include <float.h>.
23710         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23711         (__casinhl): Do not do computation with squaring and square root
23712         for large arguments.
23713         * math/libm-test.inc (casin_test): Add more tests.
23714         (casinh_test): Likewise.
23715         * sysdeps/i386/fpu/libm-test-ulps: Update.
23716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23717
23718 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23719
23720         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23721         (__x86_64_raw_data_cache_size): Likewise.
23722         (__x86_64_data_cache_size_half): Likewise.
23723         (__x86_64_raw_data_cache_size_half): Likewise.
23724         (__x86_64_shared_cache_size): Likewise.
23725         (__x86_64_raw_shared_cache_size): Likewise.
23726         (__x86_64_shared_cache_size_half): Likewise.
23727         (__x86_64_raw_shared_cache_size_half): Likewise.
23728         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23729         to ...
23730         (__x86_data_cache_size): This.
23731         (__x86_64_raw_data_cache_size): Renamed to ...
23732         (__x86_raw_data_cache_size): This.
23733         (__x86_64_data_cache_size_half): Renamed to ...
23734         (__x86_data_cache_size_half): This.
23735         (__x86_64_raw_data_cache_size_half): Renamed to ...
23736         (__x86_raw_data_cache_size_half): This.
23737         (__x86_64_shared_cache_size): Renamed to ...
23738         (__x86_shared_cache_size): This.
23739         (__x86_64_raw_shared_cache_size): Renamed to ...
23740         (__x86_raw_shared_cache_size): This.
23741         (__x86_64_shared_cache_size_half): Renamed to ...
23742         (__x86_shared_cache_size_half): This.
23743         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23744         (__x86_raw_shared_cache_size_half): This.
23745         * sysdeps/x86_64/memcpy.S: Updated.
23746         * sysdeps/x86_64/memset.S: Likewise.
23747         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23748         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23749         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23750
23751 2013-01-04  David S. Miller  <davem@davemloft.net>
23752
23753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23754
23755 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23756
23757         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23758         1 to avoid redefinition warning.
23759         (__USE_GNU): Don't define.
23760         (init_signaling_nan): Protoize.
23761
23762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23763
23764 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23765
23766         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23768         (__cpymn): Likewise.
23769         (norm): Remove commented code.
23770         (denorm): Likewise.
23771         (__mp_dbl): Likewise.
23772         (__inv): Likewise.
23773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23774         (__cpymn): Likewise.
23775         (norm): Remove commented code.
23776         (denorm): Likewise.
23777         (__mp_dbl): Likewise.
23778         (__inv): Likewise.
23779
23780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23781         mp_no value for 1.0 and 2.0.
23782         (norm): Use RADIXI instead of radixi.d.
23783         (denorm): Likewise.
23784         (__mul): Use 0.0 instead of zero.d.
23785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23786         mp_no value for 1.0 and 2.0.
23787         (norm): Use RADIXI instead of radixi.d.
23788         (denorm): Likewise.
23789         (__mul): Use 0.0 instead of zero.d.
23790
23791 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23792
23793         [BZ #14994]
23794         * math/s_casinh.c (__casinh): Reduce finite argument to first
23795         quadrant then set signs of results at the end.
23796         * math/s_casinhf.c (__casinhf): Likewise.
23797         * math/s_casinhl.c (__casinhl): Likewise.
23798         * math/libm-test.inc (casin_test): Add more tests.
23799         (casinh_test): Likewise.
23800         * sysdeps/i386/fpu/libm-test-ulps: Update.
23801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802
23803 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23804
23805         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23806
23807         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23808
23809         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23810         declarations.
23811         (denorm): Likewise.
23812         (__mp_dbl): Likewise.
23813         (__inv): Likewise.
23814
23815         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23816         and adjust the header comment.
23817
23818         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23819         variable name from declaration.
23820
23821 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23822
23823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23824         Initialize COMMON_CPUID_INDEX_7 element.
23825         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23826         (CPUID_RTM): Likewise.
23827         (HAS_RTM): Likewise.
23828         (COMMON_CPUID_INDEX_7): New enum.
23829
23830 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23831
23832         [BZ #14981]
23833         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23834         size is zero, record memory as freed.
23835
23836 2013-01-03  Andreas Jaeger  <aj@suse.de>
23837
23838         * po/ia.po: Add new Interlingua translation.
23839
23840 2012-01-03  Allan McRae  <allan@archlinux.org>
23841
23842         * locale/programs/localedef.c: Fix description of '--posix' flag.
23843
23844 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23845
23846         * NEWS: Update dates in second copyright notice.
23847         * README: Update copyright dates in example.
23848         * manual/libc.texinfo: Update copyright dates.
23849         * scripts/test-installation.pl: Update copyright date in --version
23850         output.
23851
23852         * hurd/ctty-input.c: Fix copyright notice formatting.
23853         * hurd/ctty-output.c: Likewise.
23854         * hurd/dtable.c: Likewise.
23855         * hurd/hurd-raise.c: Likewise.
23856         * hurd/hurdprio.c: Likewise.
23857         * hurd/msgportdemux.c: Likewise.
23858         * misc/sys/file.h: Likewise.
23859         * misc/sys/ioctl.h: Likewise.
23860         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23861         * sysdeps/mach/hurd/chdir.c: Likewise.
23862         * sysdeps/mach/hurd/fchdir.c: Likewise.
23863         * sysdeps/mach/hurd/rename.c: Likewise.
23864         * sysdeps/mach/hurd/rmdir.c: Likewise.
23865         * sysdeps/mach/hurd/seekdir.c: Likewise.
23866         * sysdeps/mach/hurd/setsid.c: Likewise.
23867         * sysdeps/posix/wait3.c: Likewise.
23868
23869         * All files with FSF copyright notices: Update copyright dates
23870         using scripts/update-copyrights.
23871         * intl/plural.c: Regenerated.
23872         * locale/programs/charmap-kw.h: Likewise.
23873         * locale/programs/locfile-kw.h: Likewise.
23874
23875 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23876
23877         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23878         four values.
23879
23880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23881         calculation loop and add branch prediction.
23882
23883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23884         check access beyond bounds of m1np.
23885
23886         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23887         MPTWO.
23888         (__inv): Remove local variable MPTWO to use the global
23889         constant.
23890         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23891         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23892         variable MPTWO.
23893         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23894         MP3HALFS static const.
23895
23896 2013-01-01  David S. Miller  <davem@davemloft.net>
23897
23898         * po/ca.po: Update from translation team.
23899
23900 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23901
23902         * scripts/update-copyrights: New file.
23903         * Makeconfig: Reformat copyright notice.
23904         * ctype/ctype.h: Likewise.
23905         * debug/swprintf_chk.c: Likewise.
23906         * elf/dl-cache.c: Likewise.
23907         * elf/dl-debug.c: Likewise.
23908         * elf/dl-object.c: Likewise.
23909         * grp/initgroups.c: Likewise.
23910         * hurd/Makefile: Likewise.
23911         * hurd/hurd/signal.h: Likewise.
23912         * hurd/hurdfault.c: Likewise.
23913         * hurd/hurdioctl.c: Likewise.
23914         * hurd/hurdlookup.c: Likewise.
23915         * hurd/intr-msg.c: Likewise.
23916         * iconv/gconv_open.c: Likewise.
23917         * libio/swprintf.c: Likewise.
23918         * locale/lc-ctype.c: Likewise.
23919         * locale/nl_langinfo.c: Likewise.
23920         * mach/Machrules: Likewise.
23921         * mach/Makefile: Likewise.
23922         * malloc/obstack.h: Likewise.
23923         * manual/Makefile: Likewise.
23924         * manual/tsort.awk: Likewise.
23925         * misc/bits/stab.def: Likewise.
23926         * nis/nis_print_group_entry.c: Likewise.
23927         * nis/nis_table.c: Likewise.
23928         * nis/nss_compat/compat-pwd.c: Likewise.
23929         * nis/nss_compat/compat-spwd.c: Likewise.
23930         * po/Makefile: Likewise.
23931         * posix/fnmatch.c: Likewise.
23932         * posix/regex.h: Likewise.
23933         * resolv/Makefile: Likewise.
23934         * resolv/nss_dns/dns-network.c: Likewise.
23935         * resolv/res_hconf.c: Likewise.
23936         * scripts/gen-sorted.awk: Likewise.
23937         * soft-fp/soft-fp.h: Likewise.
23938         * stdio-common/printf.h: Likewise.
23939         * stdlib/monetary.h: Likewise.
23940         * stdlib/random.c: Likewise.
23941         * stdlib/random_r.c: Likewise.
23942         * sysdeps/generic/Makefile: Likewise.
23943         * sysdeps/gnu/Makefile: Likewise.
23944         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23945         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23946         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23948         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23949         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23950         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23951         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23954         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23955         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23956         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23957         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23958         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23960         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23961         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23962         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23964         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23965         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23966         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23967         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23968         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23969         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23970         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23971         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23972         * sysdeps/mach/hurd/errnos.awk: Likewise.
23973         * sysdeps/mach/hurd/fork.c: Likewise.
23974         * sysdeps/mach/hurd/getcwd.c: Likewise.
23975         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23976         * sysdeps/mach/hurd/mmap.c: Likewise.
23977         * sysdeps/mach/hurd/utimes.c: Likewise.
23978         * sysdeps/mach/hurd/xmknod.c: Likewise.
23979         * sysdeps/posix/profil.c: Likewise.
23980         * sysdeps/posix/readdir_r.c: Likewise.
23981         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23982         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23983         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23984         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23986         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23987         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23988         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23990         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23991         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23992         * sysdeps/pthread/lio_listio.c: Likewise.
23993         * sysdeps/sparc/dl-procinfo.h: Likewise.
23994         * sysdeps/unix/i386/sysdep.S: Likewise.
23995         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23996         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23997         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23998         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24000         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24001         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24002         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24003         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24004         * sysdeps/wordsize-32/divdi3.c: Likewise.
24005         * time/sys/time.h: Likewise.
24006         * wcsmbs/Makefile: Likewise.
24007
24008 2013-01-01  David S. Miller  <davem@davemloft.net>
24009
24010         * po/fr.po: Update from translation team.
24011
24012         * catgets/gencat.c: Update copyright year.
24013         * csu/version.c: Likewise.
24014         * debug/catchsegv.sh: Likewise.
24015         * debug/pcprofiledump.c: Likewise.
24016         * debug/xtrace.sh: Likewise.
24017         * elf/ldconfig.c: Likewise.
24018         * elf/ldd.bash.in: Likewise.
24019         * elf/pldd.c: Likewise.
24020         * elf/sotruss.ksh: Likewise.
24021         * elf/sprof.c: Likewise.
24022         * iconv/iconv_prog.c: Likewise.
24023         * iconv/iconvconfig.c: Likewise.
24024         * locale/programs/locale.c: Likewise.
24025         * locale/programs/localedef.c: Likewise.
24026         * login/programs/pt_chown.c: Likewise.
24027         * malloc/memusage.sh: Likewise.
24028         * malloc/memusagestat.c: Likewise.
24029         * malloc/mtrace.pl: Likewise.
24030         * nscd/nscd.c: Likewise.
24031         * nss/getent.c: Likewise.
24032         * nss/makedb.c: Likewise.
24033         * posix/getconf.c: Likewise.
24034
24035 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24036
24037         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24038         numbers.
24039
24040 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24041
24042         * math/bits/mathcalls.h (modf): Use __nonnull.
24043
24044 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24045
24046         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24047         (split): Use macro CN instead of the bare value.
24048         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24049         could be used.
24050         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24051         instead of the bare value.
24052         (power1): Likewise.
24053
24054 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24055
24056         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24057         __ATAN_TWOM.
24058         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24059
24060         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24061         their values.
24062         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24063         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24064         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24065         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24066
24067 2012-12-28  Andreas Jaeger  <aj@suse.de>
24068
24069         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24070         values are from Linux 3.7.
24071
24072         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24073         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24074
24075 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24076
24077         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24078         TRUE case.
24079
24080         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24081         (norm): Likewise.
24082         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24083         variables with preprocessor constants.
24084         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24085         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24086         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24087
24088 2012-12-27  Bruno Haible  <bruno@clisp.org>
24089
24090         [BZ #14317]
24091         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24092         only if needed.
24093
24094 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24095
24096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24097         and use variable directly.
24098         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24099
24100         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24101         MPONE.
24102         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24104         variable MPONE.
24105         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24106         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24107         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24108         include directive.  Remove local variable MPONE.
24109         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24110         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24111         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24112
24113 2012-12-25  David S. Miller  <davem@davemloft.net>
24114
24115         * version.h (RELEASE): Set to "development".
24116         (VERSION): Set to "2.17.90".
24117         * NEWS: Add 2.18 section.
24118
24119 2012-12-21  David S. Miller  <davem@davemloft.net>
24120
24121         * po/hr.po: Update from translation team.
24122
24123 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24124
24125         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24126
24127 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24128
24129         * NEWS:  Mention new memcpy for MIPS.
24130
24131 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24132
24133         * manual/contrib.texi (Contributors): Spelling correction.
24134
24135 2012-12-15  David S. Miller  <davem@davemloft.net>
24136
24137         * po/ru.po: Update from translation team.
24138
24139 2012-12-13  David S. Miller  <davem@davemloft.net>
24140
24141         * NEWS: Mention IFUNC testsuite enhancements.
24142
24143         * po/pl.po: Update from translation team.
24144         * po/bg.po: Likewise.
24145
24146         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24147         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24148
24149 2012-12-11  David S. Miller  <davem@davemloft.net>
24150
24151         * po/sv.po: Update from translation team.
24152
24153         * po/vi.po: Update from translation team.
24154
24155         * po/cs.po: Update from translation team.
24156
24157         * po/de.po: Update from translation team.
24158         * po/eo.po: Likewise.
24159         * po/nl.po: Likewise.
24160
24161 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24162
24163         [BZ #14246]
24164         * manual/argp.texi (Argp Helper Functions): Move node to follow
24165         Argp Parsing State.
24166
24167         [BZ #14872]
24168         * manual/conf.texi (Limits on File System Capacity): Mention if
24169         terminating null is included in the max size.
24170
24171 2012-12-10  Andreas Jaeger  <aj@suse.de>
24172
24173         * po/cs.po: Update from translation team.
24174
24175 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24176
24177         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24178         void pointer and cast to uintptr_t.
24179         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24180         path.
24181         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24182         * sysdeps/s390/s390-64/memset.S: Likewise.
24183
24184 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24185
24186         [BZ #14833]
24187         * menual/message.texi (Message Translation): Fix typos.
24188         (Helper programs for gettext): Likewise.
24189
24190 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24191
24192         [BZ #14898]
24193         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24194         Change to -1.
24195
24196 2012-12-07  David S. Miller  <davem@davemloft.net>
24197
24198         * po/libc.pot: Update.
24199
24200 2012-12-07  Richard Henderson  <rth@redhat.com>
24201
24202         [BZ #10114]
24203         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24204         normal/normal case to before the switch.
24205         (_FP_DIV): Likewise.
24206
24207 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24208             Mike Frysinger  <vapier@gentoo.org>
24209
24210         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24211         check for __NR_fadvise64_64.
24212
24213 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24214
24215         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24216         0, not just to plain "0" as a statement.
24217         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24218         with cw.
24219
24220 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24221
24222         * NEWS: Use sourceware.org in Bugzilla URL.
24223
24224 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24225
24226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24227         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24228
24229         * stdio-common/tst-put-error.c (do_test): Add newline to the
24230         padded test to ensure flush.
24231
24232 2012-12-05  Jeff Law  <law@redhat.com>
24233
24234         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24235
24236 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24237
24238         * README: Don't refer to ports add-on as distributed separately.
24239         Mention AArch64 in list of systems supported in the ports add-on.
24240
24241         * LICENSES: Add more non-FSF copyright and license notices.
24242
24243         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24244         ((unused)).
24245
24246         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24247
24248         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24249         10000 as width of padded output.
24250
24251 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24252
24253         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24254
24255         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24256         variable LX with __attribute__ ((unused)).
24257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24258         Likewise.
24259         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24260         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24262         with __attribute__ ((unused)).
24263
24264 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24265
24266         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24267
24268 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24269
24270         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24271         (CFLAGS-nldbl-acos.c): New variable.
24272         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24273         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24274         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24275         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24276         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24277         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24278         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24279         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24280         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24281         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24282         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24283         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24284         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24285         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24286         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24287         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24288         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24289         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24290         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24291         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24292         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24293         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24294         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24295         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24296         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24297         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24298         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24299         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24300         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24301         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24302         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24303         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24304         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24305         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24306         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24307         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24308         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24309         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24310         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24311         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24312         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24313         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24314         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24315         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24316         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24317         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24318         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24319         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24320         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24321         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24322         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24323         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24324         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24325         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24326         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24327         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24328         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24329         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24330         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24331         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24332         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24333         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24334         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24335         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24336         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24337         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24338         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24339         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24340         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24341         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24342         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24343         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24344         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24345         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24346         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24347         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24348         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24349         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24350         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24351         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24352         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24353         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24354         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24355         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24356         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24357         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24358         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24359         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24360         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24361         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24362         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24363         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24364         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24365         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24366         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24367         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24368         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24369
24370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24371         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24372
24373         [BZ #14914]
24374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24375         whole low double instead of just low 47 bits when splitting values
24376         into two parts.
24377
24378 2012-12-03  Allan McRae  <allan@archlinux.org>
24379
24380         * manual/stdio.texi (Predefined Printf Handlers): Remove
24381         @hsep and @vsep usage.
24382
24383 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24384
24385         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24386         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24387
24388 2012-12-03  Jeff Law  <law@redhat.com>
24389
24390         * time/sys/time.h (settimeofday): Do not mark TV argument
24391         as __nonnull.
24392
24393 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24394
24395         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24396         when currently writing and seek to current position when not.
24397         * libio/Makefile (tests): Remove bug-fclose1.
24398         * libio/bug-fclose1.c: Delete.
24399
24400 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24401
24402         * manual/arith.texi (feenableexcept): Fix typo.
24403         (fedisableexcept): Likewise.
24404
24405 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24406
24407         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24408         second, differently-typed declaration, rather than a cast.
24409
24410 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24411
24412         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24413         * include/rpc/svc.h: ... here.
24414
24415 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24416
24417         [BZ #13013]
24418         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24419         depending n and resplen2 to catch cases where answer
24420         equals answerp2.
24421
24422 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24423
24424         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24425         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24426
24427 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24428
24429         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24430
24431 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24432
24433         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24434
24435 2012-11-28  Jeff Law  <law@redhat.com>
24436
24437         [BZ #13761]
24438         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24439         dataset_temporary.  Track alloca usage into alloca_used.
24440         If dataset is large allocate and release it via malloc/free.
24441
24442 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24443
24444         [BZ #14197]
24445         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24446
24447 2012-11-28  David S. Miller  <davem@davemloft.net>
24448
24449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24450
24451 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24452
24453         [BZ #14803]
24454         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24455         of pi/2 rounded to nearest to 64 bits.
24456         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24457         nearest to 64 bits.
24458         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24459         bits.
24460
24461 2012-11-28  Jeff Law <law@redhat.com>
24462             Martin Osvald <mosvald@redhat.com>
24463
24464         [BZ #14889]
24465         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24466         * sunrpc/svc.c: Include time.h.
24467         (__svc_accept_failed): New function.
24468         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24469         any reason other than EINTR, call __svc_accept_failed.
24470         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24471         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24472
24473 2012-11-28  Andreas Schwab  <schwab@suse.de>
24474
24475         * scripts/abilist.awk: Also handle indirect functions in .opd
24476         section.
24477
24478 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24479
24480         [BZ #13881]
24481         * sysdeps/x86/fpu/powl_helper.c: New file.
24482         * sysdeps/x86/fpu/Makefile: Likewise.
24483         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24484         (p3): New object.
24485         (__ieee754_powl): Use __powl_helper for finite arguments except
24486         integer exponents below 8.
24487         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24488         (p3): New object.
24489         (__ieee754_powl): Use __powl_helper for finite arguments except
24490         integer exponents below 8.
24491         * math/libm-test.inc (pow_test): Add more tests and enable some
24492         previously disabled tests.
24493         * sysdeps/i386/fpu/libm-test-ulps: Update.
24494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24495
24496 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24497             Carlos O'Donell  <carlos_odonell@mentor.com>
24498
24499         * nss/makedb.c (is_prime): Assert that input is odd and greater
24500         than 4.  Note that fact in a comment too.
24501         (next_prime): Add 4 to input.
24502
24503 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24504
24505         [BZ #11741]
24506         * libio/Makefile (tests): Add test case tst-fwrite-error.
24507         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24508         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24509         * libio/tst-fwrite-error.c: New test case.
24510
24511 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24512
24513         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24514         before casting to void *.
24515         * include/libc-internal.h (__pointer_type): New macro.
24516         (__integer_if_pointer_type_sub): Likewise.
24517         (__integer_if_pointer_type): Likewise.
24518         (cast_to_integer): Likewise.
24519         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24520         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24521         before casting to atomic64_t.
24522         (atomic_exchange_acq): Likewise.
24523         (__arch_exchange_and_add_body): Likewise.
24524         (__arch_add_body): Likewise.
24525         (atomic_add_negative): Likewise.
24526         (atomic_add_zero): Likewise.
24527
24528 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24529
24530         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24531         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24532         (add_fdes): Likewise.
24533         (linear_search_fdes): Likewise.
24534         (binary_search_unencoded_fdes): Likewise.
24535
24536 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24537
24538         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24539
24540 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24541
24542         * configure.in: Autodetect C++ header directories.
24543         * configure: Regenerated.
24544
24545 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24546
24547         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24548
24549 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24550
24551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24552
24553 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24554
24555         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24556         LDBL_MANT_DIG == 106]: Disable some tests.
24557         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24558         Likewise.
24559         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24560         Likewise.
24561
24562         [BZ #14871]
24563         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24564         input for small inputs.  Return +/- pi/2 for large inputs.
24565         * math/libm-test.inc (atan_test): Add more tests.
24566
24567         * sysdeps/generic/unwind-dw2-fde-glibc.c
24568         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24569         __attribute__ ((unused)).
24570
24571         [BZ #14645]
24572         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24573         x * y if x and y are nonzero and z is zero.
24574
24575         [BZ #14811]
24576         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24577         nonzero exponents with absolute value below 0x1p-117 to +/-
24578         0x1p-117.
24579
24580         [BZ #14869]
24581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24582         up arguments below 2**-450, not just those below 2**-500.
24583         * math/libm-test.inc (hypot_test): Add another test.
24584
24585         [BZ #14868]
24586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24587         Return a+b for ratio over 2**120, not 2**60.
24588         * math/libm-test.inc (hypot_test): Add another test.
24589
24590         * math/libm-test.inc (clog_test): Use
24591         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24592         (clog10_test): Likewise.
24593
24594         [BZ #6778]
24595         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24596
24597 2012-11-22  Andreas Schwab  <schwab@suse.de>
24598
24599         * sysdeps/i386/fpu/libm-test-ulps: Update.
24600
24601 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24602
24603         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24604         printf output with newline.
24605
24606 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24607
24608         [BZ #14865]
24609         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24610         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24611         -z nodlopen, -z initfirst and -z execstack support.
24612         * configure: Regenerated.
24613
24614         * elf/elf.h (DF_1_NODIRECT): New macro.
24615         (DF_1_IGNMULDEF): Likewise.
24616         (DF_1_NOKSYMS): Likewise.
24617         (DF_1_NOHDR): Likewise.
24618         (DF_1_EDITED): Likewise.
24619         (DF_1_NORELOC): Likewise.
24620         (DF_1_SYMINTPOSE): Likewise.
24621         (DF_1_GLOBAUDIT): Likewise.
24622         (DF_1_SINGLETON): Likewise.
24623         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24624         DT_1_SUPPORTED_MASK bits.
24625         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24626
24627 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24628
24629         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24630
24631 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24632
24633         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24634         macro.
24635
24636         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24637         (sendmmsg): Move declarations...
24638         * socket/sys/socket.h: ... here.
24639         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24640         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24641         include it from...
24642         * socket/recvmmsg.c: ... this new file.
24643         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24644         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24645         definition of __sendmmsg hidden.
24646         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24647         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24648         Move ENOSYS stub into and include it from...
24649         * socket/sendmmsg.c: ... this new file.
24650         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24651         (sysdep_routines): Move recvmmsg and sendmmsg...
24652         * socket/Makefile (routines): ... here.
24653         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24654         (GLIBC_PRIVATE): Add __sendmmsg.
24655         * include/sys/socket.h (__sendmmsg): Add declarations.
24656         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24657         sendmmsg.
24658
24659 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24660
24661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24662         variable I1 with __attribute__ ((unused)).
24663         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24664
24665 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24666
24667         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24668         DUMMY variables with __attribute__ ((unused)).
24669
24670         * bits/byteswap.h: Include <bits/types.h>.
24671         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24672
24673 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24674
24675         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24676         string_t.  Do not manually set errno.
24677         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24678         length with __strnlen.  Make sure to both set errno and return it on
24679         failure.
24680
24681 2012-11-19  David S. Miller  <davem@davemloft.net>
24682
24683         With help from Joseph Myers.
24684         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24685         very large arguments properly.
24686         * math/libm-test.inc (atan_test): New tests.
24687         (atan2_test): New tests.
24688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24690
24691 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24692
24693         [BZ #14856]
24694         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24695         Define to 3.
24696
24697         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24698         [POSIX] (EADDRNOTAVAIL): Likewise.
24699         [POSIX] (EAFNOSUPPORT): Likewise.
24700         [POSIX] (EALREADY): Likewise.
24701         [POSIX] (ECONNABORTED): Likewise.
24702         [POSIX] (ECONNREFUSED): Likewise.
24703         [POSIX] (ECONNRESET): Likewise.
24704         [POSIX] (EDESTADDRREQ): Likewise.
24705         [POSIX] (EDQUOT): Likewise.
24706         [POSIX] (EHOSTUNREACH): Likewise.
24707         [POSIX] (EIDRM): Likewise.
24708         [POSIX] (EISCONN): Likewise.
24709         [POSIX] (ELOOP): Likewise.
24710         [POSIX] (EMULTIHOP): Likewise.
24711         [POSIX] (ENETDOWN): Likewise.
24712         [POSIX] (ENETUNREACH): Likewise.
24713         [POSIX] (ENOBUFS): Likewise.
24714         [POSIX] (ENODATA): Likewise.
24715         [POSIX] (ENOLINK): Likewise.
24716         [POSIX] (ENOMSG): Likewise.
24717         [POSIX] (ENOPROTOOPT): Likewise.
24718         [POSIX] (ENOSR): Likewise.
24719         [POSIX] (ENOSTR): Likewise.
24720         [POSIX] (ENOTCONN): Likewise.
24721         [POSIX] (ENOTSOCK): Likewise.
24722         [POSIX] (EOPNOTSUPP): Likewise.
24723         [POSIX] (EOVERFLOW): Likewise.
24724         [POSIX] (EPROTO): Likewise.
24725         [POSIX] (EPROTONOSUPPORT): Likewise.
24726         [POSIX] (EPROTOTYPE): Likewise.
24727         [POSIX] (ESTALE): Likewise.
24728         [POSIX] (ETIME): Likewise.
24729         [POSIX] (ETXTBSY): Likewise.
24730         [POSIX] (EWOULDBLOCK): Likewise.
24731         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24732         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24733         [POSIX] (SEEK_CUR): Likewise.
24734         [POSIX] (SEEK_END): Likewise.
24735         [POSIX || UNIX98] (mode_t): Do not require.
24736         [POSIX] (off_t): Likewise.
24737         [POSIX] (pid_t): Likewise.
24738         [POSIX] (sys/stat.h): Do not allow header.
24739         [POSIX] (unistd.h): Likewise.
24740         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24741         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24742         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24743         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24744         require.
24745         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24746         sigevent): Specify elements.
24747         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24748         entry.
24749         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24750         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24751
24752         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24753         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24754         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24755         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24756         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24757         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24758         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24759         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24760         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24761         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24762         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24763         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24764         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24765         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24766         Likewise.
24767         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24768         Likewise.
24769         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24770         Likewise.
24771         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24772         Likewise.
24773         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24774         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24775         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24776         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24777         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24778         Specify lower bound on value.
24779         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24780         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24781         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24782         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24784         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24785         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24786         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24787         value.
24788         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24789         as optional.
24790         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24791         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24792         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24793         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24794         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24795         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24796         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24797         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24798         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24799         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24800         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24801         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24802         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24803         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24804         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24805         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24806         entry.
24807         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24808         optional.
24809         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24810         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24811         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24812         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24813         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24814         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24815         Likewise.
24816         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24817         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24818         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24819         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24820         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24821         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24822         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24823         as optional.
24824         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24825         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24826         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24827         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24828         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24829         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24830         specify as optional.
24831         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24832         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24833         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24834         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24835         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24836         [XPG3] (NL_LANGMAX): Likewise.
24837         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24838         [POSIX || XPG3] (NL_NMAX): Likewise.
24839         [POSIX || XPG3] (NL_SETMAX): Likewise.
24840         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24841         [XPG3] (NZERO): Likewise.
24842         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24843         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24844         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24845         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24846         (REG_ERANGE): Expect.
24847         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24848         optional-constant.
24849         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24850         Use (void) in prototype.
24851         [POSIX] (*_t): Allow.
24852         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24853         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24854         (WRDE_BADVAL): Expect.
24855
24856         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24857         expect.
24858         [XPG3 || XPG4] (O_RSYNC): Likewise.
24859         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24860         Likewise.
24861         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24862         [XPG3 || XPG4] (sigqueue): Likewise.
24863         [XPG3 || XPG4] (sigtimedwait): Likewise.
24864         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24865         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24866         [XPG3 || XPG4] (vsnprintf): Likewise.
24867         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24868         Likewise.
24869         [XPG3 || XPG4] (blksize_t): Likewise.
24870         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24871         Likewise.
24872         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24873         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24874         [XPG3 || XPG4] (struct itimerspec): Likewise.
24875         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24876         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24877         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24878         [XPG3 || XPG4] (clockid_t): Likewise.
24879         [XPG3 || XPG4] (timer_t): Likewise.
24880         [XPG3 || XPG4] (clock_getres): Likewise.
24881         [XPG3 || XPG4] (clock_gettime): Likewise.
24882         [XPG3 || XPG4] (clock_settime): Likewise.
24883         [XPG3 || XPG4] (nanosleep): Likewise.
24884         [XPG3 || XPG4] (timer_create): Likewise.
24885         [XPG3 || XPG4] (timer_delete): Likewise.
24886         [XPG3 || XPG4] (timer_gettime): Likewise.
24887         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24888         [XPG3 || XPG4] (timer_settime): Likewise.
24889         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24890         [XPG3 || XPG4] (getlogin_r): Likewise.
24891         [XPG3 || XPG4] (pread): Likewise.
24892         [XPG3 || XPG4] (pthread_atfork): Likewise.
24893         [XPG3 || XPG4] (pwrite): Likewise.
24894
24895         [BZ #14835]
24896         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24897         <bits/siginfo.h>.
24898
24899 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24900
24901         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24902         finalizing MALLSTREAM.
24903
24904         * sysdeps/mach/hurd/syncfs.c: New file.
24905
24906 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24907
24908         [BZ #14719]
24909         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24910         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24911         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24912         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24913         (_nss_dns_gethostbyname4_r): Likewise.
24914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24915         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24916
24917 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24918
24919         [BZ #13763]
24920         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24921
24922 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24923
24924         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24925         * elf/cache.c (print_entry): Print ",AArch64" for
24926         FLAG_AARCH64_LIB64
24927
24928         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24929         * elf/cache.c (print_entry): Print ",hard-float" for
24930         FLAG_ARM_LIBHF.
24931
24932 2012-11-18  David S. Miller  <davem@davemloft.net>
24933
24934         With help from Joseph Myers.
24935         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24936         cutoff to 2**-13.
24937         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24938         cutoff to 2**-25.
24939         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24940         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24941         small.
24942         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24943         * math/libm-test.inc (y0_test): New tests.
24944         (y1_test): New tests.
24945         * sysdeps/i386/fpu/libm-test-ulps: Update.
24946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24948
24949 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24950
24951         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24952         64-bit targets.
24953         * configure: Regenerated.
24954
24955 2012-11-17  David S. Miller  <davem@davemloft.net>
24956
24957         [BZ #14811]
24958         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24959         nonzero exponents with absolute value below 0x1p-128 to +/-
24960         0x1p-128.
24961
24962 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24963
24964         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24965
24966         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24967
24968         * posix/getconf-speclist.c: New file.
24969         * posix/posix-envs.def: Likewise.
24970         * posix/confstr.c (START_ENV_GROUP): New macro.
24971         (END_ENV_GROUP): Likewise.
24972         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24973         (KNOWN_PRESENT_ENV_STRING): Likewise.
24974         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24975         (UNKNOWN_ENVIRONMENT): Likewise.
24976         (confstr): Include posix-envs.def instead of handling
24977         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24978         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24979         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24980         (END_ENV_GROUP): Likewise.
24981         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24982         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24983         (UNKNOWN_ENVIRONMENT): Likewise.
24984         (__sysconf): Include posix-envs.def instead of handling associated
24985         cases directly here.
24986         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24987         preprocessing getconf-speclist.c rather than running getconf or
24988         generating empty file.
24989
24990 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24991
24992         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24993
24994 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24995
24996         [BZ #14672]
24997         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24998
24999 2012-11-16  David S. Miller  <davem@davemloft.net>
25000
25001         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25002         smaller than LDBL_EPSILON/2.0L, just return xm1.
25003
25004 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25005
25006         * elf/tst-array1.c (init): Set constructor priority to 1000.
25007         (fini): Set destructor priority to 1000.
25008         * elf/tst-array2dep.c: Likewise.
25009
25010 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25011
25012         [BZ #11741]
25013         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25014         (_IO_new_file_xsputn): Also return EOF if none of the input
25015         data was written when overflow failed.
25016         * libio/iopadn.c (_IO_padn): Likewise.
25017         * libio/iowpadn.c (_IO_wpadn): Likewise.
25018         * stdio-common/tst-put-error.c: Add copyright notice.
25019         (do_test): Add case for printing padded string.
25020         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25021         _IO_padn returned error.
25022         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25023         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25024         return EOF.
25025
25026 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25027
25028         * libio/libioP.h: Add comment note that the references to C++
25029         bits are now obsolete.
25030
25031 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25032
25033         * math/libm-test.inc (check_complex): Use asprintf.
25034
25035 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25036
25037         * debug/pcprofiledump.c (print_version): Update copyright year.
25038         * malloc/memusagestat.c (print_version): Likewise.
25039
25040 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25041
25042         [BZ #14831]
25043         * elf/Makefile (tests): Add tst-audit8.
25044         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25045         ($(objpfx)tst-audit8.out): New target.
25046         (tst-audit8-ENV): New variable.
25047         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25048         audit if l_reloc_result is NULL.
25049         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25050         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25051         * elf/tst-audit8.c: New file.
25052
25053 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25054
25055         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25056         * misc/Makefile (CFLAGS-select.c): Define.
25057         * posix/Makefile (CFLAGS-pause.c): Define.
25058
25059 2012-11-13  David S. Miller  <davem@davemloft.net>
25060
25061         * crypt/Makefile: Move test targets after toplevel Rules
25062         inclusion.  Grab any necessary sysdep routines when linking.
25063         * crypt/md5.c (md5_process_block): Remove define, we will always
25064         name it __md5_process_block.
25065         (md5_finish_ctx): Update md5_process_block call.
25066         (md5_stream): Likewise.
25067         (md5_process_bytes): Likewise.
25068         (md5_process_block): Rename to __md5_process_block and move to ...
25069         * crypt/md5-block.c: ... here.
25070         * crypt/sha256.c (sha256_process_block): Move to ...
25071         * crypt/sha256-block.c: ... here.
25072         * crypt/sha512.c (sha512_process_block): Move to ...
25073         * crypt/sha512-block.c: ... here.
25074         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25075         path.
25076         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25077         * sysdeps/sparc/sparc64/multiarch/Makefile
25078         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25079         crypt subdir.
25080         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25081         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25082         multiarch changes.
25083         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25084         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25085         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25086         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25087         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25088         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25089         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25090         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25091         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25092         file.
25093         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25094         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25095         file.
25096         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25097
25098 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25099
25100         * timezone/tzselect.ksh: Update from tzcode git revision
25101         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25102         * timezone/zdump.c: Likewise.
25103         * timezone/zic.c: Likewise.
25104         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25105         in TZVERSION setting, not $(PKGVERSION).
25106         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25107         REPORT_BUGS_TO settings.
25108
25109         [BZ #14838]
25110         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25111         macro.
25112
25113 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25114
25115         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25116         detection to immediately after _FP_ROUND().
25117         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25118         bits are 0.
25119
25120 2012-11-11  David S. Miller  <davem@davemloft.net>
25121
25122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25123         inttypes.h
25124         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25125         __close rather than their public counterparts.
25126
25127 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25128
25129         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25130         file.
25131         [UNIX98] (sem_timedwait): Do not expect.
25132         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25133         [XPG4 || UNIX98] (sockatmark): Do not expect.
25134         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25135         (clock_getcpuclockid): Do not expect.
25136         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25137         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25138         Do not expect.
25139         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25140         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25141         [UNIX98] (vwscanf): Likewise.
25142         [UNIX98] (vswscanf): Likewise.
25143
25144 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25145
25146         * timezone/version.h: Remove file.
25147         * timezone/README: Do not refer to version.h.
25148         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25149         $(objpfx)version.h.
25150         ($(objpfx)zdump.o): Likewise.
25151         ($(objpfx)version.h): New target.
25152
25153         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25154         2012i.
25155         * timezone/README: Don't mention modification to tzselect.ksh.
25156         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25157         work on unmodified tzselect.ksh.  Substitute version numbers in
25158         tzselect.ksh.
25159
25160         * Makefile (format-me): Remove.
25161         (INSTALL): Adjust indentation.  Use commands directly instead of
25162         using $(format-me).
25163
25164         * aclocal.m4 (ACX_PKGVERSION): New macro.
25165         (ACX_BUGURL): Likewise.
25166         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25167         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25168         (REPORT_BUGS_TO): Likewise.
25169         * configure: Regenerated.
25170         * config.h.in (PKGVERSION): New macro.
25171         (REPORT_BUGS_TO): Likewise.
25172         * config.make.in (PKGVERSION): New variable.
25173         (PKGVERSION_TEXI): Likewise.
25174         (REPORT_BUGS_TO): Likewise.
25175         (REPORT_BUGS_TEXI): Likewise.
25176         * Makefile (format-me): Use -I$(common-objpfx)manual.
25177         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25178         ($(common-objpfx)manual/%): New target.
25179         (manual/%): Remove target.
25180         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25181         (print_version): Use PKGVERSION.
25182         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25183         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25184         and REPORT_BUGS_TO.
25185         ($(objpfx)xtrace): Likewise.
25186         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25187         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25188         (print_version): Use PKGVERSION.
25189         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25190         (do_version): Use PKGVERSION.
25191         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25192         REPORT_BUGS_TO.
25193         (common-ldd-rewrite): Likewise.
25194         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25195         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25196         (print_version): Use PKGVERSION.
25197         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25198         * elf/pldd.c (argp_program_bug_address): Remove variable.
25199         (more_help): New function.
25200         (argp): Use more_help.
25201         (print_version): Use PKGVERSION.
25202         * elf/sln.c (main): Use PKGVERSION.
25203         (usage): Use REPORT_BUGS_TO.
25204         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25205         (top level): Use PKGVERSION.
25206         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25207         (print_version): Use PKGVERSION.
25208         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25209         (print_version): Use PKGVERSION.
25210         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25211         (print_version): Use PKGVERSION.
25212         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25213         (print_version): Use PKGVERSION.
25214         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25215         (print_version): Use PKGVERSION.
25216         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25217         (print_version): Use PKGVERSION.
25218         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25219         and BUGURL.
25220         ($(objpfx)memusage): Likewise.
25221         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25222         (do_version): Use PKGVERSION.
25223         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25224         (print_version): Use PKGVERSION.
25225         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25226         ($PKGVERSION): New variable.
25227         ($REPORT_BUGS_TO): Likewise.
25228         (usage): Use $REPORT_BUGS_TO.
25229         (top level): Use $PKGVERSION.
25230         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25231         ($(objpfx)pkgvers.texi): New rule.
25232         ($(objpfx)stamp-pkgvers): Likewise.
25233         * manual/install.texi: Include pkgvers.texi.
25234         (--with-pkgversion): Document new configure option.
25235         (--with-bugurl): Likewise.
25236         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25237         than necessarily for this particular distribution.  Use
25238         REPORT_BUGS_TO for where to report bugs.
25239         * INSTALL: Regenerated.
25240         * manual/libc.texinfo: Include pkgvers.texi.
25241         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25242         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25243         (print_version): Use PKGVERSION.
25244         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25245         (print_version): Use PKGVERSION.
25246         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25247         (print_version): Use PKGVERSION.
25248         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25249         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25250         macro.
25251         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25252         (print_version): Use PKGVERSION.
25253         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25254         (print_version): Use PKGVERSION.
25255         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25256         and PKGVERSION.
25257
25258         * timezone/checktab.awk: Update from tzcode 2012i.
25259         * timezone/ialloc.c: Likewise.
25260         * timezone/private.h: Likewise.
25261         * timezone/scheck.c: Likewise.
25262         * timezone/tzfile.h: Likewise.
25263         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25264         (TZVERSION): Hardcode tzcode version number.
25265         * timezone/zdump.c: Update from tzcode 2012i.
25266         * timezone/zic.c: Likewise.
25267         * timezone/version.h: New file.
25268         * timezone/README: Describe version.h.  Update upstream location.
25269
25270         [BZ #14824]
25271         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25272         (mktemp): Enable declaration.
25273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25274         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25277         Likewise.
25278         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25279         Likewise.
25280         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25281         Likewise.
25282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25283         Likewise.
25284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25285         Likewise.
25286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25287         Likewise.
25288
25289         [BZ #14821]
25290         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25291         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25292         for copies of such integer values.
25293         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25294         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25295
25296 2012-11-09  Andreas Jaeger  <aj@suse.de>
25297
25298         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25299         definitions and declarations that are provided by
25300         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25301
25302 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25303
25304         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25305         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25306         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25307         definition.
25308
25309 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25310
25311         * elf/elf.h: Update comment before AArch64 relocations.
25312
25313 2012-11-07  David S. Miller  <davem@davemloft.net>
25314
25315         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25316         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25317         (__start_context): Declare.
25318         (__makecontext_ret): Delete.
25319         (__makecontext): Hook up __start_context instead of
25320         __makecontext_ret.
25321         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25322         (sysdep_routines): Add __start_context when in stdlib.
25323
25324 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25325
25326         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25327         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25328         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25329         hardcoded "nm".
25330         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25331         (READELF): New variable.  Use it instead of hardcoded "readelf".
25332
25333 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25334
25335         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25336         * sysdeps/x86/Makefile: Here.
25337         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25338         * sysdeps/x86/tst-xmmymm.sh: This.
25339
25340 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25341
25342         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25343         expectations.
25344         [UNIX98] (pthread_barrier_t): Do not expect.
25345         [UNIX98] (pthread_barrierattr_t): Likewise.
25346         [UNIX98] (pthread_spinlock_t): Likewise.
25347         [UNIX98] (pthread_barrier_destroy): Likewise.
25348         [UNIX98] (pthread_barrier_init): Likewise.
25349         [UNIX98] (pthread_barrier_wait): Likewise.
25350         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25351         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25352         [UNIX98] (pthread_barrierattr_init): Likewise.
25353         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25354         [UNIX98] (pthread_getcpuclockid): Likewise.
25355         [UNIX98] (pthread_mutex_timedlock): Likewise.
25356         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25357         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25358         [UNIX98] (pthread_sigmask): Likewise.
25359         [UNIX98] (pthread_spin_destroy): Likewise.
25360         [UNIX98] (pthread_spin_init): Likewise.
25361         [UNIX98] (pthread_spin_lock): Likewise.
25362         [UNIX98] (pthread_spin_trylock): Likewise.
25363         [UNIX98] (pthread_spin_unlock): Likewise.
25364         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25365         Do not expect.
25366         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25367         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25368         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25369         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25370         [XPG3 || XPG4] (pthread_key_t): Likewise.
25371         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25372         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25373         [XPG3 || XPG4] (pthread_once_t): Likewise.
25374         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25375         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25376         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25377         [XPG3 || XPG4] (pthread_t): Likewise.
25378
25379         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25380         not expect.
25381         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25382
25383         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25384         Change function return type to int.
25385
25386         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25387         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25388         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25389         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25390         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25391         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25392         [!POSIX] (posix_madvise): Likewise.
25393         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25394         && !UNIX98].
25395         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25396         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25397         (mode_t): Likewise.
25398         (posix_mem_offset): Likewise.
25399         (posix_typed_mem_get_info): Likewise.
25400         (posix_typed_mem_open): Likewise.
25401
25402         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25403         Change condition to [XOPEN2K8].
25404
25405         * conform/conformtest.pl: Preprocess allow-header data with -x c
25406         instead of from stdin.
25407         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25408         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25409         [C99-based standards] (cerfc): Likewise.
25410         [C99-based standards] (cexp2): Likewise.
25411         [C99-based standards] (cexpm1): Likewise.
25412         [C99-based standards] (clog10): Likewise.
25413         [C99-based standards] (clog1p): Likewise.
25414         [C99-based standards] (clog2): Likewise.
25415         [C99-based standards] (clgamma): Likewise.
25416         [C99-based standards] (ctgamma): Likewise.
25417         [C99-based standards] (cerff): Likewise.
25418         [C99-based standards] (cerfcf): Likewise.
25419         [C99-based standards] (cexp2f): Likewise.
25420         [C99-based standards] (cexpm1f): Likewise.
25421         [C99-based standards] (clog10f): Likewise.
25422         [C99-based standards] (clog1pf): Likewise.
25423         [C99-based standards] (clog2f): Likewise.
25424         [C99-based standards] (clgammaf): Likewise.
25425         [C99-based standards] (ctgammaf): Likewise.
25426         [C99-based standards] (cerfl): Likewise.
25427         [C99-based standards] (cerfcl): Likewise.
25428         [C99-based standards] (cexp2l): Likewise.
25429         [C99-based standards] (cexpm1l): Likewise.
25430         [C99-based standards] (clog10l): Likewise.
25431         [C99-based standards] (clog1pl): Likewise.
25432         [C99-based standards] (clog2l): Likewise.
25433         [C99-based standards] (clgammal): Likewise.
25434         [C99-based standards] (ctgammal): Likewise.
25435         * conform/data/inttypes.h-data [C99-based standards]: Include
25436         stdint.h-data.  Remove all expectations for stdint.h contents.
25437         [C99-based standards] (PRI*): Do not allow.
25438         [C99-based standards] (SCN*): Likewise.
25439         [C99-based standards] (*_t): Likewise.
25440         [C99-based-standards] (PRId8): Expect macro.
25441         [C99-based-standards] (PRIi8): Likewise.
25442         [C99-based-standards] (PRIo8): Likewise.
25443         [C99-based-standards] (PRIu8): Likewise.
25444         [C99-based-standards] (PRIx8): Likewise.
25445         [C99-based-standards] (PRIX8): Likewise.
25446         [C99-based-standards] (SCNd8): Likewise.
25447         [C99-based-standards] (SCNi8): Likewise.
25448         [C99-based-standards] (SCNo8): Likewise.
25449         [C99-based-standards] (SCNu8): Likewise.
25450         [C99-based-standards] (SCNx8): Likewise.
25451         [C99-based-standards] (PRIdLEAST8): Likewise.
25452         [C99-based-standards] (PRIiLEAST8): Likewise.
25453         [C99-based-standards] (PRIoLEAST8): Likewise.
25454         [C99-based-standards] (PRIuLEAST8): Likewise.
25455         [C99-based-standards] (PRIxLEAST8): Likewise.
25456         [C99-based-standards] (PRIXLEAST8): Likewise.
25457         [C99-based-standards] (SCNdLEAST8): Likewise.
25458         [C99-based-standards] (SCNiLEAST8): Likewise.
25459         [C99-based-standards] (SCNoLEAST8): Likewise.
25460         [C99-based-standards] (SCNuLEAST8): Likewise.
25461         [C99-based-standards] (SCNxLEAST8): Likewise.
25462         [C99-based-standards] (PRIdFAST8): Likewise.
25463         [C99-based-standards] (PRIiFAST8): Likewise.
25464         [C99-based-standards] (PRIoFAST8): Likewise.
25465         [C99-based-standards] (PRIuFAST8): Likewise.
25466         [C99-based-standards] (PRIxFAST8): Likewise.
25467         [C99-based-standards] (PRIXFAST8): Likewise.
25468         [C99-based-standards] (SCNdFAST8): Likewise.
25469         [C99-based-standards] (SCNiFAST8): Likewise.
25470         [C99-based-standards] (SCNoFAST8): Likewise.
25471         [C99-based-standards] (SCNuFAST8): Likewise.
25472         [C99-based-standards] (SCNxFAST8): Likewise.
25473         [C99-based-standards] (PRId16): Likewise.
25474         [C99-based-standards] (PRIi16): Likewise.
25475         [C99-based-standards] (PRIo16): Likewise.
25476         [C99-based-standards] (PRIu16): Likewise.
25477         [C99-based-standards] (PRIx16): Likewise.
25478         [C99-based-standards] (PRIX16): Likewise.
25479         [C99-based-standards] (SCNd16): Likewise.
25480         [C99-based-standards] (SCNi16): Likewise.
25481         [C99-based-standards] (SCNo16): Likewise.
25482         [C99-based-standards] (SCNu16): Likewise.
25483         [C99-based-standards] (SCNx16): Likewise.
25484         [C99-based-standards] (PRIdLEAST16): Likewise.
25485         [C99-based-standards] (PRIiLEAST16): Likewise.
25486         [C99-based-standards] (PRIoLEAST16): Likewise.
25487         [C99-based-standards] (PRIuLEAST16): Likewise.
25488         [C99-based-standards] (PRIxLEAST16): Likewise.
25489         [C99-based-standards] (PRIXLEAST16): Likewise.
25490         [C99-based-standards] (SCNdLEAST16): Likewise.
25491         [C99-based-standards] (SCNiLEAST16): Likewise.
25492         [C99-based-standards] (SCNoLEAST16): Likewise.
25493         [C99-based-standards] (SCNuLEAST16): Likewise.
25494         [C99-based-standards] (SCNxLEAST16): Likewise.
25495         [C99-based-standards] (PRIdFAST16): Likewise.
25496         [C99-based-standards] (PRIiFAST16): Likewise.
25497         [C99-based-standards] (PRIoFAST16): Likewise.
25498         [C99-based-standards] (PRIuFAST16): Likewise.
25499         [C99-based-standards] (PRIxFAST16): Likewise.
25500         [C99-based-standards] (PRIXFAST16): Likewise.
25501         [C99-based-standards] (SCNdFAST16): Likewise.
25502         [C99-based-standards] (SCNiFAST16): Likewise.
25503         [C99-based-standards] (SCNoFAST16): Likewise.
25504         [C99-based-standards] (SCNuFAST16): Likewise.
25505         [C99-based-standards] (SCNxFAST16): Likewise.
25506         [C99-based-standards] (PRId32): Likewise.
25507         [C99-based-standards] (PRIi32): Likewise.
25508         [C99-based-standards] (PRIo32): Likewise.
25509         [C99-based-standards] (PRIu32): Likewise.
25510         [C99-based-standards] (PRIx32): Likewise.
25511         [C99-based-standards] (PRIX32): Likewise.
25512         [C99-based-standards] (SCNd32): Likewise.
25513         [C99-based-standards] (SCNi32): Likewise.
25514         [C99-based-standards] (SCNo32): Likewise.
25515         [C99-based-standards] (SCNu32): Likewise.
25516         [C99-based-standards] (SCNx32): Likewise.
25517         [C99-based-standards] (PRIdLEAST32): Likewise.
25518         [C99-based-standards] (PRIiLEAST32): Likewise.
25519         [C99-based-standards] (PRIoLEAST32): Likewise.
25520         [C99-based-standards] (PRIuLEAST32): Likewise.
25521         [C99-based-standards] (PRIxLEAST32): Likewise.
25522         [C99-based-standards] (PRIXLEAST32): Likewise.
25523         [C99-based-standards] (SCNdLEAST32): Likewise.
25524         [C99-based-standards] (SCNiLEAST32): Likewise.
25525         [C99-based-standards] (SCNoLEAST32): Likewise.
25526         [C99-based-standards] (SCNuLEAST32): Likewise.
25527         [C99-based-standards] (SCNxLEAST32): Likewise.
25528         [C99-based-standards] (PRIdFAST32): Likewise.
25529         [C99-based-standards] (PRIiFAST32): Likewise.
25530         [C99-based-standards] (PRIoFAST32): Likewise.
25531         [C99-based-standards] (PRIuFAST32): Likewise.
25532         [C99-based-standards] (PRIxFAST32): Likewise.
25533         [C99-based-standards] (PRIXFAST32): Likewise.
25534         [C99-based-standards] (SCNdFAST32): Likewise.
25535         [C99-based-standards] (SCNiFAST32): Likewise.
25536         [C99-based-standards] (SCNoFAST32): Likewise.
25537         [C99-based-standards] (SCNuFAST32): Likewise.
25538         [C99-based-standards] (SCNxFAST32): Likewise.
25539         [C99-based-standards] (PRId64): Likewise.
25540         [C99-based-standards] (PRIi64): Likewise.
25541         [C99-based-standards] (PRIo64): Likewise.
25542         [C99-based-standards] (PRIu64): Likewise.
25543         [C99-based-standards] (PRIx64): Likewise.
25544         [C99-based-standards] (PRIX64): Likewise.
25545         [C99-based-standards] (SCNd64): Likewise.
25546         [C99-based-standards] (SCNi64): Likewise.
25547         [C99-based-standards] (SCNo64): Likewise.
25548         [C99-based-standards] (SCNu64): Likewise.
25549         [C99-based-standards] (SCNx64): Likewise.
25550         [C99-based-standards] (PRIdLEAST64): Likewise.
25551         [C99-based-standards] (PRIiLEAST64): Likewise.
25552         [C99-based-standards] (PRIoLEAST64): Likewise.
25553         [C99-based-standards] (PRIuLEAST64): Likewise.
25554         [C99-based-standards] (PRIxLEAST64): Likewise.
25555         [C99-based-standards] (PRIXLEAST64): Likewise.
25556         [C99-based-standards] (SCNdLEAST64): Likewise.
25557         [C99-based-standards] (SCNiLEAST64): Likewise.
25558         [C99-based-standards] (SCNoLEAST64): Likewise.
25559         [C99-based-standards] (SCNuLEAST64): Likewise.
25560         [C99-based-standards] (SCNxLEAST64): Likewise.
25561         [C99-based-standards] (PRIdFAST64): Likewise.
25562         [C99-based-standards] (PRIiFAST64): Likewise.
25563         [C99-based-standards] (PRIoFAST64): Likewise.
25564         [C99-based-standards] (PRIuFAST64): Likewise.
25565         [C99-based-standards] (PRIxFAST64): Likewise.
25566         [C99-based-standards] (PRIXFAST64): Likewise.
25567         [C99-based-standards] (SCNdFAST64): Likewise.
25568         [C99-based-standards] (SCNiFAST64): Likewise.
25569         [C99-based-standards] (SCNoFAST64): Likewise.
25570         [C99-based-standards] (SCNuFAST64): Likewise.
25571         [C99-based-standards] (SCNxFAST64): Likewise.
25572         [C99-based-standards] (PRIdMAX): Likewise.
25573         [C99-based-standards] (PRIiMAX): Likewise.
25574         [C99-based-standards] (PRIoMAX): Likewise.
25575         [C99-based-standards] (PRIuMAX): Likewise.
25576         [C99-based-standards] (PRIxMAX): Likewise.
25577         [C99-based-standards] (PRIXMAX): Likewise.
25578         [C99-based-standards] (SCNdMAX): Likewise.
25579         [C99-based-standards] (SCNiMAX): Likewise.
25580         [C99-based-standards] (SCNoMAX): Likewise.
25581         [C99-based-standards] (SCNuMAX): Likewise.
25582         [C99-based-standards] (SCNxMAX): Likewise.
25583         [C99-based-standards] (PRIdPTR): Likewise.
25584         [C99-based-standards] (PRIiPTR): Likewise.
25585         [C99-based-standards] (PRIoPTR): Likewise.
25586         [C99-based-standards] (PRIuPTR): Likewise.
25587         [C99-based-standards] (PRIxPTR): Likewise.
25588         [C99-based-standards] (PRIXPTR): Likewise.
25589         [C99-based-standards] (SCNdPTR): Likewise.
25590         [C99-based-standards] (SCNiPTR): Likewise.
25591         [C99-based-standards] (SCNoPTR): Likewise.
25592         [C99-based-standards] (SCNuPTR): Likewise.
25593         [C99-based-standards] (SCNxPTR): Likewise.
25594         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25595         allow.
25596         * conform/data/stdint.h-data: Update comments to clarify
25597         requirements.
25598         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25599         type.
25600         [C99-based standards] (INT8_MAX): Likewise.
25601         [C99-based standards] (INT16_MIN): Likewise.
25602         [C99-based standards] (INT16_MAX): Likewise.
25603         [C99-based standards] (INT32_MIN): Likewise.
25604         [C99-based standards] (INT32_MAX): Likewise.
25605         [C99-based standards] (INT64_MIN): Likewise.
25606         [C99-based standards] (INT64_MAX): Likewise.
25607         [C99-based standards] (UINT8_MAX): Likewise.
25608         [C99-based standards] (UINT16_MAX): Likewise.
25609         [C99-based standards] (UINT32_MAX): Likewise.
25610         [C99-based standards] (UINT64_MAX): Likewise.
25611         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25612         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25613         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25614         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25615         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25616         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25617         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25618         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25619         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25620         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25621         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25622         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25623         [C99-based standards] (INT_FAST8_MIN): Likewise.
25624         [C99-based standards] (INT_FAST8_MAX): Likewise.
25625         [C99-based standards] (INT_FAST16_MIN): Likewise.
25626         [C99-based standards] (INT_FAST16_MAX): Likewise.
25627         [C99-based standards] (INT_FAST32_MIN): Likewise.
25628         [C99-based standards] (INT_FAST32_MAX): Likewise.
25629         [C99-based standards] (INT_FAST64_MIN): Likewise.
25630         [C99-based standards] (INT_FAST64_MAX): Likewise.
25631         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25632         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25633         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25634         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25635         [C99-based standards] (INTPTR_MIN): Likewise.
25636         [C99-based standards] (INTPTR_MAX): Likewise.
25637         [C99-based standards] (UINTPTR_MAX): Likewise.
25638         [C99-based standards] (INTMAX_MIN): Likewise.
25639         [C99-based standards] (INTMAX_MAX): Likewise.
25640         [C99-based standards] (UINTMAX_MAX): Likewise.
25641         [C99-based standards] (PTRDIFF_MIN): Likewise.
25642         [C99-based standards] (PTRDIFF_MAX): Likewise.
25643         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25644         [C99-based standards] (SIZE_MAX): Likewise.
25645         [C99-based standards] (WCHAR_MAX): Likewise.
25646         [C99-based standards] (WINT_MAX): Likewise.
25647         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25648         constraint on value.
25649         [C99-based standards] (WCHAR_MIN): Likewise.
25650         [C99-based standards] (WINT_MIN): Likewise.
25651         [C99-based standards] (*_t): Allow.
25652         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25653         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25654         Include math.h-data and complex.h-data.  Remove all expectations
25655         of math.h and complex.h contents.
25656         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25657         at end of line.
25658         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25659         (struct tm): Expect tag.
25660         [C99-based-standards] (wcstof): Expect function.
25661         [C99-based-standards] (wcstold): Likewise.
25662         [C99-based-standards] (wcstoll): Likewise.
25663         [C99-based-standards] (wcstoull): Likewise.
25664         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25665         macro-int-constant.  Specify type.
25666         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25667         constraint on value.
25668         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25669         Specify type.
25670         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25671         Specify value.
25672         [ISO C standards]: Do not allow headers.
25673         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25674         wcs[abcdefghijklmnopqrstuvwxyz]*.
25675         [ISO C standards] (*_t): Do not allow.
25676         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25677         Expect function.
25678         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25679         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25680         Specify type.
25681         [ISO C standards]: Do not allow headers.
25682         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25683         is[abcdefghijklmnopqrstuvwxyz]*.
25684         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25685         to[abcdefghijklmnopqrstuvwxyz]*.
25686         [ISO C standards] (*_t): Do not allow.
25687         * conform/data/stdalign.h-data: New file.
25688         * conform/data/stdbool.h-data: Likewise.
25689         * conform/data/stdnoreturn.h-data: Likewise.
25690
25691 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25692
25693         [BZ #14815]
25694         * manual/filesys.texi (Directory Entries): Typo fix.
25695         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25696
25697 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25698
25699         * elf/elf.h (EM_AARCH64): New macro.
25700         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25701         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25702         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25703         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25704         (R_AARCH64_TLSDESC): Likewise.
25705         (NT_ARM_TLS): Likewise.
25706         (NT_ARM_HW_BREAK): Likewise.
25707         (NT_ARM_HW_WATCH): Likewise.
25708
25709 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25710
25711         [BZ #14811]
25712         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25713         (__ieee754_powl): Saturate nonzero exponents with absolute value
25714         below 0x1p-79 to +/- 0x1p-79.
25715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25716         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25717         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25718         nonzero exponents with absolute value below 0x1p-32 to +/-
25719         0x1p-32.
25720         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25721         (__ieee754_powl): Saturate nonzero exponents with absolute value
25722         below 0x1p-79 to +/- 0x1p-79.
25723         * math/libm-test.inc (pow_test): Add more tests.
25724
25725 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25726
25727         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25728         _dl_s390_cap_flags with kernel. Increase string length.
25729         (_dl_s390_platforms): Add z196 and zEC12.
25730
25731 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25732
25733         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25734         Change XOPEN21K to XOPEN2K.
25735
25736 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25737
25738         * string/memmove.c: Use memcpy when possible.
25739
25740 2012-11-06  Andreas Jaeger  <aj@suse.de>
25741
25742         * po/eo.po: Update from translation team.
25743
25744 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25745
25746         [BZ #14793]
25747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25748         exponent and small x and y exponents, scale x or y up.  Increase
25749         by 2 the exponent used in scaling up.
25750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25752         * math/libm-test.inc (fma_test): Add more tests.
25753         (fma_test_towardzero): Likewise.
25754         (fma_test_downward): Likewise.
25755         (fma_test_upward): Likewise.
25756
25757 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25758
25759         [BZ #14805]
25760         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25761         fenv_t *.
25762
25763         [BZ #14801]
25764         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25765         namespace for names of struct fields.
25766         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25767         fenv_t fields.
25768         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25769         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25770
25771 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25772
25773         [BZ #3665]
25774         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25775
25776 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25777
25778         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25779         PTR_DEMANGLE.
25780
25781         [BZ #5246]
25782         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25783         PTR_DEMANGLE.
25784
25785 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25786
25787         [BZ #14797]
25788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25789         definitely overflow as x * y not x * y + z.
25790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25792         * math/libm-test.inc (fma_test): Add more tests.
25793         (fma_test_towardzero): Likewise.
25794         (fma_test_downward): Likewise.
25795         (fma_test_upward): Likewise.
25796
25797 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25798
25799         [BZ #157]
25800
25801         * include/stub-tag.h: Remove file.
25802         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25803         '#include' of it.
25804         * manual/maint.texi (Porting): Don't reference it.
25805         * Makerules ($(objpfx)stubs): Likewise.
25806         * dirent/closedir.c: Don't include <stub-tag.h>.
25807         * dirent/dirfd.c: Likewise.
25808         * dirent/fdopendir.c: Likewise.
25809         * dirent/getdents.c: Likewise.
25810         * dirent/getdents64.c: Likewise.
25811         * dirent/opendir.c: Likewise.
25812         * dirent/readdir.c: Likewise.
25813         * dirent/readdir64.c: Likewise.
25814         * dirent/readdir64_r.c: Likewise.
25815         * dirent/readdir_r.c: Likewise.
25816         * dirent/rewinddir.c: Likewise.
25817         * dirent/seekdir.c: Likewise.
25818         * dirent/telldir.c: Likewise.
25819         * gmon/profil.c: Likewise.
25820         * grp/setgroups.c: Likewise.
25821         * inet/if_index.c: Likewise.
25822         * io/access.c: Likewise.
25823         * io/chdir.c: Likewise.
25824         * io/chmod.c: Likewise.
25825         * io/chown.c: Likewise.
25826         * io/close.c: Likewise.
25827         * io/dup.c: Likewise.
25828         * io/dup2.c: Likewise.
25829         * io/dup3.c: Likewise.
25830         * io/euidaccess.c: Likewise.
25831         * io/faccessat.c: Likewise.
25832         * io/fchdir.c: Likewise.
25833         * io/fchmod.c: Likewise.
25834         * io/fchmodat.c: Likewise.
25835         * io/fchown.c: Likewise.
25836         * io/fchownat.c: Likewise.
25837         * io/fcntl.c: Likewise.
25838         * io/flock.c: Likewise.
25839         * io/fstatfs.c: Likewise.
25840         * io/fstatfs64.c: Likewise.
25841         * io/fstatvfs.c: Likewise.
25842         * io/fstatvfs64.c: Likewise.
25843         * io/futimens.c: Likewise.
25844         * io/fxstat.c: Likewise.
25845         * io/fxstat64.c: Likewise.
25846         * io/fxstatat.c: Likewise.
25847         * io/fxstatat64.c: Likewise.
25848         * io/getcwd.c: Likewise.
25849         * io/isatty.c: Likewise.
25850         * io/lchmod.c: Likewise.
25851         * io/lchown.c: Likewise.
25852         * io/link.c: Likewise.
25853         * io/linkat.c: Likewise.
25854         * io/lseek.c: Likewise.
25855         * io/lseek64.c: Likewise.
25856         * io/lxstat64.c: Likewise.
25857         * io/mkdir.c: Likewise.
25858         * io/mkdirat.c: Likewise.
25859         * io/mkfifo.c: Likewise.
25860         * io/mkfifoat.c: Likewise.
25861         * io/open.c: Likewise.
25862         * io/open64.c: Likewise.
25863         * io/openat.c: Likewise.
25864         * io/openat64.c: Likewise.
25865         * io/pipe.c: Likewise.
25866         * io/pipe2.c: Likewise.
25867         * io/poll.c: Likewise.
25868         * io/posix_fadvise.c: Likewise.
25869         * io/posix_fadvise64.c: Likewise.
25870         * io/posix_fallocate.c: Likewise.
25871         * io/posix_fallocate64.c: Likewise.
25872         * io/read.c: Likewise.
25873         * io/readlink.c: Likewise.
25874         * io/readlinkat.c: Likewise.
25875         * io/rmdir.c: Likewise.
25876         * io/sendfile.c: Likewise.
25877         * io/sendfile64.c: Likewise.
25878         * io/statfs.c: Likewise.
25879         * io/statfs64.c: Likewise.
25880         * io/statvfs.c: Likewise.
25881         * io/statvfs64.c: Likewise.
25882         * io/symlink.c: Likewise.
25883         * io/symlinkat.c: Likewise.
25884         * io/ttyname.c: Likewise.
25885         * io/ttyname_r.c: Likewise.
25886         * io/umask.c: Likewise.
25887         * io/unlink.c: Likewise.
25888         * io/unlinkat.c: Likewise.
25889         * io/utime.c: Likewise.
25890         * io/utimensat.c: Likewise.
25891         * io/write.c: Likewise.
25892         * io/xmknod.c: Likewise.
25893         * io/xmknodat.c: Likewise.
25894         * io/xstat.c: Likewise.
25895         * io/xstat64.c: Likewise.
25896         * login/getpt.c: Likewise.
25897         * login/grantpt.c: Likewise.
25898         * login/unlockpt.c: Likewise.
25899         * math/e_acoshl.c: Likewise.
25900         * math/e_acosl.c: Likewise.
25901         * math/e_asinl.c: Likewise.
25902         * math/e_atan2l.c: Likewise.
25903         * math/e_atanhl.c: Likewise.
25904         * math/e_coshl.c: Likewise.
25905         * math/e_expl.c: Likewise.
25906         * math/e_fmodl.c: Likewise.
25907         * math/e_gammal_r.c: Likewise.
25908         * math/e_hypotl.c: Likewise.
25909         * math/e_j0l.c: Likewise.
25910         * math/e_j1l.c: Likewise.
25911         * math/e_jnl.c: Likewise.
25912         * math/e_lgammal_r.c: Likewise.
25913         * math/e_log10l.c: Likewise.
25914         * math/e_log2l.c: Likewise.
25915         * math/e_logl.c: Likewise.
25916         * math/e_powl.c: Likewise.
25917         * math/e_rem_pio2l.c: Likewise.
25918         * math/e_sinhl.c: Likewise.
25919         * math/e_sqrtl.c: Likewise.
25920         * math/fclrexcpt.c: Likewise.
25921         * math/fedisblxcpt.c: Likewise.
25922         * math/feenablxcpt.c: Likewise.
25923         * math/fegetenv.c: Likewise.
25924         * math/fegetexcept.c: Likewise.
25925         * math/fegetround.c: Likewise.
25926         * math/feholdexcpt.c: Likewise.
25927         * math/fesetenv.c: Likewise.
25928         * math/fesetround.c: Likewise.
25929         * math/feupdateenv.c: Likewise.
25930         * math/fgetexcptflg.c: Likewise.
25931         * math/fraiseexcpt.c: Likewise.
25932         * math/fsetexcptflg.c: Likewise.
25933         * math/ftestexcept.c: Likewise.
25934         * math/k_cosl.c: Likewise.
25935         * math/k_rem_pio2l.c: Likewise.
25936         * math/k_sinl.c: Likewise.
25937         * math/k_tanl.c: Likewise.
25938         * math/s_asinhl.c: Likewise.
25939         * math/s_atanl.c: Likewise.
25940         * math/s_cbrtl.c: Likewise.
25941         * math/s_erfl.c: Likewise.
25942         * math/s_expm1l.c: Likewise.
25943         * math/s_log1pl.c: Likewise.
25944         * math/s_tanhl.c: Likewise.
25945         * misc/acct.c: Likewise.
25946         * misc/brk.c: Likewise.
25947         * misc/chflags.c: Likewise.
25948         * misc/chroot.c: Likewise.
25949         * misc/fchflags.c: Likewise.
25950         * misc/fgetxattr.c: Likewise.
25951         * misc/flistxattr.c: Likewise.
25952         * misc/fremovexattr.c: Likewise.
25953         * misc/fsetxattr.c: Likewise.
25954         * misc/fsync.c: Likewise.
25955         * misc/ftruncate.c: Likewise.
25956         * misc/futimes.c: Likewise.
25957         * misc/futimesat.c: Likewise.
25958         * misc/getdomain.c: Likewise.
25959         * misc/getdtsz.c: Likewise.
25960         * misc/gethostid.c: Likewise.
25961         * misc/gethostname.c: Likewise.
25962         * misc/getloadavg.c: Likewise.
25963         * misc/getpagesize.c: Likewise.
25964         * misc/getsysstats.c: Likewise.
25965         * misc/getxattr.c: Likewise.
25966         * misc/gtty.c: Likewise.
25967         * misc/ioctl.c: Likewise.
25968         * misc/lgetxattr.c: Likewise.
25969         * misc/listxattr.c: Likewise.
25970         * misc/llistxattr.c: Likewise.
25971         * misc/lremovexattr.c: Likewise.
25972         * misc/lsetxattr.c: Likewise.
25973         * misc/lutimes.c: Likewise.
25974         * misc/madvise.c: Likewise.
25975         * misc/mincore.c: Likewise.
25976         * misc/mlock.c: Likewise.
25977         * misc/mlockall.c: Likewise.
25978         * misc/mmap.c: Likewise.
25979         * misc/mprotect.c: Likewise.
25980         * misc/msync.c: Likewise.
25981         * misc/munlock.c: Likewise.
25982         * misc/munlockall.c: Likewise.
25983         * misc/munmap.c: Likewise.
25984         * misc/preadv.c: Likewise.
25985         * misc/preadv64.c: Likewise.
25986         * misc/ptrace.c: Likewise.
25987         * misc/pwritev.c: Likewise.
25988         * misc/pwritev64.c: Likewise.
25989         * misc/readv.c: Likewise.
25990         * misc/reboot.c: Likewise.
25991         * misc/remap_file_pages.c: Likewise.
25992         * misc/removexattr.c: Likewise.
25993         * misc/revoke.c: Likewise.
25994         * misc/select.c: Likewise.
25995         * misc/setdomain.c: Likewise.
25996         * misc/setegid.c: Likewise.
25997         * misc/seteuid.c: Likewise.
25998         * misc/sethostid.c: Likewise.
25999         * misc/sethostname.c: Likewise.
26000         * misc/setregid.c: Likewise.
26001         * misc/setreuid.c: Likewise.
26002         * misc/setxattr.c: Likewise.
26003         * misc/sstk.c: Likewise.
26004         * misc/stty.c: Likewise.
26005         * misc/swapoff.c: Likewise.
26006         * misc/swapon.c: Likewise.
26007         * misc/sync.c: Likewise.
26008         * misc/syncfs.c: Likewise.
26009         * misc/syscall.c: Likewise.
26010         * misc/truncate.c: Likewise.
26011         * misc/ualarm.c: Likewise.
26012         * misc/usleep.c: Likewise.
26013         * misc/ustat.c: Likewise.
26014         * misc/utimes.c: Likewise.
26015         * misc/vhangup.c: Likewise.
26016         * misc/writev.c: Likewise.
26017         * posix/_exit.c: Likewise.
26018         * posix/alarm.c: Likewise.
26019         * posix/execve.c: Likewise.
26020         * posix/fexecve.c: Likewise.
26021         * posix/fork.c: Likewise.
26022         * posix/fpathconf.c: Likewise.
26023         * posix/getaddrinfo.c: Likewise.
26024         * posix/getegid.c: Likewise.
26025         * posix/geteuid.c: Likewise.
26026         * posix/getgid.c: Likewise.
26027         * posix/getgroups.c: Likewise.
26028         * posix/getlogin.c: Likewise.
26029         * posix/getlogin_r.c: Likewise.
26030         * posix/getpgid.c: Likewise.
26031         * posix/getpid.c: Likewise.
26032         * posix/getppid.c: Likewise.
26033         * posix/getresgid.c: Likewise.
26034         * posix/getresuid.c: Likewise.
26035         * posix/getsid.c: Likewise.
26036         * posix/getuid.c: Likewise.
26037         * posix/glob64.c: Likewise.
26038         * posix/nanosleep.c: Likewise.
26039         * posix/pathconf.c: Likewise.
26040         * posix/pause.c: Likewise.
26041         * posix/posix_madvise.c: Likewise.
26042         * posix/pread.c: Likewise.
26043         * posix/pread64.c: Likewise.
26044         * posix/pwrite.c: Likewise.
26045         * posix/pwrite64.c: Likewise.
26046         * posix/sched_getaffinity.c: Likewise.
26047         * posix/sched_getp.c: Likewise.
26048         * posix/sched_gets.c: Likewise.
26049         * posix/sched_primax.c: Likewise.
26050         * posix/sched_primin.c: Likewise.
26051         * posix/sched_rr_gi.c: Likewise.
26052         * posix/sched_setaffinity.c: Likewise.
26053         * posix/sched_setp.c: Likewise.
26054         * posix/sched_sets.c: Likewise.
26055         * posix/sched_yield.c: Likewise.
26056         * posix/setgid.c: Likewise.
26057         * posix/setlogin.c: Likewise.
26058         * posix/setpgid.c: Likewise.
26059         * posix/setresgid.c: Likewise.
26060         * posix/setresuid.c: Likewise.
26061         * posix/setsid.c: Likewise.
26062         * posix/setuid.c: Likewise.
26063         * posix/sleep.c: Likewise.
26064         * posix/spawni.c: Likewise.
26065         * posix/sysconf.c: Likewise.
26066         * posix/times.c: Likewise.
26067         * posix/wait.c: Likewise.
26068         * posix/wait3.c: Likewise.
26069         * posix/wait4.c: Likewise.
26070         * posix/waitpid.c: Likewise.
26071         * resolv/gai_sigqueue.c: Likewise.
26072         * resource/getpriority.c: Likewise.
26073         * resource/getrlimit.c: Likewise.
26074         * resource/getrusage.c: Likewise.
26075         * resource/nice.c: Likewise.
26076         * resource/setpriority.c: Likewise.
26077         * resource/setrlimit.c: Likewise.
26078         * resource/ulimit.c: Likewise.
26079         * rt/aio_cancel.c: Likewise.
26080         * rt/aio_fsync.c: Likewise.
26081         * rt/aio_read.c: Likewise.
26082         * rt/aio_sigqueue.c: Likewise.
26083         * rt/aio_suspend.c: Likewise.
26084         * rt/aio_write.c: Likewise.
26085         * rt/clock_getres.c: Likewise.
26086         * rt/clock_gettime.c: Likewise.
26087         * rt/clock_nanosleep.c: Likewise.
26088         * rt/clock_settime.c: Likewise.
26089         * rt/lio_listio.c: Likewise.
26090         * rt/mq_close.c: Likewise.
26091         * rt/mq_getattr.c: Likewise.
26092         * rt/mq_notify.c: Likewise.
26093         * rt/mq_open.c: Likewise.
26094         * rt/mq_receive.c: Likewise.
26095         * rt/mq_send.c: Likewise.
26096         * rt/mq_setattr.c: Likewise.
26097         * rt/mq_timedreceive.c: Likewise.
26098         * rt/mq_timedsend.c: Likewise.
26099         * rt/mq_unlink.c: Likewise.
26100         * rt/shm_open.c: Likewise.
26101         * rt/shm_unlink.c: Likewise.
26102         * rt/timer_create.c: Likewise.
26103         * rt/timer_delete.c: Likewise.
26104         * rt/timer_getoverr.c: Likewise.
26105         * rt/timer_gettime.c: Likewise.
26106         * rt/timer_settime.c: Likewise.
26107         * setjmp/__longjmp.c: Likewise.
26108         * setjmp/setjmp.c: Likewise.
26109         * signal/kill.c: Likewise.
26110         * signal/killpg.c: Likewise.
26111         * signal/raise.c: Likewise.
26112         * signal/sigaction.c: Likewise.
26113         * signal/sigaltstack.c: Likewise.
26114         * signal/sigblock.c: Likewise.
26115         * signal/sigignore.c: Likewise.
26116         * signal/sigintr.c: Likewise.
26117         * signal/signal.c: Likewise.
26118         * signal/sigpause.c: Likewise.
26119         * signal/sigpending.c: Likewise.
26120         * signal/sigqueue.c: Likewise.
26121         * signal/sigreturn.c: Likewise.
26122         * signal/sigset.c: Likewise.
26123         * signal/sigsetmask.c: Likewise.
26124         * signal/sigstack.c: Likewise.
26125         * signal/sigsuspend.c: Likewise.
26126         * signal/sigtimedwait.c: Likewise.
26127         * signal/sigvec.c: Likewise.
26128         * signal/sigwait.c: Likewise.
26129         * signal/sigwaitinfo.c: Likewise.
26130         * signal/sysv_signal.c: Likewise.
26131         * socket/accept.c: Likewise.
26132         * socket/accept4.c: Likewise.
26133         * socket/bind.c: Likewise.
26134         * socket/connect.c: Likewise.
26135         * socket/getpeername.c: Likewise.
26136         * socket/getsockname.c: Likewise.
26137         * socket/getsockopt.c: Likewise.
26138         * socket/isfdtype.c: Likewise.
26139         * socket/listen.c: Likewise.
26140         * socket/recv.c: Likewise.
26141         * socket/recvfrom.c: Likewise.
26142         * socket/recvmsg.c: Likewise.
26143         * socket/send.c: Likewise.
26144         * socket/sendmsg.c: Likewise.
26145         * socket/sendto.c: Likewise.
26146         * socket/setsockopt.c: Likewise.
26147         * socket/shutdown.c: Likewise.
26148         * socket/sockatmark.c: Likewise.
26149         * socket/socket.c: Likewise.
26150         * socket/socketpair.c: Likewise.
26151         * stdio-common/ctermid.c: Likewise.
26152         * stdio-common/cuserid.c: Likewise.
26153         * stdio-common/remove.c: Likewise.
26154         * stdio-common/rename.c: Likewise.
26155         * stdio-common/renameat.c: Likewise.
26156         * stdio-common/tempname.c: Likewise.
26157         * stdlib/getcontext.c: Likewise.
26158         * stdlib/makecontext.c: Likewise.
26159         * stdlib/setcontext.c: Likewise.
26160         * stdlib/swapcontext.c: Likewise.
26161         * stdlib/system.c: Likewise.
26162         * streams/fattach.c: Likewise.
26163         * streams/fdetach.c: Likewise.
26164         * streams/getmsg.c: Likewise.
26165         * streams/getpmsg.c: Likewise.
26166         * streams/putmsg.c: Likewise.
26167         * streams/putpmsg.c: Likewise.
26168         * sysdeps/unix/bsd/getpt.c: Likewise.
26169         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26170         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26171         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26173         Likewise.
26174         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26175         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26176         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26177         * sysvipc/msgctl.c: Likewise.
26178         * sysvipc/msgget.c: Likewise.
26179         * sysvipc/msgrcv.c: Likewise.
26180         * sysvipc/msgsnd.c: Likewise.
26181         * sysvipc/semctl.c: Likewise.
26182         * sysvipc/semget.c: Likewise.
26183         * sysvipc/semop.c: Likewise.
26184         * sysvipc/semtimedop.c: Likewise.
26185         * sysvipc/shmat.c: Likewise.
26186         * sysvipc/shmctl.c: Likewise.
26187         * sysvipc/shmdt.c: Likewise.
26188         * sysvipc/shmget.c: Likewise.
26189         * termios/tcdrain.c: Likewise.
26190         * termios/tcflow.c: Likewise.
26191         * termios/tcflush.c: Likewise.
26192         * termios/tcgetattr.c: Likewise.
26193         * termios/tcgetpgrp.c: Likewise.
26194         * termios/tcsendbrk.c: Likewise.
26195         * termios/tcsetattr.c: Likewise.
26196         * termios/tcsetpgrp.c: Likewise.
26197         * time/adjtime.c: Likewise.
26198         * time/clock.c: Likewise.
26199         * time/getitimer.c: Likewise.
26200         * time/gettimeofday.c: Likewise.
26201         * time/setitimer.c: Likewise.
26202         * time/settimeofday.c: Likewise.
26203         * time/stime.c: Likewise.
26204         * time/time.c: Likewise.
26205
26206 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26207
26208         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26209         /usr/old/bin.
26210
26211         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26212         instead of spaces.
26213         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26214
26215 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26216
26217         [BZ #14796]
26218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26219         FE_TONEAREST before applying Dekker multiplication and Knuth
26220         addition.  Clear inexact exceptions and check for exact zero
26221         results afterwards.
26222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26223         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26225         * math/libm-test.inc (fma_test): Add more tests.
26226         (fma_test_towardzero): Likewise.
26227         (fma_test_downward): Likewise.
26228         (fma_test_upward): Likewise.
26229         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26230         function.
26231         (libc_fesetround): New macro.
26232         (libc_fesetroundf): Likewise.
26233         (libc_fesetroundl): Likewise.
26234         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26235         function.
26236         (libc_fesetround_387): Likewise.
26237         (libc_fesetroundf): New macro.
26238         (libc_fesetround): Likewise.
26239         (libc_fesetroundl): Likewise.
26240         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26241         function.
26242         (libc_fesetroundf): New macro.
26243         (libc_fesetround): Likewise.
26244         (libc_fesetroundl): Likewise.
26245         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26246         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26247         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26248         libm_hidden_ver.
26249         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26250         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26251         libm_hidden_def.
26252         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26253         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26254         libm_hidden_ver.
26255         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26256         libm_hidden_def.
26257
26258         [BZ #3439]
26259         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26260         integer constant usable in #if and use that to give value to enum
26261         constant.
26262         (FE_DIVBYZERO): Likewise.
26263         (FE_UNDERFLOW): Likewise.
26264         (FE_OVERFLOW): Likewise.
26265         (FE_INVALID): Likewise.
26266         (FE_INVALID_SNAN): Likewise.
26267         (FE_INVALID_ISI): Likewise.
26268         (FE_INVALID_IDI): Likewise.
26269         (FE_INVALID_ZDZ): Likewise.
26270         (FE_INVALID_IMZ): Likewise.
26271         (FE_INVALID_COMPARE): Likewise.
26272         (FE_INVALID_SOFTWARE): Likewise.
26273         (FE_INVALID_SQRT): Likewise.
26274         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26275         (FE_TONEAREST): Likewise.
26276         (FE_TOWARDZERO): Likewise.
26277         (FE_UPWARD): Likewise.
26278         (FE_DOWNWARD): Likewise.
26279         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26280         (FE_DIVBYZERO): Likewise.
26281         (FE_OVERFLOW): Likewise.
26282         (FE_UNDERFLOW): Likewise.
26283         (FE_INEXACT): Likewise.
26284         (FE_TONEAREST): Likewise.
26285         (FE_DOWNWARD): Likewise.
26286         (FE_UPWARD): Likewise.
26287         (FE_TOWARDZERO): Likewise.
26288         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26289         (FE_UNDERFLOW): Likewise.
26290         (FE_OVERFLOW): Likewise.
26291         (FE_DIVBYZERO): Likewise.
26292         (FE_INVALID): Likewise.
26293         (FE_TONEAREST): Likewise.
26294         (FE_TOWARDZERO): Likewise.
26295         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26296         (FE_OVERFLOW): Likewise.
26297         (FE_UNDERFLOW): Likewise.
26298         (FE_DIVBYZERO): Likewise.
26299         (FE_INEXACT): Likewise.
26300         (FE_TONEAREST): Likewise.
26301         (FE_TOWARDZERO): Likewise.
26302         (FE_UPWARD): Likewise.
26303         (FE_DOWNWARD): Likewise.
26304         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26305         (FE_DIVBYZERO): Likewise.
26306         (FE_OVERFLOW): Likewise.
26307         (FE_UNDERFLOW): Likewise.
26308         (FE_INEXACT): Likewise.
26309         (FE_TONEAREST): Likewise.
26310         (FE_DOWNWARD): Likewise.
26311         (FE_UPWARD): Likewise.
26312         (FE_TOWARDZERO): Likewise.
26313
26314 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26315
26316         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26317
26318 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26319
26320         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26321         commands.  Quote $PWD.
26322         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26323         -x" by "export".
26324         (remove_newlines): Remove.
26325
26326 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26327
26328         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26329         * stdlib/stdlib.h (atof): Moved to ...
26330         * include/bits/stdlib-float.h: Here.  New file.
26331         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26332         * stdlib/bits/stdlib-float.h: New file.
26333         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26334         -mno-sse -mno-mmx.
26335         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26336         <xmmintrin.h>.
26337
26338 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26339
26340         * conform/conformtest.pl (@headers): Add fenv.h.
26341         * conform/data/fenv.h-data: New file.
26342         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26343         include of <math/fenv.h>.
26344
26345         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26346         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26347         && !UNIX98].  Enables tests for XOPEN2K8.
26348         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26349         POSIX2008]: Likewise.
26350
26351         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26352         (struct rusage): Do not expect type or its members.
26353
26354         [BZ #3439]
26355         * math/math.h (FP_NAN): Define macro to integer constant usable in
26356         #if and use that to give value to enum constant.
26357         (FP_INFINITE): Likewise.
26358         (FP_ZERO): Likewise.
26359         (FP_SUBNORMAL): Likewise.
26360         (FP_NORMAL): Likewise.
26361
26362 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26363
26364         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26365         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26366         arguments.
26367
26368 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26369
26370         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26371         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26372         autoconf-time if not.
26373         * configure.in: Remove AC_PREREQ.
26374
26375 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26376
26377         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26378         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26379         of the internal implementation.
26380
26381 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26382
26383         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26384         except include of <misc/sys/syslog.h>.
26385
26386 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26387
26388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26389         function returns with a NULL context exit with zero.
26390
26391 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26392
26393         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26394
26395 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26396
26397         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26398         (run_program_cmd): This.
26399         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26400         (tst_langinfo): New variable.  Use it.
26401
26402 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26403
26404         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26405         floating point opcodes.
26406
26407 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26408
26409         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26410         variable.
26411
26412         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26413
26414         * sysdeps/mach/hurd/powerpc: Remove directory.
26415         * sysdeps/mach/powerpc: Likewise.
26416
26417 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26418
26419         * scripts/check-local-headers.sh: Ignore c++ headers.
26420
26421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26422
26423         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26424         __libc_cleanup_region_start argument.
26425
26426 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26427
26428         [BZ #14784]
26429         [BZ #14785]
26430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26431         x * y using scaling, not as x * y + z.
26432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26434         * math/libm-test.inc (fma_test): Add more tests.
26435         (fma_test_towardzero): Likewise.
26436         (fma_test_downward): Likewise.
26437         (fma_test_upward): Likewise.
26438
26439 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26440
26441         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26442
26443 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26444
26445         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26446         New variable.
26447
26448 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26449
26450         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26451
26452 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26453
26454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26455         Fix sort order.
26456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26457         Likewise.
26458
26459 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26460
26461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26462         Fix the order of the list for glibc 2.17.
26463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26464         Likewise.
26465
26466 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26467
26468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26469
26470 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26471
26472         [BZ #14610]
26473         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26474         for low part of x being zero before using __atanl (y).
26475         * math/libm-test.inc (atan2_test): Add another test.
26476
26477         * manual/install.texi (Configuring and compiling): Document
26478         general use of test-wrapper and test-wrapper-env.
26479         * INSTALL: Regenerated.
26480
26481         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26482         (__fma): Do not extract and scale down low bits on after-rounding
26483         systems when result rounded to normal precision would have normal
26484         exponent.
26485         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26486         (__fmal): Do not extract and scale down low bits on after-rounding
26487         systems when result rounded to normal precision would have normal
26488         exponent.
26489         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26490         (__fmal): Do not extract and scale down low bits on after-rounding
26491         systems when result rounded to normal precision would have normal
26492         exponent.
26493         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26494         macro.
26495         (fma_test): Add more tests.
26496         (fma_test_towardzero): Likewise.
26497         (fma_test_downward): Likewise.
26498         (fma_test_upward): Likewise.
26499
26500 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26501
26502         * sysdeps/i386/tininess.h: Renamed to ...
26503         * sysdeps/x86/tininess.h: This.
26504         * sysdeps/x86_64/tininess.h: Removed.
26505
26506 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26507
26508         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26509         input.  Use $(build-program-cmd).
26510         ($(objpfx)tst-array1-static.out): Likewise.
26511         ($(objpfx)tst-array2.out): Likewise.
26512         ($(objpfx)tst-array3.out): Likewise.
26513         ($(objpfx)tst-array4.out): Likewise.
26514         ($(objpfx)tst-array5.out): Likewise.
26515         ($(objpfx)tst-array5-static.out): Likewise.
26516
26517 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26518
26519         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26520         if defined.
26521
26522         * nss/nsswitch.h (nss_interface_function): Provide new
26523         macro for use with NSS functions.
26524         * grp/initgroups.c: Use new macro.
26525         * nss/getXXbyYY.c: Likewise.
26526         * nss/getXXbyYY_r.c: Likewise.
26527         * nss/getXXent.c: Likewise.
26528         * nss/getXXent_r.c: Likewise.
26529         * sysdeps/posix/getaddrinfo.c: Likewise.
26530
26531 2012-10-30  Andreas Jaeger  <aj@suse.de>
26532
26533         * po/ru.po: Update Russion translation from translation project.
26534
26535 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26536
26537         [BZ #14152]
26538         [BZ #14783]
26539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26540         result and shift together with sticky bit instead of replicating
26541         round-to-nearest rounding.
26542         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26543         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26544         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26545         missing underflow exceptions.
26546         (fma_test_towardzero): Add more tests.
26547         (fma_test_downward): Likewise.
26548         (fma_test_upward): Likewise.
26549
26550         [BZ #14047]
26551         * sysdeps/generic/tininess.h: New file.
26552         * sysdeps/i386/tininess.h: Likewise.
26553         * sysdeps/sh/tininess.h: Likewise.
26554         * sysdeps/x86_64/tininess.h: Likewise.
26555         * stdlib/tst-strtod-underflow.c: Likewise.
26556         * stdlib/tst-tininess.c: Likewise.
26557         * stdlib/strtod_l.c: Include <tininess.h>.
26558         (round_and_return): Do not set errno for exact underflow cases.
26559         Force an underflow exception when setting errno for underflow.
26560         Determine underflow based on rounding to normal precision if
26561         TININESS_AFTER_ROUNDING.
26562         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26563         ERANGE for exact underflow cases.
26564         * stdlib/Makefile (tests): Add tst-tininess and
26565         tst-strtod-underflow.
26566         ($(objpfx)tst-tininess): Use $(link-libm).
26567         ($(objpfx)tst-strtod-underflow): Likewise.
26568
26569 2012-10-30  Andreas Jaeger  <aj@suse.de>
26570
26571         [BZ#14767]
26572         * elf/Makefile (tests): Remove conditional for have-initfini-array
26573         since this is now always required and the variable does not exist
26574         anymore.
26575         (tests-static): Likewise.
26576         (modules-names): Likewise.
26577
26578         * po/eo.po: Add Esperanto translation from translation project.
26579
26580         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26581         merged with constructor/destructor.
26582         (init_array): Likewise.
26583         * elf/tst-array2dep.c (fini_array): Likewise.
26584         (init_array): Likewise.
26585
26586 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26587
26588         * manual/message.texi: Delete @cartouche tags.
26589
26590 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26591
26592         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26593         EOPNOTSUPP.
26594         * sysdeps/mach/hurd/fsync.c: Likewise.
26595
26596         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26597         [_POSIX_REALTIME_SIGNALS]: Change condition to
26598         [_POSIX_REALTIME_SIGNALS > 0].
26599
26600 2012-10-27  Andreas Jaeger  <aj@suse.de>
26601
26602         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26603         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26605         [__WORDSIZE != 64]: Likewise.
26606
26607 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26608
26609         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26610         *  iconvdata/tst-tables.sh: Likewise.
26611
26612 2012-10-25  David S. Miller  <davem@davemloft.net>
26613
26614         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26615         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26616         of strtoull.
26617
26618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26619         ifunc-impl-list.c
26620         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26621         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26622         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26623         file.
26624
26625 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26626
26627         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26628         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26629         __getdirentries.
26630
26631 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26632             Jim Blandy  <jimb@codesourcery.com>
26633
26634         * scripts/cross-test-ssh.sh: New file.
26635         * manual/install.texi (Configuring and compiling): Document use of
26636         cross-test-ssh.sh.
26637         * INSTALL: Regenerated.
26638
26639 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26640
26641         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26642         EOPNOTSUPP.
26643
26644 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26645
26646         * Makeconfig (run-program-prefix): Fix comment.
26647
26648 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26649             Jim Blandy  <jimb@codesourcery.com>
26650
26651         * Makeconfig (test-wrapper): New variable,
26652         (test-wrapper-env): Likewise.
26653         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26654         (run-built-tests): Define to yes.
26655         (run-program-prefix): Use $(test-wrapper).
26656         (built-program-cmd): Likewise.
26657         * Rules (make-test-out): Use $(test-wrapper-env) and
26658         $(host-built-program-cmd).
26659         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26660         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26661         tst-pathopt.sh.
26662         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26663         $(test-wrapper-env) to tst-rtld-load-self.sh.
26664         ($(objpfx)order2.out): Use $(test-wrapper).
26665         ($(objpfx)tst-initorder.out): Likewise.
26666         ($(objpfx)tst-initorder2.out): Likewise.
26667         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26668         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26669         (test_wrapper_env): New variable.  Use it to run ld.so.
26670         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26671         Use it to run ld.so.
26672         (test_wrapper_env): Likewise.
26673         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26674         $(test-wrapper) to run-iconv-test.sh.
26675         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26676         (ICONV): Use $test_wrapper.
26677         * posix/Makefile ($(objpfx)globtest.out): Pass
26678         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26679         globtest.sh, not $(run-program-prefix).
26680         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26681         (test_wrapper): Likewise.
26682         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26683         set together with run_via_rtld_prefix.
26684         (run_program_prefix): Define in terms of test_wrapper and
26685         run_via_rtld_prefix.
26686
26687 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26688
26689         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26690         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26691         Targets removed.
26692
26693         [BZ #14743]
26694         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26695         Declare __clock_getres, __clock_gettime, __clock_settime,
26696         __clock_nanosleep, and __clock_getcpuclockid.
26697         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26698         Remove librt_hidden_def (clock_gettime).
26699         * sysdeps/unix/clock_gettime.c: Likewise.
26700         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26701         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26702         * rt/clock_getres.c: Define __clock_getres as an alias.
26703         * sysdeps/posix/clock_getres.c: Likewise.
26704         * rt/clock_settime.c: Define __clock_settime as an alias.
26705         * sysdeps/unix/clock_settime.c: Likewise.
26706         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26707         * sysdeps/unix/clock_nanosleep.c: Likewise.
26708         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26709         * rt/clock-compat.c: New file.
26710         * rt/Makefile (librt-routines): Add clock-compat and move
26711         $(clock-routines) to ...
26712         (routines): ... here, new variable.
26713         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26714         Don't add get_clockfreq here.
26715         * rt/Versions (libc: GLIBC_2.17): New version set.
26716         Add clock_* symbols here.
26717         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26719         (GLIBC_2.17): Add clock_* symbols.
26720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26724         Likewise.
26725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26726         Likewise.
26727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26731         * NEWS: Mention the move.
26732
26733         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26734         Use __open, __read, __close rather than their public counterparts.
26735         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26736         (__get_clockfreq_via_cpuinfo): Likewise.
26737         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26738         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26739
26740         * config.h.in (HAVE_IFUNC): New #undef.
26741         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26742         was successful.
26743         * configure: Regenerated.
26744
26745 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26746
26747         * configure.in: Move READELF check to start of file.
26748         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26749         libc_cv_asm_gnu_indirect_function in the process.
26750         * configure: Regenerated.
26751
26752 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26753
26754         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26755         send the output to /dev/null.
26756         (libc_cv_cc_with_libunwind): Likewise.
26757         (libc_cv_as_noexecstack): Likewise.
26758         * configure: Regenerate.
26759
26760 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26761
26762         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26763
26764         * posix/globtest.sh (TMPDIR): Do not set.
26765         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26766         (testout): Likewise.
26767
26768 2012-10-24  Andreas Jaeger  <aj@suse.de>
26769
26770         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26771         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26772         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26773         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26774         posix_fadvise64, posix_fallocate64.
26775
26776         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26777         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26778         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26779         Likewise.
26780         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26781         Likewise.
26782         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26783
26784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26785         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26786         <bits/fcntl-linux.h>.
26787         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26788
26789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26790         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26791         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26792         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26793         [__WORDSIZE != 64]: Likewise.
26794
26795 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26796
26797         * Makeconfig (run-built-tests): New variable.
26798         * Rules [$(cross-compiling) = yes]: Change condition to
26799         [$(run-built-tests) = no].
26800         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26801         to [$(run-built-tests) = yes].
26802         * elf/Makefile [$(cross-compiling) = no]: Likewise
26803         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26804         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26805         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26806         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26807         * io/Makefile [$(cross-compiling) = no]: Likewise.
26808         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26809         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26810         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26811         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26812         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26813         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26814         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26815         * string/Makefile [$(cross-compiling) = no]: Likewise.
26816
26817         * posix/Makefile ($(objpfx)globtest.out): Pass
26818         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26819         $(rtld-installed-name).
26820         * posix/globtest.sh (elf_objpfx): Remove variable.
26821         (rtld_installed_name): Likewise.
26822         (library_path): Likewise.
26823         (run_program_prefix): New variable.  Use for running globtest
26824         binary.
26825
26826 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26827             Joseph Myers  <joseph@codesourcery.com>
26828
26829         * Makeconfig (host-built-program-cmd): New variable.
26830         * elf/Makefile (tst-stackguard1-ARGS): Use
26831         $(host-built-program-cmd).
26832         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26833         (tst-spawn-ARGS): Likewise.
26834         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26835
26836 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26837             Jim Blandy  <jimb@codesourcery.com>
26838
26839         * Makeconfig (run-via-rtld-prefix): New variable.
26840         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26841         (built-program-cmd): Likewise.
26842
26843 2012-10-22  Andreas Jaeger  <aj@suse.de>
26844
26845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26846         __O_RSYNC if it exists, otherwise to O_SYNC.
26847
26848 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26849             Joseph Myers  <joseph@codesourcery.com>
26850
26851         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26852         /dev/null.
26853         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26854         from /dev/null
26855         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26856         /dev/null.
26857
26858 2012-10-22  Andreas Jaeger  <aj@suse.de>
26859
26860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26861         Define always.
26862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26863
26864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26865         bits/fcntl-linux.h.
26866
26867         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26868         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26869
26870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26871         to __O_LARGEFILE.
26872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26873         to __O_LARGEFILE.
26874
26875 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26876             Joseph Myers  <joseph@codesourcery.com>
26877
26878         * config.make.in (NM): New variable.
26879
26880 2012-10-21  Andreas Jaeger  <aj@suse.de>
26881
26882         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26883         definitions and declarations that are provided by
26884         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26885
26886 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26887
26888         [BZ #14683]
26889         * elf/Makefile (tests-static): Add tst-leaks1-static.
26890         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26891         ($(objpfx)tst-leaks1-static): New rule.
26892         ($(objpfx)tst-leaks1-static-mem): Likewise.
26893         (tst-leaks1-static-ENV): New macro.
26894         * elf/dl-open.c (dl_open_worker): Check the main application
26895         only if SHARED is defined.
26896         * elf/tst-leaks1-static.c: New file.
26897
26898 2012-10-20  Andreas Jaeger  <aj@suse.de>
26899
26900         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26901         generic values for Linux.
26902         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26903         and declarations that are provided by <bits/fcntl-linux.h> and
26904         include <bits/fcntl-linux.h>.
26905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26906         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26907
26908 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26909
26910         * io/fcntl.h: Move include of <bits/types.h> to the top and
26911         include it unconditionally.
26912
26913 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26914
26915         * wcsmbs/Makefile (tests-ifunc): New variable.
26916         (tests): Add $(tests-ifunc).
26917         * wcsmbs/test-wcschr-ifunc.c: New file.
26918         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26919         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26920         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26921         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26922         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26923
26924         * string/Makefile (tests-ifunc): New variable.
26925         (tests): Add $(tests-ifunc).
26926         * string/test-memccpy.c (TEST_NAME): New macro.
26927         * string/test-memchr.c (TEST_NAME): Likewise.
26928         * string/test-memcmp.c (TEST_NAME): Likewise.
26929         * string/test-memcpy.c (TEST_NAME): Likewise.
26930         * string/test-memmem.c (TEST_NAME): Likewise.
26931         * string/test-memmove.c (TEST_NAME): Likewise.
26932         * string/test-memset.c (TEST_NAME): Likewise.
26933         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26934         * string/test-stpcpy.c (TEST_NAME): Likewise.
26935         * string/test-stpncpy.c (TEST_NAME): Likewise.
26936         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26937         * string/test-strcasestr.c (TEST_NAME): Likewise.
26938         * string/test-strcat.c (TEST_NAME): Likewise.
26939         * string/test-strchr.c (TEST_NAME): Likewise.
26940         * string/test-strcmp.c(TEST_NAME): Likewise.
26941         * string/test-strcpy.c (TEST_NAME): Likewise.
26942         * string/test-strcspn.c (TEST_NAME): Likewise.
26943         * string/test-strlen.c (TEST_NAME): Likewise.
26944         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26945         * string/test-strncmp.c (TEST_NAME): Likewise.
26946         * string/test-strncpy.c (TEST_NAME): Likewise.
26947         * string/test-strnlen.c (TEST_NAME): Likewise.
26948         * string/test-strpbrk.c (TEST_NAME): Likewise.
26949         * string/test-strrchr.c (TEST_NAME): Likewise.
26950         * string/test-strspn.c (TEST_NAME): Likewise.
26951         * string/test-strstr.c (TEST_NAME): Likewise.
26952         * string/test-bcopy-ifunc.c: New file.
26953         * string/test-bzero-ifunc.c: Likewise.
26954         * string/test-memccpy-ifunc.c: Likewise.
26955         * string/test-memchr-ifunc.c: Likewise.
26956         * string/test-memcmp-ifunc.c: Likewise.
26957         * string/test-memcpy-ifunc.c: Likewise.
26958         * string/test-memmem-ifunc.c: Likewise.
26959         * string/test-memmove-ifunc.c: Likewise.
26960         * string/test-mempcpy-ifunc.c: Likewise.
26961         * string/test-memset-ifunc.c: Likewise.
26962         * string/test-rawmemchr-ifunc.c: Likewise.
26963         * string/test-stpcpy-ifunc.c: Likewise.
26964         * string/test-stpncpy-ifunc.c: Likewise.
26965         * string/test-strcasecmp-ifunc.c: Likewise.
26966         * string/test-strcasestr-ifunc.c: Likewise.
26967         * string/test-strcat-ifunc.c: Likewise.
26968         * string/test-strchr-ifunc.c: Likewise.
26969         * string/test-strchrnul-ifunc.c: Likewise.
26970         * string/test-strcmp-ifunc.c: Likewise.
26971         * string/test-strcpy-ifunc.c: Likewise.
26972         * string/test-strcspn-ifunc.c: Likewise.
26973         * string/test-strlen-ifunc.c: Likewise.
26974         * string/test-strncasecmp-ifunc.c: Likewise.
26975         * string/test-strncat-ifunc.c: Likewise.
26976         * string/test-strncmp-ifunc.c: Likewise.
26977         * string/test-strncpy-ifunc.c: Likewise.
26978         * string/test-strnlen-ifunc.c: Likewise.
26979         * string/test-strpbrk-ifunc.c: Likewise.
26980         * string/test-strrchr-ifunc.c: Likewise.
26981         * string/test-strspn-ifunc.c: Likewise.
26982         * string/test-strstr-ifunc.c: Likewise.
26983
26984         * debug/Makefile (tests-ifunc): New variable.
26985         (tests): Add $(tests-ifunc).
26986         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26987         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26988         * debug/test-stpcpy_chk-ifunc.c: New file.
26989         * debug/test-strcpy_chk-ifunc.c: Likewise.
26990
26991 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26992
26993         [BZ #13601]
26994         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26995         header is not read in.
26996
26997 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26998
26999         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27000         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27001         directly.  Pass built executable to script as
27002         $(built-program-cmd).
27003         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27004         $testprogram without using LD_LIBRARY_PATH and $ldso.
27005
27006         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27007         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27008         $(rtld-installed-name).
27009         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27010         (rtld_installed_name): Likewise.
27011         (library_path): Likewise.
27012         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27013         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27014         $(run-program-prefix) to tst-tables.sh.
27015         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27016         it to run tst-table-from and tst-table-to.
27017         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27018         Pass it to tst-table.sh.
27019         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27020         $(run-program-prefix) to tst-gettext.sh.
27021         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27022         tst-translit.sh.
27023         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27024         tst-gettext2.sh.
27025         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27026         to run tst-gettext.
27027         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27028         to run tst-gettext2.
27029         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27030         to run tst-translit.
27031         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27032         $(run-program-prefix) to tst-mtrace.sh.
27033         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27034         to run tst-mtrace.
27035         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27036         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27037         $(rtld-installed-name).
27038         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27039         (rtld_installed_name): Likewise.
27040         (run_program_prefix): New variable.  Use it to run wordexp-test.
27041
27042         * Makeconfig (ARCH): Remove all definitions.
27043         (machine): Likewise.
27044         [ARCH]: Remove conditional code.
27045         [!objdir]: Give error.
27046         [!objdir] (objpfx): Remove.
27047         [!objdir] (common-objpfx): Likewise.
27048         [!objdir] (common-objdir): Likewise.
27049         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27050         AC_CONFIG_FILES call.
27051         * configure: Regenerated.
27052
27053         [BZ #13888]
27054         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27055         or TMPDIR.
27056         (testout): Likewise.
27057
27058         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27059         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27060         $(rtld-installed-name).
27061         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27062         (rtld_installed_name): Likwise.
27063         (runit): Remove function.
27064         (run_getconf): New variable,  Use it for running getconf binary.
27065
27066 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27067
27068         [BZ #14716]
27069         * string/test-memmem.c (check_result): New function.
27070         (do_one_test): Use it.
27071         (check1): New function.
27072         (test_main): Use it.
27073
27074 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27075
27076         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27077
27078 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27079
27080         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27081         (_G_LSEEK64): Likewise.
27082         (_G_MMAP64): Likewise.
27083         (_G_FSTAT64): Likewise.
27084         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27085         (_G_LSEEK64): Likewise.
27086         (_G_MMAP64): Likewise.
27087         (_G_FSTAT64): Likewise.
27088         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27089         unconditional.  Call __mmap64 directly.
27090         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27091         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27092         __lseek64 directly.
27093         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27094         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27095         __mmap64 directly.
27096         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27097         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27098         __lseek64 directly.
27099         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27100         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27101         __lseek64 directly.
27102         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27103         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27104         __lseek64 directly.
27105         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27106         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27107         __fxstat64 directly.
27108         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27109         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27110         unconditional.
27111         (freopen64) [!_G_OPEN64]: Remove conditional code.
27112         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27113         unconditional.
27114         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27115         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27116         unconditional.
27117         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27118         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27119         unconditional.
27120         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27121         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27122         unconditional.
27123         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27124         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27125         unconditional.
27126         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27127         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27128         unconditional.
27129         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27130         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27131         unconditional.
27132         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27133
27134 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27135
27136         [BZ #12140]
27137         * manual/memory.texi (Malloc Tunable Parameters): Add note
27138         about free list pointers overwriting some perturb bytes.
27139         Wording suggested by Roland McGrath.
27140
27141 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27142
27143         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27144         (lgamma_test): Likewise.
27145         (tgamma_test): Likewise.
27146
27147 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27148
27149         [BZ #14700]
27150         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27151         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27152
27153 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27154
27155         * NEWS: Mention BZ #14716.
27156         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27157         when removing AVAILABLE1_USES_J macro.
27158
27159 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27160
27161         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27162         (__bswap_64): __uint64_t for unsigned 64-bit int.
27163
27164 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27165
27166         * include/string.h (memmem): Declare libc hidden alias.
27167         * string/memmem.c (memmem): Define libc hidden alias.
27168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27169         __read, __close instead of open, read, close.
27170
27171 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27172
27173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27174         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27175         global and hidden.
27176         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27177         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27178         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27179         Likewise.
27180         (__rawmemchr_sse2): Likewise.
27181         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27182         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27183         (__strchr_sse2): Likewise.
27184         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27185         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27186         (__strcasecmp_sse2): Likewise.
27187         (__strncasecmp_sse2): Likewise.
27188         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27189         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27190         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27191         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27192         (__strrchr_sse2): Likewise.
27193         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27194         ifunc-impl-list.c.
27195         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27196         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27197         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27198         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27199         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27200         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27201         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27202         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27203         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27204         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27205         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27206         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27207         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27208         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27209         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27210         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27211         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27212         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27213         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27214         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27215         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27216         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27217         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27218         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27219         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27220         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27221         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27222         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27223         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27224         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27225
27226         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27227         global and hidden.
27228         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27229         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27230         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27231         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27232         Likewise.
27233         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27234         Likewise.
27235         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27236         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27237         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27238         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27239         ifunc-impl-list.c.
27240         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27241         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27242         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27243         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27244         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27245         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27246         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27247         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27248         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27249         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27250         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27251         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27252         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27253         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27254         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27255         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27256         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27257         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27258         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27259         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27260         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27261         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27262         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27263         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27264         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27265         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27266         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27267         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27268         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27269         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27270         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27271         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27272         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27273         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27274         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27275         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27276         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27277         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27278         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27279         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27280         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27281
27282         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27283         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27284         * include/ifunc-impl-list.h: New file.
27285         * misc/ifunc-impl-list.c: Likewise.
27286         * misc/Makefile (routines): Add ifunc-impl-list.
27287         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27288         * string/test-string.h: Include <ifunc-impl-list.h>.
27289         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27290         TEST_NAME]: New variables.
27291         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27292         are defined.
27293         (test_init): Call __libc_ifunc_impl_list to initialize
27294         func_list if TEST_IFUNC and TEST_NAME are defined.
27295
27296         * string/Makefile (strop-tests): Add bcopy and bzero.
27297         * string/test-bcopy.c: New file.
27298         * string/test-bzero.c: Likewise.
27299         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27300         defined.
27301         * string/test-memset.c: Support bzero test if TEST_BZERO is
27302         defined.
27303         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27304         __libc_memmove.
27305         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27306         __libc_memset.
27307         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27308         of memset.
27309
27310 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27311
27312         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27313         * configure: Regenerated.
27314
27315         * Makeconfig (+link-static-before-libc): Don't include
27316         $(link-static-libc).
27317
27318         * libio/libio.h (_IO_pos_t): Remove.
27319
27320 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27321
27322         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27323         McGrath.
27324
27325 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27326
27327         * crypt/crypt-entry.c: Include fips-private.h.
27328         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27329         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27330         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27331         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27332
27333 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27334
27335         * crypt/crypt-private.h: Include stdbool.h.
27336         (_ufc_setup_salt_r): Return bool.
27337         * crypt/crypt-entry.c: Include errno.h.
27338         (__crypt_r): Return NULL with EINVAL for bad salt.
27339         * crypt/crypt_util.c (bad_for_salt): New.
27340         (_ufc_setup_salt_r): Check that salt is long enough and within
27341         the specified alphabet.
27342         * crypt/badsalttest.c: New file.
27343         * crypt/Makefile (tests): Add it.
27344         ($(objpfx)badsalttest): New.
27345
27346 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27347
27348         * NEWS: Add entry for BZ #14602.
27349
27350 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27351
27352         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27353         type-generic.
27354         * math/libm-test.inc: Update comment listing what functions and
27355         macros are tested.
27356         (isgreater_test): New function.
27357         (isgreaterequal_test): Likewise.
27358         (isless_test): Likewise.
27359         (islessequal_test): Likewise.
27360         (islessgreater_test): Likewise.
27361         (isunordered_test): Likewise.
27362         (main): Call the new functions.
27363
27364 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27365
27366         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27367         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27368         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27369         * sysdeps/i386/configure: Regenerated.
27370         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27371         * sysdeps/mach/configure: Regenerated.
27372         * sysdeps/mach/hurd/configure: Regenerated.
27373         * sysdeps/powerpc/configure: Regenerated.
27374         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27375         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27376         * sysdeps/s390/s390-32/configure: Regenerated.
27377         * sysdeps/s390/s390-64/configure: Regenerated.
27378         * sysdeps/sh/configure: Regenerated.
27379         * sysdeps/sparc/configure: Regenerated.
27380         * sysdeps/unix/sysv/linux/configure: Regenerated.
27381         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27382         * sysdeps/x86_64/configure: Regenerated.
27383
27384         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27385         defined.  Don't check if MAP is NULL.
27386
27387 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27388
27389         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27390         (_G_stat64): Likewise.
27391         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27392         (_G_stat64): Likewise.
27393         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27394         instead of struct _G_stat64.
27395         * libio/fileops.c (mmap_remap_check): Likewise.
27396         (decide_maybe_mmap): Likewise.
27397         (_IO_new_file_seekoff): Likewise.
27398         (_IO_file_stat): Likewise.
27399         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27400         _G_off64_t.
27401         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27402         instead of struct _G_stat64.
27403         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27404
27405 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27406
27407         [BZ #14602]
27408         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27409         Replace with ...
27410         (CHECK_EOL): New macro.
27411         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27412         CHECK_EOL.
27413         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27414         Replace with CHECK_EOL.
27415         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27416         Replace with CHECK_EOL.
27417
27418 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27419
27420         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27421         type-generic.
27422         * math/libm-test.inc: Update comment listing what functions and
27423         macros are tested.
27424         (finite_test): New function.
27425         (isinf_test): Likewise.
27426         (isnan_test): Likewise.
27427         (fpclassify_test): Test subnormal input.
27428         (isfinite_test): Likewise.
27429         (isnormal_test): Likewise.
27430         (main): Call the new functions.
27431
27432 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27433
27434         [BZ #14660]
27435         * Makerules (%.dynsym): Force C locale when running
27436         $(OBJDUMP) --dynamic-syms.
27437
27438 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27439
27440         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27441         <stdint.h>.
27442
27443 2012-10-06  David S. Miller  <davem@davemloft.net>
27444
27445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27446         upper 32-bits of the length value in %o2 since we use branch-on-register
27447         tests which consider the entire 64-bit register.
27448
27449 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27450
27451         * string/test-strstr.c (check2): Add a test for page boundary.
27452
27453 2012-10-05  David S. Miller  <davem@davemloft.net>
27454
27455         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27456         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27457         file.
27458         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27459         sysdep_routines.
27460         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27461         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27462         and bzero when HWCAP_SPARC_CRYPTO is present.
27463
27464 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27465
27466         [BZ #14602]
27467         * string/test-strstr.c (check2): New function.
27468         (test_main): Call check2.
27469
27470         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27471         and bug-strchr1.
27472         * string/bug-strcasestr1.c (do_test): Moved to ...
27473         * string/test-strcasestr.c (check1): Here.  New function.
27474         (do_one_test): Break out result checking code into ...
27475         (check_result): This.  New function.
27476         (do_one_test): Call check_result.
27477         (test_main): Call check1.
27478         * string/bug-strchr1.c (do_test): Moved to ...
27479         * string/test-strchr.c (check1): Here.  New function.
27480         (do_one_test): Break out result checking code into ...
27481         (check_result): This.  New function.
27482         (do_one_test): Call check_result.
27483         (test_main): Call check1.
27484         * string/bug-strstr1.c (main): Moved to ...
27485         * string/test-strstr.c (check1): Here.  New function.
27486         (do_one_test): Break out result checking code into ...
27487         (check_result): This.  New function.
27488         (do_one_test): Call check_result.
27489         (test_main): Call check1.
27490         * string/bug-strcasestr1.c: Removed.
27491         * string/bug-strchr1.c: Likewise.
27492         * string/bug-strstr1.c: Likewise.
27493
27494         * elf/Makefile (dl-routines): Add hwcaps.
27495         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27496         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27497         (_dl_important_hwcaps): Moved to ...
27498         * elf/dl-hwcaps.c: Here.  New file.
27499         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27500
27501         [BZ #14557]
27502         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27503         if IS_IN_rtld isn't defined.
27504
27505         * elf/dl-support.c (_dl_sysinfo_map): New.
27506         Include "get-dynamic-info.h" and "setup-vdso.h".
27507         (_dl_non_dynamic_init): Call setup_vdso.
27508         * elf/dynamic-link.h: Don't include <assert.h>.
27509         (elf_get_dynamic_info): Moved to ...
27510         * elf/get-dynamic-info.h: Here.  New file.
27511         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27512         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27513         * elf/setup-vdso.h: Here.  New file.
27514         * elf/rtld.c: Include "setup-vdso.h".
27515         (dl_main): Call setup_vdso.
27516
27517 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27518
27519         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27520         creal in comment listing functions tested.  List finite, isinf,
27521         isnan, isless, islessequal, isgreater, isgreaterequal,
27522         islessgreater, isunordered, lgamma_r and pow10 as functions and
27523         macros not tested.  Mention which functions not tested are aliases
27524         for other functions.  Fix typo.  Note that signs of NaNs are not
27525         tested.
27526
27527         * scripts/config.guess: Update from config.git.
27528         * scripts/config.sub: Likewise.
27529
27530 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27531
27532         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27533         * misc/madvise.c (madvise): Renamed to __madvise.
27534         Make madvise a weak alias.
27535         * include/sys/mman.h: Declare __madvise.
27536         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27537         * sysdeps/unix/syscalls.list
27538         (madvise): Make __madvise the strong name, and madvise a weak alias.
27539         * sysdeps/unix/sysv/linux/syscalls.list
27540         (madvise, mmap): Remove redundant entries.
27541         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27542         * malloc/malloc.c (mtrim): Likewise.
27543         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27544
27545 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27546
27547         * sysdeps/mach/hurd/dl-cache.c: File removed.
27548         * config.h.in (USE_LDCONFIG): New #undef.
27549         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27550         * configure: Regenerated.
27551         * elf/Makefile (dl-routines): Add dl-cache only under
27552         [$(use-ldconfig) = yes].
27553         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27554         cache on [USE_LDCONFIG].
27555         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27556         [USE_LDCONFIG].
27557         * elf/rtld.c (dl_main): Likewise.
27558
27559 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27560
27561         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27562         _SC_LEVEL4_CACHE_LINESIZE.
27563
27564 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27565
27566         * sysdeps/unix/bsd/confstr.h: File removed.
27567
27568 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27569
27570         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27571         sys/sdt-config.h.
27572
27573 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27574
27575         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27576         Make 'mapoff' field ElfW(Off) rather than off_t.
27577
27578 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27579
27580         * nscd/Makefile: Remove nscd-cflags and all its users.
27581         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27582         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27583
27584         [BZ #10631]
27585         * malloc.c (malloc_printerr): Clarify error message.
27586
27587 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27588
27589         [BZ #14648]
27590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27591         Set bit_FMA_Usable if FMA is supported.
27592         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27593         macro.
27594         (bit_FMA4_Usable): Updated.
27595         (index_FMA_Usable): New macro.
27596         (CPUID_FMA): Likewise
27597         (HAS_FMA): Defined with bit_FMA_Usable.
27598
27599 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27600
27601         * bits/types.h (__swblk_t): Type removed.
27602         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27603         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27605         (__SWBLK_T_TYPE): Likewise.
27606         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27607         (__SWBLK_T_TYPE): Likewise.
27608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27609         (__SWBLK_T_TYPE): Likewise.
27610         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27611         (__SWBLK_T_TYPE): Likewise.
27612
27613 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27614             Honza Horak <hhorak@redhat.com>
27615
27616         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27617         (xdr_mapname): Use YPMAXMAP as maxsize.
27618         (xdr_peername): Use YPMAXPEER as maxsize.
27619         (xdr_keydat): Use YPAXRECORD as maxsize.
27620         (xdr_valdat): Use YPMAXRECORD as maxsize.
27621
27622 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27623
27624         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27625
27626         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27627         * csu/init-first.c: ... here.
27628         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27629         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27630         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27631         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27632         * sysdeps/i386/init-first.c: File removed.
27633         * sysdeps/sh/init-first.c: File removed.
27634
27635 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27636
27637         [BZ #14645]
27638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27639         if x * y might underflow to zero and z is zero.
27640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27642         * math/libm-test.inc (min_subnorm_value): New variable.
27643         (fma_test): Add more tests.
27644         (fma_test_towardzero): Likewise.
27645         (fma_test_downward): Likewise
27646         (fma_test_upward): Likewise.
27647         (initialize): Set min_subnorm_value.
27648
27649 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27650
27651         [BZ #14638]
27652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27653         0 + 0.
27654         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27655         mode for addition resulting in exact zero.
27656         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27658         exact 0 + 0.
27659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27661         * math/libm-test.inc (fma_test): Add more tests.
27662         (fma_test_towardzero): New function.
27663         (fma_test_downward): Likewise.
27664         (fma_test_upward): Likewise.
27665         (main): Call the new functions.
27666
27667 2012-09-28  David S. Miller  <davem@davemloft.net>
27668
27669         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27670
27671 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27672
27673         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27674         instead of SIGALRM.
27675
27676         * sysdeps/gnu/_G_config.h: Moved to ...
27677         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27678         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27679         * sysdeps/generic/_G_config.h: ... here.
27680
27681         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27682
27683         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27684
27685         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27686         Conditionalize target on [libnss_test1.so-version].
27687
27688         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27689
27690         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27691         (elfobjdir): Move out of conditionals.
27692
27693         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27694         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27695         (__nss_lookup_function): Conditionalize label remove_from_tree on
27696         [!DO_STATIC_NSS || SHARED], matching its only use.
27697
27698 2012-09-28  David S. Miller  <davem@davemloft.net>
27699
27700         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27701         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27702         file.
27703         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27704         sysdep_routines.
27705         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27707         when HWCAP_SPARC_CRYPTO is present.
27708
27709 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27710
27711         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27712
27713 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27714
27715         [BZ #6530]
27716         * stdio-common/vfprintf.c (process_string_arg): Revert
27717         2000-07-22 change.
27718
27719 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27720
27721         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27722         for testcase.
27723         * stdio-common/tst-sprintf.c: Include <locale.h>
27724         (main): Test sprintf's handling of incomplete multibyte
27725         characters.
27726
27727 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27728
27729         * elf/dl-runtime.c (VERSYMIDX): Removed.
27730         * elf/dl-version.c (VERSYMIDX): Likewise.
27731         * elf/do-rel.h (VERSYMIDX): Likewise.
27732         (VALIDX): Likewise.
27733         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27734         * elf/rtld.c (VALIDX): Likewise.
27735         (ADDRIDX): Likewise.
27736         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27737         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27738         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27739         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27740         (VALIDX): Likewise.
27741         (ADDRIDX): Likewise.
27742
27743 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27744
27745         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27746
27747 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27748
27749         [BZ #11438]
27750         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27751         to global scope.
27752         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27753         addresses are in the same scope as 192.0.2/24.
27754         * posix/gai.conf: Document new scope table defaults.
27755
27756 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27757
27758         [BZ #5298]
27759         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27760         for ftell.  Compute offsets from write pointers instead.
27761         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27762
27763 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27764
27765         [BZ #14543]
27766         * libio/Makefile (tests): New test case tst-fseek.
27767         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27768         combination works in wide mode.
27769         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27770         state when the external buffer state changes.
27771
27772 2012-09-27  David S. Miller  <davem@davemloft.net>
27773
27774         [BZ #14376]
27775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27776         pass reloc->r_addend in as the 'high' argument to
27777         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27778
27779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27780
27781 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27782
27783         * rt/tst-aio2.c: Include <pthread.h>.
27784         * rt/tst-aio3.c: Likewise.
27785
27786 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27787
27788         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27789
27790 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27791
27792         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27793         contents on [SHARED].
27794
27795 2012-09-26  Marek Polacek  <polacek@redhat.com>
27796
27797         [BZ #14530]
27798         [BZ #13741]
27799         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27800         for C++ and GCC <4.3 as well as for non GCC compilers.
27801
27802 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27803
27804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27805
27806 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27807
27808         * Makefile.in (all, install): Declare with .PHONY.
27809         Reported by Michael Hope <michael.hope@linaro.org>.
27810
27811 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27812
27813         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27814         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27815         system header.
27816         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27817         Likewise.
27818         (sydep_routines): Add the new and the internal functions.
27819         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27820         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27822         (GLIBC_2.17): Add the new function.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27824         (GLIBC_2.17): Likewise.
27825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27826         (GLIBC_2.17): Likewise.
27827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27828         (GLIBC_2.17): Likewise.
27829         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27830
27831 2012-09-25  Alan Modra  <amodra@gmail.com>
27832
27833         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27834         Add release barrier before setting once_control to say
27835         initialisation is done.  Add hints on lwarx.  Use macro in
27836         place of isync.
27837         (clear_once_control): Add release barrier.
27838
27839 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27840
27841         [BZ #13629]
27842         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27843         specially.
27844         * math/s_clog10.c (__clog10): Likewise.
27845         * math/s_clog10f.c (__clog10f): Likewise.
27846         * math/s_clog10l.c (__clog10l): Likewise.
27847         * math/s_clogf.c (__clogf): Likewise.
27848         * math/s_clogl.c (__clogl): Likewise.
27849         * math/Makefile (libm-calls): Add x2y2m1.
27850         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27851         (__x2y2m1): Likewise.
27852         (__x2y2m1l): Likewise.
27853         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27854         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27855         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27856         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27857         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27858         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27859         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27860         * sysdeps/i386/fpu/libm-test-ulps: Update.
27861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27862
27863         [BZ #14621]
27864         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27865         int as type of variable DEPTH.
27866         (glob): Use size_t instead of int as type of variables NEWCOUNT
27867         and OLD_PATHC.
27868
27869 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27870
27871         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27872         Add s_sincosf-sse2.
27873         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27874         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27875         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27876         macros for using routine as __sincosf_ia32.
27877         Use macro for function declaration and weak_alias.
27878         * sysdeps/i386/fpu/libm-test-ulps: Update.
27879
27880         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27882
27883         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27884         subnormal argument.
27885         * math/s_cexpf.c (__cexpf): Likewise.
27886         * math/s_csinf.c (__csinf): Likewise.
27887         * math/s_csinhf.c (__csinhf): Likewise.
27888         * math/s_ctanf.c (__ctanf): Likewise.
27889         * math/s_ctanhf.c (__ctanhf): Likewise.
27890         * math/s_ccosh.c (__ccoshf): Likewise.
27891         * math/s_cexp.c (__cexpl): Likewise.
27892         * math/s_csin.c (__csin): Likewise.
27893         * math/s_csinh.c (__csinh): Likewise.
27894         * math/s_ctan.c (__ctan): Likewise.
27895         * math/s_ctanh.c (ctanh): Likewise.
27896         * math/s_ccoshl.c (__ccoshl): Likewise.
27897         * math/s_cexpl.c (__cexpl): Likewise.
27898         * math/s_csinl.c (__csinl): Likewise.
27899         * math/s_csinhl.c (__csinhl): Likewise.
27900         * math/s_ctanl.c (__ctanl): Likewise.
27901         * math/s_ctanhl.c (__ctanhl): Likewise.
27902
27903 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27904
27905         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27906         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27907         (_IO_off_t): Define to __off_t, not _G_off_t.
27908         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27909         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27910         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27911         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27912         type of __dummy and __dummy2 fields.
27913         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27914         (_G_ssize_t): Likewise.
27915         (_G_off_t): Likewise.
27916         (_G_pid_t): Likewise.
27917         (_G_uid_t): Likewise.
27918         (_G_wchar_t): Likewise.
27919         (_G_wint_t): Likewise.
27920         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27921         (_G_ssize_t): Likewise.
27922         (_G_off_t): Likewise.
27923         (_G_pid_t): Likewise.
27924         (_G_uid_t): Likewise.
27925         (_G_wchar_t): Likewise.
27926         (_G_wint_t): Likewise.
27927         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27928         (_G_ssize_t): Likewise.
27929         (_G_off_t): Likewise.
27930         (_G_pid_t): Likewise.
27931         (_G_uid_t): Likewise.
27932         (_G_wchar_t): Likewise.
27933         (_G_wint_t): Likewise.
27934
27935 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27936
27937         * malloc/arena.c: Include malloc-sysdep.h.
27938         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27939         is sufficient to shrink the heap or an unmap is needed.
27940         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27941         new function check_may_shrink_heap.
27942         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27943         new function check_may_shrink_heap.
27944
27945 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27946
27947         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27948         comments.
27949
27950 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27951
27952         * catgets/test-gencat.sh: Add "set -e".
27953         * elf/tst-pathopt.sh: Likewise.
27954         * grp/tst_fgetgrent.sh: Likewise.
27955         * iconvdata/run-iconv-test.sh: Likewise.
27956         * intl/tst-gettext.sh: Likewise.
27957         * intl/tst-gettext2.sh: Likewise.
27958         * intl/tst-gettext4.sh: Likewise.
27959         * intl/tst-gettext6.sh: Likewise.
27960         * intl/tst-translit.sh: Likewise.
27961         * io/ftwtest-sh: Likewise.
27962         * libio/test-freopen.sh: Likewise.
27963         * malloc/tst-mtrace.sh: Likewise.
27964         * posix/globtest.sh: Likewise.
27965         * posix/tst-getconf.sh: Likewise.
27966         * posix/wordexp-tst.sh: Likewise.
27967         * stdio-common/tst-printf.sh: Likewise.
27968         * stdio-common/tst-unbputc.sh: Likewise.
27969         * stdlib/tst-fmtmsg.sh: Likewise.
27970         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27971         * catgets/Makefile: Do not specify -e option when running
27972         testsuite shell scripts.
27973         * elf/Makefile: Likewise.
27974         * grp/Makefile: Likewise.
27975         * iconvdata/Makefile: Likewise.
27976         * intl/Makefile: Likewise.
27977         * io/Makefile: Likewise.
27978         * libio/Makefile: Likewise.
27979         * malloc/Makefile: Likewise.
27980         * posix/Makefile: Likewise.
27981         * stdio-common/Makefile: Likewise.
27982         * stdlib/Makefile: Likewise.
27983         * sysdeps/x86_64/Makefile: Likewise.
27984
27985         * io/ftwtest-sh: Add copyright header.
27986         * posix/globtest.sh: Likewise.
27987         * posix/tst-getconf.sh: Likewise.
27988         * posix/wordexp-tst.sh: Likewise.
27989         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27990
27991 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27992
27993         [BZ #13679]
27994         * Makeconfig (+link): Defined as $(+link-static) if
27995         $(build-shared) isn't yes.
27996         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27997         isn't yes.
27998         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27999
28000         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28001
28002         [BZ #14562]
28003         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28004         new chunk size with MALLOC_ALIGN_MASK.
28005
28006 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28007
28008         [BZ #5044]
28009         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28010         <rounding-mode.h>.
28011         (__printf_fphex): Determine rounding using get_rounding_mode and
28012         round_away.
28013         * stdio-common/tst-printf-round.c (struct hex_test): New
28014         structure.
28015         (hex_tests): New variable.
28016         (test_hex_in_one_mode): New function.
28017         (do_test): Also run tests for hex float output.
28018
28019 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28020
28021         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28022         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28023         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28024         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28025         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28026         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28027         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28028         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28029
28030 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28031
28032         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28033         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28034         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28035         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28036
28037 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28038
28039         [BZ #14579]
28040         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28041         mode only.
28042         * elf/tst-rtld-load-self.sh: New test.
28043         * elf/Makefile: Run it.
28044
28045 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28046
28047         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28048         (tst-writev-ENV): Remove.
28049         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28050
28051 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28052
28053         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28054
28055 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28056
28057         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28058         unconditional.
28059         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28060         Likewise.
28061         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28062         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28063         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28064         Likewise.
28065
28066 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28067
28068         [BZ #14587]
28069         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28070         * config.make.in (have-cpp-asm-debuginfo): Removed.
28071         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28072         * configure: Regenerated.
28073
28074 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28075
28076         [BZ #5044]
28077         * stdio-common/printf_fp.c: Include <stdbool.h> and
28078         <rounding-mode.h>.
28079         (___printf_fp): Determine rounding using get_rounding_mode and
28080         round_away.
28081         * stdio-common/tst-printf-round.c: New file.
28082         * stdio-common/Makefile (tests): Add tst-printf-round.
28083         (link-libm): New variable.
28084         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28085
28086 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28087
28088         [BZ #14576]
28089         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28090         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28091         Likewise.
28092         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28093         Likewise.
28094
28095 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28096
28097         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28098         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28099         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28100         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28101
28102 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28103
28104         [BZ #14518]
28105         * include/rounding-mode.h: New file.
28106         * sysdeps/generic/get-rounding-mode.h: Likewise.
28107         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28108         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28109         (MAX_VALUE): New macro.
28110         (MIN_VALUE): Likewise.
28111         (overflow_value): New function.
28112         (underflow_value): Likewise.
28113         (round_and_return): Use overflow_value and underflow_value to
28114         determine return values in overflow and underflow cases.  Use
28115         round_away to determine rounding depending on rounding mode.
28116         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28117         determine return values in overflow and underflow cases.
28118         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28119         (struct test_results): New structure.
28120         (struct test): Use struct test_results to store expected results
28121         for all rounding modes.
28122         (TEST): Include expected results for all rounding modes.
28123         (test_in_one_mode): New function.
28124         (do_test): Use test_in_one_mode to compute and check results.
28125         Check results for all rounding modes.
28126         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28127         $(link-libm).
28128
28129 2012-12-09  Allan McRae  <allan@archlinux.org>
28130
28131         * sysdeps/i386/fpu/libm-test-ulps: Update
28132
28133 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28134
28135         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28136         (_G_int32_t): Likewise.
28137         (_G_uint16_t): Likewise.
28138         (_G_uint32_t): Likewise.
28139         (_G_HAVE_BOOL): Likewise.
28140         (_G_HAVE_ATEXIT): Likewise.
28141         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28142         (_G_HAVE_IO_FILE_OPEN): Likewise.
28143         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28144         (_G_int32_t): Likewise.
28145         (_G_uint16_t): Likewise.
28146         (_G_uint32_t): Likewise.
28147         (_G_HAVE_BOOL): Likewise.
28148         (_G_HAVE_ATEXIT): Likewise.
28149         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28150         (_G_HAVE_IO_FILE_OPEN): Likewise.
28151         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28152         (_G_int32_t): Likewise.
28153         (_G_uint16_t): Likewise.
28154         (_G_uint32_t): Likewise.
28155         (_G_HAVE_BOOL): Likewise.
28156         (_G_HAVE_ATEXIT): Likewise.
28157         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28158         (_G_HAVE_IO_FILE_OPEN): Likewise.
28159
28160 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28161
28162         * csu/libc-tls.c: Update copyright years.
28163
28164 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28165
28166         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28167         [!_G_USING_THUNKS]: Remove conditional code.
28168         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28169         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28170
28171         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28172         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28173         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28174         (_G_VTABLE_LABEL_PREFIX): Likewise.
28175         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28176         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28177         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28178         (_G_VTABLE_LABEL_PREFIX): Likewise.
28179         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28180         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28181         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28182         (_G_VTABLE_LABEL_PREFIX): Likewise.
28183         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28184
28185 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28186
28187         * libio/Makefile: Include ../Makeconfig before tests.
28188         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28189         only if $(build-shared) is yes.
28190
28191         * iconv/gconv_db.c: Update copyright years.
28192
28193 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28194
28195         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28196         unwind info if defined PIC. Fix special cases description.
28197         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28198
28199         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28200         DP_HI_MASK entry.
28201         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28202
28203 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28204
28205         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28206
28207         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28208         is NULL.
28209
28210         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28211         (LDLIBS-tst-chk4): This.
28212         (LDFLAGS-tst-chk5): Renamed to ...
28213         (LDLIBS-tst-chk5): This.
28214         (LDFLAGS-tst-chk6): Renamed to ...
28215         (LDLIBS-tst-chk6): This.
28216         (LDFLAGS-tst-lfschk4): Renamed to ...
28217         (LDLIBS-tst-lfschk4): This.
28218         (LDFLAGS-tst-lfschk5): Renamed to ...
28219         (LDLIBS-tst-lfschk5): This.
28220         (LDFLAGS-tst-lfschk6): Renamed to ...
28221         (LDLIBS-tst-lfschk6): This.
28222
28223         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28224         on $(common-objpfx)soversions.mk.
28225
28226 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28227
28228         [BZ #10014]
28229         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28230         example host name.
28231
28232 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28233
28234         * malloc/arena.c (arena_get_retry): New function that gets
28235         another arena for the caller to try its request on.
28236         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28237         current arena cannot fulfill the request.
28238         (__libc_memalign): Likewise.
28239         (__libc_memalign): Likewise.
28240         (__libc_pvalloc): Likewise.
28241         (__libc_calloc): Likewise.
28242
28243 2012-09-05  John Tobey  <john.tobey@gmail.com>
28244
28245         [BZ #13542]
28246         * manual/arith.texi (Operations on Complex): Fix description
28247         of carg branch cut.
28248
28249 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28250
28251         [BZ #10014]
28252         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28253         host name.
28254
28255         [BZ #10038]
28256         * manual/memory.texi (Memory): Make order of menu items match
28257         order of sections.
28258
28259 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28260
28261         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28262         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28263         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28264
28265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28266
28267         * csu/libc-tls.c (static_dtv): Renamed to ...
28268         (_dl_static_dtv): This.  Make it global.
28269         (_dl_initial_dtv): Removed.
28270         (__libc_setup_tls): Updated.
28271         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28272         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28273         DL_INITIAL_DTV.
28274
28275 2012-09-06  Petr Machata  <pmachata@redhat.com>
28276
28277         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28278         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28279         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28280         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28281
28282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28283
28284         [BZ #14545]
28285         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28286         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28287         freeing dtv[-1].
28288
28289 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28290
28291         [BZ #14544]
28292         * Makeconfig (link-static-before-libc): Replace $(+prector)
28293         with $(+prectorT).
28294         (link-static-after-libc): Replace $(+postctor) with
28295         $(+postctorT).
28296         (link-bounded): Replace $(+prector)/$(+postctor) with
28297         $(+prectorT)/$(+postctorT).
28298         (+prectorT): New macro.
28299         (+postctorT): Likewise.
28300
28301 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28302
28303         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28304         (round_str): Handle values above the maximum for IBM long double
28305         as inexact.
28306         * stdlib/tst-strtod-round.c (tests): Regenerated.
28307
28308 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28309
28310         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28311         assembler flag.
28312         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28313         zarch_nohighgprs around the zarch optimized routines.
28314         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28315         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28316         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28317         for zarch.
28318
28319 2012-09-05  David S. Miller  <davem@davemloft.net>
28320
28321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28322
28323         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28324         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28325         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28326         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28327         entries.
28328
28329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28330
28331         * malloc/arena.c: Fold copyright years.
28332         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28333
28334 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28335
28336         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28337
28338 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28339
28340         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28341
28342 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28343
28344         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28345         change internal state upon failure.
28346
28347 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28348
28349         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28350         * malloc/memusage.c (mmap): Likewise.
28351         (mmap64, mremap): Likewise.  Adjust name in comment.
28352
28353 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28354
28355         * libio/fileops.c: Fix typos in comments.
28356         * libio/oldfileops.c: Likewise.
28357         * libio/wfileops.c: Likewise.
28358
28359 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28360
28361         [BZ #1349]
28362         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28363         (tst-malloc-usable-ENV): Set environment for test case.
28364         * malloc/hooks.c (malloc_check_get_size): New function to get
28365         requested size.
28366         * malloc/malloc.c (musable): Use malloc_check_get_size.
28367         * malloc/tst-malloc-usable.c: New test case.
28368
28369 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28370
28371         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28372
28373 2012-09-05  Allan McRae  <allan@archlinux.org>
28374
28375         [BZ #13966]
28376         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28377         determine header location.
28378         * configure: Regenerated.
28379
28380 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28381
28382         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28383         float format.
28384         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28385         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28386         format.
28387         (test): Regenerate.
28388
28389 2012-09-04  David S. Miller  <davem@davemloft.net>
28390
28391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28393         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28394
28395 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28396
28397         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28398         failures.
28399
28400         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28401
28402 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28403
28404         [BZ #9914]
28405         * libio/iogetdelim.c: Include <limits.h>.
28406         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28407         + len + 1 would overflow.
28408
28409 2012-09-03  Andreas Jaeger  <aj@suse.de>
28410
28411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28412         * sysdeps/i386/fpu/libm-test-ulps: Update.
28413
28414 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28415
28416         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28417         Add s_sinf-sse2, s_conf-sse2.
28418
28419         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28420         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28421         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28422         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28423
28424         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28425         for using routine as __sinf_ia32.
28426         Use macro for function declaration and weak_alias.
28427         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28428         for using routine as __cosf_ia32.
28429         Use macro for function declaration and weak_alias.
28430
28431         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28432         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28433
28434         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28435         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28437
28438         * math/libm-test.inc (cos_test): Add more test cases.
28439         (sin_test): Likewise.
28440         (sincos_test): Likewise.
28441
28442 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28443
28444         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28445         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28446         hidden.
28447         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28448
28449 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28450
28451         [BZ #14538]
28452         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28453         first element of the GOT.
28454         (elf_machine_load_address): Return the difference between
28455         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28456
28457 2012-09-01  Allan McRae  <allan@archlinux.org>
28458
28459         [BZ #13412]
28460         * configure.in (AWK): Require gawk version 3.0 or later.
28461         * configure: Regenerated.
28462
28463 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28464
28465         * sysdeps/unix/sysv/linux/kernel-features.h
28466         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28467         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28468         [__NR_clock_getres]: Make code unconditional.
28469         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28470         (clock_getcpuclockid): Remove code left unreachable by removal of
28471         conditionals.
28472         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28473         code unconditional.
28474         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28475         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28476         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28477         Make code unconditional.
28478         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28479         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28480         * sysdeps/unix/sysv/linux/clock_settime.c
28481         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28482         conditional code.
28483         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28484         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28485
28486 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28487
28488         [BZ #14476]
28489         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28490         scripts/test-installation.pl.
28491
28492         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28493         and $ld_so_version if it is set.
28494
28495 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28496
28497         [BZ #14516]
28498         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28499         failure if reading from procfs failed.
28500         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28501
28502 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28503
28504         * sysdeps/unix/sysv/linux/kernel-features.h
28505         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28506         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28507         Remove conditional code.
28508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28509         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28510         Remove conditional code.
28511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28512         * sysdeps/unix/sysv/linux/i386/fxstat.c
28513         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28515         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28516         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28518         * sysdeps/unix/sysv/linux/i386/lxstat.c
28519         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28521         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28522         Remove conditional code.
28523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28524         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28525         Remove conditional code.
28526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28527         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28528         <kernel-features.h>.
28529         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28530         Remove.
28531         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28532         Remove conditional code.
28533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28534         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28535         Remove conditional.
28536
28537 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28538
28539         [BZ #5400]
28540         * NEWS: Add fixed bug number.
28541
28542 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28543
28544         [BZ #14519]
28545         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28546         underflowing exponent in case of negative sign.
28547         * stdlib/tst-strtod-round-data: Add more tests.
28548         * stdlib/tst-strtod-round.c (tests): Regenerated.
28549
28550         [BZ #3479]
28551         * stdlib/strtod_l.c (NDIG): Remove.
28552         (HEXNDIG): Likewise.
28553         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28554         smallest representable value.
28555         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28556         lie within an exact representation of 1/2 ulp of the result.
28557         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28558         unconditionally.
28559         (TENS_P9_IDX): Define unconditionally.
28560         (TENS_P9_SIZE): Likewise.
28561         (TENS_P10_IDX): Likewise.
28562         (TENS_P10_SIZE): Likewise.
28563         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28564         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28565         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28566         entries for 10^2^13 and 10^2^14.
28567         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28568         (TENS_P13_IDX): Define.
28569         (TENS_P13_SIZE): Likewise.
28570         (TENS_P14_IDX): Likewise.
28571         (TENS_P14_SIZE): Likewise.
28572         (_fpioconst_pow10): Change array size to
28573         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28574         unconditional.
28575         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28576         1024]: Add entries for 10^2^13 and 10^2^14.
28577         [LAST_POW10 > _LAST_POW10]: Remove #error.
28578         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28579         (_fpioconst_pow10): Change array size to
28580         FPIOCONST_POW10_ARRAY_SIZE.
28581         * stdlib/gen-fpioconst.c: New file.
28582         * stdlib/gen-tst-strtod-round.c: Likewise.
28583         * stdlib/tst-strtod-round-data: Likewise.
28584         * stdlib/tst-strtod-round.c: Likewise.
28585         * stdlib/Makefile (tests): Add tst-strtod-round.
28586
28587         [BZ #14459]
28588         * stdlib/strtod_l.c: Include <stdint.h>.
28589         (NDEBUG): Do not define.
28590         (round_and_return): Change EXPONENT parameter to type intmax_t.
28591         Rearrange calculations to avoid internal overflow possibilities.
28592         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28593         Rearrange calculations to avoid internal overflow possibilities.
28594         Assert that number fits inside MPNSIZE limbs.
28595         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28596         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28597         calculations and add assertions to avoid internal overflow
28598         possibilities.  Add casts to avoid signed/unsigned operations.
28599         * stdlib/tst-strtod-overflow.c: New file.
28600         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28601
28602 2012-08-25  Marek Polacek  <polacek@redhat.com>
28603
28604         * time/time.h: Fix some typos in comments.
28605
28606 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28607
28608         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28609         * posix/tst-rfc3484-2.c: Likewise.
28610         * posix/tst-rfc3484-3.c: Likewise.
28611
28612 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28613
28614         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28615         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28616
28617 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28618
28619         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28620         #include of fxstatat64.c.
28621
28622 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28623
28624         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28625         * shadow/getspent_r.c: Likewise.
28626         * shadow/getspnam.c: Likewise.
28627         * shadow/getspnam_r.c: Likewise.
28628         * gshadow/getsgent.c: Likewise.
28629         * gshadow/getsgent_r.c: Likewise.
28630         * gshadow/getsgnam.c: Likewise.
28631         * gshadow/getsgnam_r.c: Likewise.
28632         * inet/getnetbyad.c: Likewise.
28633         * inet/getnetbyad_r.c: Likewise.
28634         * inet/getnetbynm.c: Likewise.
28635         * inet/getnetbynm_r.c: Likewise.
28636         * inet/getnetent.c: Likewise.
28637         * inet/getnetent_r.c: Likewise.
28638         * inet/getproto.c: Likewise.
28639         * inet/getproto_r.c: Likewise.
28640         * inet/getprtent.c: Likewise.
28641         * inet/getprtent_r.c: Likewise.
28642         * inet/getprtname.c: Likewise.
28643         * inet/getprtname_r.c: Likewise.
28644         * inet/getrpcbyname.c: Likewise.
28645         * inet/getrpcbyname_r.c: Likewise.
28646         * inet/getrpcbynumber.c: Likewise.
28647         * inet/getrpcbynumber_r.c: Likewise.
28648         * inet/getrpcent.c: Likewise.
28649         * inet/getrpcent_r.c: Likewise.
28650         * inet/getaliasent.c: Likewise.
28651         * inet/getaliasent_r.c: Likewise.
28652         * inet/getaliasname.c: Likewise.
28653         * inet/getaliasname_r.c: Likewise.
28654         * nscd/getgrgid_r.c: Likewise.
28655         * nscd/getgrnam_r.c: Likewise.
28656         * nscd/gethstbyad_r.c: Likewise.
28657         * nscd/gethstbynm3_r.c: Likewise.
28658         * nscd/getpwnam_r.c: Likewise.
28659         * nscd/getpwuid_r.c: Likewise.
28660         * nscd/getsrvbynm_r.c: Likewise.
28661         * nscd/getsrvbypt_r.c: Likewise.
28662         * nscd/gai.c: Likewise.
28663
28664         * configure.in (build_nscd): New substituted variable, set
28665         by --disable-build-nscd and defaults to $use_nscd.
28666         * configure: Regenerated.
28667         * config.make.in (build-nscd): New substituted variable.
28668         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28669         Change conditional to require [$(build-nscd) = yes] as well.
28670         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28671
28672         [BZ# 13696]
28673         * configure.in (use_nscd): New substituted variable, set by
28674         --disable-nscd.  If enabled, define USE_NSCD.
28675         * configure: Regenerated.
28676         * config.h.in: Add USE_NSCD.
28677         * config.make.in (use-nscd): New substituted variable.
28678         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28679         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28680         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28681         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28682         (CFLAGS-getgrnam_r.c): Likewise.
28683         (CFLAGS-initgroups.c): Likewise.
28684         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28685         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28686         Variables removed.
28687         * inet/getnetgrent_r.c
28688         (nscd_setnetgrent): New function, broken out of ...
28689         (setnetgrent): ... here.  Call it.
28690         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28691         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28692         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28693         * nscd/Makefile (routines, aux): Move definitions after include of
28694         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28695         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28696         Conditionalize on [USE_NSCD].
28697         (is_nscd, nscd_init_cb): Likewise.
28698         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28699         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28700         * nss/nss_db/db-init.c: Likewise.
28701         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28702         [USE_NSCD].
28703         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28704         (make_request): Use it.
28705         (cache_valid_p): New function.
28706         (__check_pf): Use it.
28707         * NEWS: Add item for --disable-nscd.
28708
28709 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28710
28711         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28712         to support sed >= 4.2.1-20-ga9bf076.
28713         * configure: Regenerated.
28714
28715 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28716
28717         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28718         Conditionalize whole body on [IREL].
28719
28720 2012-08-22  Jeff Law <law@redhat.com>
28721
28722         [BZ #14505]
28723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28724         if the family is PF_UNSPEC.
28725
28726 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28727
28728         * Makerules (lib-version): Rename from V.
28729         (install-lib-nosubdir): Change V to lib-version.
28730
28731 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28732
28733         [BZ #14252]
28734         * powerpc32/power6/wcschr.c: New file.
28735         * powerpc32/power6/wcscpy.c: New file.
28736         * powerpc32/power6/wcsrchr.c: New file.
28737         * powerpc64/power6/wcschr.c: New file.
28738         * powerpc64/power6/wcscpy.c: New file.
28739         * powerpc64/power6/wcsrchr.c: New file.
28740
28741 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28742
28743         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28744         (two_way_short_needle): Use it.
28745         * string/strstr.c (AVAILABLE1_USES_J): Define.
28746         * string/strcasestr.c: Likewise.
28747
28748         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28749         array references.
28750         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28751
28752         [BZ #11607]
28753         * NEWS: Add an entry.
28754         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28755         define their defaults.
28756         (two_way_short_needle): Detect end-of-string on-the-fly.
28757         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28758         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28759         * string/bug-strcasestr1.c: New test.
28760         * string/Makefile: Run it.
28761
28762 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28763
28764         [BZ #11607]
28765         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28766         the first character.
28767
28768 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28769
28770         * csu/elf-init.c (__libc_csu_irel): Function removed.
28771         * csu/libc-start.c (apply_irel): New function.
28772         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28773
28774 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28775
28776         * sysdeps/unix/sysv/linux/kernel-features.h
28777         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28778         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28779         <kernel-features.h>.
28780         [__NR_fadvise64_64]: Make code unconditional.
28781         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28782         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28783         !__NR_fadvise64_64)]: Likewise.
28784         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28785         !__NR_fadvise64_64))]: Likewise.
28786         [__NR_fadvise64]: Make code unconditional.
28787         [!__NR_fadvise64]: Remove conditional code.
28788         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28789         <kernel-features.h>.
28790         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28791         unconditional.
28792         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28793         conditional code.
28794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28795         not include <kernel-features.h>.
28796         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28797         unconditional.
28798         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28799         conditional code.
28800         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28801         include <kernel-features.h>.
28802         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28803         unconditional.
28804         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28805         conditional code.
28806
28807 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28808
28809         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28810         slight instruction rearrangements per scrollpipe analysis.
28811         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28812
28813 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28814
28815         * manual/syslog.texi (syslog; vsyslog, closelog):
28816         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28817         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28818
28819         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28820         DSOCAPS to match condition on defining it.
28821
28822 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28823
28824         * sysdeps/unix/sysv/linux/kernel-features.h
28825         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28827         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28828         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28830         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28831         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28833         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28834         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28835
28836         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28837         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28838
28839         * sysdeps/unix/sysv/linux/kernel-features.h
28840         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28841         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28842         unconditional.
28843         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28844         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28845         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28846         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28847         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28848         Make code unconditional.
28849         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28850         (__mmap64) [!__NR_mmap2]: Likewise.
28851         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28852         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28853         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28854         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28855         [__NR_mmap2]: Make code unconditional.
28856         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28857         (__mmap64) [!__NR_mmap2]: Likewise.
28858
28859 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28860
28861         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28862
28863 2012-08-18  Andreas Jaeger  <aj@suse.de>
28864
28865         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28866
28867 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28868
28869         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28870         * include/unistd.h (__have_sock_cloexec): Likewise.
28871         (__have_pipe2): Likewise.
28872         (__have_dup3): Likewise.
28873
28874 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28875
28876         [BZ #9685]
28877         * include/unistd.h (__have_pipe2): Change define into an extern int.
28878         (__have_dup3): Likewise.
28879         * socket/have_sock_cloexec.c: Include fcntl.h.
28880         (__have_pipe2): New variable.
28881         (__have_dup3): Likewise.
28882
28883 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28884
28885         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28886
28887 2012-08-17  Marek Polacek  <polacek@redhat.com>
28888
28889         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28890         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28891
28892 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28893
28894         * configure.in: Add AC_SUBST for sysheaders.
28895         * configure: Regenerated.
28896         * config.make.in (sysheaders): New substituted variable.
28897
28898         * sysdeps/unix/mkfifo.c: Moved ...
28899         * sysdeps/posix/mkfifo.c: ... here.
28900         * sysdeps/unix/mkfifoat.c: Moved ...
28901         * sysdeps/posix/mkfifoat.c: ... here.
28902
28903         * sysdeps/unix/utime.c: Moved ...
28904         * sysdeps/posix/utime.c: ... here.
28905
28906         * sysdeps/unix/time.c: Moved ...
28907         * sysdeps/posix/time.c: ... here.
28908         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28909         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28910
28911         * sysdeps/unix/nice.c: Moved ...
28912         * sysdeps/posix/nice.c: ... here.
28913
28914         * sysdeps/unix/alarm.c: Moved ...
28915         * sysdeps/posix/alarm.c: ... here.
28916
28917         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28918
28919 2012-08-17  Jeff Law <law@redhat.com>
28920
28921         * intl/Makefile (codeset_mo): New variable.
28922         ($(codeset_mo)): New target.
28923         (tst-codeset.out): Depend on that.  Remove explicit rule.
28924         (tst-gettext3.out, tst-gettext5.out): Likewise.
28925         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28926         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28927         * intl/tst-codeset.sh: Remove.
28928         * intl/tst-gettext3.sh: Likewise.
28929         * intl/tst-gettext5.sh: Likewise.
28930
28931 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28932
28933         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28934         * sysdeps/unix/syscalls.list: ... here.
28935
28936         * sysdeps/posix/getaddrinfo.c
28937         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28938         (gaiconf_init, gaiconf_reload): Use them.
28939         [!_STATBUF_ST_NSEC]
28940         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28941         Define using time_t rather than struct timespec.
28942
28943         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28944         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28945         Macros removed.
28946         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28947         [!NO_THREADS].
28948         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28949         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28950         Likewise.
28951
28952         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28953         __libc_cleanup_push argument.
28954
28955         * bits/param.h: New file.
28956         * misc/sys/param.h: New file.
28957         * include/sys/param.h: New file.
28958         * misc/Makefile (headers): Add bits/param.h.
28959         * sysdeps/generic/sys/param.h: File removed.
28960         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28961         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28962         * sysdeps/mach/hurd/bits/param.h: New file.
28963         * sysdeps/mach/hurd/sys/param.h: File removed.
28964
28965         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28966         last change.
28967
28968         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28969         [_IO_MTSAFE_IO].
28970         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28971         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28972         New macros.
28973
28974         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28975         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28976         rather than -D_IO_MTSAFE_IO conditionally.
28977         * stdio-common/Makefile (CPPFLAGS): Likewise.
28978         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28979         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28980         Use $(libio-mtsafe).
28981         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28982         of -D_IO_MTSAFE_IO.
28983         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28984         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28985         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28986         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28987         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28988         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28989         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28990         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28991         (CFLAGS-fread_u_chk.c): Likewise.
28992         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28993         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28994         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28995         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28996         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28997         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28998         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28999         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29000         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29001
29002         * libio/Makefile: Test [$(libc-reentrant) = yes]
29003         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29004
29005         * Makeconfig
29006         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29007         * sysdeps/pthread/configure: File removed.
29008         * sysdeps/pthread/Makeconfig: New file.
29009         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29010         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29011
29012 2012-08-16  Gary Benson  <gbenson@redhat.com>
29013
29014         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29015         unmapping the first object in a namespace.
29016
29017 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29018
29019         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29020         (__internal_setnetgrent): ... this.  Add internal_function to
29021         definition.  Add libc_hidden_def.
29022         (setnetgrent): Update caller.
29023         (internal_endnetgrent): Renamed to ...
29024         (__internal_endnetgrent): ... this.  Add internal_function to
29025         definition.  Add libc_hidden_def.
29026         (endnetgrent): Update caller.
29027         (internal_getnetgrent_r): Renamed to ...
29028         (__internal_getnetgrent_r): ... this.  Add internal_function to
29029         definition.  Add libc_hidden_def.
29030         (__getnetgrent_r): Update caller.
29031         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29032
29033 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29034
29035         * stdlib/longlong.h: Update from GCC.
29036
29037 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29038
29039         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29040         on _QL, which is set by umul_ppmm but never used.
29041         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29042         variables, which are set by GMP macros but never used.
29043         * stdio-common/_itowa.c (_itowa): Likewise.
29044         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29045         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29046
29047 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29048
29049         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29050         struct La_sh_regs is not constant.
29051         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29052         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29053         and struct La_sparc64_regs are not constant.
29054
29055 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29056
29057         * sysdeps/unix/sysv/linux/kernel-features.h
29058         (__ASSUME_POSIX_TIMERS): Remove.
29059         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29061         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29062         Make code unconditional.
29063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29064         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29065         Make code unconditional.
29066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29067         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29068         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29070         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29071         Make code unconditional.
29072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29073         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29074         (__libc_missing_posix_timers): Remove.
29075
29076 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29077
29078         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29079         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29080
29081         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29082
29083         * elf/dl-sym.c: Include <stdlib.h>.
29084
29085         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29086         constants, which avoids warnings in 32-bit builds.
29087
29088         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29089         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29090
29091         * misc/lseek.c: File moved to ...
29092         * io/lseek.c: ... here.
29093
29094         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29095
29096         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29097         shifting LEN more than 31 bits at once.
29098
29099 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29100
29101         [BZ #14195]
29102         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29103         segmentation fault for a case of two empty input strings.
29104         * string/test-strncasecmp.c (check1): Renamed to...
29105         (bz12205): ...this.
29106         (bz14195): Add new testcase for two empty input strings and N > 0.
29107         (test_main): Call new testcase, adapt for renamed function.
29108
29109 2012-08-15  Andreas Jaeger  <aj@suse.de>
29110
29111         [BZ #14090]
29112         * crypt/md5test2.c: New test, based on test supplied by Serge
29113         Belyshev <belyshev@depni.sinp.msu.ru>.
29114         * crypt/Makefile (xtests): Add md5test-giant..
29115         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29116
29117 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29118
29119         [BZ #14090]
29120         * crypt/md5.c (md5_process_block): Don't assume the buffer
29121         length is less than 2**32.
29122         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29123         length is less than 2**64.
29124
29125 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29126
29127         * string/str-two-way.h: Include <sys/param.h>.
29128         (MAX): Macro removed.
29129
29130         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29131         Move #define and #undef of memmove to just before and after
29132         including <string.h>.
29133
29134         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29135         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29136         and after including <string.h>.  Move declarations of
29137         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29138         to before #include "string/memmove.c".
29139
29140         * include/dirent.h: Declare __getdirentries.
29141
29142         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29143         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29144
29145 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29146
29147         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29148         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29149         * sysdeps/i386/configure: Regenerated.
29150         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29151         STABS_CURRENT_FILE, and STABS_FUN.
29152         (END): Remove call to STABS_FUN_END.
29153         (STABS_CURRENT_FILE1): Delete.
29154         (STABS_CURRENT_FILE): Likewise.
29155         (STABS_FUN): Likewise.
29156         (STABS_FUN_END): Likewise.
29157         (STABS_FUN2): Likewise.
29158         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29159         * sysdeps/x86_64/configure: Regenerated.
29160
29161 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29162
29163         * elf/dl-open.c: Include <atomic.h>.
29164         * elf/dl-lookup.c: Likewise.
29165
29166 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29167
29168         * sysdeps/unix/sysv/linux/kernel-features.h
29169         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29170         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29171         unconditionally.
29172         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29173         unconditionally.
29174         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29175         condition on __ASSUME_CLONE_THREAD_FLAGS.
29176
29177 2012-08-14  Andreas Jaeger  <aj@suse.de>
29178
29179         * sysdeps/i386/fpu/libm-test-ulps: Update.
29180
29181 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29182
29183         * include/atomic.h (atomic_exchange_and_add): Split into ...
29184         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29185         New atomic macros.
29186
29187 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29188
29189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29190
29191 2012-08-13  Jeff Law <law@redhat.com>
29192
29193         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29194         null byte in the output string.
29195
29196 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29197
29198         * sysdeps/unix/sysv/linux/kernel-features.h
29199         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29200         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29201         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29202         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29203         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29204         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29205         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29206
29207 2012-08-09  Jeff Law <law@redhat.com>
29208
29209         [BZ #13939]
29210         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29211         When avoid_arena is set, don't retry in the that arena.  Pick the
29212         next one, whatever it might be.
29213         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29214         (arena_lock): Pass in new parameter to arena_get2.
29215         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29216         arena_get2.
29217         (__libc_malloc): Unify retrying after main arena failure with
29218         __libc_memalign version.
29219         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29220
29221 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29222
29223         [BZ #14166]
29224         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29225         to __redirect_strstr.
29226         (__strstr_sse42): Use typeof __redirect_strstr.
29227         (__strstr_ia32): Likewise.
29228         (__libc_strstr): New prototype.
29229         (strstr): Renamed to ...
29230         (__libc_strstr): This.
29231         (strstr): New strong alias of __libc_strstr.
29232         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29233         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29234         __redirect_time.
29235         Include <time.h>.
29236         (__libc_time): New prototype.
29237         (time_ifunc): Replace time with __libc_time.
29238         (time): New strong alias and hidden definition of __libc_time.
29239         (__GI_time): Remove strong alias.
29240         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29241         Include <stddef.h>.
29242         (memmove): Redefined to __redirect_memmove.
29243         (__memmove_sse2): Use typeof __redirect_memmove.
29244         (__memmove_ssse3): Likewise.
29245         (__memmove_ssse3_back): Likewise.
29246         (__libc_memmove): New prototype.
29247         (memmove): Renamed to ...
29248         (__libc_memmove): This.
29249         (memmove): New strong alias of __libc_memmove.
29250
29251 2012-08-08  Mark Salter  <msalter@redhat.com>
29252
29253         * elf/elf.h
29254         (R_MN10300_TLS_GD): Define.
29255         (R_MN10300_TLS_LD): Likewise.
29256         (R_MN10300_TLS_LDO): Likewise.
29257         (R_MN10300_TLS_GOTIE): Likewise.
29258         (R_MN10300_TLS_IE): Likewise.
29259         (R_MN10300_TLS_LE): Likewise.
29260         (R_MN10300_TLS_DTPMOD): Likewise.
29261         (R_MN10300_TLS_DTPOFF): Likewise.
29262         (R_MN10300_TLS_TPOFF): Likewise.
29263         (R_MN10300_SYM_DIFF): Likewise.
29264         (R_MN10300_ALIGN): Likewise.
29265         (R_MN10300_NUM): Update.
29266
29267 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29268
29269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29270         Remove.
29271
29272 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29273
29274         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29275
29276         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29277         sysdeps/unix -> sysdeps/posix move.
29278         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29279
29280 2012-08-07      Allan McRae     <allan@archlinux.org>
29281
29282         [BZ #14303]
29283         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29284         (SUNOS_CPP): Likewise.
29285         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29286         not found.
29287         (open_input): Call CPP using execvp.
29288
29289 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29290
29291         * sysdeps/unix/sysv/linux/kernel-features.h
29292         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29293         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29294         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29295         (__ASSUME_WAITID_SYSCALL): Likewise.
29296         * sysdeps/unix/sysv/linux/dl-execstack.c
29297         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29298         code unconditional.
29299         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29300         conditional code.
29301         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29302         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29303         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29304         code.
29305         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29306         unconditional.
29307         [__ASSUME_WAITID_SYSCALL]: Likewise.
29308         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29309
29310 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29311
29312         * sysdeps/unix/closedir.c: Renamed to ...
29313         * sysdeps/posix/closedir.c: ... here.
29314         * sysdeps/unix/dirfd.c: Renamed to ...
29315         * sysdeps/posix/dirfd.c: ... here.
29316         * sysdeps/unix/dirstream.h: Renamed to ...
29317         * sysdeps/posix/dirstream.h: ... here.
29318         * sysdeps/unix/fdopendir.c: Renamed to ...
29319         * sysdeps/posix/fdopendir.c: ... here.
29320         * sysdeps/unix/opendir.c: Renamed to ...
29321         * sysdeps/posix/opendir.c: ... here.
29322         * sysdeps/unix/readdir.c: Renamed to ...
29323         * sysdeps/posix/readdir.c: ... here.
29324         * sysdeps/unix/readdir_r.c: Renamed to ...
29325         * sysdeps/posix/readdir_r.c: ... here.
29326         * sysdeps/unix/rewinddir.c: Renamed to ...
29327         * sysdeps/posix/rewinddir.c: ... here.
29328         * sysdeps/unix/seekdir.c: Renamed to ...
29329         * sysdeps/posix/seekdir.c: ... here.
29330         * sysdeps/unix/telldir.c: Renamed to ...
29331         * sysdeps/posix/telldir.c: ... here.
29332         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29333         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29334         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29335         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29336
29337         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29338         * bits/fcntl.h: ... here.
29339
29340         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29341         not 0.
29342         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29343         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29344         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29345         (struct flock): Move l_start, l_len to the beginning.
29346         Use __pid_t for l_pid.
29347         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29348         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29349         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29350         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29351         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29352         [__USE_LARGEFILE64] (struct flock64): New type.
29353         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29354
29355         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29356         * bits/dirent.h: ... here.
29357
29358         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29359         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29360
29361 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29362
29363         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29364         Change from 2.6.0 to 2.6.16.
29365         * sysdeps/unix/sysv/linux/configure: Regenerated.
29366         * sysdeps/unix/sysv/linux/kernel-features.h
29367         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29368         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29369         version.
29370         (__ASSUME_UTIMES): Likewise.
29371         (__ASSUME_CLONE_STOPPED): Remove.
29372         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29373         architectures, not kernel version.
29374         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29375         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29376         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29377         (__ASSUME_WAITID_SYSCALL): Likewise.
29378         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29379         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29380         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29381         refer to older versions.
29382
29383 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29384
29385         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29386         Define alphasort64 as an alias.
29387         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29388         Define versionsort64 as an alias.
29389         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29390         Define scandir64 as an alias.
29391         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29392         Define scandirat64 as an alias.
29393         * dirent/alphasort64.c (alphasort64):
29394         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29395         * dirent/versionsort64.c: Likewise.
29396         * dirent/scandir64.c: Likewise.
29397         * dirent/scandirat64.c: Likewise.
29398         * sysdeps/wordsize-64/alphasort.c: File removed.
29399         * sysdeps/wordsize-64/alphasort64.c: File removed.
29400         * sysdeps/wordsize-64/scandir.c: File removed.
29401         * sysdeps/wordsize-64/scandir64.c: File removed.
29402         * sysdeps/wordsize-64/scandirat.c: File removed.
29403         * sysdeps/wordsize-64/scandirat64.c: File removed.
29404         * sysdeps/wordsize-64/versionsort.c: File removed.
29405         * sysdeps/wordsize-64/versionsort64.c: File removed.
29406         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29407         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29408         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29409         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29410         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29411         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29412         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29413         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29414
29415         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29416         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29417         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29418         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29419         [defined __arch64__ || defined __sparcv9]
29420         (__INO_T_MATCHES_INO64_T): New macro.
29421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29422         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29423         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29424         * sysdeps/unix/sysv/linux/bits/dirent.h
29425         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29426         (_DIRENT_MATCHES_DIRENT64): New macro.
29427
29428         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29429         Define lockf64 as an alias.
29430         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29431         Define fseeko64 as an alias.
29432         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29433         Define ftello64 as an alias.
29434         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29435         Define _IO_fgetpos64 and fgetpos64 as aliases.
29436         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29437         Define _IO_fsetpos64 and fsetpos64 as aliases.
29438         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29439         Conditionalize body on this.
29440         * libio/fseeko64.c: Likewise.
29441         * libio/ftello64.c: Likewise.
29442         * libio/iofgetpos64.c: Likewise.
29443         * libio/iofsetpos64.c: Likewise.
29444         * sysdeps/wordsize-64/lockf.c: File removed.
29445         * sysdeps/wordsize-64/lockf64.c: File removed.
29446         * sysdeps/wordsize-64/fseeko.c: File removed.
29447         * sysdeps/wordsize-64/fseeko64.c: File removed.
29448         * sysdeps/wordsize-64/ftello.c: File removed.
29449         * sysdeps/wordsize-64/ftello64.c: File removed.
29450         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29451         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29452         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29453         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29454         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29455         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29456         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29457         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29458         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29459         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29460         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29461         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29462         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29463         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29464
29465         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29467         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29469         [defined __arch64__ || defined __sparcv9]
29470         (__OFF_T_MATCHES_OFF64_T): New macro.
29471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29472         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29474         (__OFF_T_MATCHES_OFF64_T): New macro.
29475
29476 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29477
29478         * stdlib/secure-getenv.c (__secure_getenv): Replace
29479         GLIBC_2_16 with GLIBC_2_17.
29480
29481 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29482
29483         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29484         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29485
29486 2012-08-03  David S. Miller  <davem@davemloft.net>
29487
29488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29489
29490 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29491
29492         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29493         Remove.
29494         (__ASSUME_CORRECT_SI_PID): Likewise.
29495         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29496         (__ASSUME_TMPFS_NAME): Likewise.
29497         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29498         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29499         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29500         (HAVE_AUX_SECURE): Make definition unconditional.
29501         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29502         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29503
29504 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29505
29506         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29507         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29508         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29509         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29510         __eloop_threshold instead of SYMLOOP_MAX.
29511
29512         * sysdeps/generic/eloop-threshold.h: New file.
29513         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29514         of MAXSYMLINKS.
29515         * elf/chroot_canon.c (chroot_canon): Likewise.
29516
29517 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29518
29519         [BZ #13717]
29520         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29521         Change to 2.6.0 everywhere.
29522         * sysdeps/unix/sysv/linux/configure: Regenerated.
29523         * sysdeps/unix/sysv/linux/kernel-features.h
29524         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29525         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29526         kernel versions.
29527         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29528         (__ASSUME_FUTEX_REQUEUE): Remove.
29529         (__ASSUME_STATFS64): Define unconditionally.
29530         (__ASSUME_AT_SECURE): Likewise.
29531         (__ASSUME_CORRECT_SI_PID): Likewise.
29532         (__ASSUME_TGKILL): Define without depending on kernel version for
29533         i386.
29534         (__ASSUME_UTIMES): Likewise.
29535         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29536         kernel version.
29537         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29538         (__ASSUME_TMPFS_NAME): Likewise.
29539         * README: Update reference to Linux kernel versions.
29540
29541 2012-08-02  Marek Polacek  <polacek@redhat.com>
29542
29543         [BZ# 14150]
29544         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29545         libc_cv_asm_type_prefix with %.
29546         * configure: Regenerated.
29547         * include/libc-symbols.h: Remove comment about
29548         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29549         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29550         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29551         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29552         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29553         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29554         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29555         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29556         * elf/tst-unique2mod1.c: Likewise.
29557         * elf/tst-unique1mod2.c: Likewise.
29558         * elf/tst-unique1mod1.c: Likewise.
29559         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29560         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29561         Replace ASM_TYPE_DIRECTIVE with .type.
29562         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29563         * sysdeps/i386/sysdep.h: Likewise.
29564         * sysdeps/x86_64/sysdep.h: Likewise.
29565         * sysdeps/sh/sysdep.h: Likewise.
29566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29567         Do not define ASM_TYPE_DIRECTIVE.
29568         * sysdeps/powerpc/sysdep.h: Likewise.
29569         * sysdeps/powerpc/powerpc32/sysdep.h:
29570         Replace ASM_TYPE_DIRECTIVE with .type.
29571         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29572         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29573         * sysdeps/i386/fpu/e_powf.S: Likewise.
29574         * sysdeps/i386/fpu/e_expl.S: Likewise.
29575         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29576         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29577         * sysdeps/i386/fpu/e_pow.S: Likewise.
29578         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29579         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29580         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29581         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29582         * sysdeps/i386/fpu/e_log2.S: Likewise.
29583         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29584         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29585         * sysdeps/i386/fpu/e_powl.S: Likewise.
29586         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29587         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29588         * sysdeps/i386/fpu/e_logl.S: Likewise.
29589         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29590         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29591         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29592         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29593         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29594         * sysdeps/i386/fpu/e_log.S: Likewise.
29595         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29596         * sysdeps/i386/fpu/e_logf.S: Likewise.
29597         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29598         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29599         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29600         * sysdeps/i386/fpu/e_log10.S: Likewise.
29601         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29602         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29603         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29604         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29605         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29606         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29607         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29608         * sysdeps/i386/i686/strtok.S: Likewise.
29609         * sysdeps/i386/i386-mcount.S: Likewise.
29610         * sysdeps/i386/strtok.S: Likewise.
29611         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29612         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29613         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29614         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29615         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29616         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29617         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29618         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29619         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29620         * sysdeps/x86_64/_mcount.S: Likewise.
29621         * sysdeps/x86_64/strtok.S: Likewise.
29622         * sysdeps/sh/_mcount.S: Likewise.
29623
29624 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29625
29626         * libio/iofopen.c: Include <fcntl.h>.
29627         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29628         (_IO_fopen64, fopen64): Define as aliases.
29629         * libio/iofopen64.c: Include <fcntl.h>.
29630         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29631         Conditionalize body on this.
29632         * sysdeps/wordsize-64/iofopen.c: File removed.
29633         * sysdeps/wordsize-64/iofopen64.c: File removed.
29634
29635 2012-08-01  Marek Polacek  <polacek@redhat.com>
29636
29637         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29638         Use dlfcn directly instead of a variable.
29639         (binfmt-subdir): Do not define.
29640         (dlfcn): Likewise.
29641
29642 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29643
29644         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29645         Remove all definitions.
29646         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29647         <kernel-features.h>.
29648         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29649         (miss_F_GETOWN_EX): Remove all definitions.
29650         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29651         macro definition.
29652         [!__ASSUME_FCNTL64]: Remove conditional code.
29653         [__ASSUME_FCNTL64]: Make code unconditional.
29654         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29655         <kernel-features.h>.
29656         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29657         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29658         (lockf64) [__NR_fcntl64]: Make code unconditional.
29659         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29660
29661         * sysdeps/unix/sysv/linux/kernel-features.h
29662         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29663         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29664         Make code unconditional.
29665         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29666         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29668         [__NR_vfork]: Make code unconditional.
29669         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29670         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29672         [__NR_vfork]: Make code unconditional.
29673         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29674         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29675
29676 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29677
29678         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29679         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29680
29681         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29682         Define mkstemp64 as an alias.
29683         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29684         Define mkstemps64 as an alias.
29685         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29686         Define mkostemp64 as an alias.
29687         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29688         Define mkostemps64 as an alias.
29689         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29690         Conditionalize body on this.
29691         * misc/mkostemp64.c: Likewise.
29692         * misc/mkostemps64.c: Likewise.
29693         * misc/mkstemps64.c: Likewise.
29694         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29695         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29696         * sysdeps/wordsize-64/mkostemp.c: File removed.
29697         * sysdeps/wordsize-64/mkstemp.c: File removed.
29698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29699         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29700         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29701         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29702
29703         [BZ #14138]
29704         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29705         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29706         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29707         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29708
29709         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29710         compat_symbol macros from <shlib-compat.h> rather than the underlying
29711         default_symbol_version and symbol_version macros, so that DEFAULT
29712         lines in shlib-versions are respected.
29713         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29714
29715 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29716
29717         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29718         Declare with warn_unused_result.
29719         (setgid, setregid, setegid, setresgid): Likewise.
29720         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29721         Likewise.
29722         * WUR-REPORT: Remove set*id functions.
29723
29724 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29725
29726         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29727
29728 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29729
29730         [BZ #10191]
29731         * include/sys/socket.h (__libc_accept, __libc_accept4):
29732         Add attribute_hidden.
29733         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29734
29735         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29736         use of PTR_MANGLE.
29737         * inet/getnetgrent_r.c (setup): Likewise.
29738
29739         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29740
29741 2012-07-31  David S. Miller  <davem@davemloft.net>
29742
29743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29744
29745 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29746
29747         [BZ #13629]
29748         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29749         value between 1.0 and 2.0 and smaller part has absolute value less
29750         than 1.0.
29751         * math/s_clog10.c (__clog10): Likewise.
29752         * math/s_clog10f.c (__clog10f): Likewise.
29753         * math/s_clog10l.c (__clog10l): Likewise.
29754         * math/s_clogf.c (__clogf): Likewise.
29755         * math/s_clogl.c (__clogl): Likewise.
29756         * math/libm-test.inc (clog_test): Add more tests.
29757         (clog10_test): Likewise.
29758         * sysdeps/i386/fpu/libm-test-ulps: Update.
29759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29760
29761 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29762
29763         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29764         Exit with zero in case no suitable GID is found, and write a
29765         message to standard error.
29766
29767 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29768
29769         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29770         rather than to 1.
29771         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29772         (MAXPATHLEN): Removed.
29773         (NOGROUP, NODEV): New macros.
29774         (setbit, clrbit, isset, isclr): New macros.
29775         (howmany, roundup, powerof2): New macros.
29776         (DEV_BSIZE): New macro.
29777
29778         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29779         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29780
29781         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29782         definition on [!__NO_LONG_DOUBLE_MATH].
29783
29784         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29785         PTR_MANGLE and PTR_DEMANGLE.
29786
29787         * socket/accept4.c (accept4): Rename to __libc_accept4.
29788         Define accept4 as a weak alias.
29789
29790         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29791         on [_DIRENT_HAVE_D_TYPE].
29792         * io/ftw.c (ftw_dir): Likewise.
29793
29794         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29795
29796         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29797
29798         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29799         Use the BSD numbers rather than the arbitrary ones we had.
29800         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29801         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29802         (SIGXCPU, SIGXFSZ): New macros.
29803         (_NSIG): Now 32.
29804
29805         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29806         initializer on [_LIBC_REENTRANT].
29807
29808         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29809         definitions inside [_POSIX_MAPPED_FILES].
29810
29811         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29812
29813         * dirent/opendir.c: Include <fcntl.h>.
29814
29815         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29816         (__libc_getspecific): Likewise.
29817         (__libc_key_create): Likewise.
29818
29819         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29820         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29821         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29822         (tmpfile64): Define as alias.
29823         * sysdeps/wordsize-64/tmpfile.c: File removed.
29824         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29825         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29826         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29827
29828         * stdio-common/vfscanf.c: Include <stdbool.h>.
29829         * nss/makedb.c: Likewise.
29830         * stdio-common/_i18n_number.h: Likewise.
29831         * argp/argp-help.c: Likewise.
29832         * posix/wordexp.c: Likewise.
29833         * sysdeps/posix/spawni.c: Likewise.
29834         * nss/nss_files/files-initgroups.c: Likewise.
29835         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29836         * nss/nss_files/files-initgroups.c: Likewise.
29837         * nss/nss_db/db-netgrp.c: Likewise.
29838         * nss/nss_db/db-initgroups.c: Likewise.
29839         * io/fchmodat.c: Include <sys/stat.h>.
29840
29841         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29842         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29843
29844         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29845         [HAVE_MMAP].
29846
29847         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29848         Add multiple inclusion protection.
29849
29850 2012-07-27  David S. Miller  <davem@davemloft.net>
29851
29852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29853
29854 2012-07-27  Gary Benson  <gbenson@redhat.com>
29855
29856         [BZ #14298]
29857         * elf/rtld.c: Include <stap-probe.h>.
29858         (dl_main): Added static probes "init_start" and "init_complete".
29859         * elf/dl-load.c: Include <stap-probe.h>.
29860         (lose): Take new parameter "nsid".
29861         Added static probe "map_failed".
29862         (_dl_map_object_from_fd): Pass namespace id to lose.
29863         Added static probe "map_start".
29864         (open_verify): Pass namespace id to lose.
29865         * elf/dl-open.c: Include <stap-probe.h>.
29866         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29867         and "reloc_complete".
29868         * elf/dl-close.c: Include <stap-probe.h>.
29869         (_dl_close_worker): Added static probes "unmap_start" and
29870         "unmap_complete".
29871         * elf/rtld-debugger-interface.txt: New file documenting the above.
29872
29873 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29874
29875         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29876         rather than a string variable.
29877         * sunrpc/rpc_main.c (h_output): Likewise.
29878         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29879
29880 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29881
29882         * inet/check_native.c: New file.
29883
29884 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29885
29886         [BZ #13629]
29887         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29888         if larger part has absolute value 1.0.
29889         * math/s_clog10.c (__clog10): Likewise.
29890         * math/s_clog10f.c (__clog10f): Likewise.
29891         * math/s_clog10l.c (__clog10l): Likewise.
29892         * math/s_clogf.c (__clogf): Likewise.
29893         * math/s_clogl.c (__clogl): Likewise.
29894         * math/libm-test.inc (clog_test): Add more tests.
29895         (clog10_test): Likewise.
29896         * sysdeps/i386/fpu/libm-test-ulps: Update.
29897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29898
29899         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29900         (pltexit): Likewise.
29901         (La_regs): Likewise.
29902         (La_retval): Likewise.
29903         (int_retval): Likewise.
29904         Update #error for removed macros to refer only to definitions in
29905         tst-audit.h.
29906         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29907         macro.
29908         (pltexit): Likewise.
29909         (La_regs): Likewise.
29910         (La_retval): Likewise.
29911         (int_retval): Likewise.
29912         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29913         macro.
29914         (pltexit): Likewise.
29915         (La_regs): Likewise.
29916         (La_retval): Likewise.
29917         (int_retval): Likewise.
29918         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29919         macro.
29920         (pltexit): Likewise.
29921         (La_regs): Likewise.
29922         (La_retval): Likewise.
29923         (int_retval): Likewise.
29924         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29925         macro.
29926         (pltexit): Likewise.
29927         (La_regs): Likewise.
29928         (La_retval): Likewise.
29929         (int_retval): Likewise.
29930         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29931         macro.
29932         (pltexit): Likewise.
29933         (La_regs): Likewise.
29934         (La_retval): Likewise.
29935         (int_retval): Likewise.
29936         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29937         macro.
29938         (pltexit): Likewise.
29939         (La_regs): Likewise.
29940         (La_retval): Likewise.
29941         (int_retval): Likewise.
29942         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29943         macro definitions in tst-audit.h.
29944         * sysdeps/i386/tst-audit.h: New file.
29945         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29946         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29947         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29948         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29949         * sysdeps/sh/tst-audit.h: Likewise.
29950         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29951         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29952         * sysdeps/x86_64/tst-audit.h: Likewise.
29953
29954 2012-07-26  Andreas Jaeger  <aj@suse.de>
29955
29956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29957         ptrace.
29958
29959         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29960         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29961         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29962         PTRACE_O_MASK.
29963         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29964         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29965         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29966
29967         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29968         value.
29969
29970         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29971         _sigsys.
29972         (si_call_addr, si_syscall, si_arch): Define new macro.
29973         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29974         _sigsys.
29975         (si_call_addr, si_syscall, si_arch): Define new marcro.
29976         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29977         _sigsys.
29978         (si_call_addr, si_syscall, si_arch): Define new macro.
29979         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29980         _sigsys.
29981         (si_call_addr, si_syscall, si_arch): Define new macro.
29982
29983 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29984
29985         [BZ #13717]
29986         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29987         Change to 2.4.21 where previously 2.4.1.
29988         * sysdeps/unix/sysv/linux/configure: Regenerated.
29989         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29990         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29991         Linux kernel version.
29992         (__ASSUME_STD_AUXV): Remove.
29993         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29994         kernel version.
29995         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29996         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29997         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29998         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29999         (__ASSUME_NETLINK_SUPPORT): Likewise.
30000         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30001         (__no_netlink_support): Remove conditional definition.
30002         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30003         Remove.
30004         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30005         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30006         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30007         (if_nameindex_ioctl): Remove.
30008         (if_nameindex_netlink): Do not handle __no_netlink_support.
30009         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30010         code.
30011         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30012         Remove conditional code.
30013         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30014         code.
30015         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30016         unconditional.
30017         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30018         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30019         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30020         Remove.
30021         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30022         [!__ASSUME_STD_AUXV]: Remove conditional code.
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30024         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30025         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30027         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30028         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30029         code.
30030         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30032         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30033         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30034         conditional code.
30035         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30037         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30038         code.
30039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30040         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30041         conditional code.
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30043         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30044         code unconditional.
30045         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30046         conditional code.
30047         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30048         unconditional.
30049         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30050         conditional code.
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30052         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30053         unconditional.
30054         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30055         conditional code.
30056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30057         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30058         code unconditional.
30059         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30060         conditional code.
30061         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30062         unconditional.
30063         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30064         conditional code.
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30066         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30067         code unconditional.
30068         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30069         conditional code.
30070         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30071         unconditional.
30072         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30073         conditional code.
30074
30075 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30076
30077         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30078         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30079         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30080         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30081         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30082         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30083         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30084         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30085         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30086         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30087         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30088         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30089         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30090         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30091         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30092         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30093         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30094         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30095         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30097         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30098         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30099         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30100
30101 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30102
30103         * Versions.def: Add GLIBC_2.17.
30104         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30105         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30106         Introduce __libc_secure_getenv.
30107         * stdlib/Versions (2.17): Add secure_getenv
30108         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30109         * stdlib/secure-getenv.c: Rename __secure_getenv to
30110         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30111         symbol __secure_getenv for GLIBC_2.0.
30112         * stdlib/tst-secure-getenv.c: New.
30113         * stdlib/Makefile (tests): Add testcase.
30114         * manual/startup.texi (Environment Access): Document
30115         secure_getenv.
30116         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30117         __libc_secure_getenv.
30118         * inet/ruserpass.c (ruserpass): Likewise.
30119         * malloc/mtrace.c (mtrace): Likewise.
30120         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30121         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30122         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30123         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30124         HAVE_SECURE_GETENV.
30125         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30126         __secure_getenv to __libc_secure_getenv.
30127         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30129         Likewise.
30130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30131         Likewise.
30132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30139
30140 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30141
30142         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30143         (struct La_i86_retval): Likewise.
30144         (struct La_x86_64_regs): Likewise.
30145         (struct La_x86_64_retval): Likewise.
30146         (struct La_x32_regs): Likewise.
30147         (struct La_x32_retval): Likewise.
30148         (struct La_ppc32_regs): Likewise.
30149         (struct La_ppc32_retval): Likewise.
30150         (struct La_ppc64_regs): Likewise.
30151         (struct La_ppc64_retval): Likewise.
30152         (struct La_sh_regs): Likewise.
30153         (struct La_sh_retval): Likewise.
30154         (struct La_s390_32_regs): Likewise.
30155         (struct La_s390_32_retval): Likewise.
30156         (struct La_s390_64_regs): Likewise.
30157         (struct La_s390_64_retval): Likewise.
30158         (struct La_sparc32_regs): Likewise.
30159         (struct La_sparc32_retval): Likewise.
30160         (struct La_sparc64_regs): Likewise.
30161         (struct La_sparc64_retval): Likewise.
30162         (struct audit_ifaces): Remove architecture-specific pltenter and
30163         pltexit members.
30164         * sysdeps/i386/ldsodefs.h: New file.
30165         * sysdeps/powerpc/ldsodefs.h: Likewise.
30166         * sysdeps/s390/ldsodefs.h: Likewise.
30167         * sysdeps/sh/ldsodefs.h: Likewise.
30168         * sysdeps/sparc/ldsodefs.h: Likewise.
30169         * sysdeps/x86_64/ldsodefs.h: Likewise.
30170
30171 2012-07-25  Marek Polacek  <polacek@redhat.com>
30172
30173         [BZ #6808]
30174         * math/libm-test.inc (yn_test): Add another test.
30175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30176         to ERANGE when the result is +-Inf.
30177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30178         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30179         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30180         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30181
30182 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30183
30184         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30185         equal to 0.
30186         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30187         clock_t.
30188         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30189
30190 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30191
30192         * configure.in <sysdeps resolving>: Correct printing
30193         Implies_before.
30194         * configure: Regenerate.
30195
30196 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30197
30198         * math/w_ilogb.c: Include <limits.h>.
30199         * math/w_ilogbl.c: Likewise.
30200
30201 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30202
30203         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30204         va_copy.  Document allowing for unavailable va_copy only as
30205         pre-C99 compatibility.
30206         * manual/string.texi (Copying and Concatenation): Use va_copy
30207         instead of __va_copy in concat example.
30208
30209 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30210
30211         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30212         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30213         it if not null.
30214
30215         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30216         with O_NOLINK passed to __file_name_lookup.
30217
30218         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30219         with O_NOLINK passed to __file_name_lookup.
30220
30221         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30222         negative N or less than NGIDS.
30223
30224         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30225         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30226         enough.  Use memcpy instead of strncpy.
30227
30228 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30229
30230         * elf/Makefile (check-data): Remove.
30231         (localplt.data): New vpath directive.
30232         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30233         instead of $(check-data).
30234         * scripts/data/localplt-generic.data: Move to ...
30235         * sysdeps/generic/localplt.data: ... here.
30236         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30237         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30238         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30240         ... here.
30241         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30243         ... here.
30244         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30246         ... here.
30247         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30249         ... here.
30250         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30252         ... here.
30253         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30255         ... here.
30256
30257 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30258
30259         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30260         PPC32 and PPC64 files.
30261         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30262         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30263
30264 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30265
30266         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30267         __makecontext_ret to ...
30268         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30269         ... here and call exit if uc_link is NULL.  New file.
30270         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30271         __makecontext_ret.S.
30272         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30273         __makecontext_ret to ...
30274         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30275         ... here and call exit if uc_link is NULL.  New file.
30276         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30277         __makecontext_ret.S.
30278
30279 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30280
30281         * elf/elf.h (R_390_IRELATIVE): New definition.
30282         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30283         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30284         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30286         (elf_machine_lazy_rel): Likewise.
30287         * sysdeps/s390/dl-irel.h: New file.
30288         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30289         * sysdeps/s390/s390-64/memset.S: New asm code.
30290         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30291         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30292         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30293         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30294         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30295         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30296         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30297         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30298         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30299         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30300         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30301         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30302         * sysdeps/s390/s390-32/memset.S: New asm code.
30303         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30304
30305 2012-07-17  Marek Polacek  <polacek@redhat.com>
30306
30307         [BZ #14349]
30308         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30309         * sysdeps/s390/s390-64/configure.in: Likewise.
30310         * sysdeps/sparc/configure.in: Likewise.
30311         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30312         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30313         * sysdeps/i386/configure.in: Likewise.
30314         * sysdeps/x86_64/configure.in: Likewise.
30315         * sysdeps/sh/configure.in: Likewise.
30316         * sysdeps/s390/s390-32/configure: Regenerated.
30317         * sysdeps/s390/s390-64/configure: Likewise.
30318         * sysdeps/x86_64/configure: Likewise.
30319         * sysdeps/sh/configure: Likewise.
30320         * sysdeps/powerpc/powerpc64/configure: Likewise.
30321         * sysdeps/powerpc/powerpc32/configure: Likewise.
30322         * sysdeps/sparc/configure: Likwise.
30323         * sysdeps/i386/configure: Likewise.
30324
30325         * elf/dl-open.c: Comment fixes.
30326
30327 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30328
30329         * Makefile [CXX] (check-data): Remove.
30330         [CXX] (c++-types.data): New vpath directive.
30331         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30332         vpath.  Do not allow for C++ type data being missing.
30333         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30334         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30335         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30336         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30337         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30338         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30339         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30341         ... here.
30342         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30344         ... here.
30345         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30347         ... here.
30348         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30350         ... here.
30351         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30353         ... here.
30354         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30356         ... here.
30357         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30359         ... here.
30360         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30362
30363         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30364         definitions to architecture-specific files.
30365         (TLS_IE): Likewise.
30366         (TLS_LD): Likewise.
30367         (TLS_GD): Likewise.
30368         * sysdeps/i386/tls-macros.h: New file.
30369         * sysdeps/powerpc/tls-macros.h: Likewise.
30370         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30371         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30372         * sysdeps/sh/tls-macros.h: Likewise.
30373         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30374         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30375         * sysdeps/x86_64/tls-macros.h: Likewise.
30376
30377 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30378
30379         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30380         zero value for regular exit case.
30381
30382         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30383         (__start_context): Preserve zero value for regular exit case.
30384
30385 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30386             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30387
30388         * manual/setjmp.texi (setcontext): Clarify normal process
30389         termination when uc_link is the null pointer.
30390         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30391         exit call.
30392
30393 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30394
30395         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30396         preprocessor.  Test for each exception mask separately.
30397
30398 2012-07-16  Andreas Jaeger  <aj@suse.de>
30399
30400         * po/ru.po: Update from translation team.
30401
30402 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30403
30404         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30405         equal to 0.
30406         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30407         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30408         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30409         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30411
30412 2012-07-13  Andreas Jaeger  <aj@suse.de>
30413
30414         * po/fr.po: Update from translation team.
30415
30416 2012-07-12  Marek Polacek  <polacek@redhat.com>
30417
30418         [BZ #14173]
30419         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30420         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30421         loop condition.
30422
30423 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30424
30425         [BZ #13717]
30426         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30427         Change to 2.4.1 where previously 2.4.0.
30428         * sysdeps/unix/sysv/linux/configure: Regenerated.
30429         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30430         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30431         version.
30432         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30433         (__ASSUME_AT_CLKTCK): Remove.
30434         (__ASSUME_AT_PAGESIZE): Likewise.
30435         (__ASSUME_AT_XID): Likewise.
30436         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30437         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30438         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30439         unconditionally.
30440         (HAVE_AUX_PAGESIZE): Likewise.
30441         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30442         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30443         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30444
30445 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30446
30447         [BZ #14307]
30448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30449         the temporary buffer used to invoke __gethostbyname2_r,
30450         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30451         host_data / struct gaih_addrtuple.
30452         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30453         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30454         header file nss/nsswitch.h.
30455         * nss/nsswitch.h (global scope): Add definition of implementation
30456         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30457         resolv/nss_dns/dns-host.c).
30458
30459 2012-07-11  Andreas Jaeger  <aj@suse.de>
30460
30461         * po/fr.po: Update from translation team.
30462
30463         * po/sv.po: Update from translation team
30464         * po/fr.po: Another update from translation team.
30465
30466 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30467
30468         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30469         for subnormals or multiply small sinh result by itself.
30470         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30472
30473 2012-07-11  David S. Miller  <davem@davemloft.net>
30474
30475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30476
30477 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30478
30479         [BZ #14347]
30480         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30481         (INTERNAL_MARK): Shift it here.
30482
30483 2012-07-10  Marek Polacek  <polacek@redhat.com>
30484
30485         [BZ #14151]
30486         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30487         libc_cv_asm_global_directive with .globl.
30488         * configure: Regenerated.
30489         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30490         with .globl.
30491         * sysdeps/i386/configure: Regenerated.
30492         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30493         with .globl.
30494         * sysdeps/x86_64/configure: Regenerated.
30495         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30496         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30497         * elf/tst-unique2mod2.c: Likewise.
30498         * elf/tst-unique2mod1.c: Likewise.
30499         * elf/tst-unique1mod2.c: Likewise.
30500         * elf/tst-unique1mod1.c: Likewise.
30501         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30502         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30503         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30504         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30505         * sysdeps/mach/sysdep.h: Likewise.
30506         * sysdeps/i386/sysdep.h: Likewise.
30507         * sysdeps/i386/i386-mcount.S: Likewise.
30508         * sysdeps/x86_64/_mcount.S: Likewise.
30509         * sysdeps/x86_64/sysdep.h: Likewise.
30510         * sysdeps/sh/_mcount.S: Likewise.
30511         * sysdeps/sh/sysdep.h: Likewise.
30512         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30513         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30514         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30515         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30516         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30517         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30518         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30519         * locale/localeinfo.h: Likewise.
30520         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30521         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30522
30523 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30524
30525         [BZ #14336]
30526         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30527         system".
30528         * manual/message.texi (The Uniforum approach): Likewise.
30529         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30530         (glibc iconv Implementation): Likewise.
30531
30532 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30533
30534         [BZ #14337]
30535         * math/s_clog.c (__clog): Avoid scaling a value down where that
30536         could result in underflow.
30537         * math/s_clog10.c (__clog10): Likewise.
30538         * math/s_clog10f.c (__clog10f): Likewise.
30539         * math/s_clog10l.c (__clog10l): Likewise.
30540         * math/s_clogf.c (__clogf): Likewise.
30541         * math/s_clogl.c (__clogl): Likewise.
30542         * math/libm-test.inc (clog_test): Add more tests.
30543         (clog10_test): Likewise.
30544         * sysdeps/i386/fpu/libm-test-ulps: Update.
30545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30546
30547 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30548
30549         [BZ #14283]
30550         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30551         by 7 not 8 to examine high bit of fractional part.
30552
30553         [BZ #14042]
30554         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30555         for call to __mcount_internal.
30556         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30557         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30558         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30559
30560 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30561
30562         [BZ #14154]
30563         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30564         approximation for values within 0x1p-13f of an odd multiple of
30565         pi/4.
30566         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30567         exception.  Add more tests.
30568         * sysdeps/i386/fpu/libm-test-ulps: Update.
30569
30570         [BZ #6778]
30571         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30572         inputs and return -1 for them.  Do not check for +Inf in case not
30573         reachable for +Inf.
30574         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30575         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30576         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30577         and return -1 for them.  Do not check for +Inf in case not
30578         reachable for +Inf.
30579         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30580         define.
30581         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30582         and return -1 for them.  Do not check for +Inf in case not
30583         reachable for +Inf.
30584         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30585         spurious underflow.
30586         * sysdeps/i386/fpu/libm-test-ulps: Update.
30587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30588
30589 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30590
30591         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30592
30593 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30594
30595         [BZ #14157]
30596         [BZ #14331]
30597         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30598         could result in spurious underflow.  Scale down values above
30599         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30600         * math/s_csqrtf.c (__csqrtf): Likewise.
30601         * math/s_csqrtl.c (__csqrtl): Likewise.
30602         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30603         spurious underflow.
30604         * sysdeps/i386/fpu/libm-test-ulps: Update.
30605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30606
30607 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30608
30609         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30610         xopen-msg.sed.
30611         * catgets/xopen-msg.awk: New file.
30612         * catgets/xopen-msg.sed: Removed.
30613
30614         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30615         po2text.sed.
30616         * intl/po2test.awk: New file.
30617         * intl/po2test.sed: Removed.
30618
30619 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30620
30621         [BZ #14328]
30622         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30623         or multiply small sinh result by itself.
30624         * math/s_ctanf.c (__ctanf): Likewise.
30625         * math/s_ctanh.c (__ctanh): Likewise.
30626         * math/s_ctanhf.c (__ctanhf): Likewise.
30627         * math/s_ctanhl.c (__ctanhl): Likewise.
30628         * math/s_ctanl.c (__ctanl): Likewise.
30629         * math/libm-test.inc (ctan_test_tonearest): New function.
30630         (ctan_test_towardzero): Likewise.
30631         (ctan_test_downward): Likewise.
30632         (ctan_test_upward): Likewise.
30633         (ctanh_test_tonearest): Likewise.
30634         (ctanh_test_towardzero): Likewise.
30635         (ctanh_test_downward): Likewise.
30636         (ctanh_test_upward): Likewise.
30637         (main): Call these new functions.
30638         * sysdeps/i386/fpu/libm-test-ulps: Update.
30639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30640
30641 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30642
30643         * .gitignore: Delete /ports entry.
30644
30645 2012-07-03  Andreas Jaeger  <aj@suse.de>
30646
30647         * po/bg.po: Update from translation team.
30648         * po/cs.po: Likewise.
30649         * po/de.po: Likewise.
30650         * po/hr.po: Likewise.
30651         * po/nl.pl: Likewise.
30652         * po/pl.po: Likewise.
30653         * po/vi.po: Likewise.
30654
30655 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30656
30657         * Makeconfig [!+link] (+link-before-libc): New variable.
30658         [!+link] (+link-after-libc): Likewise.
30659         [!+link] (+link-tests): Likewise.
30660         [!+link] (+link): Define in terms of $(+link-before-libc) and
30661         $(+link-after-libc).
30662         [!+link-static] (+link-static-before-libc): New variable.
30663         [!+link-static] (+link-static-after-libc): Likewise.
30664         [!+link-static] (+link-static-tests): Likewise.
30665         [!+link-static] (+link-static): Define in terms of
30666         $(+link-static-before-libc) and $(+link-static-after-libc).
30667         [build-shared] (link-libc-before-gnulib): New variable.
30668         [build-shared] (link-libc-tests): Likewise.
30669         [build-shared] (link-libc): Define in terms of
30670         $(link-libc-before-gnulib).
30671         [!build-shared] (link-libc-tests): New variable.
30672         (link-libc-static-tests): New variable.
30673         [!gnulib] (gnulib-arch): New variable.
30674         [!gnulib] (gnulib-tests): Likewise.
30675         [!gnulib] (static-gnulib-arch): Likewise.
30676         [!gnulib] (static-gnulib-tests): Likewise.
30677         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30678         Define with "=" instead of ":=".
30679         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30680         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30681         * Rules (binaries-all-notests): New variable.
30682         (binaries-all-tests): Likewise.
30683         (binaries-static-notests): Likewise.
30684         (binaries-static-tests): Likewise.
30685         (binaries-all): Define using $(binaries-all-notests) and
30686         $(binaries-all-tests).
30687         (binaries-static): Define using $(binaries-static-notests) and
30688         $(binaries-static-tests).
30689         (binaries-shared-tests): New variable.
30690         (binaries-shared-notests): Likewise.
30691         (binaries-shared): Remove variable.
30692         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30693         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30694         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30695         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30696         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30697         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30698         * elf/Makefile (sln-modules): New variable.
30699         (extra-objs): Add $(sln-modules:=.o).
30700         (ldconfig-modules): Add static-stubs.
30701         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30702         * elf/static-stubs.c: New file.
30703
30704         [BZ #14283]
30705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30706         by 7 not 8 to examine high bit of fractional part.  Use volatile
30707         variables when splitting into final array of floats if
30708         __FLT_EVAL_METHOD__ != 0.
30709         * math/libm-test.inc (cos_test): Add another test.
30710         (sin_test): Likewise.
30711         * sysdeps/i386/fpu/libm-test-ulps: Update.
30712
30713         [BZ #14273]
30714         * math/libm-test.inc (cosh_test): Add more tests.
30715
30716         * version.h (RELEASE): Set to "development".
30717         (VERSION): Set to "2.16.90".
30718
30719 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30720
30721         * NEWS: Update copyright. Remove last-updated date.
30722         Mention math library bug fixes and timezone data changes.
30723         * README: Mention GNU/Hurd, x32, and HPPA support status.
30724
30725 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30726
30727         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30728
30729 2012-06-27  Andreas Jaeger  <aj@suse.de>
30730
30731         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30732
30733 2012-06-25  Andreas Jaeger  <aj@suse.de>
30734
30735         * sysdeps/s390/fpu/libm-test-ulps: Update.
30736
30737 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30738             Thomas Schwinge  <thomas@codesourcery.com>
30739
30740         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30741         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30742         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30743         fanotify_mark.
30744
30745 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30746
30747         * sysdeps/mach/start.c: Remove file.
30748         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30749         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30750         * sysdeps/sh/init-first.c: Likewise.
30751
30752         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30753         registers for frame unwinding purposes, add CFI directives.
30754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30755         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30756         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30757         Likewise.
30758
30759         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30760         __fortify_fail returning.
30761         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30762
30763         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30764         sysdeps/sh/____longjmp_chk.S.
30765         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30766         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30767         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30768         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30769
30770         * sysdeps/sh/abort-instr.h: New file.
30771         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30772         process in case exit returns.
30773
30774         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30775         initialize the GOT register before use.
30776
30777         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30778         calculation of ARGC > 4.
30779
30780         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30781         meaningful names to some local labels.
30782
30783 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30784             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30785
30786         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30787         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30788         (__arch_compare_and_exchange_val_16_acq): Likewise.
30789         (__arch_compare_and_exchange_val_32_acq): Likewise.
30790         (atomic_exchange_and_add): Fix gUSA sequence.
30791         (atomic_add): Likewise.
30792         (atomic_add_negative): Likewise.
30793         (atomic_add_zero): Likewise.
30794         (atomic_bit_test_set): Likewise.
30795
30796 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30797
30798         [BZ #13579]
30799         * include/link.h (struct link_map): Add l_free_initfini.
30800         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30801         l_initfini.
30802         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30803         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30804         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30805         set.
30806
30807 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30808
30809         * configure.in: Use AC_LANG_SOURCE.
30810         * configure: Regenerate.
30811
30812 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30813
30814         * configure.in (libc_cv_localstatedir): New substituted variable.
30815         * configure: Regenerated.
30816         * config.make.in (localstatedir): New variable, substituted from
30817         libc_cv_localstatedir.
30818         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30819         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30820         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30821         * sysdeps/gnu/configure: Regenerated.
30822
30823 2012-06-21  Jeff Law  <law@redhat.com>
30824
30825         [BZ #14277]
30826         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30827         free.  Simplify list management for _LIBC case.
30828
30829 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30830
30831         [BZ #14273]
30832         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30833         Clear sign bit of 64-bit integer value before comparing against
30834         overflow value.
30835
30836         * sysdeps/mach/configure: Regenerated.
30837
30838 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30839
30840         [BZ #14278]
30841         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30842
30843 2012-06-21  Jeff Law  <law@redhat.com>
30844
30845         [BZ #13882]
30846         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30847         uint16_t for elements in the "seen" array to avoid char overflows.
30848         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30849         * elf/dl-open.c (dl_open_worker): Likewise.
30850
30851 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30852
30853         * scripts/list-sources.sh: Scan PORTS for translations.
30854         * po/libc.pot: Regenerated.
30855
30856 2012-06-21  Andreas Jaeger  <aj@suse.de>
30857
30858         [BZ #12194]
30859         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30860         warning.
30861         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30862         * bits/byteswap-16.h (__bswap_16): Likewise.
30863         * bits/byteswap.h (__bswap_constant_16): Likewise.
30864
30865 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30866
30867         [BZ #14117]
30868         * sysdeps/i386/fpu_control.h: Removed.
30869         * sysdeps/x86_64/fpu_control.h: Moved to ...
30870         * sysdeps/x86/fpu_control.h: Here.
30871
30872         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30873         (_FPU_SETCW): Likewise.
30874
30875 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30876
30877         [BZ #14117]
30878         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30879         * sysdeps/x86/fpu/bits/mathinline.h: This.
30880         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30881
30882         [BZ #14050]
30883         [BZ #14117]
30884         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30885         functions if __x86_64__ is defined.
30886
30887 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30888
30889         * string/endian.h: Add !__ASSEMBLER__ condition for including
30890         conversion interfaces.
30891
30892 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30893
30894         [BZ #14241]
30895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30896         of ABS(x) in calculating zero to negative powers other than odd
30897         integers.
30898         * math/libm-test.inc (pow_test): Add more tests.
30899
30900 2012-06-15  Andreas Jaeger  <aj@suse.de>
30901
30902         * manual/contrib.texi (Contributors): Update entry of Liubov
30903         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30904         Machado Filho.
30905
30906 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30907
30908         * string/string.h: Add __wur to GNU version of strerror_r.
30909
30910 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30911
30912         [BZ #14229]
30913         * string/Makefile (tests): Add tst-strtok_r.
30914         * string/tst-strtok_r.c: New file.
30915         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30916         RAX_LP/RDX_LP on SAVE_PTR.
30917
30918 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30919
30920         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30921
30922 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30923
30924         * libm_test.inc (csqrt_test): Allow more spurious underflow
30925         exceptions.
30926         (j0_test): Likewise.
30927         (j1_test): Likewise.
30928         (y0_test): Likewise.
30929         (y1_test): Likewise.
30930
30931 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30932
30933         * po/Makefile (libc.pot): Use UTF-8 charset.
30934
30935 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30936
30937         [BZ #14210]
30938         Suppress sign-conversion warning from FD_SET.
30939         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30940         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30941         not unsigned long int.
30942         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30943
30944 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30945
30946         [BZ #14050]
30947         [BZ #14117]
30948         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30949         __extern_always_inline instead of __extern_inline.
30950         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30951         (__signbit): Likewise.
30952         (__signbitl): Support C++ namespace.
30953         (lrintf): New inline function.
30954         (lrint): Likewise.
30955         (llrintf): Likewise.
30956         (llrint): Likewise.
30957         (fmaxf): Likewise.
30958         (fmax): Likewise.
30959         (fminf): Likewise.
30960         (fmin): Likewise.
30961         (rint): Likewise.
30962         (rintf): Likewise.
30963         (ceil): Likewise.
30964         (ceilf): Likewise.
30965         (floor): Likewise.
30966         (floorf): Likewise.
30967         (nearbyint): Likewise.
30968         (nearbyintf): Likewise.
30969
30970 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30971
30972         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30973         non-default versions.
30974
30975 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30976
30977         [BZ #14218]
30978         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30979
30980 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30981
30982         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30983         (FE_UPWARD, FE_DOWNWARD): Don't define.
30984         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30985         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30986
30987         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30988         reading it.
30989         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30990         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30991
30992 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30993
30994         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30996         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30997         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30998
30999 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31000
31001         [BZ #14117]
31002         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31003         * sysdeps/i386/fpu/Implies: New file.
31004         * sysdeps/x86_64/fpu/Implies: Likewise.
31005         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31006         * sysdeps/x86/fpu/bits/fenv.h: This.
31007
31008         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31009         __SSE_MATH__.
31010
31011 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31012
31013         [BZ #14134]
31014         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31015         character 0xffff that matches the last element of the
31016         conversion table.
31017
31018 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31019
31020         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31021         fmodl commit.
31022
31023 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31024
31025         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31026         values higher than 25.6283.
31027
31028 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31029
31030         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31031         subnormal exponent extraction and add some __builtin_expect.
31032         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31033         Fix for subnormal mantissa calculation.
31034
31035 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31036
31037         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31038         cpu2 is -1 and errno is not ENOSYS.
31039
31040 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31041
31042         [BZ #14117]
31043         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31044         * sysdeps/x86/bits/string.h: This.
31045         * sysdeps/x86_64/bits/string.h: Removed.
31046
31047         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31048         if not compiling for x86-64, but compiling for >= i486.
31049
31050         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31051         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31052
31053         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31054         New macro from Linux kernel 3.4.0.
31055         (FP_XSTATE_MAGIC2): Likewise.
31056         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31057         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31058         (struct _fpx_sw_bytes): New struct.
31059         (struct _xsave_hdr): Likewise.
31060         (struct _ymmh_state): Likewise.
31061         (struct _xstate): Likewise.
31062
31063         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31064         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31065         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31066         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31067         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31068         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31069
31070         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31071         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31072         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31073         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31074         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31075         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31076
31077 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31078
31079         [BZ #13743]
31080         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31081         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31082         (sysdep_headers): Include sys/platform/ppc.h.
31083         * sysdeps/powerpc/test-gettimebase.c: Test for
31084         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31085         * manual/Makefile (appendices): Include platform.texi.
31086         * manual/contrib.texi (Contributors): Update @node pointers.
31087         * manual/maint.texi (Maintenance): Likewise.
31088         (Platform): New node.
31089         * manual/platform.texi: New file.  Document the new features.
31090
31091 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31092             Jakub Jelinek  <jakub@redhat.com>
31093
31094         [BZ #14188]
31095         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31096         where __builtin_expect is unavailable.
31097
31098 2012-06-03  David S. Miller  <davem@davemloft.net>
31099
31100         * stdlib/longlong.h: Updated from GCC.
31101
31102 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31103
31104         [BZ #14042]
31105         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31106         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31107         __mcount_internal.
31108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31109         (GLIBC_2.16): Likewise.
31110
31111 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31112
31113         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31114
31115 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31116
31117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31118         (default-abi): New variable.
31119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31120         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31121         variable.
31122         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31123         Likewise.
31124         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31125         Likewise.
31126         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31127         Likewise.
31128
31129         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31130         definition.  Document in comment.
31131
31132 2012-06-01  David S. Miller  <davem@davemloft.net>
31133
31134         * stdlib/longlong.h: Updated from GCC.
31135
31136 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31137
31138         [BZ #14117]
31139         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31140         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31141         sys/debugreg.h sys/io.h here.
31142         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31143         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31144         sys/io.h.
31145         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31146         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31147         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31148         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31149         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31150         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31151
31152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31153         Define only if __x86_64__ is defined.
31154
31155 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31156
31157         [BZ #14048]
31158         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31159         Use int64_t for variable i.
31160         * math/libm-test.inc (fmod_test): Add more tests.
31161
31162         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31163         z computation is not scheduled after fetestexcept.
31164         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31165         Use math_force_eval instead of asm to ensure calculation scheduled
31166         before exception test.
31167         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31168         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31169
31170 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31171
31172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31173         computation is not scheduled after fetestexcept.
31174
31175 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31176
31177         [BZ #14117]
31178         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31179         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31180
31181 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31182
31183         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31184         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31185
31186 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31187
31188         [BZ #14117]
31189         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31190         <bits/wordsize.h>.
31191         (__WCHAR_MIN): Support __WORDSIZE == 64.
31192         (__WCHAR_MAX): Likewise.
31193
31194         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31196
31197         [BZ #14183]
31198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31199         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31200
31201         [BZ #14117]
31202         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31204
31205         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31206         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31207
31208         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31209         Defined to 1 if __x86_64__ isn't defined.
31210         (_STAT_VER_LINUX_OLD): New.
31211         (st_atime): Remove duplicate.
31212         (st_mtime): Likewise.
31213         (st_ctime): Likewise.
31214
31215 2012-05-31  David S. Miller  <davem@davemloft.net>
31216
31217         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31218         entries.
31219
31220 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31221
31222         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31223         gen-libm-test.pl.
31224
31225         [BZ #14132]
31226         * elf/dl-reloc.c: Include <_itoa.h>.
31227         (_dl_reloc_bad_type): Remove use of INTUSE.
31228         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31229         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31230         * stdio-common/psiginfo.c (psiginfo): Likewise.
31231         * stdio-common/psignal.c (psignal): Likewise.
31232         * string/strsignal.c (strsignal): Likewise.
31233         * include/signal.h (_sys_siglist): Declare hidden proto.
31234         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31235         INTVARDEF with libc_hidden_data_def.
31236         * stdio-common/itoa-udigits.c: Likewise.
31237         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31238         (_itoa_lower_digits_internal): Remove declaration.
31239         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31240         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31241         (_sys_sigabbrev_internal): Remove aliases.
31242         (_sys_siglist): Define hidden alias.
31243
31244 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31245
31246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31247         bits/sysctl.h.
31248
31249 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31250
31251         [BZ #14117]
31252         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31253         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31254
31255         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31256         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31257         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31258         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31259         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31260         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31261
31262         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31263         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31264         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31265
31266         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31267         with __addr.
31268         (insw): Likewise.
31269         (insl): Likewise.
31270         (outsb): Likewise.
31271         (outsw): Likewise.
31272         (outsl): Likewise.
31273
31274         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31275         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31276         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31277
31278         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31279         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31280         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31281         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31282         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31283         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31284
31285         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31286         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31287
31288         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31289         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31290
31291         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31293         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31294
31295         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31296         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31297         to ...
31298         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31299
31300         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31301         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31302         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31303
31304         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31305         for x86-64.
31306         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31307
31308 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31309
31310         * math/math.h (M_El): Use two more decimal places.
31311         (M_LOG2El): Likewise.
31312         (M_LOG10El): Likewise.
31313         (M_LN2l): Likewise.
31314         (M_LN10l): Likewise.
31315         (M_PIl): Likewise.
31316         (M_PI_2l): Likewise.
31317         (M_PI_4l): Likewise.
31318         (M_1_PIl): Likewise.
31319         (M_2_PIl): Likewise.
31320         (M_2_SQRTPIl): Likewise.
31321         (M_SQRT2l): Likewise.
31322         (M_SQRT1_2l): Likewise.
31323
31324 2012-05-31  David S. Miller  <davem@davemloft.net>
31325
31326         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31327         values between float registers.
31328         * sysdeps/sparc/sparc64/memset.S: Likewise.
31329         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31330
31331 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31332
31333         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31334         -D_FORTIFY_SOURCE=1.
31335         (CPPFLAGS-tst-longjmp_chk.c): Define.
31336         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31337         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31338         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31339         CFLAGS-tst-wchar-h.c.
31340
31341 2012-05-31  Marek Polacek  <polacek@redhat.com>
31342
31343         [BZ #14132]
31344         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31345         __endmntent_internal): Remove declaration.
31346         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31347         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31348         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31349
31350 2012-05-30  David S. Miller  <davem@davemloft.net>
31351
31352         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31353         (___Q_simulate_exceptions): Use real FP ops rather than writing
31354         into the %fsr.
31355         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31356         Likewise.
31357
31358 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31359
31360         [BZ #14117]
31361         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31362         * sysdeps/x86/bits/xtitypes.h: This.
31363
31364         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31365         * sysdeps/x86/bits/wordsize.h: This.
31366
31367         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31368         * sysdeps/x86/bits/huge_vall.h: This.
31369
31370         * sysdeps/i386/bits/select.h: Removed.
31371         * sysdeps/x86_64/bits/select.h: Renamed to ...
31372         * sysdeps/x86/bits/select.h: This.
31373
31374         * sysdeps/i386/bits/setjmp.h: Removed.
31375         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31376         * sysdeps/x86/bits/setjmp.h: This.
31377
31378         * sysdeps/i386/bits/mathdef.h: Removed.
31379         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31380         * sysdeps/x86/bits/mathdef.h: This.
31381
31382 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31383
31384         [BZ #14132]
31385         * include/sys/socket.h (__connect_internal)
31386         (__libc_sa_len_internal): Remove declaration.
31387         (__connect, __libc_sa_len): Declare hidden_proto.
31388         (SA_LEN): Remove use of INTUSE.
31389         * socket/connect.c: Add libc_hidden_def.
31390         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31391         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31392         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31393         alias.
31394         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31395         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31396         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31397         of adding _internal alias.
31398
31399 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31400
31401         [BZ #14117]
31402         * sysdeps/i386/bits/link.h: Removed.
31403         * sysdeps/i386/bits/linkmap.h: Likewise.
31404         * sysdeps/x86_64/bits/link.h: Renamed to ...
31405         * sysdeps/x86/bits/link.h: This.
31406         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31407         * sysdeps/x86/bits/linkmap.h: This.
31408
31409         * sysdeps/i386/bits/endian.h: Removed.
31410         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31411         * sysdeps/x86/bits/endian.h: This.
31412
31413         * sysdeps/i386/bits/byteswap.h: Removed.
31414         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31415         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31416         * sysdeps/x86/bits/byteswap.h: This.
31417         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31418         * sysdeps/x86/bits/byteswap-16.h: This.
31419         * sysdeps/i386/Implies: Add x86.
31420         * sysdeps/x86_64/Implies: Likewise.
31421
31422 2012-05-30  David S. Miller  <davem@davemloft.net>
31423
31424         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31425         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31426         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31427         (FP_TRAPPING_EXCEPTIONS): Define.
31428         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31429         (FP_TRAPPING_EXCEPTIONS): Define.
31430         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31431         subnormals only when inexact has been signalled or underflow
31432         exceptions are enabled.
31433         (_FP_PACK_CANONICAL): Likewise.
31434
31435 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31436
31437         [BZ #14183]
31438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31439         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31440
31441 2012-05-30  Richard Henderson  <rth@twiddle.net>
31442
31443         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31444         with #ifndef NOT_IN_libc.
31445
31446         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31447         marked to avoid plt entry.
31448
31449 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31450
31451         [BZ #14112]
31452         * Makeconfig (default-abi): New macro.
31453         (abi-includes): Likewise.
31454         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31455         $(abi-$(default-abi)-lib-soname) for soname if defined.
31456         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31457         abi-variants.
31458         * Makefile (installed-stubs): Likewise.
31459         * include/stubs-biarch.h: Removed.
31460         * scripts/lib-names.awk: Only handle one library at a time.
31461         * scripts/soversions.awk: Remove WORDSIZE support.
31462         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31463         entries.
31464         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31465         Removed.
31466         (syscall-list-default-condition): Likewise.
31467         (syscall-list-default-condition): Likewise.
31468         (syscall-list-includes): Likewise.
31469         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31470         syscall-list-* with abi-*.  Handle undefined abi-variants.
31471         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31472         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31473         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31474         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31475         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31476         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31477         Removed.
31478         (syscall-list-32-options): Likewise.
31479         (syscall-list-32-condition): Likewise.
31480         (syscall-list-64-options): Likewise.
31481         (syscall-list-64-condition): Likewise.
31482         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31483         macro.
31484         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31485         Renamed to ...
31486         (abi-*): This.
31487         (abi-64-ld-soname): New macro.
31488         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31489         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31490         Renamed to ...
31491         (abi-*): This.
31492         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31493         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31494
31495 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31496
31497         * sysdeps/unix/sysv/linux/kernel-features.h
31498         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31499         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31500         include <kernel-features.h>.
31501         [!__NR_ftruncate64]: Remove conditional code.
31502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31503         [__NR_ftruncate64]: Make code unconditional.
31504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31505         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31506         include <kernel-features.h>.
31507         [!__NR_ftruncate64]: Remove conditional code.
31508         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31509         [__NR_ftruncate64]: Make code unconditional.
31510         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31512         include <kernel-features.h>.
31513         [!__NR_ftruncate64]: Remove conditional code.
31514         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31515         [__NR_ftruncate64]: Make code unconditional.
31516         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31518         include <kernel-features.h>.
31519         [!__NR_ftruncate64]: Remove conditional code.
31520         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31521         [__NR_ftruncate64]: Make code unconditional.
31522         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31523
31524         * configure.in (libc_cv_fpie): Weaken to a compile test using
31525         LIBC_TRY_CC_OPTION.
31526         * configure: Regenerated.
31527
31528 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31529
31530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31534         Refreshed.
31535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31541         Refreshed.
31542
31543 2012-05-27  David S. Miller  <davem@davemloft.net>
31544
31545         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31546         (___Q_zero): New.
31547         (__Q_simulate_exceptions): Return void.  Change to simulate
31548         exceptions by writing into the %fsr.
31549         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31550         (__Qp_handle_exceptions): Likewise.
31551         (numbers): Delete.
31552         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31553         __Qp_handle_exceptions.
31554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31555         __Qp_handle_exceptions.
31556         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31557         as unused and give dummy FP_RND_NEAREST initializer.
31558         (FP_INHIBIT_RESULTS): Define.
31559         (___Q_simulate_exceptions): Update declaration.
31560         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31561         formatting.
31562         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31563         as unused and give dummy FP_RND_NEAREST initializer.
31564         (__Qp_handle_exceptions): Update declaration.
31565         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31566         formatting.
31567
31568 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31569
31570         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31571         the temporary FPU control word.
31572         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31573         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31574         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31575         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31576         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31577         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31578         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31579         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31580         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31581         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31582         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31583
31584 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31585
31586         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31587         fields.
31588
31589 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31590
31591         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31592         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31593         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31594         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31595         Likewise.
31596         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31597         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31598         Likewise.
31599
31600 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31601
31602         * po/h.po: Update from translation team.
31603
31604 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31605
31606         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31607
31608         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31609         handling of denormals.
31610         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31611         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31612         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31613         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31615         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31617         Likewise.
31618
31619 2012-05-26  Marek Polacek  <polacek@redhat.com>
31620
31621         [BZ #14152]
31622         * math/libm-test.inc (fma_test): Don't always expect underflow
31623         exception.
31624
31625 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31626
31627         [BZ #12416]
31628         * elf/tst-execstack.c: Include stackinfo.h.
31629         (do_test): Adjust test case to ensure that pthread_getattr_np
31630         behaviour remains the same after marking stack executable.
31631
31632 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31633
31634         * sysdeps/unix/sysv/linux/kernel-features.h
31635         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31636         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31637         kernel-features.h.
31638         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31639         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31640         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31641         kernel-features.h.
31642         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31643         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31644
31645 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31646
31647         * configure.in: Define the default includes to being none.
31648         * configure: Regenerated.
31649
31650 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31651
31652         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31653         * sysdeps/x86_64/setjmp.S: Likewise.
31654         * sysdeps/i386/bsd-setjmp.S: Likewise.
31655         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31656         * sysdeps/i386/setjmp.S: Likewise.
31657         * sysdeps/i386/__longjmp.S: Likewise.
31658         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31659         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31660
31661         * include/stap-probe.h: New file.
31662         * configure.in: Handle --enable-systemtap.
31663         * configure: Regenerated.
31664         * config.h.in (USE_STAP_PROBE): New #undef.
31665         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31666         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31667         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31668
31669 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31670
31671         [BZ #13717]
31672         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31673         to 2.4.0 where earlier.
31674         * sysdeps/unix/sysv/linux/configure: Regenerated.
31675         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31676         <kernel-features.h>.
31677         [__ASSUME_32BITUIDS]: Make code unconditional.
31678         [!__ASSUME_32BITUIDS]: Remove conditional code.
31679         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31680         <kernel-features.h>.
31681         [__ASSUME_32BITUIDS]: Make code unconditional.
31682         [!__ASSUME_32BITUIDS]: Remove conditional code.
31683         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31684         [__ASSUME_32BITUIDS]: Make code unconditional.
31685         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31686         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31687         <kernel-features.h>.
31688         [__ASSUME_32BITUIDS]: Make code unconditional.
31689         [!__ASSUME_32BITUIDS]: Remove conditional code.
31690         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31691         <kernel-features.h>.
31692         [__ASSUME_32BITUIDS]: Make code unconditional.
31693         [!__ASSUME_32BITUIDS]: Remove conditional code.
31694         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31695         <kernel-features.h>.
31696         [__ASSUME_32BITUIDS]: Make code unconditional.
31697         [!__ASSUME_32BITUIDS]: Remove conditional code.
31698         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31699         <kernel-features.h>.
31700         [__ASSUME_32BITUIDS]: Make code unconditional.
31701         [!__ASSUME_32BITUIDS]: Remove conditional code.
31702         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31703         <kernel-features.h>.
31704         [__ASSUME_32BITUIDS]: Make code unconditional.
31705         [!__ASSUME_32BITUIDS]: Remove conditional code.
31706         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31707         <kernel-features.h>.
31708         [__ASSUME_32BITUIDS]: Make code unconditional.
31709         [!__ASSUME_32BITUIDS]: Remove conditional code.
31710         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31711         <kernel-features.h>.
31712         [__ASSUME_32BITUIDS]: Make code unconditional.
31713         [!__ASSUME_32BITUIDS]: Remove conditional code.
31714         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31715         <kernel-features.h>.
31716         [__ASSUME_32BITUIDS]: Make code unconditional.
31717         [!__ASSUME_32BITUIDS]: Remove conditional code.
31718         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31719         <kernel-features.h>.
31720         [__ASSUME_32BITUIDS]: Make code unconditional.
31721         [!__ASSUME_32BITUIDS]: Remove conditional code.
31722         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31723         <kernel-features.h>.
31724         [__ASSUME_32BITUIDS]: Make code unconditional.
31725         [!__ASSUME_32BITUIDS]: Remove conditional code.
31726         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31727         <kernel-features.h>.
31728         [__NR_setresgid] (__setresgid): Do not declare.
31729         [__ASSUME_32BITUIDS]: Make code unconditional.
31730         [!__ASSUME_32BITUIDS]: Remove conditional code.
31731         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31732         <kernel-features.h>.
31733         [__NR_setresuid] (__setresuid): Do not declare.
31734         [__ASSUME_32BITUIDS]: Make code unconditional.
31735         [!__ASSUME_32BITUIDS]: Remove conditional code.
31736         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31737         <kernel-features.h>.
31738         [__ASSUME_32BITUIDS]: Make code unconditional.
31739         [!__ASSUME_32BITUIDS]: Remove conditional code.
31740         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31741         <kernel-features.h>.
31742         [__ASSUME_32BITUIDS]: Make code unconditional.
31743         [!__ASSUME_32BITUIDS]: Remove conditional code.
31744         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31745         <kernel-features.h>.
31746         [__ASSUME_32BITUIDS]: Make code unconditional.
31747         [!__ASSUME_32BITUIDS]: Remove conditional code.
31748         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31749         <kernel-features.h>.
31750         [__ASSUME_32BITUIDS]: Make code unconditional.
31751         [!__ASSUME_32BITUIDS]: Remove conditional code.
31752         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31753         <kernel-features.h>.
31754         [__ASSUME_32BITUIDS]: Make code unconditional.
31755         [!__ASSUME_32BITUIDS]: Remove conditional code.
31756         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31757         <kernel-features.h>.
31758         [__ASSUME_32BITUIDS]: Make code unconditional.
31759         [!__ASSUME_32BITUIDS]: Remove conditional code.
31760         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31761         <kernel-features.h>.
31762         [__ASSUME_32BITUIDS]: Make code unconditional.
31763         [!__ASSUME_32BITUIDS]: Remove conditional code.
31764         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31765         <kernel-features.h>.
31766         [__ASSUME_32BITUIDS]: Make code unconditional.
31767         [!__ASSUME_32BITUIDS]: Remove conditional code.
31768         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31769         <kernel-features.h>.
31770         [__ASSUME_32BITUIDS]: Make code unconditional.
31771         [!__ASSUME_32BITUIDS]: Remove conditional code.
31772         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31773         <kernel-features.h>.
31774         [__ASSUME_32BITUIDS]: Make code unconditional.
31775         [!__ASSUME_32BITUIDS]: Remove conditional code.
31776         * sysdeps/unix/sysv/linux/kernel-features.h
31777         (__ASSUME_SETRESUID_SYSCALL): Remove.
31778         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31779         (__ASSUME_32BITUIDS): Likewise.
31780         (__ASSUME_LDT_WORKS): Likewise.
31781         (__ASSUME_O_DIRECTORY): Likewise.
31782         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31783         architecture but not kernel version.
31784         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31785         (__ASSUME_MMAP2_SYSCALL): Likewise.
31786         (__ASSUME_STAT64_SYSCALL): Likewise.
31787         (__ASSUME_IPC64): Likewise.
31788         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31789         <kernel-features.h>.
31790         [__ASSUME_32BITUIDS]: Make code unconditional.
31791         [!__ASSUME_32BITUIDS]: Remove conditional code.
31792         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31793         <kernel-features.h>.
31794         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31795         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31796         132096]: Remove conditional code.
31797         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31798         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31799         <kernel-features.h>.
31800         [__ASSUME_32BITUIDS]: Make code unconditional.
31801         [!__ASSUME_32BITUIDS]: Remove conditional code.
31802         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31803         <kernel-features.h>.
31804         [__ASSUME_32BITUIDS]: Make code unconditional.
31805         [!__ASSUME_32BITUIDS]: Remove conditional code.
31806         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31807         <kernel-features.h>.
31808         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31809         unconditional.
31810         (__setresgid): Do not declare.
31811         [__ASSUME_32BITUIDS]: Make code unconditional.
31812         [!__ASSUME_32BITUIDS]: Remove conditional code.
31813         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31814         <kernel-features.h>.
31815         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31816         unconditional.
31817         (__setresuid): Do not declare.
31818         [__ASSUME_32BITUIDS]: Make code unconditional.
31819         [!__ASSUME_32BITUIDS]: Remove conditional code.
31820         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31821         <kernel-features.h>.
31822         [__ASSUME_32BITUIDS]: Make code unconditional.
31823         [!__ASSUME_32BITUIDS]: Remove conditional code.
31824         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31825         <kernel-features.h>.
31826         [__ASSUME_32BITUIDS]: Make code unconditional.
31827         [!__ASSUME_32BITUIDS]: Remove conditional code.
31828
31829 2012-05-25  Richard Henderson  <rth@twiddle.net>
31830
31831         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31832         dl_hwcap to ifunc resolver.
31833         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31834         elf_ifunc_invoke.
31835         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31836         dl_hwcap to ifunc resolver.
31837         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31838
31839 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31840
31841         [BZ #14153]
31842         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31843         for |x| <= 2**-26, not 2**-57.
31844         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31845         exception.
31846
31847 2012-05-24  Jeff Law  <law@redhat.com>
31848
31849         * stdio-common/Makefile (tests): Add bug25.
31850         * stdio-common/bug25.c: New test.
31851
31852 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31853
31854         [BZ #13576]
31855         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31856         multiple of MALLOC_ALIGNMENT in size.
31857         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31858
31859 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31860
31861         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31862         Require >= 256.
31863         (FILENAME_MAX): Use macro-int-constant.
31864         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31865         (_IOFBF): Use macro-int-constant.
31866         (_IOLBF): Likewise.
31867         (_IONBF): Likewise.
31868         (SEEK_CUR): Likewise.
31869         (SEEK_END): Likewise.
31870         (SEEK_SET): Likewise.
31871         (TMP_MAX): Likewise.
31872         (EOF): Use macro-int-constant.  Require < 0.
31873         (NULL): Use macro-constant.  Require == 0.
31874         (stdin): Require type to be FILE *.
31875         (stdout): Likewise.
31876         (stderr): Likewise.
31877         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31878         macro-int-constant.
31879         (EXIT_SUCCESS): Likewise.
31880         (NULL): Use macro-constant.  Require == 0.
31881         (RAND_MAX): Use macro-int-constant.
31882         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31883         [C99-based standards] (strtof): Require function.
31884         [C99-based standards] (strtold): Likewise.
31885         [C99-based standards] (strtoll): Likewise.
31886         [C99-based standards] (strtoull): Likewise.
31887         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31888         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31889         [ISO || ISO99 || ISO11] (math.h): Likewise.
31890         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31891         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31892         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31893
31894 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31895
31896         [BZ #14132]
31897         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31898         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31899         * intl/dgettext.c (DCGETTEXT): Likewise.
31900         * intl/gettext.c (DCGETTEXT): Likewise.
31901         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31902         * posix/regex_internal.h (gettext): Likewise.
31903         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31904         Remove declaration.
31905         * include/argz.h (__argz_count_internal)
31906         (__argz_stringify_internal): Remove declaration.
31907         (__argz_count, __argz_stringify): Declare hidden proto.
31908         * intl/dcgettext.c: Remove use of INTDEF.
31909         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31910         * string/argz-stringify.c: Likewise.
31911         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31912         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31913         Declare hidden proto.
31914         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31915         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31916         Declare hidden proto.
31917         * include/stdio.h (__asprintf_internal): Don't declare.
31918         (__asprintf): Don't define as macro.  Declare hidden proto.
31919         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31920         (__fsetlocking): Declare hidden proto.
31921         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31922         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31923         hidden proto.
31924         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31925         (_IO_setlinebuf): Remove use of INTUSE.
31926         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31927         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31928         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31929         Remove declaration.
31930         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31931         (_IO_do_flush): Remove use of INTUSE.
31932         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31933         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31934         (_IO_adjust_column, _IO_least_wmarker)
31935         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31936         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31937         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31938         (_IO_default_doallocate, _IO_wdefault_doallocate)
31939         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31940         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31941         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31942         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31943         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31944         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31945         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31946         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31947         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31948         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31949         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31950         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31951         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31952         proto.
31953         (_IO_flush_all_internal, _IO_adjust_column_internal)
31954         (_IO_default_uflow_internal, _IO_default_finish_internal)
31955         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31956         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31957         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31958         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31959         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31960         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31961         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31962         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31963         (_IO_file_close_internal, _IO_file_close_it_internal)
31964         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31965         (_IO_file_init_internal, _IO_file_attach_internal)
31966         (_IO_file_fopen_internal, _IO_file_read_internal)
31967         (_IO_file_sync_internal, _IO_file_seek_internal)
31968         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31969         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31970         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31971         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31972         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31973         (_IO_list_all_internal, _IO_link_in_internal)
31974         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31975         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31976         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31977         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31978         (_IO_do_write_internal, _IO_padn_internal)
31979         (_IO_getline_info_internal, _IO_getline_internal)
31980         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31981         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31982         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31983         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31984         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31985         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31986         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31987         with libc_hidden_ver, remove use of INTUSE.
31988         * libio/genops.c: Likewise.
31989         * libio/freopen.c: Likewise.
31990         * libio/freopen64.c: Likewise.
31991         * libio/iofclose.c: Likewise.
31992         * libio/iofdopen.c: Likewise.
31993         * libio/iofflush.c: Likewise.
31994         * libio/iofflush_u.c: Likewise.
31995         * libio/iofgets.c: Likewise.
31996         * libio/iofgets_u.c: Likewise.
31997         * libio/iofopen.c: Likewise.
31998         * libio/iofopncook.c: Likewise.
31999         * libio/iofread.c: Likewise.
32000         * libio/iofread_u.c: Likewise.
32001         * libio/ioftell.c: Likewise.
32002         * libio/iofwrite.c: Likewise.
32003         * libio/iogetline.c: Likewise.
32004         * libio/iogets.c: Likewise.
32005         * libio/iogetwline.c: Likewise.
32006         * libio/iopadn.c: Likewise.
32007         * libio/iopopen.c: Likewise.
32008         * libio/ioseekoff.c: Likewise.
32009         * libio/ioseekpos.c: Likewise.
32010         * libio/iosetbuffer.c: Likewise.
32011         * libio/iosetvbuf.c: Likewise.
32012         * libio/ioungetc.c: Likewise.
32013         * libio/ioungetwc.c: Likewise.
32014         * libio/iovdprintf.c: Likewise.
32015         * libio/iovsprintf.c: Likewise.
32016         * libio/iovsscanf.c: Likewise.
32017         * libio/memstream.c: Likewise.
32018         * libio/obprintf.c: Likewise.
32019         * libio/oldfileops.c: Likewise.
32020         * libio/oldiofclose.c: Likewise.
32021         * libio/oldiofdopen.c: Likewise.
32022         * libio/oldiofopen.c: Likewise.
32023         * libio/oldiopopen.c: Likewise.
32024         * libio/oldstdfiles.c: Likewise.
32025         * libio/putc.c: Likewise.
32026         * libio/setbuf.c: Likewise.
32027         * libio/setlinebuf.c: Likewise.
32028         * libio/stdfiles.c: Likewise.
32029         * libio/strops.c: Likewise.
32030         * libio/vasprintf.c: Likewise.
32031         * libio/vscanf.c: Likewise.
32032         * libio/vsnprintf.c: Likewise.
32033         * libio/vswprintf.c: Likewise.
32034         * libio/wfiledoalloc.c: Likewise.
32035         * libio/wfileops.c: Likewise.
32036         * libio/wgenops.c: Likewise.
32037         * libio/wmemstream.c: Likewise.
32038         * libio/wstrops.c: Likewise.
32039         * libio/__fpurge.c: Likewise.
32040         * libio/__fsetlocking.c: Likewise.
32041         * assert/assert.c: Likewise.
32042         * debug/fgets_chk.c: Likewise.
32043         * debug/fgets_u_chk.c: Likewise.
32044         * debug/fread_chk.c: Likewise.
32045         * debug/fread_u_chk.c: Likewise.
32046         * debug/gets_chk.c: Likewise.
32047         * debug/obprintf_chk.c: Likewise.
32048         * debug/vasprintf_chk.c: Likewise.
32049         * debug/vdprintf_chk.c: Likewise.
32050         * debug/vsnprintf_chk.c: Likewise.
32051         * debug/vsprintf_chk.c: Likewise.
32052         * malloc/mtrace.c: Likewise.
32053         * misc/error.c: Likewise.
32054         * misc/syslog.c: Likewise.
32055         * stdio-common/asprintf.c: Likewise.
32056         * stdio-common/fxprintf.c: Likewise.
32057         * stdio-common/getw.c: Likewise.
32058         * stdio-common/isoc99_fscanf.c: Likewise.
32059         * stdio-common/isoc99_scanf.c: Likewise.
32060         * stdio-common/isoc99_vfscanf.c: Likewise.
32061         * stdio-common/isoc99_vscanf.c: Likewise.
32062         * stdio-common/isoc99_vsscanf.c: Likewise.
32063         * stdio-common/printf-prs.c: Likewise.
32064         * stdio-common/printf_fp.c: Likewise.
32065         * stdio-common/printf_fphex.c: Likewise.
32066         * stdio-common/printf_size.c: Likewise.
32067         * stdio-common/putw.c: Likewise.
32068         * stdio-common/scanf.c: Likewise.
32069         * stdio-common/sprintf.c: Likewise.
32070         * stdio-common/tmpfile.c: Likewise.
32071         * stdio-common/vfprintf.c: Likewise.
32072         * stdio-common/vfscanf.c: Likewise.
32073         * stdlib/strfmon_l.c: Likewise.
32074         * sunrpc/openchild.c: Likewise.
32075         * sunrpc/xdr_stdio.c: Likewise.
32076         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32077         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32078
32079 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32080
32081         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32082
32083         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32084         in the third column, to generate for the shared library an IFUNC
32085         that uses _dl_vdso_vsym.
32086         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32087         * Makeconfig (object-suffixes-noshared): New variable.
32088
32089         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32090         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32091         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32092         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32093
32094         [BZ #14132]
32095         * include/sys/time.h (__gettimeofday): Remove macro.
32096         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32097         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32098         Remove INTDEF.
32099         (__gettimeofday): Add libc_hidden_def.
32100         (gettimeofday): Add libc_hidden_weak.
32101         * sysdeps/mach/gettimeofday.c: Likewise.
32102         * sysdeps/posix/gettimeofday.c: Likewise.
32103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32104         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32105         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32106         (__gettimeofday_internal): Remove strong_alias.
32107         (__gettimeofday): Add libc_hidden_def.
32108         (gettimeofday): Add libc_hidden_weak.
32109         * sysdeps/unix/syscalls.list (gettimeofday):
32110         Remove __gettimeofday_internal alias.
32111
32112 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32113             H.J. Lu  <hongjiu.lu@intel.com>
32114
32115         [BZ #12495]
32116         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32117         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32118         (largebin_index_32_big): New.
32119         (largebin_index): Use it for 16-byte alignment.
32120         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32121         correction with front_misalign.
32122
32123 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32124
32125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32127         Likewise.
32128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32129         Likewise.
32130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32131         Likewise.
32132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32133         Likewise.
32134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32135         Likewise.
32136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32137         Likewise.
32138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32139         Likewise.
32140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32141         Likewise.
32142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32143         Likewise.
32144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32145         Likewise.
32146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32147         Likewise.
32148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32149         Likewise.
32150
32151         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32152         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32153
32154 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32155
32156         [BZ #10846]
32157         [BZ #14036]
32158         * math/libm-test.inc (exp_test): Add test from bug 14036.
32159         (pow_test): Add test from bug 10846.
32160
32161         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32162         and other flags.
32163         (special_function): Do not include flags in test name.
32164         (parse_args): Likewise.
32165         * sysdeps/i386/fpu/libm-test-ulps: Update.
32166         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32167         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32168         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32170
32171         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32172         exceptions.
32173         * math/libm-test.inc ("Philosophy"): Update comment about
32174         exception testing.
32175         (UNDERFLOW_EXCEPTION): New macro.
32176         (UNDERFLOW_EXCEPTION_OK): Likewise.
32177         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32178         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32179         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32180         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32181         (INVALID_EXCEPTION_OK): Update value.
32182         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32183         (OVERFLOW_EXCEPTION_OK): Likewise.
32184         (IGNORE_ZERO_INF_SIGN): Likewise.
32185         (test_exceptions): Handle underflow exceptions.
32186         (acos_test): Update for underflow exception expectations.
32187         (cexp_test): Likewise.
32188         (clog_test): Likewise.
32189         (clog10_test): Likewise.
32190         (csqrt_test): Likewise.
32191         (ctan_test): Likewise.
32192         (ctanh_test): Likewise.
32193         (exp_test): Likewise.
32194         (exp10_test): Likewise.
32195         (exp2_test): Likewise.
32196         (expm1_test): Likewise.
32197         (fma_test): Likewise.
32198         (j0_test): Likewise.
32199         (jn_test): Likewise.
32200         (nexttoward_test): Likewise.
32201         (pow_test): Likewise.
32202         (scalbn_test): Likewise.
32203         (scalbln_test): Likewise.
32204         (tan_test): Likewise.
32205         (y1_test): Likewise.
32206         * sysdeps/i386/fpu/libm-test-ulps: Update.
32207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32208
32209 2012-05-23  David S. Miller  <davem@davemloft.net>
32210
32211         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32212         (__libc_sigaction): Remove unused local variables.
32213
32214 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32215
32216         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32217
32218 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32219
32220         mktime: avoid signed integer overflow
32221         * time/mktime.c (__mktime_internal): Do not mishandle the case
32222         where diff == INT_MIN.
32223
32224         mktime: simplify computation of average
32225         * time/mktime.c (ranged_convert): Use new time_t_avg function
32226         instead of rolling our own (probably-slower) code.
32227
32228         mktime: do not assume signed right shift propagates sign bit
32229         * time/mktime.c (isdst_differ): New static function.
32230         (__mktime_internal): No need to normalize tm_isdst now.
32231         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32232         tm_isdst values.
32233
32234         mktime: merge another wrapv change from gnulib
32235         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32236         from some compilers.
32237
32238         mktime: remove incorrect attempt at unusual arithmetics
32239         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32240         The code didn't really work on such machines anyway.
32241         (TYPE_MINIMUM): Assume two's complement.
32242         (twos_complement_arithmetic): Verify that long_int and time_t
32243         are two's complement (or unsigned, in the latter case).
32244
32245         mktime: check signed shifts on long_int and time_t, too
32246         * time/mktime.c (SHR): Check that shifts work as desired
32247         on the types long_int and time_t too, as SHR is used on
32248         such types.
32249
32250         mktime: do not assume 'long' is wide enough
32251         * time/mktime.c (verify): Move decl up.
32252         (long_int): New type.
32253         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32254         to remove assumption in the code that 'long' is wide enough to
32255         store year values.  This assumption is not true on x32 and on
32256         some non-glibc platforms.
32257
32258         mktime: merge wrapv change from gnulib
32259         * time/mktime.c (WRAPV): New macro.
32260         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32261         (guess_time_tm, __mktime_internal): Do not assume that signed
32262         integer overflow wraps around; modern compilers generate code
32263         where this assumption is no longer valid.
32264
32265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32266
32267         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32268         Replace "jmp L(pseudo_end)" with "ret".
32269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32270         Likewise.
32271
32272 2012-05-23  Andreas Jaeger  <aj@suse.de>
32273
32274         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32275         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32276
32277 2012-05-23  Andreas Jaeger  <aj@suse.de>
32278             Maximilian Attems  <max@stro.at>
32279
32280         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32281         New macros.
32282
32283 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32284
32285         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32286         code so that pseudo_end is just ret and the stack pointer is
32287         correct also for static library in error case.
32288
32289 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32290
32291         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32292         move to syscalls.list.
32293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32297
32298         * manual/install.texi (Running make install): Do not mention Linux
32299         kernel version for which pt_chown is not needed.
32300         (Linux): Do not mention problems with nscd with 2.0 kernels.
32301         * INSTALL: Regenerated.
32302
32303 2012-05-23  Andreas Jaeger  <aj@suse.de>
32304
32305         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32306         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32307         macro.
32308         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32309         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32310         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32311         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32312         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32313         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32314         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32315         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32316         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32318         * sysdeps/unix/sysv/linux/bits/in.h
32319         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32320
32321 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32322
32323         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32324         (PREPARE_VERSION): Just use assert instead, it will be elided
32325         under [NDEBUG] anyway.
32326
32327 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32328
32329         * sysdeps/unix/sysv/linux/Makefile: Include
32330         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32331         (sysdep_routines): Remove sysctl.
32332         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32333         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32334         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32335         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32336         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32337
32338 2012-05-22  Andreas Jaeger  <aj@suse.de>
32339
32340         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32341         that pseudo_end is just ret and the stack pointer is correct also
32342         for static library in error case.
32343
32344 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32345
32346         [BZ #14122]
32347         * nss/nsswitch.c (defconfig_entries): New variable.
32348         (__nss_database_lookup): Don't leak defconfig entries.
32349         (nss_parse_service_list): Don't leak on error paths.
32350         (free_database_entries): New function.
32351         (free_defconfig): New function.
32352         (free_mem): Move common code to free_database_entries.
32353
32354 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32355
32356         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32357         Add arch_prctl.
32358         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32359
32360         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32361         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32363         New macro.
32364         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32365         (INTERNAL_SYSCALL_TYPES): Likewise.
32366         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32367         (LOAD_REGS_TYPES_[1-6]): Likewise.
32368         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32369         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32370
32371 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32372
32373         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32374         copysignl for GLIBC_2_0.
32375         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32376         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32378         logbl for GLIBC_2_0.
32379         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32380         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32381
32382 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32383
32384         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32385         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32386
32387         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32388         Use "neg %eax".
32389
32390         * time/mktime.c: Update copyright years.
32391
32392 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32393
32394         mktime: merge comment-quoting-style change from gnulib
32395         * time/mktime.c: Quote 'like this' in comments.
32396         The GNU coding standards suggest that we no longer quote `like this',
32397         as "`" and "'" are typically rendered asymmetrically nowadays.
32398         The typical gnulib style is to quote 'like this' when quoting
32399         code, and "like this" when quoting English.
32400
32401         * time/mktime.c (compile-command): Add "-I.".
32402
32403         mktime: merge mktime-internal.h change from gnulib
32404         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32405
32406         mktime: merge time_r change from gnulib
32407         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32408
32409         mktime: merge DEBUG change from gnulib
32410         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32411         case system <time.h> has a #define.
32412
32413         mktime: merge <sys/types.h> change from gnulib
32414         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32415         since <time.t> is now guaranteed to define time_t.
32416
32417         mktime: merge HAVE_CONFIG_H change from gnulib
32418         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32419
32420 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32421
32422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32423         Use "neg %eax".
32424
32425         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32426         __rlim_t cast.
32427         (struct rusage): Use anonymous union to pad each field to
32428         __syscall_slong_t.
32429
32430 2012-05-21  David S. Miller  <davem@davemloft.net>
32431
32432         * Makefules (o-iterator): Remove .s cases.
32433         (compile-command.s): Delete.
32434         (COMPILE.s): Delete.
32435         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32436
32437 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32438
32439         * configure.in (libc_cv_predef_stack_protector): Only consider
32440         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32441         * configure: Regenerated.
32442
32443 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32444
32445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32446         New macro.  Use R*LP on int and pointer.
32447         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32448         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32449         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32450         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32451
32452         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32453         [__WORDSIZE_TIME64_COMPAT32] instead of
32454         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32455         (struct utmp): Likewise.
32456         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32457         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32458         Renamed to ...
32459         (__WORDSIZE_TIME64_COMPAT32): This.
32460         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32461         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32462         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32463         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32464         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32465         (__WORDSIZE_TIME64_COMPAT32): New macro.
32466
32467 2012-05-21  Andreas Jaeger  <aj@suse.de>
32468
32469         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32470         only if [SHARED]. Add prototype for __wcschr_ia32.
32471
32472 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32473
32474         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32475         of %rbp unmolested in the jmp_buf while mangling the low bits.
32476         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32477         unmolested high bits of %rbp while demangling the low bits.
32478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32479
32480 2012-05-21  Andreas Jaeger  <aj@suse.de>
32481
32482         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32483         * sunrpc/svc_simple.c: Use it for registerrpc.
32484         * sunrpc/xcrypt.c: Use it for passwd2des.
32485
32486         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32487
32488 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32489
32490         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32491         Don't define if [__SYSCALL_WORDSIZE != 32].
32492         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32493         New macro.
32494
32495 2012-05-21  Bruno Haible  <bruno@clisp.org>
32496             Andreas Jaeger  <aj@suse.de>
32497
32498         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32499         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32500         inptr and inend for must_buffer_ch.
32501         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32502         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32503         * stdio-common/Makefile (tests): Remove bug15.
32504         (bug15-ENV): Remove macro.
32505         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32506         anymore.
32507
32508 2012-05-19  Andreas Jaeger  <aj@suse.de>
32509             Roland McGrath  <roland@hack.frob.com>
32510
32511         * manual/contrib.texi: Completely rewritten. It contains now an
32512         alphabetical list of contributors and their contributions.
32513
32514 2012-05-21  Richard Henderson  <rth@twiddle.net>
32515
32516         * misc/getauxval.c (__getauxval): Use unsigned long int.
32517         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32518         (getauxval): Use unsigned long int.
32519
32520 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32521
32522         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32523
32524 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32525
32526         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32527         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32528         __alignof__ (long double).
32529
32530 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32531
32532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32533
32534 2012-05-20  Richard Henderson  <rth@twiddle.net>
32535
32536         * misc/getauxval.c: New file.
32537         * misc/sys/auxv.h: New file.
32538         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32539         (routines): Add getauxval.
32540         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32541         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32542         * elf/dl-sysdep.c (_dl_auxv): Remove.
32543         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32544         * elf/dl-support.c (_dl_auxv): New variable.
32545         (_dl_aux_init): Initialize it.
32546         * manual/startup.texi (Auxiliary Vector): New node.
32547         * sysdeps/generic/bits/hwcap.h: New file.
32548         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32549         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32550         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32551         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32552         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32553         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32555         Update.
32556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32559         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32564
32565 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32566
32567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32568
32569 2012-05-19  David S. Miller  <davem@davemloft.net>
32570
32571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32572
32573 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32574
32575         [BZ #14123]
32576         * math/s_ccosh.c: Include <float.h>
32577         (__ccosh): Avoid internal overflow calculating sinh and cosh
32578         values before multiplying by sin and cos values.
32579         * math/s_ccoshf.c: Likewise.
32580         * math/s_ccoshl.c: Likewise.
32581         * math/s_csin.c: Likewise.
32582         * math/s_csinf.c: Likewise.
32583         * math/s_csinl.c: Likewise.
32584         * math/s_csinh.c: Likewise.
32585         * math/s_csinhf.c: Likewise.
32586         * math/s_csinhl.c: Likewise.
32587         * math/libm-test.inc (ccos_test): Add more tests.
32588         (ccosh_test): Likewise.
32589         (csin_test): Likewise.
32590         (csinh_test): Likewise.
32591         * sysdeps/i386/fpu/libm-test-ulps: Update.
32592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32593
32594 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32595
32596         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32597         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32598
32599         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32600
32601 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32602
32603         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32604         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32605         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32606         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32607         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32608         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32609         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32610         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32611         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32612         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32613         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32614         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32615         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32616         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32617         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32618         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32619         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32620         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32621         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32622         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32623         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32624         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32625         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32626         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32627         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32628         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32629         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32630         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32631         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32632         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32633         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32634
32635 2012-05-18  Andreas Jaeger  <aj@suse.de>
32636
32637         * csu/.gitignore: Delete.
32638
32639 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32640
32641         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32642         (timex): Use __syscall_slong_t.
32643
32644 2012-05-18  Andreas Jaeger  <aj@suse.de>
32645             Carlos O'Donell  <carlos_odonell@mentor.com>
32646
32647         * manual/install.texi (Configuring and compiling): Update
32648         description about files modified in the source directory.
32649         * INSTALL: Regenerated.
32650
32651 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32652
32653         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32654         value.  Use "or" to set return value to -1.
32655         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32656         negate return value.
32657
32658 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32659
32660         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32661         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32662         failure if the compiler has Graphite support disabled.
32663         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32664         Likewise.
32665         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32666         (CFLAGS-memmove.c): Likewise.
32667         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32668         Likewise.
32669
32670 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32671
32672         * sysdeps/x86_64/x32/_itoa.h: New file.
32673
32674         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32675         getdents system call only if kernel and user dirents have the
32676         same d_ino and d_off.
32677
32678         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32679         LLONG_MAX != LONG_MAX.
32680         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32681         (_fitoa_word): Likewise.
32682
32683         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32684         years.
32685         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32686         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32687         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32688
32689         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32690         include <bits/wordsize.h>.  Check __x86_64__ instead of
32691         __WORDSIZE.
32692         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32693         if __x86_64__ is defined.  Use anonymous union on fpstate.
32694
32695         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32696         anonymous union.
32697
32698 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32699
32700         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32701         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32702         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32703         Refer to _rtld_local_ro instead of _rtld_global_ro.
32704         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32705         Likewise.
32706         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32707         Likewise.
32708         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32709         Likewise.
32710         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32711         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32712         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32713
32714         * sysdeps/powerpc/powerpc32/dl-machine.c
32715         (__elf_machine_runtime_setup) [PROF]: Don't reference
32716         _dl_prof_resolve.
32717
32718 2012-05-18  Andreas Jaeger  <aj@suse.de>
32719
32720         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32721         function only available for GCCs before 3.4 since GCC 3.4
32722         introduced a builtin.
32723         (lrint): Likewise.
32724         (llrintf): Likewise.
32725         (llrint): Likewise.
32726         (fmaxf): Likewise.
32727         (fmax): Likewise.
32728         (fminf): Likewise.
32729         (fmin): Likewise.
32730         (rint): Likewise.
32731         (rintf): Likewise.
32732         (nearbyint): Likewise.
32733         (nearbyintf): Likewise.
32734         (ceil): Likewise.
32735         (ceilf): Likewise.
32736         (floor): Likewise.
32737         (floorf): Likewise.
32738
32739 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32740
32741         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32742         on both fields and cast pointer to __syscall_ulong_t.
32743
32744         * bits/types.h (__fsword_t): New type.
32745         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32746         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32748         (__FSWORD_T_TYPE): Likewise.
32749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32750         (__FSWORD_T_TYPE): Likewise.
32751         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32752         (__FSWORD_T_TYPE): Likewise.
32753         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32754         (__FSWORD_T_TYPE): Likewise.
32755         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32756         __SWORD_TYPE with __fsword_t.
32757         (statfs64): Likewise.
32758
32759 2012-05-17  David S. Miller  <davem@davemloft.net>
32760
32761         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32762
32763 2012-05-17  Andreas Jaeger  <aj@suse.de>
32764
32765         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32766         warning.
32767
32768 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32769
32770         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32771
32772 2012-05-17  Andreas Jaeger  <aj@suse.de>
32773
32774         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32775         when it is used.
32776
32777 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32778
32779         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32780
32781 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32782
32783         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32784         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32785
32786 2012-05-17  Andreas Jaeger  <aj@suse.de>
32787             Carlos O'Donell  <carlos_odonell@mentor.com>
32788
32789         [BZ #14059]
32790         * sysdeps/x86_64/multiarch/init-arch.h
32791         (bit_YMM_Usable): Rename to...
32792         (bit_AVX_Usable): ... this.
32793         (bit_FMA4_Usable): New macro.
32794         (bit_XMM_state): New macro.
32795         (bit_YMM_state): New macro.
32796         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32797         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32798         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32799         (CPUID_OSXSAVE): New macro.
32800         (CPUID_AVX): New macro.
32801         (CPUID_FMA4): New macro.
32802         (index_YMM_Usable): Rename to...
32803         (index_AVX_Usable): ... this.
32804         (HAS_AVX): Use HAS_ARCH_FEATURE.
32805         (HAS_FMA4): Likewise.
32806         (HAS_YMM_USABLE): Remove.
32807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32808         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32809         are present.
32810         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32811         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32812         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32813         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32814         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32815
32816 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32817
32818         * math/libm-test.c: Support platforms without multiple rounding modes.
32819         * math/bug-nextafter.c: Support platforms without FP exceptions.
32820         * math/bug-nexttoward.c: Likewise.
32821         * math/test-fenv.c: Likewise.
32822         * math/test-misc.c: Likewise.
32823         * stdlib/bug-getcontext.c: Likewise.
32824
32825 2012-05-17  Andreas Jaeger  <aj@suse.de>
32826
32827         * manual/examples/search.c (critter_cmp): Change signature to
32828         avoid warnings.
32829         * manual/string.texi (Collation Functions): Likewise.
32830
32831 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32832
32833         * bits/types.h: Fold copyright years.
32834         * bits/typesizes.h: Likewise.
32835         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32836         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32839         * time/time.h: Likewise.
32840
32841 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32842
32843         [BZ #208]
32844         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32845         in instead of returning them.  Return void.
32846         (__libc_mallinfo): Accumulate over all arenas.
32847         (__malloc_stats): Adjust for change in int_mallinfo interface.
32848
32849 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32850
32851         [BZ #10375]
32852         * configure.in (NM): Add AC_CHECK_TOOL for it.
32853         (libc_extra_cflags): New substituted variable.
32854         Check for -fstack-protector being used implicitly.
32855         * configure: Regenerated.
32856         * config.make.in (config-extra-cflags): New variable,
32857         gets @libc_extra_cflags@.
32858         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32859
32860         [BZ #10375]
32861         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32862         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32863         * configure: Regenerated.
32864         * config.make.in (CPPUNDEFS): New substituted variable.
32865         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32866         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32867         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32868
32869 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32870
32871         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32872         (mq_attr): Use __syscall_slong_t.
32873
32874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32875
32876         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32877         Check __x86_64__ instead of __WORDSIZE.
32878         (_STAT_VER_LINUX): Likewise.
32879         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32880         __syscall_ulong_t and __syscall_slong_t.
32881         (stat64): Likewise.
32882
32883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32884
32885         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32886
32887 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32888
32889         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32890
32891 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32892
32893         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32894         __syscall_ulong_t.
32895
32896         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32897         include <bits/wordsize.h>.  Check __x86_64__ instead of
32898         __WORDSIZE.
32899         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32900         defined.
32901         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32902
32903         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32904         include <bits/wordsize.h>.  Check __x86_64__ instead of
32905         __WORDSIZE.
32906         (user_regs_struct): Use "__extension__ unsigned long long"
32907         instead of "unsigned long" if __x86_64__ is defined.
32908         (user): Likewise.  Pad after pointer field if __ILP32__ is
32909         defined.
32910
32911 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32912
32913         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32914         versions 5 to 9.
32915         * configure: Regenerated.
32916         * manual/install.texi (texinfo): Increase version requirement to
32917         4.5 or later.
32918         * INSTALL: Regenerated.
32919
32920         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32921
32922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32923
32924         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32925
32926         * sysdeps/x86_64/x32/ffs.c: New file.
32927
32928         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32929         __syscall_ulong_t.
32930         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32931         defined.  Use __syscall_ulong_t.
32932         (shminfo): Use __syscall_ulong_t.
32933         (shm_info): Likewise.
32934
32935         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32936         __syscall_ulong_t.
32937
32938         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32939         <bits/wordsize.h>.
32940         (msgqnum_t): Use __syscall_ulong_t.
32941         (msglen_t): Likewise.
32942         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32943         __syscall_ulong_t.
32944
32945         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32946         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32947
32948         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32949
32950         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32951         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32952
32953         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32954         __syscall_slong_t.
32955
32956         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32957         include <bits/wordsize.h>.  Check __x86_64__ instead of
32958         __WORDSIZE.
32959
32960         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32961         "unsigned long long int" if __x86_64__ is defined.
32962         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32963
32964         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32965         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32966         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32967
32968         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32969         <stdint.h>.
32970         (GET_PC): Cast to uintptr_t first.
32971         (GET_FRAME): Likewise.
32972         (GET_STACK): Likewise.
32973
32974         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32976         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32977         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32978         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32979         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32980         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32981         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32982         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32983         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32984         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32985         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32986         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32987         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32989         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32991         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32992         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32993         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32994         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32995         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32996         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32997         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32998         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32999         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33000         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33001         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33002         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33003
33004 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33005
33006         * Makerules (+depfiles): Also collect depfiles from .oS in
33007         $(extra-objs).
33008         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33009         .oS, $(libnldbl-routines)).
33010
33011         * Makerules (native-compile-mkdep-flags): Define.
33012         * sunrpc/Makefile (extra-objs): Add $(addprefix
33013         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33014         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33015         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33016         calling $(make-target-directory).
33017
33018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33019
33020         * bits/types.h (__snseconds_t): Removed.
33021         * time/time.h (struct timespec): Replace __snseconds_t with
33022         __syscall_slong_t.
33023         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33024         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33025         Likewise.
33026         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33027         (__SNSECONDS_T_TYPE): Likewise.
33028         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33029         (__SNSECONDS_T_TYPE): Likewise.
33030         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33031         (__SNSECONDS_T_TYPE): Likewise.
33032
33033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33034
33035         * sysdeps/mach/hurd/bits/typesizes.h
33036         (__SYSCALL_SLONG_TYPE): New macro.
33037         (__SYSCALL_ULONG_TYPE): Likewise.
33038
33039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33040
33041         * bits/types.h (__syscall_slong_t): New type.
33042         (__syscall_ulong_t): Likewise.
33043
33044         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33045         (__SYSCALL_ULONG_TYPE): Likewise.
33046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33047         (__SYSCALL_SLONG_TYPE): Likewise.
33048         (__SYSCALL_ULONG_TYPE): Likewise.
33049         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33050         (__SYSCALL_SLONG_TYPE): Likewise.
33051         (__SYSCALL_ULONG_TYPE): Likewise.
33052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33053         (__SYSCALL_SLONG_TYPE): Likewise.
33054         (__SYSCALL_ULONG_TYPE): Likewise.
33055
33056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33057
33058         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33059         Add sigaltstack-offsets.sym.
33060         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33061         <sigaltstack-offsets.h>.
33062         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33063         longjmp_msg pointer.
33064         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33065         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33066         signal stack.
33067         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33068
33069 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33070
33071         * elf/stackguard-macros.h: Remove file.
33072         * sysdeps/generic/stackguard-macros.h: New file.
33073         * sysdeps/i386/stackguard-macros.h: Likewise.
33074         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33075         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33076         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33077         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33078         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33079         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33080         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33081         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33082         <elf/stackguard-macros.h>.
33083
33084         [BZ #14109]
33085         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33086         __aligned__ in attribute.
33087         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33088         (gregset_t): Likewise.
33089
33090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33091
33092         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33093         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33094         * sysdeps/x86_64/x32/Implies-after: New file.
33095
33096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33097
33098         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33099         and access return value for _dl_profile_fixup.  Use R10_LP to
33100         load frame size.
33101
33102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33103
33104         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33105
33106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33107
33108         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33109         * sysdeps/x86_64/x32/sysdep.h: New file.
33110
33111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33112
33113         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33114         * sysdeps/x86_64/setjmp.S: Likewise.
33115
33116 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33117
33118         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33119         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33120         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33121         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33122         remove unused global constant.
33123
33124 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33125
33126         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33127         include of <not-cancel.h>.
33128
33129 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33130
33131         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33132
33133 2012-05-15  Jeff Law  <law@redhat.com>
33134             Andreas Jaeger  <aj@suse.de>
33135
33136         [BZ #13594]
33137         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33138         out from...
33139         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33140         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33141         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33142         code changing __hst_map_handle.map.
33143
33144 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33145
33146         * configure.in (sysnames): Look for Implies-before and Implies-after
33147         files.
33148         * configure: Regenerated.
33149
33150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33151
33152         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33153         8-byte data alignment with LP_SIZE alignment.
33154
33155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33156
33157         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33158         into R10_LP.
33159
33160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33161
33162         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33163
33164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33165
33166         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33167         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33168         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33169         Likewise.
33170         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33171
33172 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33173
33174         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33175         (stackinfo_sub_sp): Likewise.
33176
33177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33178
33179         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33180         RAX_LP.
33181
33182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33183
33184         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33185         into R*_LP.
33186
33187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33188
33189         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33190         sizes into R*_LP.
33191
33192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33193
33194         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33195
33196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33197
33198         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33199         into R11_LP and load __x86_64_shared_cache_size_half into
33200         R8_LP.
33201
33202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33203
33204         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33205         R8_LP.
33206
33207 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33208
33209         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33210         logb for POWER7.
33211         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33212         logbf for POWER7.
33213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33214         logbl for POWER7.
33215         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33216         powerpc32/power7/fpu/s_logb.c via #include.
33217         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33218         powerpc32/power7/fpu/s_logbf.c via #include.
33219         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33220         powerpc32/power7/fpu/s_logbl.c via #include.
33221
33222 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33223
33224         * README.libm: Remove file.
33225
33226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33227
33228         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33229         count for x32.  Use R*_LP and omit operand-size suffix.
33230
33231 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33232
33233         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33234         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33235         * sysdeps/x86_64/x32/shlib-versions: New file.
33236
33237 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33238
33239         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33240         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33241         Use _dl_fatal_printf instead.
33242
33243 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33244
33245         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33246         set if not set by the user.  Do not allow for being unset.
33247         * sysdeps/unix/sysv/linux/configure: Regenerated.
33248
33249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33250
33251         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33252         the `q' suffix from lea and replace .quad with ASM_ADDR.
33253
33254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33255
33256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33257         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33258         instead of $17.
33259         (PTR_DEMANGLE): Likewise.
33260
33261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33262
33263         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33264         (LP_OP): Likewise.
33265         (ASM_ADDR): Likewise.
33266         (RAX_LP): Likewise.
33267         (RBP_LP): Likewise.
33268         (RBX_LP): Likewise.
33269         (RCX_LP): Likewise.
33270         (RDI_LP): Likewise.
33271         (RSI_LP): Likewise.
33272         (RSP_LP): Likewise.
33273         (R8_LP): Likewise.
33274         (R9_LP): Likewise.
33275         (R10_LP): Likewise.
33276         (R10_LP): Likewise.
33277         (R11_LP): Likewise.
33278         (R12_LP): Likewise.
33279         (R13_LP): Likewise.
33280         (R14_LP): Likewise.
33281         (R15_LP): Likewise.
33282
33283 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33284
33285         * sysdeps/x86_64/x32/dl-machine.h: New file.
33286
33287 2012-05-14  Andreas Jaeger  <aj@suse.de>
33288
33289         * manual/Makefile (subdir): Remove export of subdir.
33290         (all): Remove target.
33291         (.PHONY): Remove all from list.
33292         (mkinstalldirs): Remove.
33293         (.PHONY): Remove installdirs from list.
33294         ($(inst_infodir)/libc.info): Use make-target-directory.
33295         (installdirs): Remove.
33296         (subdir_%): Remove.
33297         (glibc-targets): Remove.
33298         (lib): Remove.
33299         (stubs): Remove.
33300         ($(objpfx)stubs ../po/manual.pot): Remove.
33301         ($(objpfx)stamp%): Remove.
33302         (make-target-directory): Remove.
33303         (subdir_install): Remove.
33304         (routines): Remove.
33305         (aux): Remove.
33306         (sources): Remove.
33307         (objects): Remove.
33308         (headers): Remove.
33309
33310         [BZ #13750]
33311         * manual/.gitignore: Remove, it's not needed anymore.
33312         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33313         all files in it.
33314         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33315         directory.
33316         (texis): Renamed to $(objpfx)texis.
33317         (texis-path): New, contains path to generated files.
33318         (chapters.%): Use texis-path for complete path, add extra argument
33319         libc-texinfo.sh.
33320         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33321         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33322         (summary,texi, stamp-summary): Use complete path of
33323         files. Generate files in build dir.
33324         (dir-add.texi): Build in build dir.
33325         (libm-err.texi,stamp-libm-err): Likewise.
33326         (version.texi, stamp-version): Likewise.
33327         (.%c.texi): Likewise.
33328         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33329         (mostlyclean): Remove target.
33330         (realclean): Remove target.
33331         (generated): Add new variable with contents from mostlyclean and
33332         realclean, remove entries duplicated in common-mostlyclean, add
33333         stamp-libm-err and stamp-version.
33334         (generated-dirs): Add libc directory.
33335         ($(inst_infodir)/libc.info): Install files from build dir.
33336
33337         * manual/install.texi (Configuring and compiling): Adjust since
33338         the info files are not part of the tar ball anymore.
33339
33340 2012-05-14  Andreas Jaeger  <aj@suse.de>
33341
33342         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33343         variable.
33344
33345 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33346
33347         [BZ #13717]
33348         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33349         to 2.2.0 where earlier.
33350         * sysdeps/unix/sysv/linux/configure: Regenerated.
33351         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33352         Remove conditional code.
33353         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33354         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33355         Remove conditional code.
33356         [!__NR_lchown]: Likewise.
33357         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33358         [__NR_lchown]: Likewise.
33359         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33360         comment referencing __ASSUME_LCHOWN_SYSCALL.
33361         * sysdeps/unix/sysv/linux/i386/sigaction.c
33362         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33363         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33364         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33365         Remove conditional code.
33366         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33367         (__protocol_available): Remove #if 0 code.
33368         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33369         conditional code.
33370         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33371         * sysdeps/unix/sysv/linux/kernel-features.h
33372         (__ASSUME_GETCWD_SYSCALL): Don't define.
33373         (__ASSUME_REALTIME_SIGNALS): Likewise.
33374         (__ASSUME_PREAD_SYSCALL): Likewise.
33375         (__ASSUME_PWRITE_SYSCALL): Likewise.
33376         (__ASSUME_POLL_SYSCALL): Likewise.
33377         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33378         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33379         non-SPARC.
33380         (__ASSUME_SIOCGIFNAME): Don't define.
33381         (__ASSUME_MSG_NOSIGNAL): Likewise.
33382         (__ASSUME_SENDFILE): Define unconditionally.
33383         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33384         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33385         conditional code.
33386         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33387         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33388         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33389         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33390         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33391         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33392         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33394         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33395         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33397         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33398         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33400         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33401         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33403         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33404         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33406         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33407         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33409         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33410         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33412         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33415         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33416         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33417         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33418         Remove conditional code.
33419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33420         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33421         Remove conditional code.
33422         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33423         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33424         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33425         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33426         Remove conditional code.
33427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33428         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33429         Remove conditional code.
33430         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33431         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33432         Remove conditional code.
33433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33434         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33435         Remove conditional code.
33436         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33437         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33438         Remove conditional code.
33439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33440         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33441         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33442         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33443         * sysdeps/unix/sysv/linux/sigaction.c
33444         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33445         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33446         * sysdeps/unix/sysv/linux/sigpending.c
33447         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33448         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33449         * sysdeps/unix/sysv/linux/sigprocmask.c
33450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33452         * sysdeps/unix/sysv/linux/sigsuspend.c
33453         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33454         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33455         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33456         (__libc_missing_rt_sigs): Remove.
33457         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33458         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33459         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33460         Remove conditional code.
33461         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33462         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33463         return 1.
33464         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33465         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33466         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33467         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33468
33469 2012-05-14  Andreas Jaeger  <aj@suse.de>
33470
33471         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33472         it's not used in glibc.
33473         (__coshm1): Likewise.
33474         (__acosh1p): Likewise.
33475         (__sgn): Likewise.
33476
33477         * manual/string.texi (Copying and Concatenation): Add missing
33478         variable in concat example.
33479         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33480
33481 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33482
33483         [BZ #14103]
33484         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33485         __builtin_clzl with __builtin_clzll.
33486
33487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33488
33489         [BZ #14104]
33490         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33491         libc_freeres_ptr.
33492
33493 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33494
33495         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33496         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33497         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33498         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33499
33500 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33501
33502         * NEWS: Update ia64 info.
33503
33504 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33505
33506         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33507         used as bcopy.
33508
33509 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33510
33511         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33512         * sysdeps/unix/syscalls.list (dup3): Likewise.
33513         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33514         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33515
33516 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33517
33518         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33519         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33520
33521 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33522
33523         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33524         thread pointer.
33525         (TLS_IE): Use mov/add instead of movq/addq to load thread
33526         pointer.
33527         (TLS_GD_PREFIX): New.
33528         (TLS_GD): Use it.
33529
33530 2012-05-11  David S. Miller  <davem@davemloft.net>
33531
33532         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33533         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33534         (_FPU_SETCW): Likewise.
33535
33536 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33537
33538         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33539         is 32-byte aligned.
33540
33541 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33542
33543         [BZ #11837]
33544         * iconvdata/gb18030.c: Update tables.
33545         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33546         characters specially.
33547         (BODY for TO_LOOP): Add encoding of missing ranges.
33548
33549 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33550
33551         [BZ #13673]
33552         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33553         * sysdeps/mach/hurd/dup3.c: Likewise.
33554         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33555         * sysdeps/powerpc/memmove.c:: Likewise.
33556
33557 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33558
33559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33560         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33561
33562 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33563
33564         * elf/elf.h (R_X86_64_RELATIVE64): New.
33565         (R_X86_64_NUM): Updated.
33566         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33567         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33568         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33569         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33570         tst-quad1pie tst-quad2pie
33571         (modules-names): Add tst-quadmod1 tst-quadmod2.
33572         ($(objpfx)tst-quad1): New dependency.
33573         ($(objpfx)tst-quad2): Likewise.
33574         ($(objpfx)tst-quad1pie): Likewise.
33575         ($(objpfx)tst-quad2pie): Likewise.
33576         * sysdeps/x86_64/tst-quad1.c: New file.
33577         * sysdeps/x86_64/tst-quad1pie.c: New file.
33578         * sysdeps/x86_64/tst-quad2.c: Likewise.
33579         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33580         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33581         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33582         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33583         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33584
33585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33586
33587         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33588         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33589         * streams/stropts.h (t_scalar_t): Define type.
33590
33591         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33592         (_PATH_PRESERVE): Set to "/var/lib".
33593         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33594
33595         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33596         instead of int.
33597
33598         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33599         if __dir_mkfile succeeded.
33600
33601         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33602         checking for _hurd_dtablesize.  Unlock it right after having
33603         finished _hurd_dtable allocation.
33604
33605 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33606
33607         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33608         * sysdeps/mach/hurd/configure: Regenerated.
33609         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33610         special-casing to...
33611         * sysdeps/gnu/configure.in: ... this new file.
33612         * sysdeps/unix/sysv/linux/configure: Regenerated.
33613         * sysdeps/gnu/configure: New generated file.
33614
33615         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33616         for Linux: use nsec instead of usec, as well as:
33617         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33618         members of type struct timespec.
33619         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33620         New macros.
33621         (struct stat64): Likewise.
33622         (_STATBUF_ST_NSEC): New macro.
33623         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33624
33625         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33626         __strtoul_internal rather than strtoul.
33627
33628 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33629
33630         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33631         and reject them.
33632
33633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33634
33635         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33636         which preserves existing values.
33637         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33638
33639 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33640
33641         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33642         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33643         greater than FD_SETSIZE.
33644
33645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33646
33647         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33648         allocated, call __vm_protect to finish enabling the existing space, and
33649         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33650         allocate the remainder.
33651
33652 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33653
33654         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33655         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33656
33657 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33658
33659         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33660         sysdeps/mach/hurd/readlink.c.
33661
33662         * posix/tst-sysconf.c (posix_options): Only use
33663         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33664         _POSIX_SYNCHRONIZED_IO when they are defined
33665         * sysdeps/mach/hurd/bits/posix_opt.h:
33666         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33667         (_XOPEN_REALTIME): Undefine macro.
33668         (_XOPEN_REALTIME_THREADS): Undefine macro.
33669         (_XOPEN_SHM): Undefine macro.
33670         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33671         macro to -1.
33672         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33673         macro to -1.
33674         (_POSIX_ASYNC_IO): Undefine macro.
33675         (_POSIX_PRIORITIZED_IO): Undefine macro.
33676         (_POSIX_SPIN_LOCKS): Define macro to -1.
33677
33678         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33679         SA_NODEFER, SA_RESETHAND.
33680         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33681         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33682         F_DUPFD_CLOEXEC.
33683
33684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33685
33686         * elf/Makefile (pldd-modules): Define unconditionally.
33687
33688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33689
33690         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33691
33692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33693
33694         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33695         Return ENOENT when name is empty.
33696         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33697
33698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33699
33700         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33701
33702         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33703
33704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33705
33706         Fix mlock in all cases except non-readable pages.
33707         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33708         instead of VM_PROT_ALL as parameter to __vm_wire function.
33709
33710         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33711         (__mkdir): When path is `/', just fail with EEXIST.
33712         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33713
33714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33715
33716         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33717         <sys/uio.h> (for writev).
33718         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33719         and <sys/param.h> (for MIN).
33720
33721 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33722
33723         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33724         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33725         if interrupted.
33726
33727 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33728
33729         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33730         Depend on against $(link-rpcuserlibs).
33731
33732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33733
33734         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33735         (__libc_stack_end): Do not use attribute_relro.
33736         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33737         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33738         to libthread-provided value.
33739         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33740         attribute_relro.
33741
33742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33743
33744         [BZ #3748]
33745         * bits/libc-lock.h (__libc_once_get): New macro.
33746         * sysdeps/mach/bits/libc-lock.h: Likewise.
33747         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33748         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33749         instead of using implementation details.
33750
33751         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33752         * libio/freopen.c: Likewise.
33753         * libio/freopen64.c: Likewise.
33754         * misc/syslog.c: Likewise.
33755         * nscd/connections.c: Likewise.
33756         * nscd/netgroupcache.c: Likewise.
33757         * sysdeps/posix/getcwd.c: Likewise.
33758
33759 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33760
33761         * math/w_ilogbf.c: Add #include <limits.h>.
33762
33763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33764
33765         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33766         path instead of returning without unlocking.
33767
33768         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33769         immediate-write ioctls.
33770         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33771
33772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33773
33774         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33775         __builtin_frame_address instead of making assumptions about the
33776         location of the return address relative to DATA.  Force early load of
33777         the return address.
33778         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33779         __builtin_frame_address.
33780
33781         dup3 for GNU Hurd.
33782         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33783         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33784         implement dup3 and do some further code clean-ups.
33785         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33786         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33787
33788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33789
33790         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33791
33792         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33793         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33794         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33795         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33796         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33797         d->port.lock.
33798
33799         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33800         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33801         when handler == SIG_ERR, not when handler != SIG_ERR.
33802
33803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33804
33805         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33806         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33807         definitions.
33808
33809         accept4 for GNU Hurd.
33810         * include/sys/socket.h (__libc_accept4): New prototype.
33811         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33812         to implement __libc_accept4.
33813         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33814         __libc_accept4.
33815         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33816
33817         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33818         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33819         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33820         signal-defines.sym.
33821
33822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33823
33824         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33825
33826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33827
33828         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33829         assertion on O_CLOEXEC flag.
33830         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33831         * hurd/intern-fd.c: Likewise.
33832         * hurd/port2fd.c: Likewise.
33833
33834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33835
33836         [BZ #3906]
33837         * bits/in.h (IPV6_PKTINFO): Define new macro.
33838         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33839
33840 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33841
33842         [BZ #13954]
33843         [BZ #13955]
33844         [BZ #13956]
33845         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33846         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33847         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33848         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33850         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33851         * math/libm-test.inc (logb_test) : Additional logb tests.
33852
33853 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33854             Andreas Jaeger  <aj@suse.de>
33855
33856         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33857         * configure: Regenerated.
33858         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33859         * config.make.in (link-obsolete-rpc): New substituted variable.
33860         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33861         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33862         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33863         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33864         so that libc.a contains the symbols.
33865         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33866         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33867         * sunrpc/auth_none.c: Likewise.
33868         * sunrpc/auth_unix.c: Likewise.
33869         * sunrpc/authdes_prot.c: Likewise.
33870         * sunrpc/authuxprot.c: Likewise.
33871         * sunrpc/clnt_gen.c: Likewise.
33872         * sunrpc/clnt_perr.c: Likewise.
33873         * sunrpc/clnt_raw.c: Likewise.
33874         * sunrpc/clnt_simp.c: Likewise.
33875         * sunrpc/clnt_tcp.c: Likewise.
33876         * sunrpc/clnt_udp.c: Likewise.
33877         * sunrpc/clnt_unix.c: Likewise.
33878         * sunrpc/des_crypt.c: Likewise.
33879         * sunrpc/des_soft.c: Likewise.
33880         * sunrpc/get_myaddr.c: Likewise.
33881         * sunrpc/key_call.c: Likewise.
33882         * sunrpc/key_prot.c: Likewise.
33883         * sunrpc/netname.c: Likewise.
33884         * sunrpc/pm_getmaps.c: Likewise.
33885         * sunrpc/pm_getport.c: Likewise.
33886         * sunrpc/pmap_clnt.c: Likewise.
33887         * sunrpc/pmap_prot.c: Likewise.
33888         * sunrpc/pmap_prot2.c: Likewise.
33889         * sunrpc/pmap_rmt.c: Likewise.
33890         * sunrpc/publickey.c: Likewise.
33891         * sunrpc/rpc_cmsg.c: Likewise.
33892         * sunrpc/rpc_common.c: Likewise.
33893         * sunrpc/rpc_dtable.c: Likewise.
33894         * sunrpc/rpc_prot.c: Likewise.
33895         * sunrpc/rpc_thread.c: Likewise.
33896         * sunrpc/rtime.c: Likewise.
33897         * sunrpc/svc.c: Likewise.
33898         * sunrpc/svc_auth.c: Likewise.
33899         * sunrpc/svc_raw.c: Likewise.
33900         * sunrpc/svc_run.c: Likewise.
33901         * sunrpc/svc_tcp.c: Likewise.
33902         * sunrpc/svc_udp.c: Likewise.
33903         * sunrpc/svc_unix.c: Likewise.
33904         * sunrpc/svcauth_des.c: Likewise.
33905         * sunrpc/xcrypt.c: Likewise.
33906         * sunrpc/xdr.c: Likewise.
33907         * sunrpc/xdr_array.c: Likewise.
33908         * sunrpc/xdr_float.c: Likewise.
33909         * sunrpc/xdr_intXX_t.c: Likewise.
33910         * sunrpc/xdr_mem.c: Likewise.
33911         * sunrpc/xdr_rec.c: Likewise.
33912         * sunrpc/xdr_ref.c: Likewise.
33913         * sunrpc/xdr_sizeof.c: Likewise.
33914         * sunrpc/xdr_stdio.c: Likewise.
33915
33916 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33917
33918         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33919         change.  Update copyright years.
33920
33921 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33922
33923         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33924
33925 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33926             Joseph Myers  <joseph@codesourcery.com>
33927             Paul Pluzhnikov  <ppluzhnikov@google.com>
33928
33929         [BZ #14012]
33930         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33931         requiring rpcgen.
33932         [cross-compiling] (extra-libs): Likewise.
33933         [cross-compiling] (extra-libs-others): Likewise.
33934         [cross-compiling] (librpcsvc-routines): Likewise.
33935         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33936         [cross-compiling] (omit-deps): Likewise.
33937         (sunrpc-CPPFLAGS): New variable.
33938         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33939         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33940         (cross-rpcgen-objs): New variable.
33941         (extra-objs): Append $(cross-rpcgen-objs).
33942         ($(cross-rpcgen-objs)): New rule.
33943         ($(objpfx)cross-rpcgen): Likewise.
33944         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33945         comment.
33946         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33947         ($(objpfx)x%.stmp): Likewise.
33948         * sunrpc/proto.h [IS_IN_build] (_): Define.
33949         [IS_IN_build] (_libc_intl_domainname): Likewise.
33950
33951 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33952
33953         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33954         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33955         and R_X86_64_TPOFF64.
33956
33957 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33958
33959         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33960         sysdeps/unix/sysv/syscalls.list.
33961         (stime): Likewise.
33962         (utime): Likewise.
33963         * sysdeps/unix/sysv/syscalls.list: Remove file.
33964
33965 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33966
33967         [BZ #3440]
33968         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33969         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33970         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33971         (__LC_IDENTIFICATION): Make these macros useful in #if
33972         expressions, as required by C99.
33973
33974 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33975
33976         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33977         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33978         after this.
33979
33980 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33981
33982         * stdlib/longlong.h: Updated from GCC.
33983
33984 2012-05-09  Andreas Jaeger  <aj@suse.de>
33985
33986         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33987         default is first entry.
33988         (run_mode): Set type.
33989         (main): Remove informal message about syslog.
33990         (options): Fix typo.
33991
33992         [BZ #14053]
33993         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33994         to asm.
33995         (lrint): Likewise.
33996         (llrintf): Likewise.
33997         (llrint): Likewise.
33998         (rint): Likewise.
33999         (rintf): Likewise.
34000         (nearbyint): Likewise.
34001         (nearbyintf): Likewise.
34002
34003 2012-05-09  Andreas Jaeger  <aj@suse.de>
34004             Pedro Alves  <palves@redhat.com>
34005
34006         * nscd/nscd.c (run_mode): Use enum.
34007         (main): Cleanup coding style issue.
34008
34009 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34010             Andreas Jaeger  <aj@suse.de>
34011
34012         * nscd/nscd.c (go_background): Replaced with...
34013         (run_mode): ... this.
34014         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34015         (options): Add -F --foreground.
34016         (main): Implement it.
34017         (parse_opt): Parse it.
34018
34019 2012-05-09  Andreas Jaeger  <aj@suse.de>
34020
34021         [BZ #14083]
34022         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34023         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34024         -Wconversion warning.
34025         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34026         Likewise.
34027
34028 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34029
34030         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34031         == 0.
34032         (LC_ALL): Use macro-int-constant.
34033         (LC_COLLATE): Likewise.
34034         (LC_CTYPE): Likewise.
34035         (LC_MESSAGES): Likewise.
34036         (LC_MONETARY): Likewise.
34037         (LC_NUMERIC): Likewise.
34038         (LC_TIME): Likewise.
34039         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34040         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34041         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34042         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34043         Specify type.
34044         [C99-based standards] (float_t): Expect type.
34045         [C99-based standards] (double_t): Expect type.
34046         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34047         type.
34048         [C99-based standards] (HUGE_VALL): Likewise.
34049         [C99-based standards] (INFINITY): Likewise.
34050         [C99-based standards] (NAN): Likewise.
34051         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34052         [C99-based standards] (FP_NAN): Likewise.
34053         [C99-based standards] (FP_NORMAL): Likewise.
34054         [C99-based standards] (FP_SUBNORMAL): Likewise.
34055         [C99-based standards] (FP_ZERO): Likewise.
34056         [C99-based standards] (FP_FAST_FMA): Use
34057         optional-macro-int-constant.  Specify type.  Require == 1.
34058         [C99-based standards] (FP_FAST_FMAF): Likewise.
34059         [C99-based standards] (FP_FAST_FMAL): Likewise.
34060         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34061         [C99-based standards] (FP_ILOGBNAN): Likewise.
34062         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34063         Specify type.
34064         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34065         [C99-based standards] (math_errhandling): Specify type.
34066         [ISO99 || ISO11] (signgam): Do not allow.
34067         [non-C99-based standards] (copysignf): Do not allow.
34068         [non-C99-based standards] (exp2f): Likewise.
34069         [non-C99-based standards] (log2f): Likewise.
34070         [non-C99-based standards] (modff): Allow.
34071         [non-C99-based standards] (erff): Do not allow.
34072         [non-C99-based standards] (erfcf): Likewise.
34073         [non-C99-based standards] (gammaf): Likewise.
34074         [non-C99-based standards] (hypotf): Likewise.
34075         [non-C99-based standards] (j0f): Likewise.
34076         [non-C99-based standards] (j1f): Likewise.
34077         [non-C99-based standards] (jnf): Likewise.
34078         [non-C99-based standards] (lgammaf): Likewise.
34079         [non-C99-based standards] (tgammaf): Likewise.
34080         [non-C99-based standards] (y0f): Likewise.
34081         [non-C99-based standards] (y1f): Likewise.
34082         [non-C99-based standards] (ynf): Likewise.
34083         [non-C99-based standards] (isnanf): Likewise.
34084         [non-C99-based standards] (acoshf): Likewise.
34085         [non-C99-based standards] (asinhf): Likewise.
34086         [non-C99-based standards] (atanhf): Likewise.
34087         [non-C99-based standards] (cbrtf): Likewise.
34088         [non-C99-based standards] (expm1f): Likewise.
34089         [non-C99-based standards] (ilogbf): Likewise.
34090         [non-C99-based standards] (log1pf): Likewise.
34091         [non-C99-based standards] (logbf): Likewise.
34092         [non-C99-based standards] (nextafterf): Likewise.
34093         [non-C99-based standards] (remainderf): Likewise.
34094         [non-C99-based standards] (rintf): Likewise.
34095         [non-C99-based standards] (scalbf): Likewise.
34096         [non-C99-based standards] (copysignl): Likewise.
34097         [non-C99-based standards] (exp2l): Likewise.
34098         [non-C99-based standards] (log2l): Likewise.
34099         [non-C99-based standards] (modfl): Allow.
34100         [non-C99-based standards] (erfl): Do not allow.
34101         [non-C99-based standards] (erfcl): Likewise.
34102         [non-C99-based standards] (gammal): Likewise.
34103         [non-C99-based standards] (hypotl): Likewise.
34104         [non-C99-based standards] (j0l): Likewise.
34105         [non-C99-based standards] (j1l): Likewise.
34106         [non-C99-based standards] (jnl): Likewise.
34107         [non-C99-based standards] (lgammal): Likewise.
34108         [non-C99-based standards] (tgammal): Likewise.
34109         [non-C99-based standards] (y0l): Likewise.
34110         [non-C99-based standards] (y1l): Likewise.
34111         [non-C99-based standards] (ynl): Likewise.
34112         [non-C99-based standards] (isnanl): Likewise.
34113         [non-C99-based standards] (acoshl): Likewise.
34114         [non-C99-based standards] (asinhl): Likewise.
34115         [non-C99-based standards] (atanhl): Likewise.
34116         [non-C99-based standards] (cbrtl): Likewise.
34117         [non-C99-based standards] (expm1l): Likewise.
34118         [non-C99-based standards] (ilogbl): Likewise.
34119         [non-C99-based standards] (log1pl): Likewise.
34120         [non-C99-based standards] (logbl): Likewise.
34121         [non-C99-based standards] (nextafterl): Likewise.
34122         [non-C99-based standards] (remainderl): Likewise.
34123         [non-C99-based standards] (rintl): Likewise.
34124         [non-C99-based standards] (scalbl): Likewise.
34125         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34126         [non-C99-based standards] (FP_*): Do not allow.
34127         [C99-based standards] (FP_*): Change to
34128         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34129         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34130         allow.
34131         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34132         (SIG_ERR): Likewise.
34133         [X/Open-based standards] (SIG_HOLD): Likewise.
34134         (SIG_IGN): Likewise.
34135         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34136         positive value.
34137         (SIGFPE): Likewise.
34138         (SIGILL): Likewise.
34139         (SIGINT): Likewise.
34140         (SIGSEGV): Likewise.
34141         (SIGTER): Likewise.
34142         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34143         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34144         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34145         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34146         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34147         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34148         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34149         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34150         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34151         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34152         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34153         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34154         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34155         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34156         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34157         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34158         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34159         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34160         [X/Open-based standards] (SIGTRAP): Likewise.
34161         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34162         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34163         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34164         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34165         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34166         allow.
34167
34168 2012-05-08  Ian Wienand  <ianw@vmware.com>
34169
34170         [BZ #14080]
34171         * time/tzset.c (__tzset_parse_tz): Update default rules for
34172         daylight time changes in the Energy Policy Act of 2005.
34173
34174 2012-05-09  Andreas Jaeger  <aj@suse.de>
34175
34176         [BZ #13983]
34177         * elf/ldconfig.c (parse_conf): Change string to make clear that
34178         ldconfig only issued a warning if ld.so.conf does not exist.
34179
34180 2012-05-08  David S. Miller  <davem@davemloft.net>
34181
34182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34183         movxtod instead of popping the value on the stack.
34184
34185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34186
34187 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34188
34189         * config.h.in: Add HAVE_ARM_PCS_VFP.
34190
34191 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34192
34193         [BZ #13979]
34194         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34195         checking but the checks are disabled for any reason.
34196
34197 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34198
34199         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34200         and ELF64_R_TYPE with ELFW(R_TYPE).
34201
34202 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34203
34204         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34205         (ulimit): Likewise.
34206
34207         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34208         (settimeofday): Likewise.
34209
34210 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34211
34212         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34213         a struct th_u2 inside the union, and move tu_block/tu_code into
34214         a new th_u3 union of tu_block/tu_code inside of that.  Move
34215         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34216         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34217         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34218         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34219         (th_stuff): Change to th_u1.tu_stuff.
34220         (th_data): Define.
34221         (th_msg): Change to th_u1.th_u2.tu_data.
34222
34223 2012-05-07  David S. Miller  <davem@davemloft.net>
34224
34225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34226
34227         [BZ #14074]
34228         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34229         (SETUP_PIC_REG): Use it.
34230         (SETUP_PIC_REG_LEAF): Use it.
34231
34232 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34233
34234         [BZ #13885]
34235         [BZ #13923]
34236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34237         USE_AS_EXPM1L.
34238         (EXPL_FINITE): Likewise.
34239         (FLDLOG): Likewise.
34240         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34241         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34242         e_expl.S.
34243         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34244         USE_AS_EXPM1L.
34245         (EXPL_FINITE): Likewise.
34246         (FLDLOG): Likewise.
34247         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34248         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34249         e_expl.S.
34250         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34251         test of -max_value argument for long double.
34252         * sysdeps/i386/fpu/libm-test-ulps: Update.
34253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34254
34255 2012-05-06  David S. Miller  <davem@davemloft.net>
34256
34257         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34258         quad soft-float symbols whose references which are compiler
34259         generated.
34260         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34261
34262 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34263
34264         [BZ #13884]
34265         [BZ #13914]
34266         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34267         USE_AS_EXP10L.
34268         (EXPL_FINITE): Likewise.
34269         (FLDLOG): Likewise.
34270         (c0): Likewise.
34271         (c1): Likewise.
34272         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34273         Adjust comments for base varying.
34274         (__expl_finite): Change alias to EXPL_FINITE.
34275         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34276         e_expl.S.
34277         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34278         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34279         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34280         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34282         USE_AS_EXP10L.
34283         (EXPL_FINITE): Likewise.
34284         (FLDLOG): Likewise.
34285         (c0): Likewise.
34286         (c1): Likewise.
34287         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34288         Adjust comments for base varying.
34289         (__expl_finite): Change alias to EXPL_FINITE.
34290         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34291         tests for bugs.
34292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34293
34294         [BZ #14064]
34295         * math/libm-test.inc (check_float_internal): Correct ulp
34296         calculation for subnormal expected results.
34297
34298 2012-05-06  Andreas Jaeger  <aj@suse.de>
34299
34300         * Makeconfig (+math-flags): New, set to -frounding-math.
34301         (+cflags): Add +math-flags so that all of glibc gets compiled with
34302         it.
34303
34304         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34305
34306 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34307
34308         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34309         Disable one test.
34310
34311         [BZ #13787]
34312         [BZ #13922]
34313         [BZ #14036]
34314         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34315         (__ieee754_expl): Allow for and saturate large arguments.
34316         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34317         (u_threshold): Likewise.
34318         (__exp): Call __ieee754_exp before checking for overflow and
34319         underflow.
34320         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34321         (u_threshold): Likewise.
34322         (__expf): Call __ieee754_expf before checking for overflow and
34323         underflow.
34324         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34325         (u_threshold): Likewise.
34326         (__expl): Call __ieee754_expl before checking for overflow and
34327         underflow.
34328         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34329         (__ieee754_expl): Allow for and saturate large arguments.
34330         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34331         missing overflow exception on overflow.
34332         (expm1_test): Do not allow missing overflow exception on overflow.
34333
34334         * sysdeps/i386/fpu/e_expl.c: Move to ...
34335         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34336         rather than using inline asm.
34337         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34338         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34339         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34340
34341         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34342         (nice): Likewise.
34343         (poll): Likewise.
34344         (signal): Likewise.
34345         (time): Likewise.
34346         (times): Likewise.
34347
34348 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34349
34350         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34351         sysdeps/unix/common/syscalls.list.
34352         (fchmod): Likewise.
34353         (fchown): Likewise.
34354         (ftruncate): Likewise.
34355         (getrusage): Likewise.
34356         (gettimeofday): Likewise.
34357         (setpgid): Likewise.
34358         (setregid): Likewise.
34359         (setreuid): Likewise.
34360         (sigaction): Likewise.
34361         (truncate): Likewise.
34362         (vhangup): Likewise.
34363         * sysdeps/unix/common/syscalls.list: Remove file.
34364         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34365         * sysdeps/unix/sysv/linux/Implies: Likewise.
34366
34367 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34368
34369         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34371         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34372         Moved to ...
34373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34374         Here.
34375         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34376         to ...
34377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34378         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34379         to ...
34380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34381         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34382         to ...
34383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34384         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34385         to ...
34386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34387         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34388         to ...
34389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34390         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34391         to ...
34392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34393         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34394         to ...
34395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34396         Here.
34397         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34398         to ...
34399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34400         Here.
34401         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34402         to ...
34403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34404         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34405         Moved to ...
34406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34407         Here.
34408         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34409         to ...
34410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34411
34412 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34413
34414         * sysdeps/unix/common/bits/dirent.h: Remove file.
34415         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34416
34417         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34418         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34419         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34420         * sysdeps/unix/bsd/isatty.c: Likewise.
34421         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34422         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34423         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34424
34425 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34426
34427         [BZ #13563]
34428         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34429         long double comparison inaccuracies.
34430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34432
34433 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34434
34435         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34436         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34437
34438 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34439
34440         [BZ #14049]
34441         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34442         nonzero digits before rounding a hex value.
34443         * stdlib/tst-strtod.c (tests): Add another test.
34444
34445 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34446
34447         * sysdeps/s390/fpu/libm-test-ulps: Update.
34448
34449 2012-05-03  Andreas Jaeger  <aj@suse.de>
34450
34451         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34452         does not get optimized out.
34453         (malloc_opt_barrier): New.
34454
34455 2012-05-03  Andreas Jaeger  <aj@suse.de>
34456             Roland McGrath  <roland@hack.frob.com>
34457
34458         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34459         intermediate file deletion.
34460         (generated): Add .symlist files.
34461
34462 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34463
34464         [BZ #13775]
34465         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34466         Redirect under this condition.
34467         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34468         [__USE_GNU] (__dprintf_chk): Not under this condition.
34469         [__USE_GNU] (__vdprintf_chk): Likewise.
34470         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34471         under this condition.
34472         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34473         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34474         [__USE_XOPEN2K8] (vdprintf): Likewise.
34475         [__USE_GNU] (__dprintf_chk): Not under this condition.
34476         [__USE_GNU] (__vdprintf_chk): Likewise.
34477         [__USE_GNU] (dprintf): Likewise.
34478         [__USE_GNU] (vdprintf): Likewise.
34479
34480 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34481
34482         * elf/Makefile (common-generated): Set this instead of generated for
34483         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34484         $(all-built-dso)-derived lists.
34485
34486 2012-05-03  Andreas Jaeger  <aj@suse.de>
34487
34488         * sysdeps/i386/fpu/libm-test-ulps: Update.
34489
34490         * FAQ: Removed.
34491         * FAQ.in: Likewise.
34492         * scripts/gen-FAQ.pl: Likewise.
34493         * manual/install.texi (Installation): Point to online location of
34494         FAQ.
34495         * Makefile (files-for-dist): Remove FAQ.
34496         (FAQ): Remove.
34497
34498 2012-05-02  Allan McRae  <allan@archlinux.org>
34499
34500         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34501         (LDFLAGS-reldepmod5.so): Likewise.
34502         (LDFLAGS-reldep6mod1.so): Likewise.
34503         (LDFLAGS-reldep6mod4.so): Likewise.
34504         (LDFLAGS-reldep8mod3.so): Likewise.
34505         (LDFLAGS-unload4mod1.so): Likewise.
34506         (LDFLAGS-unload4mod2.so): Likewise.
34507         (LDFLAGS-tst-initorder): Likewise.
34508         (LDFLAGS-tst-initordera2.so): Likewise.
34509         (LDFLAGS-tst-initordera3.so): Likewise.
34510         (LDFLAGS-tst-initordera4.so): Likewise.
34511         (LDFLAGS-tst-initorderb2.so): Likewise.
34512         (LDFLAGS-noload): Likewise.
34513         (LDFLAGS-next): Likewise.
34514         (LDFLAGS-order2mod1.so): Likewise.
34515         (LDFLAGS-order2mod2.so): Likewise.
34516         (LDFLAGS-tst-initorder2): Likewise.
34517         (LDFLAGS-tst-initorder2a.so): Likewise.
34518         (LDFLAGS-tst-initorder2b.so): Likewise.
34519         (LDFLAGS-tst-initorder2c.so): Likewise.
34520         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34521
34522 2012-05-02  David S. Miller  <davem@davemloft.net>
34523
34524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34525
34526 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34527
34528         [BZ #14055]
34529         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34530
34531 2012-05-02  Andreas Jaeger  <aj@suse.de>
34532
34533         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34534         since we manipulate rounding mode.
34535         (CPPFLAGS-test-idouble.c): Likewise.
34536         (CPPFLAGS-test-ifloat.c): Likewise.
34537         (CFLAGS-test-ldouble.c): Likewise.
34538         (CFLAGS-test-double.c): Likewise.
34539         (CFLAGS-test-float.c): Likewise.
34540         (CFLAGS-test-misc.c): Likewise.
34541         (CFLAGS-test-test-fenv.c): Likewise.
34542
34543 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34544
34545         [BZ #2550]
34546         [BZ #2570]
34547         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34548         comparisons to determine direction to adjust input.
34549
34550 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34551
34552         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34553         output to the target.
34554
34555         * scripts/localplt.awk: New file.
34556         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34557         (check-localplt-CFLAGS): Variable removed.
34558         ($(all-built-dso:=.jmprel)): New static pattern rule.
34559         (generated): Add those targets.
34560         (localplt-built-dso): New variable.
34561         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34562
34563         * elf/check-localplt.c: File removed.
34564
34565         * scripts/check-execstack.awk: New file.
34566         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34567         (check-execstack-CFLAGS): Variable removed.
34568         ($(objpfx)check-execstack.h): Target removed.
34569         ($(objpfx)execstack-default): New target.
34570         (generated): Add that instead of check-execstack.h.
34571         ($(all-built-dso:=.phdr)): New static pattern rule.
34572         (generated): Add those targets.
34573         * elf/check-execstack.c: File removed.
34574
34575         * scripts/check-textrel.awk: New file.
34576         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34577         (check-textrel-CFLAGS): Variable removed.
34578         (all-built-dso): Use := to define.o
34579         ($(all-built-dso:=.dyn)): New static pattern rule.
34580         (generated): Add those targets.
34581         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34582         * config.make.in (READELF): New substituted variable.
34583         * elf/check-textrel.c: File removed.
34584
34585 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34586
34587         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34588         allow.
34589         * conform/data/ctype.h-data [C99-based standards] (isblank):
34590         Expect function.
34591         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34592         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34593         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34594         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34595         Specify type.  Require positive value.
34596         (EILSEQ): Likewise.
34597         (ERANGE): Likewise.
34598         [ISO || POSIX] (EILSEQ): Do not expect.
34599         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34600         Specify type.  Require positive value.
34601         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34602         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34603         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34604         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34605         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34606         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34607         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34608         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34609         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34610         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34611         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34612         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34613         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34614         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34615         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34616         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34617         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34618         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34619         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34620         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34621         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34622         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34623         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34624         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34625         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34626         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34627         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34628         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34629         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34630         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34631         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34632         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34633         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34634         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34635         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34636         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34637         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34638         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34639         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34640         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34641         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34642         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34643         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34644         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34645         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34646         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34647         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34648         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34649         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34650         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34651         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34652         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34653         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34654         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34655         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34656         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34657         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34658         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34659         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34660         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34661         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34662         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34663         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34664         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34665         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34666         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34667         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34668         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34669         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34670         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34671         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34672         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34673         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34674         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34675         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34676         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34677         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34678         Require >= 2.
34679         (FLT_ROUNDS): Expect as macro, not constant.
34680         (FLT_MANT_DIG): Use macro-int-constant.
34681         (DBL_MANT_DIG): Likewise.
34682         (LDBL_MANT_DIG): Likewise.
34683         (FLT_DIG): Likewise.
34684         (DBL_DIG): Likewise.
34685         (LDBL_DIG): Likewise.
34686         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34687         (DBL_MIN_EXP): Likewise.
34688         (LDBL_MIN_EXP): Likewise.
34689         (FLT_MAX_EXP): Use macro-int-constant.
34690         (DBL_MAX_EXP): Likewise.
34691         (LDBL_MAX_EXP): Likewise.
34692         (FLT_MAX_10_EXP): Likewise.
34693         (DBL_MAX_10_EXP): Likewise.
34694         (LDBL_MAX_10_EXP): Likewise.
34695         (FLT_MAX): Use macro-constant.
34696         (DBL_MAX): Likewise.
34697         (LDBL_MAX): Likewise.
34698         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34699         (DBL_EPSILON): Likewise.
34700         (LDBL_EPSILON): Likewise.
34701         (FLT_MIN): Likewise.
34702         (DBL_MIN): Likewise.
34703         (LDBL_MIN): Likewise.
34704         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34705         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34706         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34707         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34708         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34709         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34710         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34711         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34712         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34713         [ISO11] (FLT_TRUE_MIN): Likewise.
34714         [ISO11] (LDBL_TRUE_MIN): Likewise.
34715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34716         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34717         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34718         (SCHAR_MAX): Likewise.
34719         (UCHAR_MAX): Likewise.
34720         (CHAR_MIN): Likewise.
34721         (CHAR_MAX): Likewise.
34722         (MB_LEN_MAX): Use macro-int-constant.
34723         (SHRT_MIN): Use macro-int-constant.  Specify type.
34724         (SHRT_MAX): Likewise.
34725         (USHRT_MAX): Likewise.
34726         (INT_MAX): Likewise.
34727         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34728         bound negative.
34729         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34730         bound with "U".
34731         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34732         bound with "L".
34733         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34734         bound negative.  Suffix upper bound with "L".
34735         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34736         bound with "UL".
34737         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34738         Specify type.
34739         [C99-based standards] (LLONG_MAX): Likewise.
34740         [C99-based standards] (ULLONG_MAX): Likewise.
34741         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34742         == 0.
34743         [ISO11] (max_align_t): Require type.
34744         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34745
34746         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34747         from $CFLAGS, without defining away __attribute__ calls.
34748         (checknamespace): Use $CFLAGS_namespace.
34749
34750         * conform/conformtest.pl (@keywords): Only include C99 keywords
34751         for standards based on C99 or C11.
34752
34753         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34754         Disable tests.
34755         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34756         UNIX98]: Likewise.
34757
34758         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34759         usability of symbols in #if.
34760
34761         * conform/conformtest.pl: If macro or constant types start
34762         "promoted:", expect the symbol to be of the following type
34763         promoted by the integer promotions.
34764
34765         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34766         in one place.  Also handle "macro-constant".
34767
34768         * conform/conformtest.pl: Only accept expected macro values with
34769         "==".  Parse all "macro" lines in one place.
34770         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34771
34772         * conform/conformtest.pl: Handle braced types on "constant" lines
34773         instead of handling "typed-constant".
34774         * conform/data/signal.h-data: Use "constant" instead of
34775         "typed-constant".
34776
34777         * conform/conformtest.pl: Handle "optional-" at start of lines in
34778         one place rather than duplicating several cases.  Handle each
34779         format of "macro" line with initial "optional-".
34780
34781         * conform/conformtest.pl: Only accept expected constant or
34782         optional-constant values with "==".  Parse all "constant" lines in
34783         one place.  Parse all "optional-constant" lines in one place.
34784         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34785         * conform/data/fmtmsg.h-data: Likewise.
34786         * conform/data/netinet/in.h-data: Likewise.
34787         * conform/data/tar.h-data: Likewise.
34788         * conform/data/limits.h-data: Use "==" form on "constant" and
34789         "optional-constant" lines.
34790
34791         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34792         Use -std=c99 for XOPEN2K.
34793         (@knownproblems): Remove.
34794         (newtoken): Don't check %isknown.
34795
34796         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34797         Do not expect macro.
34798         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34799         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34800         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34801         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34802         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34803         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34804         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34805         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34806         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34807         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34808         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34809         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34810         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34811         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34812         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34813         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34814         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34815         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34816         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34817         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34818         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34819         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34820         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34821         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34822         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34823         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34824         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34825         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34826         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34827         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34828         [XPG3] (acosh): Likewise.
34829         [XPG3] (asinh): Likewise.
34830         [XPG3] (atanh): Likewise.
34831         [XPG3] (cbrt): Likewise.
34832         [XPG3] (expm1): Likewise.
34833         [XPG3] (ilogb): Likewise.
34834         [XPG3] (log1p): Likewise.
34835         [XPG3] (logb): Likewise.
34836         [XPG3] (nextafter): Likewise.
34837         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34838         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34839         [XPG3] (remainder): Likewise.
34840         [XPG3] (rint): Likewise.
34841         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34842         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34843         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34844         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34845         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34846         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34847         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34848         [UNIX98 || XOPEN2K] (scalb): Expect.
34849         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34850         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34851         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34852         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34853         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34854         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34855         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34856         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34857         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34858         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34859         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34860         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34861         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34862         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34863         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34864         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34865         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34866         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34867         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34868         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34869         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34870         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34871         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34872         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34873         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34874         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34875         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34876         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34877         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34878         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34879         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34880         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34881         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34882         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34883         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34884         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34885         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34886         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34887         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34888         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34889         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34890         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34891         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34892         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34893         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34894         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34895         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34896         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34897         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34898         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34899         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34900         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34901         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34902         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34903         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34904         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34905         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34906         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34907         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34908         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34909         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34910         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34911         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34912         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34913         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34914         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34915         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34916         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34917         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34918         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34919         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34920         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34921         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34922         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34923         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34924         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34925         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34926         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34927         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34928         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34929         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34930         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34931         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34932         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34933         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34934         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34935         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34936         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34937         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34938         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34939         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34940         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34941         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34942         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34943         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34944         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34945         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34946         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34947         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34948         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34949         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34950         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34951         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34952         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34953         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34954         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34955         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34956         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34957         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34958         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34959         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34960         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34961         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34962         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34963         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34964         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34965         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34966         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34967         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34968         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34969         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34970         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34971         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34972         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34973         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34974         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34975         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34976         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34977         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34978         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34979         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34980         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34981         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34982         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34983         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34984         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34985         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34986
34987         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34988         _XOPEN_SOURCE_EXTENDED for XPG4.
34989
34990         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34991
34992         * Makeconfig (localtime): Remove variable.
34993         (inst_localtime-file): Likewise.
34994
34995 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34996
34997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34998         Update.
34999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35000         Update.
35001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35002         Update.
35003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35004         Update.
35005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35006         Update.
35007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35008         Update.
35009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35010         Update.
35011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35012         Update.
35013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35014         Update.
35015
35016 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35017
35018         [BZ #2550]
35019         [BZ #2570]
35020         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35021         comparisons to determine direction to adjust input.
35022         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35023         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35024         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35025         Likewise.
35026         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35027         Likewise.
35028         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35029         Likewise.
35030         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35031         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35032         Likewise.
35033         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35034         Likewise.
35035         * math/libm-test.inc (nexttoward_test): Add more tests.
35036
35037 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35038
35039         [BZ #14040]
35040         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35041         in version GLIBC_2.1, not GLIBC_2.0.
35042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35043         Likewise.
35044
35045 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35046
35047         [BZ #13942]
35048         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35049         (1 - x) * (1 + x).
35050         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35051         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35052         * math/libm-test.inc (acos_test): Add more tests.
35053         (asin_test): Likewise.
35054         * sysdeps/i386/fpu/libm-test-ulps: Update.
35055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35056
35057         [BZ #14034]
35058         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35059         of square root.
35060         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35061         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35062         * math/libm-test.inc (acos_test_tonearest): New function.
35063         (acos_test_towardzero): Likewise.
35064         (acos_test_downward): Likewise.
35065         (acos_test_upward): Likewise.
35066         (asin_test_tonearest): Likewise.
35067         (asin_test_towardzero): Likewise.
35068         (asin_test_downward): Likewise.
35069         (asin_test_upward): Likewise.
35070         (main): Call the new functions.
35071         * sysdeps/i386/fpu/libm-test-ulps: Update.
35072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35073
35074         [BZ #13884]
35075         [BZ #13924]
35076         * math/e_exp10.c: Include <float.h>.
35077         (__ieee754_exp10): Handle underflow here rather than multiplying
35078         large negative argument by M_LN10.
35079         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35080         of __ieee754_expf.
35081         * math/e_exp10l.c: Include <float.h>.
35082         (__ieee754_exp10l): Handle underflow here rather than multiplying
35083         large negative argument by M_LN10l.
35084         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35085         spurious overflow exception on underflow.
35086
35087 2012-04-29  Marek Polacek  <polacek@redhat.com>
35088
35089         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35090         (__fortify_function): New macro.
35091         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35092         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35093         __extern_always_inline.
35094         * libio/bits/stdio2.h: Likewise.
35095         * libio/bits/stdio.h: Likewise.
35096         * string/string.h: Likewise.
35097         * string/bits/string3.h: Likewise.
35098         * include/stdio.h: Likewise.
35099         * stdlib/bits/stdlib.h: Likewise.
35100         * stdlib/stdlib.h: Likewise.
35101         * rt/bits/mqueue2.h: Likewise.
35102         * rt/mqueue.h: Likewise.
35103         * posix/bits/unistd.h: Likewise.
35104         * posix/unistd.h: Likewise.
35105         * io/bits/poll2.h: Likewise.
35106         * io/bits/fcntl2.h: Likewise.
35107         * io/fcntl.h: Likewise.
35108         * io/sys/poll.h: Likewise.
35109         * misc/bits/syslog.h: Likewise.
35110         * misc/bits/syslog-ldbl.h: Likewise.
35111         * misc/sys/syslog.h: Likewise.
35112         * socket/bits/socket2.h: Likewise.
35113         * socket/sys/socket.h: Likewise.
35114         * debug/tst-chk1.c: Likewise.
35115         * wcsmbs/bits/wchar2.h: Likewise.
35116         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35117         * wcsmbs/wchar.h: Likewise.
35118
35119 2012-04-29  Andreas Jaeger  <aj@suse.de>
35120
35121         * Makerules (tests): Remove enable-check-abi protection.
35122         (check-abi-warn): Remove.
35123         (check-abi-%): Remove check-abi-warn usage.
35124
35125         * configure.in: Remove check-abi configure option.
35126         * configure: Regenerated.
35127         * config.make.in (enable-check-abi): Remove.
35128
35129 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35130
35131         [BZ #14033]
35132         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35133         double functions to double *_finite functions.
35134
35135         [BZ #13941]
35136         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35137         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35138         LDBL_MIN_EXP.
35139         * stdio-common/Makefile (tests): Add tst-sprintf3.
35140         * stdio-common/tst-sprintf3.c: New file.
35141
35142         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35143         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35144
35145 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35146
35147         * conform/conformtest.pl: Remove duplicate typed-constant
35148         handling.
35149
35150 2012-04-28  David S. Miller  <davem@davemloft.net>
35151
35152         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35153         (check-abi-%): Remove AWK script prerequisite and explicit
35154         abilist directory.
35155         (check-abi): Rewrite to just diff the symlist with the abilist.
35156         (config-tls, config-abi-config): Delete, no longer used.
35157         (update-abi-%): Remove AWK script and explicit abilist directory.
35158         (update-abi): Rewrite to simply compare and conditionally copy the
35159         symlist and the sysdep abilist file.  Remove update-abi-config
35160         checks.
35161         * abilist/ld.abilist: Remove.
35162         * abilist/libBrokenLocale.abilist: Remove.
35163         * abilist/libanl.abilist: Remove.
35164         * abilist/libcrypt.abilist: Remove.
35165         * abilist/libdl.abilist: Remove.
35166         * abilist/librt.abilist: Remove.
35167         * abilist/libthread_db.abilist: Remove.
35168         * abilist/libutil.abilist: Remove.
35169         * scripts/extract-abilist.awk: Remove.
35170         * scripts/merge-abilist.awk: Remove.
35171         * sysdeps/generic/libcidn.abilist: New file.
35172         * sysdeps/generic/libnss_compat.abilist: New file.
35173         * sysdeps/generic/libnss_db.abilist: New file.
35174         * sysdeps/generic/libnss_dns.abilist: New file.
35175         * sysdeps/generic/libnss_files.abilist: New file.
35176         * sysdeps/generic/libnss_hesiod.abilist: New file.
35177         * sysdeps/generic/libnss_nis.abilist: New file.
35178         * sysdeps/generic/libnss_nisplus.abilist: New file.
35179         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35180         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35181         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35182         file.
35183         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35184         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35185         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35186         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35187         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35188         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35189         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35190         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35191         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35192         file.
35193         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35194         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35195         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35196         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35197         file.
35198         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35199         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35200         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35201         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35202         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35203         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35204         file.
35205         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35206         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35207         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35208         file.
35209         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35211         New file.
35212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35213         New file.
35214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35215         New file.
35216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35217         New file.
35218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35219         New file.
35220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35221         New file.
35222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35223         New file.
35224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35225         New file.
35226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35227         New file.
35228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35229         New file.
35230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35231         New file.
35232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35233         New file.
35234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35235         New file.
35236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35237         file.
35238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35239         New file.
35240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35241         New file.
35242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35243         file.
35244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35245         New file.
35246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35247         New file.
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35249         file.
35250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35251         New file.
35252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35253         New file.
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35255         New file.
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35257         New file.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35259         New file.
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35261         New file.
35262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35264         file.
35265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35266         New file.
35267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35268         file.
35269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35270         file.
35271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35272         file.
35273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35274         file.
35275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35276         file.
35277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35278         New file.
35279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35280         file.
35281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35282         file.
35283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35284         New file.
35285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35286         file.
35287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35289         file.
35290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35291         New file.
35292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35293         file.
35294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35295         file.
35296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35297         file.
35298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35299         file.
35300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35301         file.
35302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35303         New file.
35304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35305         file.
35306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35307         file.
35308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35309         New file.
35310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35311         file.
35312         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35313         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35314         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35315         file.
35316         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35317         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35318         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35319         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35320         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35321         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35322         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35323         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35324         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35325         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35328         file.
35329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35330         New file.
35331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35332         file.
35333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35334         file.
35335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35336         file.
35337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35338         file.
35339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35340         file.
35341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35342         New file.
35343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35344         New file.
35345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35346         file.
35347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35348         New file.
35349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35350         file.
35351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35353         file.
35354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35355         New file.
35356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35357         file.
35358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35359         file.
35360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35361         file.
35362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35363         file.
35364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35365         file.
35366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35367         New file.
35368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35369         New file.
35370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35371         file.
35372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35373         New file.
35374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35375         file.
35376
35377 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35378
35379         * conform/conformtest.pl: Fix typo in handling typed-constant from
35380         allow-header.
35381
35382 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35383
35384         * README: Cut down references to pre-2.6 Linux kernels and
35385         Linuxthreads.  Update lists of configurations in libc and ports
35386         and sort alphabetically.  Say "or newer" with Linux kernel version
35387         requirements.
35388
35389         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35390
35391 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35392
35393         [BZ #887]
35394         * math/libm-test.inc (logb_test_downward): New test to expose
35395         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35396         rounding mode.
35397
35398 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35399
35400         [BZ #14027]
35401         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35402         to be done.
35403         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35404         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35405
35406 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35407
35408         * sysdeps/unix/i386/brk.S: Remove file.
35409         * sysdeps/unix/i386/dl-brk.S: Likewise.
35410         * sysdeps/unix/i386/pipe.S: Likewise.
35411         * sysdeps/unix/i386/sigreturn.S: Likewise.
35412         * sysdeps/unix/i386/syscall.S: Likewise.
35413         * sysdeps/unix/i386/vfork.S: Likewise.
35414         * sysdeps/unix/i386/wait.S: Likewise.
35415
35416         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35417         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35418
35419         * configure.in (arm*-none*): Do not allow without
35420         --enable-hacker-mode.
35421         (netbsd*): Remove case setting base_os.
35422         (386bsd*): Likewise.
35423         (freebsd*): Likewise.
35424         (bsdi*): Likewise.
35425         (osf*): Likewise.
35426         (sunos*): Likewise.
35427         (ultrix*): Likewise.
35428         (newsos*): Likewise.
35429         (dynix*): Likewise.
35430         (*bsd*): Likewise.
35431         (sysv*): Likewise.
35432         (isc*): Likewise.
35433         (esix*): Likewise.
35434         (sco*): Likewise.
35435         (minix*): Likewise.
35436         (irix4*): Likewise.
35437         (irix6*): Likewise.
35438         (solaris[2-9]*): Likewise.
35439         (none): Likewise.
35440         * configure: Regenerated.
35441
35442 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35443
35444         [BZ #11521]
35445         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35446         overflow or cancellation in calculating denominator.
35447         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35448         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35449         down expression to avoid unexpected rounding in newer GCCs.
35450         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35451
35452 2012-04-26  David S. Miller  <davem@davemloft.net>
35453
35454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35455         long-double compat symbols.
35456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35469
35470 2012-04-25  David S. Miller  <davem@davemloft.net>
35471
35472         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35473         HWCAP_* values only after the memory barriers have been defined.
35474         (atomic_full_barrier): Define.
35475         (atomic_read_barrier): Define.
35476         (atomic_write_barrier): Define.
35477
35478 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35479
35480         * shlib-versions: Add libgcc_s version information.
35481         * sysdeps/generic/libgcc_s.h: Remove.
35482         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35483         libgcc_s.h.
35484         * sysdeps/gnu/unwind-resume.c: Likewise.
35485         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35486
35487 2012-04-25  David S. Miller  <davem@davemloft.net>
35488
35489         * sysdeps/unix/sparc/brk.S: Delete.
35490         * sysdeps/unix/sparc/dl-brk.S: Delete.
35491         * sysdeps/unix/sparc/pipe.S: Delete.
35492         * sysdeps/unix/sparc/sysdep.S: Delete.
35493         * sysdeps/unix/sparc/sysdep.h: Delete.
35494         * sysdeps/unix/sparc/vfork.S: Delete.
35495         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35496         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35497         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35498         (ret_ERRVAL, r0, r1, MOVE): Define.
35499         (JUMPTARGET): Remove.
35500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35501         sysdeps/unix/sparc/sysdep.h
35502         (ENTRY, END): Remove.
35503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35504
35505 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35506
35507         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35508         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35509         -DIS_IN_build.
35510
35511         * timezone/README: Update upstream location and email address for
35512         tzcode and tzdata.
35513         * timezone/zdump.c: Update from tzcode 2012b.
35514         * timezone/zic.c: Likewise.
35515
35516         * configure.in (libc_cv_as_needed): Remove test.
35517         * configure: Regenerated.
35518         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35519         conditional definition.
35520         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35521         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35522         * config.make.in (have-as-needed): Remove variable.
35523
35524 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35525             Paul Pluzhnikov  <ppluzhnikov@google.com>
35526
35527         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35528         strings correctly.
35529
35530 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35531
35532         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35533         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35534         * sysdeps/sh/strlen.S: Likewise.
35535
35536 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35537
35538         * sysdeps/unix/fork.S: Remove file.
35539         * sysdeps/unix/i386/fork.S: Likewise.
35540         * sysdeps/unix/sparc/fork.S: Likewise.
35541
35542         * sysdeps/unix/system.c: Remove file.
35543         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35544
35545         * sysdeps/unix/getegid.S: Remove file.
35546         * sysdeps/unix/geteuid.S: Likewise.
35547
35548 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35549
35550         * scripts/check-localplt.awk: New file.
35551         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35552         of diff.
35553         * scripts/data/localplt-generic.data: Add a comment.
35554
35555         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35556         NODE when __dir_mkfile failed.
35557         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35558         Reported by Ludovic Courtès <ludo@gnu.org>.
35559
35560 2012-04-24  Andreas Jaeger  <aj@suse.de>
35561
35562         * Makerules (common-clean): Also remove gen-as-const-headers
35563         files.
35564
35565 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35566
35567         * Makerules (native-compile): Do not change working directory for
35568         build.  Use $(OUTPUT_OPTION) in command.
35569         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35570
35571 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35572
35573         [BZ #13886]
35574         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35575         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35576         * math/libm-test.inc (floor_test): Add more tests.
35577         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35578
35579 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35580
35581         * sysdeps/unix/getdents.c: Remove file.
35582         * sysdeps/unix/sysv/getdents.c: Likewise.
35583         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35584
35585         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35586         sysdeps/unix/mman/syscalls.list.
35587         (mmap): Likewise.
35588         (mprotect): Likewise.
35589         (msync): Likewise.
35590         (munmap): Likewise.
35591         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35592         * sysdeps/unix/mman/syscalls.list: Remove.
35593         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35594
35595         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35596         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35597         * configure: Regenerated.
35598         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35599         $(libgcc_s_suffix).
35600         * config.make.in (libgcc_s_suffix): Remove variable.
35601
35602 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35603
35604         * sysdeps/unix/sysv/gethostname.c: Move to ...
35605         * sysdeps/posix/gethostname.c: ... here.
35606
35607         * sysdeps/unix/execve.S: Remove file.
35608
35609         * sysdeps/unix/_exit.S: Remove file.
35610
35611 2012-04-23  Andreas Jaeger  <aj@suse.de>
35612
35613         [BZ #13739]
35614         * manual/Makefile: Remove make dist support, there's no
35615         need for a stand-alone documentation tar ball.
35616         (TEXI2DVI): Define always, it's not in Makeconfig.
35617         (dist): Removed.
35618         (tar-it): Removed.
35619         (edition): Removed.
35620         (glibc-doc-$(edition).tar): Removed
35621         (%.Z): Removed.
35622         (%.gz): Removed.
35623         (%.uu): Removed.
35624         (ETAGS): Remove, it's in Makeconfig.
35625         (move-if-change): Remove, it's in Makeconfig.
35626
35627 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35628
35629         [BZ #13970]
35630         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35631         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35632         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35633         (strtod_l, strtof_l, strtold_l): Remove __wur.
35634         It is not necessarily an error to ignore strtol's return value.
35635         One can reliably look at the stored endptr to decide whether
35636         the number had valid syntax.
35637
35638 2012-04-21  Andreas Jaeger  <aj@suse.de>
35639
35640         [BZ #13739]
35641         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35642
35643 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35644
35645         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35646         * sysdeps/unix/sysv/Versions: Remove file.
35647
35648 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35649
35650         [BZ #13927]
35651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35652
35653 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35654
35655         [BZ #7064]
35656         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35657         version from __vm86.
35658
35659 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35660
35661         * sysdeps/unix/common/lxstat.c: Remove file.
35662         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35663
35664         * sysdeps/unix/sysv/Makefile: Remove file.
35665
35666         * sysdeps/unix/sysv/direct.h: Remove file.
35667
35668         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35669         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35670         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35671         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35672         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35673         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35674         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35675
35676         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35677
35678         * sysdeps/unix/xmknod.c: Remove file.
35679         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35680
35681         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35682
35683         * sysdeps/unix/sysv/i386/time.S: Remove file.
35684
35685         * sysdeps/unix/fxstat.c: Remove file.
35686         * sysdeps/unix/xstat.c: Likewise.
35687         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35688
35689         * sysdeps/unix/sysv/sigaction.c: Remove file.
35690
35691         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35692         (sysdep_headers): Remove variable.
35693         [termio.h not in sysdep_headers] (generated): Likewise.
35694         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35695         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35696         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35697         * sysdeps/unix/sysv/tcflow.c: Likewise.
35698         * sysdeps/unix/sysv/tcflush.c: Likewise.
35699         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35700         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35701         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35702         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35703         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35704
35705         * sysdeps/unix/siglist.c: Remove file.
35706
35707         * sysdeps/unix/getppid.S: Remove file.
35708
35709         * sysdeps/unix/mkdir.c: Remove file.
35710         * sysdeps/unix/rmdir.c: Likewise.
35711
35712 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35713
35714         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35715         ERR_MAX value.
35716         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35717         errlist-compat value.
35718
35719 2012-04-18  David S. Miller  <davem@davemloft.net>
35720
35721         * sysdeps/generic/memcopy.h (reg_char): Delete.
35722         * debug/strcat_chk.c: Use char, not reg_char.
35723         * debug/strcpy_chk.c: Likewise.
35724         * debug/strncat_chk.c: Likewise.
35725         * debug/strncpy_chk.c: Likewise.
35726         * string/memchr.c: Likewise.
35727         * string/memrchr.c: Likewise.
35728         * string/rawmemchr.c: Likewise.
35729         * string/strcat.c: Likewise.
35730         * string/strchr.c: Likewise.
35731         * string/strchrnul.c: Likewise.
35732         * string/strcmp.c: Likewise.
35733         * string/strcpy.c: Likewise.
35734         * string/strncat.c: Likewise.
35735         * string/strncmp.c: Likewise.
35736         * string/strncpy.c: Likewise.
35737
35738 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35739
35740         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35741         __builtin_memcopy is called when src and dest ranges are known to not
35742         overlap.
35743
35744 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35745
35746         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35747         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35748         fwd_align_merge macro call.
35749         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35750         bwd_align_merge macro call.
35751         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35752
35753 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35754
35755         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35756         bwd_align_merge macros.
35757         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35758         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35759         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35760
35761 2012-04-18  David S. Miller  <davem@davemloft.net>
35762
35763         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35764
35765 2012-04-18  Andreas Jaeger  <aj@suse.de>
35766
35767         [BZ# 6794]
35768         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35769         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35770         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35771
35772         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35773         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35774         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35775
35776         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35777         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35778         Adjust for changed ldbl-128 files.
35779
35780         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35781         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35782         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35783
35784 2012-04-17  David S. Miller  <davem@davemloft.net>
35785
35786         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35787
35788 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35789
35790         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35791         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35792         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35793         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35794         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35795         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35796
35797 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35798
35799         [BZ #6794]
35800         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35801         * math/libm-test.inc: Add ilogb errno and exception tests.
35802         * math/w_ilogb.c: New file: ilogb wrapper.
35803         * math/w_ilogbf.c: New file: ilogbf wrapper.
35804         * math/w_ilogbl.c: New file: ilogbl wrapper.
35805         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35806         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35807         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35808         exception being thrown with 0.0 as argument.
35809         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35810         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35811         exception being thrown with 0.0 as argument.
35812         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35813         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35814         exception being thrown with 0.0 as argument.
35815         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35816         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35817         exception being thrown with 0.0 as argument.
35818         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35819         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35820         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35821         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35823         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35824         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35825         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35826         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35827
35828 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35829
35830         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35831         with altivec.
35832
35833 2012-04-16  Marek Polacek  <polacek@redhat.com>
35834
35835         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35836
35837 2012-04-16  Marek Polacek  <polacek@redhat.com>
35838
35839         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35840         operands of fdivp instruction.
35841
35842 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35843
35844         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35845         * elf/tst-auditmod3b.c: Likewise.
35846         * elf/tst-auditmod4b.c: Likewise.
35847         * elf/tst-auditmod5b.c: Likewise.
35848         * elf/tst-auditmod6b.c: Likewise.
35849         * elf/tst-auditmod6c.c: Likewise.
35850         * elf/tst-auditmod7b.c: Likewise.
35851         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35852         * sysdeps/x86_64/preconfigure.in: Likewise.
35853         * sysdeps/x86_64/preconfigure: Regenerated.
35854
35855 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35856
35857         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35858         __ILP32__.
35859
35860 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35861
35862         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35863         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35864
35865 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35866
35867         [BZ #13973]
35868         * locale/iso-639.def: Fix gl language name. Spotted by
35869         Yaron Shahrabani.
35870
35871 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35872
35873         [BZ #2074]
35874         * libio/libio.h (__io_write_fn): Update comment.
35875
35876 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35877
35878         [BZ #2074]
35879         * stdio.texi (Hook Functions): The user provided writer function
35880         is not allowed to return -1.
35881
35882 2012-04-11  David S. Miller  <davem@davemloft.net>
35883
35884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35885
35886 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35887
35888         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35889         Add a leading slash to rtkaio.
35890
35891 2012-04-11  Jim Meyering  <meyering@redhat.com>
35892
35893         [BZ #11959]
35894         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35895         It is not necessarily an error to ignore fwrite's return
35896         value.  One can reliably use ferror to test for errors after
35897         the fact.
35898
35899 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35900
35901         * bits/types.h (__snseconds_t): New type.
35902         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35903
35904         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35905         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35906         (__SNSECONDS_T_TYPE): Likewise.
35907         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35908         (__SNSECONDS_T_TYPE): Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35910         (__SNSECONDS_T_TYPE): Likewise.
35911
35912 2012-04-10  Andreas Jaeger  <aj@suse.de>
35913
35914         [BZ #2636]
35915         * manual/time.texi (Processor Time): Return type of times is
35916         elapsed real time since an arbitrary point in the past.
35917         (CPU Time): Move CLK_TCK from here...
35918         (Processor Time): ...to here.  Correct description.
35919         * manual/conf.texi (Constants for Sysconf): Correct description of
35920         _SC_CLK_TCK.
35921
35922 2012-04-10  David S. Miller  <davem@davemloft.net>
35923
35924         [BZ #13967]
35925         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35926         where the is a gap between DT_REL(A) and DT_JMPREL.
35927
35928 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35929
35930         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35931         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35932         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35933
35934 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35935
35936         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35937         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35938         (dl_main): Handle --inhibit-cache.
35939         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35940         _dl_inhibit_cache.
35941         * elf/dl-load.c (_dl_map_object): Use it.
35942         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35943
35944 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35945
35946         [BZ #13872]
35947         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35948         (__ieee754_powl): Saturate large exponents rather than testing for
35949         overflow of y*log2(x).
35950         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35951         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35952         exceptions.
35953
35954         [BZ #11521]
35955         * math/s_ctan.c: Include <float.h>.
35956         (__ctan): Avoid internal overflow or cancellation in calculating
35957         denominator.
35958         * math/s_ctanf.c: Likewise.
35959         * math/s_ctanl.c: Likewise.
35960         * math/s_ctanh.c: Likewise.
35961         * math/s_ctanhf.c: Likewise.
35962         * math/s_ctanhl.c: Likewise.
35963         * math/libm-test.inc (ctan_test): Add more tests.
35964         (ctanh_test): Likewise.
35965         * sysdeps/i386/fpu/libm-test-ulps: Update.
35966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35967
35968 2012-04-09  Andreas Jaeger  <aj@suse.de>
35969
35970         [BZ #6894]
35971         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35972         is an optional BSD extension.
35973
35974         [BZ #10254]
35975         * manual/stdio.texi (Opening Streams): Document additional fopen
35976         parameters.
35977
35978 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35979
35980         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35981         %eax without telling the compiler.
35982
35983 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35984
35985         [BZ # 13963]
35986         * manual/install.texi: Use sourceware.org.
35987
35988 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35989
35990         [BZ #13873]
35991         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35992         (__ieee754_pow): Generate overflow and underflow using huge*huge
35993         and tiny*tiny rather than just returning constant infinity or zero
35994         for large exponents.
35995         * math/libm-test.inc (pow_test): Require overflow exceptions for
35996         applicable cases of large exponents.
35997
35998         [BZ #706]
35999         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36000         (__ieee754_pow): Use iterative multiplication algorithm only for
36001         integer exponents with absolute value below 1024.  Check for odd
36002         integer exponents when using algorithm for real exponents.
36003         * math/libm-test.inc (pow_test): Add more tests.
36004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36005
36006 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36007
36008         [BZ #13705]
36009         * math/libm-test.inc (exp_test): Do not allow overflow exception
36010         on underflow test.
36011
36012 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36013
36014         [BZ #13705]
36015         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36016         instead of __kernel_standard_f.
36017
36018 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36019
36020         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36021         * sysdeps/x86_64/memset_chk.S: Likewise.
36022
36023 2012-04-08  Andreas Jaeger  <aj@suse.de>
36024
36025         [BZ #10153]
36026         * manual/startup.texi (Environment Access): Describe return value
36027         for putenv and setenv.
36028
36029         [BZ #6895]
36030         * manual/filesys.texi (Directory Entries): Add description for
36031         DT_LNK.
36032
36033         [BZ #6890]
36034         * manual/filesys.texi (Directory Entries): Clarify that it's file
36035         system not operating system in the description of DT_UNKNOWN.
36036
36037         [BZ #6578]
36038         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36039
36040 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36041
36042         [BZ #6649]
36043         * manual/llio.texi (Opening and Closing Files): Add cross
36044         reference to explain mode argument.
36045
36046 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36047
36048         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36049         * sysdeps/x86_64/memset_chk.S: Likewise.
36050
36051 2012-04-07  David S. Miller  <davem@davemloft.net>
36052
36053         * elf/elf.h (R_SPARC_WDISP10): Define.
36054         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36055         R_SPARC_SIZE32.
36056         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36057         R_SPARC_SIZE64 and R_SPARC_H34.
36058
36059 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36060
36061         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36062         conditions and remove no longer applicable assertion.
36063
36064 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36065
36066         * bits/byteswap.h: Include <features.h>.
36067         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36068         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36069
36070 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36071
36072         * bits/byteswap.h (__bswap_16): Removed.
36073         Include <bits/byteswap-16.h> to get __bswap_16.
36074         * sysdeps/i386/bits/byteswap.h: Likewise.
36075         * sysdeps/s390/bits/byteswap.h: Likewise.
36076         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36077         * bits/byteswap-16.h: New file.
36078         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36079         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36080         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36081         * string/Makefile (headers): Add bits/byteswap-16.h.
36082
36083 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36084
36085         [BZ #13895]
36086         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36087         extra indirection.
36088         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36089         * nss/tst-nss-static.c: New.
36090
36091 2012-04-06  Robert Millan  <rmh@gnu.org>
36092
36093         [BZ #6486]
36094         * manual/llio.texi (File Position Primitive): lseek
36095         refers to WHENCE when it really means OFFSET.
36096
36097 2012-04-06  Andreas Jaeger  <aj@suse.de>
36098
36099         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36100         strncmp declarations.
36101
36102         * abilist/libc.abilist: Add __poll and __ppoll.
36103
36104 2012-04-05  David S. Miller  <davem@davemloft.net>
36105
36106         * scripts/check-local-headers.sh: Accept a host triplet in the
36107         path matched by the exclude regexp.
36108
36109         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36110         definition.
36111         * sysdeps/powerpc/powerpc32/dl-machine.h
36112         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36113         * sysdeps/s390/s390-32/dl-machine.h
36114         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36115         * sysdeps/sparc/sparc32/dl-machine.h
36116         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36117         * sysdeps/sparc/sparc64/dl-machine.h
36118         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36119
36120         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36121         lazy binding.
36122         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36123         undefined symbol errors.
36124
36125         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36126         DT_NEEDED entries.
36127
36128 2012-04-05  Michael Matz  <matz@suse.de>
36129
36130         [BZ #13592]
36131         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36132
36133 2012-04-05  Andreas Jaeger  <aj@suse.de>
36134
36135         [BZ #13908]
36136         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36137         comment.
36138
36139 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36140
36141         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36142         which ROUND is no valid rounding mode.
36143
36144 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36145
36146         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36147         read again.
36148         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36149
36150 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36151
36152         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36153         an exception using FPU order intentionally.
36154
36155 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36156
36157         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36158         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36159         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36160         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36161
36162 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36163
36164         [BZ #12340]
36165         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36166         EINVAL when BUFLEN is too smal.
36167
36168 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36169
36170         [BZ #13553]
36171         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36172         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36173
36174 2012-04-03  Andreas Jaeger  <aj@suse.de>
36175
36176         [BZ #13938]
36177         * manual/setjmp.texi (System V contexts): Fix sentence.
36178
36179         [BZ #13926]
36180         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36181         New macro for this case.
36182         [!__GNUC__] (__bswap_64): New inline function for this case.
36183         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36184         * bits/byteswap.h: Likewise.
36185         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36186         ull, guard with __GLIBC_HAVE_LONG_LONG.
36187
36188         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36189         __GLIBC_HAVE_LONG_LONG.
36190
36191         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36192         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36193
36194 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36195
36196         [BZ #13691]
36197         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36198         inptr and inend, rather than using last_ch.
36199
36200 2012-04-02  David S. Miller  <davem@davemloft.net>
36201
36202         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36203         * stdio-common/printf-parse.h (read_int): Change return type to
36204         'int', return -1 on INT_MAX overflow.
36205         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36206         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36207         overflows INT_MAX.  Check for overflow of in-format-string precision
36208         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36209         SIZE_MAX not INT_MAX for integer overflow test.
36210         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36211         skip the construct in the format string but do not record anything.
36212         * stdio-common/bug22.c: Adjust to test both width/prevision
36213         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36214         explicitly for proper errno values.
36215
36216 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36217
36218         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36219         CHAR_MAX.
36220         * string/test-strcmp.c [! WIDE]: Likewise.
36221         * time/tst-mktime2.c: Likewise for INT_MAX.
36222         * string/test-string.h: #include <sys/param.h> for MIN.
36223
36224         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36225         * sysdeps/i386/init-first.c (init): Likewise.
36226         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36227         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36228         * sysdeps/sh/init-first.c (init): Likewise.
36229
36230 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36231
36232         * po/ru.po: Update from translation team.
36233         * po/vi.po: Likewise.
36234
36235 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36236
36237         * resolv/nss_dns/dns-host.c: Merge copyright years.
36238
36239 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36240
36241         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36242         Optimize memcpy with prefetch if
36243         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36244         src, dst pointers have unequal 16 byte alignments.
36245
36246 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36247
36248         [BZ #13928]
36249         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36250         from a CNAME entry and return the minimum ttl for the query.
36251         (gaih_getanswer_slice): Likewise.
36252
36253 2012-03-30  Jeff Law  <law@redhat.com>
36254
36255         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36256         due to long keys.
36257         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36258         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36259
36260         * resolv/nss_dns/dns-host.c: Update copyright year.
36261
36262 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36263
36264         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36265         requests to save a system call.  Fix check that all bytes are sent.
36266
36267         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36268         comments for sendmmsg.
36269
36270 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36271
36272         [BZ #13691]
36273         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36274         with only 1 character between 0x0041 and 0x01b0.
36275         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36276         * wcsmbs/tst-mbsnrtowcs.c: New file.
36277
36278 2012-03-29  David S. Miller  <davem@davemloft.net>
36279
36280         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36281         small copies by hand.
36282
36283 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36284
36285         [BZ #13761]
36286         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36287         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36288         group memberships.
36289
36290 2012-03-28  David S. Miller  <davem@davemloft.net>
36291
36292         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36293         that branches into memcpy.
36294         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36295         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36297         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36298         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36299         bits.
36300         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36301         implementation too.
36302         * sysdeps/sparc/mempcpy.S: New file.
36303
36304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36305         the IFUNC routine in the libc case.
36306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36307
36308         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36309         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36310         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36311         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36312         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36313         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36314         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36315         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36316
36317         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36318         loop to 256 bytes instead of 64 bytes and fix test signedness.
36319
36320         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36321         * sysdeps/sparc/sparc32/Makefile: rather than here...
36322         * sysdeps/sparc/sparc64/Makefile: and here.
36323
36324 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36325
36326         * malloc/mallocbug.c: Avoid warnings about unused variables.
36327
36328 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36329
36330         [BZ #13760]
36331         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36332         in the right place. Discard and retry query if response is
36333         larger than input buffer size.
36334
36335 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36336
36337         [BZ #369]
36338         [BZ #2678]
36339         [BZ #3866]
36340         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36341         x for large integer exponent.
36342         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36343         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36344         sign of result as needed afterwards.
36345         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36346         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36347         result for underflowing pow the same as for overflow.
36348         (__kernel_standard_l): Handle powl overflow and underflow here
36349         rather than calling __kernel_standard.
36350         * math/libm-test.inc (pow_test): Add more tests.
36351
36352         [BZ #3868]
36353         [BZ #13879]
36354         [BZ #13910]
36355         [BZ #13911]
36356         [BZ #13912]
36357         [BZ #13913]
36358         [BZ #13915]
36359         [BZ #13916]
36360         [BZ #13917]
36361         [BZ #13918]
36362         [BZ #13919]
36363         [BZ #13920]
36364         [BZ #13921]
36365         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36366         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36367         (__kernel_standard_l): New function.
36368         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36369         __kernel_standard.
36370         * math/w_acosl.c (__acosl): Likewise.
36371         * math/w_asinl.c (__asinl): Likewise.
36372         * math/w_atan2l.c (__atan2l): Likewise.
36373         * math/w_atanhl.c (__atanhl): Likewise.
36374         * math/w_coshl.c (__coshl): Likewise.
36375         * math/w_exp10l.c (__exp10l): Likewise.
36376         * math/w_exp2l.c (__exp2l): Likewise.
36377         * math/w_fmodl.c (__fmodl): Likewise.
36378         * math/w_hypotl.c (__hypotl): Likewise.
36379         * math/w_j0l.c (__j0l, __y0l): Likewise.
36380         * math/w_j1l.c (__j1l, __y1l): Likewise.
36381         * math/w_jnl.c (__jnl, __ynl): Likewise.
36382         * math/w_lgammal.c (__lgammal): Likewise.
36383         * math/w_log10l.c (__log10l): Likewise.
36384         * math/w_log2l.c (__log2l): Likewise.
36385         * math/w_logl.c (__logl): Likewise.
36386         * math/w_powl.c (__powl): Likewise.
36387         * math/w_remainderl.c (__remainderl): Likewise.
36388         * math/w_scalbl.c (sysv_scalbl): Likewise.
36389         * math/w_sinhl.c (__sinhl): Likewise.
36390         * math/w_sqrtl.c (__sqrtl): Likewise.
36391         * math/w_tgammal.c (__tgammal): Likewise.
36392         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36393         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36394         * math/libm-test.inc (acos_test): Add more tests.
36395         (acosh_test): Likewise.
36396         (asin_test): Likewise.
36397         (atanh_test): Likewise.
36398         (exp_test): Likewise.
36399         (exp10_test): Likewise.
36400         (exp2_test): Likewise.
36401         (expm1_test): Likewise.
36402         (lgamma_test): Likewise.
36403         (log_test): Likewise.
36404         (log10_test): Likewise.
36405         (log1p_test): Likewise.
36406         (log2_test): Likewise.
36407         (pow_test): Do not allow some spurious overflow exceptions.
36408         (sqrt_test): Add more tests.
36409         (tgamma_test): Likewise.
36410         (y0_test): Likewise.
36411         (y1_test): Likewise.
36412         (yn_test): Likewise.
36413
36414 2012-03-27  Anton Blanchard  <anton@samba.org>
36415
36416         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36417         MAP_HUGETLB.
36418         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36419         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36420         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36421
36422 2012-03-27  David S. Miller  <davem@davemloft.net>
36423
36424         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36425
36426         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36427         have-as-vis3 check.
36428
36429 2012-03-27  Andreas Jaeger  <aj@suse.de>
36430
36431         * sysdeps/x86_64/elf/configure.in: Moved to ...
36432         * sysdeps/x86_64/configure.in: ... here.
36433         * sysdeps/x86_64/elf/start.S: Moved to ...
36434         * sysdeps/x86_64/start.S: ... here.
36435         * sysdeps/x86_64/elf/configure: Delete.
36436
36437         * sysdeps/x86_64/configure.in: Merge contents from
36438         sysdeps/i386/configure.in (without i686 check).
36439
36440         * sysdeps/i386/elf/Versions: Merge into ...
36441         * sysdeps/i386/Versions: ... this.
36442         * sysdeps/i386/elf/Versions: Delete file.
36443         * sysdeps/i386/elf/start.S: Moved to ...
36444         * sysdeps/i386/start.S: ...here.
36445         * sysdeps/i386/elf/configure.in: Merge into...
36446         * sysdeps/i386/configure.in: ...here.
36447         * sysdeps/i386/elf/configure.in: Delete file.
36448         * sysdeps/i386/elf/configure: Delete file.
36449
36450         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36451         * debug/backtracesyms.c: ... here.
36452         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36453         * debug/backtracesymsfd.c: ... here.
36454         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36455         * sysdeps/generic/ifunc-sel.h: ... here.
36456
36457         * sysdeps/unix/i386/start.c: Delete file.
36458         * sysdeps/unix/sparc/start.c: Delete file.
36459         * sysdeps/unix/start.c: Delete file.
36460
36461         * sysdeps/sh/elf/configure.in: Moved to ...
36462         * sysdeps/sh/configure.in: ... here.
36463         * sysdeps/sh/elf/start.S: Moved to ...
36464         * sysdeps/sh/start.S: ... here.
36465         * sysdeps/sh/elf/configure: Delete file.
36466
36467         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36468         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36469         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36470         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36471         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36472         * sysdeps/powerpc/powerpc64/start.S: here.
36473         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36474         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36475         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36476         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36477         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36478
36479         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36480         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36481         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36482         * sysdeps/powerpc/powerpc32/start.S: ... here.
36483         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36484         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36485         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36486
36487         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36488         * sysdeps/powerpc/ifunc-sel.h: ... here.
36489         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36490         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36491
36492         * sysdeps/sparc/elf/configure.in: Moved to ...
36493         * sysdeps/sparc/configure.in: ... here.
36494         * sysdeps/sparc/elf/configure: Delete file.
36495         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36496         * sysdeps/sparc/sparc32/start.S: ... here.
36497         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36498         * sysdeps/sparc/sparc64/start.S: ... here.
36499         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36500         * sysdeps/sparc/sparc32/Makefile: ... this.
36501         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36502         * sysdeps/sparc/sparc64/Makefile: ... this.
36503
36504         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36505         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36506         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36507         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36508         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36509         * sysdeps/s390/s390-32/setjmp.S: ... here.
36510         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36511         * sysdeps/s390/s390-32/configure.in: ... here.
36512         * sysdeps/s390/s390-32/elf/configure: Delete file.
36513         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36514         * sysdeps/s390/s390-32/start.S: ... here.
36515
36516         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36517         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36518         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36519         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36520         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36521         * sysdeps/s390/s390-64/setjmp.S: ... here.
36522         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36523         * sysdeps/s390/s390-64/configure.in: ... here
36524         * sysdeps/s390/s390-64/elf/configure: Delete file.
36525         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36526         * sysdeps/s390/s390-64/start.S: ... here.
36527         * sysdeps/s390/s390-64/elf/configure: Delete.
36528
36529         * configure.in: Remove support for elf directories in sysdeps.
36530
36531         * configure: Regenerated.
36532         * sysdeps/i386/configure: Regenerated.
36533         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36534         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36535         * sysdeps/s390/s390-32/configure: Regenerated.
36536         * sysdeps/s390/s390-64/configure: Regenerated.
36537         * sysdeps/sh/configure: Regenerated.
36538         * sysdeps/sparc/configure: Regenerated.
36539         * sysdeps/x86_64/configure: Regenerated.
36540
36541 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36542
36543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36544
36545         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36546         denormal result into account.
36547
36548 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36549
36550         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36551         Reported by Allan McRae <allan@archlinux.org>.
36552
36553 2012-03-23  Jeff Law  <law@redhat.com>
36554
36555         * nss/getnssent.c (__nss_getent): Fix typo.
36556
36557 2012-03-23  David S. Miller  <davem@davemloft.net>
36558
36559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36560
36561 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36562
36563         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36564         to pad to uint64_t for each field.
36565         (dl_tls_index): Replace unsigned long with uint64_t.
36566
36567 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36568         Paul Pluzhnikov  <ppluzhnikov@google.com>
36569
36570         [BZ #6528]
36571         * grp/Makefile (otherlibs): Don't set it.
36572         * inet/Makefile (otherlibs): Likewise.
36573         * login/Makefile (otherlibs): Likewise.
36574         * nscd/Makefile (otherlibs): Likewise.
36575         * posix/Makefile (otherlibs): Likewise.
36576         * pwd/Makefile (otherlibs): Likewise.
36577         * rt/Makefile (otherlibs): Likewise.
36578         * sunrpc/Makefile (otherlibs): Likewise.
36579         * nss/Makefile (otherlibs): Likewise.
36580         Add libnss_files to routines and static-only-routines.
36581         ($(objpfx)getent): Remove rule.
36582         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36583         static-only-routines.
36584
36585 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36586
36587         [BZ #13892]
36588         * math/s_cexp.c: Include <float.h>.
36589         (__cexp): Handle exp result overflowing not necessarily
36590         overflowing both real and imaginary parts of result.
36591         * math/s_cexpf.c: Likewise.
36592         * math/s_cexpl.c: Likewise.
36593         * math/libm-test.inc (cexp_test): Add more tests.
36594         * sysdeps/i386/fpu/libm-test-ulps: Update.
36595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36596
36597 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36598
36599         * include/link.h (ELFW): New macro.
36600         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36601         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36602
36603 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36604
36605         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36606         with uint64_t.
36607
36608 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36609
36610         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36611         declaration.
36612         (struct La_x32_retval): Likewise.
36613
36614 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36615
36616         * sysdeps/x86_64/preconfigure.in: New file.
36617         * sysdeps/x86_64/preconfigure: New generated file.
36618
36619 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36620
36621         [BZ #13824]
36622         * math/e_exp2l.c: Include <float.h>.
36623         (__ieee754_exp2l): Handle overflow and underflow cases
36624         separately.  Only pass fractional part of argument to
36625         __ieee754_expl.
36626         * math/libm-test.inc (exp2_test): Add more tests.
36627
36628         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36629         negating x to take absolute value.
36630         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36631         Likewise.
36632         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36633         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36634         Likewise.
36635         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36636         computing low part if x was negated.
36637         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36638
36639 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36640
36641         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36642         la_x32_gnu_pltexit.
36643         (pltexit): Cast int_retval to ptrdiff_t.
36644         * elf/tst-auditmod3b.c: Likewise.
36645         * elf/tst-auditmod4b.c: Likewise.
36646         * elf/tst-auditmod5b.c: Likewise.
36647         * elf/tst-auditmod6b.c: Likewise.
36648         * elf/tst-auditmod6c.c: Likewise.
36649         * elf/tst-auditmod7b.c: Likewise.
36650
36651         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36652         and x32_gnu_pltexit.
36653
36654         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36655         __ELF_NATIVE_CLASS.
36656         (La_x32_regs): New macro.
36657         (La_x32_retval): Likewise.
36658         (la_x32_gnu_pltenter): New function prototype.
36659         (la_x32_gnu_pltexit): Likewise.
36660
36661 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36662
36663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36664         exponent.
36665
36666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36667
36668         * configure.in (libc_cv_cc_nofma): Check for option to disable
36669         generation of FMA instructions.
36670         * configure: Regenerate.
36671         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36672         * sysdeps/ieee754/dbl-64/Makefile: New file.
36673         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36674         Remove brandred-fma4.
36675         (CFLAGS-brandred-fma4.c): Remove.
36676         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36677         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36678         define.
36679         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36680         define.
36681
36682 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36683
36684         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36685         LLONG_MAX != LONG_MAX.
36686         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36687         (_fitoa_word): Likewise.
36688         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36689         LLONG_MAX != LONG_MAX.
36690         * stdio-common/_itowa.h: Include <_itoa.h>.
36691         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36692         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36693         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36694         only if not defined.
36695         (_ITOA_WORD_TYPE): Likewise.
36696         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36697         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36698
36699 2012-03-21  David S. Miller  <davem@davemloft.net>
36700
36701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36702
36703 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36704
36705         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36706         of x86_64 when setting libc_cv_slibdir, libdir and
36707         libc_cv_localedir.
36708         * sysdeps/unix/sysv/linux/configure: Regenerated.
36709
36710 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36711
36712         * manual/lang.texi (Old Varargs): Remove section.
36713         (How Variadic): Update menu.
36714         (va_start): Do not mention varargs.h.
36715
36716 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36717             Joseph Myers  <joseph@codesourcery.com>
36718
36719         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36720         link test.
36721         * configure: Regenerated.
36722
36723 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36724
36725         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36726         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36727         conformtest.pl
36728
36729 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36730
36731         * NOTES: Remove.
36732         * Makefile (files-for-dist): Remove NOTES.
36733         (NOTES): Remove rule.
36734         * README: Don't refer to NOTES.
36735         * manual/creature.texi: Don't include macros.texi.
36736         * manual/intro.texi (creature.texi): Remove comment referring to
36737         NOTES.
36738
36739         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36740         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36741         * configure: Regenerated.
36742         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36743         LIBC_TRY_CC_OPTION.
36744         (libc_cv_as_i686): Likewise.
36745         (libc_cv_cc_avx): Likewise.
36746         (libc_cv_cc_sse2avx): Likewise.
36747         (libc_cv_cc_fma4): Likewise.
36748         (libc_cv_cc_novzeroupper): Likewise.
36749         * sysdeps/i386/configure: Regenerated.
36750
36751         [BZ #13883]
36752         * sysdeps/i386/fpu/s_cexp.S: Remove.
36753         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36754         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36755         * math/libm-test.inc (cexp_test): Add more tests.
36756         * sysdeps/i386/fpu/libm-test-ulps: Update.
36757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36758
36759 2012-03-21  Allan McRae  <allan@archlinux.org>
36760
36761         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36762
36763 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36764
36765         [BZ #13871]
36766         * math/w_exp2.c: Do not include <float.h>.
36767         (o_threshold, u_threshold): Remove.
36768         (__exp2): Calculate result before checking finiteness and calling
36769         __kernel_standard.
36770         * math/w_exp2f.c: Likewise.
36771         * math/w_exp2l.c: Likewise.
36772         * math/libm-test.inc (exp2_test): Require overflow exception for
36773         1e6 input.
36774
36775         [BZ #3866]
36776         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36777         range of signed 64-bit integers before using fistpll.  Remove
36778         checks for whether integers fit in mantissa bits.
36779         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36780         the range of signed 32-bit integers before using fistpl.  Remove
36781         checks for whether integers fit in mantissa bits.
36782         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36783         (__ieee754_powl): Test for y outside the range of signed 64-bit
36784         integers before using fistpll.  Reduce 64-bit values to 63-bit
36785         ones as needed.
36786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36787         divide-by-zero is raised for zero to large negative powers.
36788         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36789         (__ieee754_powl): Test for y outside the range of signed 64-bit
36790         integers before using fistpll.  Reduce 64-bit values to 63-bit
36791         ones as needed.
36792         * math/libm-test.inc (pow_test): Add more tests.
36793
36794 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36795
36796         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36797         <stdio-common/_itoa.h>.
36798         * debug/segfault.c: Likewise.
36799         * elf/dl-cache.c: Likewise.
36800         * elf/dl-minimal.c: Likewise.
36801         * elf/dl-misc.c: Likewise.
36802         * elf/dl-sysdep.c: Likewise.
36803         * elf/dl-version.c: Likewise.
36804         * elf/rtld.c: Likewise.
36805         * hurd/hurdsock.c: Likewise.
36806         * hurd/lookup-retry.c: Likewise.
36807         * malloc/malloc.c: Likewise.
36808         * malloc/mtrace.c: Likewise.
36809         * nscd/nscd_getgr_r.c: Likewise.
36810         * nscd/nscd_getpw_r.c: Likewise.
36811         * nscd/nscd_getserv_r.c: Likewise.
36812         * posix/getopt_init.c: Likewise.
36813         * posix/wordexp.c: Likewise.
36814         * stdio-common/_itoa.c: Likewise.
36815         * stdio-common/printf_fphex.c: Likewise.
36816         * stdio-common/vfprintf.c: Likewise.
36817         * string/_strerror.c: Likewise.
36818         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36819         * sysdeps/i386/i686/hp-timing.h: Likewise.
36820         * sysdeps/mach/_strerror.c: Likewise.
36821         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36822         * sysdeps/mach/hurd/sethostid.c: Likewise.
36823         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36824         * sysdeps/mach/xpg-strerror.c: Likewise.
36825         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36826         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36827         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36828         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36829         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36830         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36831         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36832         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36833         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36834         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36835         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36836         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36837         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36838         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36839         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36840         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36841         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36842         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36843         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36844         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36845         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36846
36847         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36848
36849         * stdio-common/_itoa.h: Moved to ...
36850         * sysdeps/generic/_itoa.h: Here.
36851
36852         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36853
36854         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36855         instead of "_itoa.h" and "_itowa.h".
36856         * stdio-common/vfprintf.: Likewise.
36857
36858 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36859
36860         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36861         <bits/wordsize.h>.
36862         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36863         (__signbit): Likwise.
36864         (llrintf): Likwise.
36865         (llrint): Likwise.
36866
36867 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36868
36869         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36870         __WORDSIZE != 64.
36871
36872 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36873
36874         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36875         OVERFLOW_EXCEPTION_OK.
36876         * math/libm-test.inc ("Philosophy"): Update comment about
36877         exception testing.
36878         (OVERFLOW_EXCEPTION): Define.
36879         (OVERFLOW_EXCEPTION_OK): Likewise.
36880         (INVALID_EXCEPTION_OK): Renumber.
36881         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36882         (IGNORE_ZERO_INF_SIGN): Likewise.
36883         (test_exceptions): Handle FE_OVERFLOW.
36884         (exp10_test): Expect overflow exceptions.
36885         (exp2_test): Likewise.
36886         (expm1_test): Likewise.
36887         (nextafter_test): Likewise.
36888         (pow_test): Likewise.
36889         (scalbn_test): Likewise.
36890         (scalbln_test): Likewise.
36891
36892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36893
36894         * sysdeps/x86_64/bits/atomic.h
36895         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36896         64bit integer.
36897         (atomic_exchange_acq): Likewise.
36898         (__arch_exchange_and_add_body): Likewise.
36899         (__arch_add_body): Likewise.
36900         (atomic_add_negative): Likewise.
36901         (atomic_add_zero): Likewise.
36902
36903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36904
36905         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36906         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36907
36908 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36909
36910         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36911         Check __x86_64__ instead of __WORDSIZE.
36912
36913 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36914
36915         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36916
36917 2012-03-19  David S. Miller  <davem@davemloft.net>
36918
36919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36920
36921         * sysdeps/sparc/fpu/fenv_private.h: New file.
36922         * sysdeps/sparc/fpu/math_private.h: Use it.
36923         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36924         Remove.
36925         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36926         (libc_feholdexcept_setroundl): Remove.
36927         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36928         Remove.
36929         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36930         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36931
36932 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36933
36934         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36935         int64_t instead of long int.
36936         (INSERT_WORDS64): Likwise.
36937
36938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36939
36940         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36941         _Unwind_GetCFA return to _Unwind_Ptr first.
36942
36943 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36944
36945         [BZ #13629]
36946         * math/s_clog.c: Include <float.h>.
36947         (__clog): Scale large or subnormal inputs.
36948         * math/s_clogf.c: Likewise.
36949         * math/s_clogl.c: Likewise.
36950         * math/s_clog10.c: Include <float.h>.
36951         (M_LOG10_2): Define.
36952         (__clog10): Scale large or subnormal inputs.
36953         * math/s_clog10f.c: Likewise.
36954         * math/s_clog10l.c: Likewise.
36955         * math/libm-test.inc (clog_test): Add more tests.
36956         (clog10_test): Likewise.
36957         * sysdeps/i386/fpu/libm-test-ulps: Update.
36958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36959
36960         [BZ #11451]
36961         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36962         x and y.
36963         * math/libm-test.inc (atan2_test): Add another test.
36964
36965         * Makerules (common-objdir-compile): Remove.
36966         * sysdeps/unix/Makefile (config-generated): Do not add
36967         $(unix-generated) to variable.
36968         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36969         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36970         Remove rule.
36971         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36972         Likewise.
36973         [generic bits/local_lim.h] (before-compile): Do not append to
36974         variable.
36975         [generic bits/local_lim.h] (common-generated): Likewise.
36976         [generic sys/param.h] (before-compile): Do not append to variable.
36977         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36978         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36979         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36980         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36981         include.
36982         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36983         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36984         [generic sys/param.h] ($(addprefix
36985         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36986         [generic sys/param.h] (common-generated): Do not append to
36987         variable.
36988         [generic sys/param.h] (sysdep_headers): Likewise.
36989         [generic bits/errno.h] (before-compile): Do not append to
36990         variable.
36991         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36992         rule.
36993         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36994         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36995         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36996         [generic bits/errno.h] (common-generated): Do not append to
36997         variable.
36998         [generic bits/ioctls.h] (before-compile): Do not append to
36999         variable.
37000         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37001         rule.
37002         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37003         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37004         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37005         rule.
37006         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37007         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37008         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37009         [generic bits/ioctls.h] (common-generated): Do not append to
37010         variable.
37011         [generic sys/syscall.h] (syscall.h): Remove variable.
37012         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37013         rule.
37014         [generic sys/syscall.h] (before-compile): Do not append to
37015         variable.
37016         [generic sys/syscall.h] (common-generated): Likewise.
37017         * sysdeps/unix/errnos-tmpl.c: Remove file.
37018         * sysdeps/unix/errnos.awk: Likewise.
37019         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37020         * sysdeps/unix/ioctls.awk: Likewise.
37021         * sysdeps/unix/mk-local_lim.c: Likewise.
37022         * sysdeps/unix/snarf-ioctls: Likewise.
37023
37024 2012-03-19  Richard Henderson  <rth@twiddle.net>
37025
37026         * sysdeps/i386/fpu/fenv_private.h: New file.
37027         * sysdeps/i386/fpu/math_private.h: Use it.
37028         (math_opt_barrier, math_force_eval): Remove.
37029         (libc_feholdexcept_setround_53bit): Remove.
37030         (libc_feupdateenv_53bit): Remove.
37031         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37032         (math_opt_barrier, math_force_eval): Remove.
37033         (libc_feholdexcept): Remove.
37034         (libc_feholdexcept_setround): Remove.
37035         (libc_fetestexcept, libc_fesetenv): Remove.
37036         (libc_feupdateenv_test): Remove.
37037         (libc_feupdateenv, libc_feholdsetround): Remove.
37038         (libc_feresetround): Remove.
37039
37040         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37041         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37042
37043         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37044         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37045         (libc_feupdateenv_testl): New.
37046         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37047         (libc_feupdateenv_testf): New.
37048         (libc_feupdateenv): Use libc_feupdateenv_test.
37049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37050         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37051
37052         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37053         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37054         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37055         (libc_feresetround_noex): New.
37056         (libc_feresetround_noexf): New.
37057         (libc_feresetround_noexl): New.
37058         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37059         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37060         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37061         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37062         SET_RESTORE_ROUND.
37063         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37065         (__cos): Likewise.
37066         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37067         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37068         SET_RESTORE_ROUND_NOEX.
37069         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37070         SET_RESTORE_ROUND_NOEXF.
37071         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37072         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37073         (libc_feholdsetroundf): New.
37074         (libc_feresetround, libc_feresetroundf): New.
37075
37076         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37077         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37078         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37079
37080         * sysdeps/generic/math_private.h: Include <fenv.h>.
37081         (default_libc_feholdexcept): New.
37082         (default_libc_feholdexcept_setround): New.
37083         (default_libc_fesetenv, default_libc_feupdateenv): New.
37084         (libc_feholdexcept): Only define if undefined.
37085         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37086         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37087         (libc_feholdexcept_setroundl): Likewise.
37088         (libc_feholdexcept_setround_53bit): Likewise.
37089         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37090         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37091         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37092         (libc_feupdateenv_53bit): Likewise.
37093         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37094         (libc_feholdexcept): Convert from macro to inline function.
37095         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37096         (libc_fesetenv, libc_feupdateenv): Likewise.
37097
37098         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37099         not previously defined.
37100         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37101         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37102         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37103         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37104         * sysdeps/ieee754/flt-32/math_private.h: New file.
37105         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37106         math_private.h below SET_FLOAT_WORD.
37107         (__isnan, __isinf_ns, __finite): Remove.
37108         (__isnanf, __isinf_nsf, __finitef): Remove.
37109
37110 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37111
37112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37113
37114 2012-03-17  David S. Miller  <davem@davemloft.net>
37115
37116         [BZ #6471]
37117         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37118         for 2.16.
37119
37120 2012-03-16  David S. Miller  <davem@davemloft.net>
37121
37122         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37123         warnings.
37124
37125         [BZ #6471]
37126         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37127         properly.
37128         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37129         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37130         sysdep_routines when subdir is sysvipc.
37131         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37132         __getshmlba helper.
37133
37134         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37135
37136 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37137
37138         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37139         [__LP64__].
37140
37141 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37142
37143         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37144         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37145         (__lround): Renamed to ...
37146         (__llround): This.  Replace long int with long long int.
37147         Define lround functions as aliases of llround functions.
37148         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37149
37150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37151
37152         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37153         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37154         adresses to uintptr_t.  Replace "long int" and "unsigned long
37155         int" with "greg_t" on va_arg.
37156
37157 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37158
37159         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37160         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37161
37162         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37163         Move e_machine check before EI_CLASS check.  Handle x32
37164         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37165         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37166         SKIP_EM_IA_64 and include
37167         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37168
37169         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37170         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37171         (add_system_dir): New macro.
37172
37173         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37174         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37175
37176 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37177
37178         [BZ #2551]
37179         [BZ #2552]
37180         [BZ #2553]
37181         [BZ #2554]
37182         [BZ #2562]
37183         [BZ #2563]
37184         [BZ #2565]
37185         [BZ #2566]
37186         [BZ #2576]
37187         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37188         (y0): Likewise.
37189         * math/w_j0f.c (j0f): Likewise.
37190         (y0f): Likewise.
37191         * math/w_j0l.c (__j0l): Likewise.
37192         (__y0l): Likewise.
37193         * math/w_j1.c (j1): Likewise.
37194         (y1): Likewise.
37195         * math/w_j1f.c (j1f): Likewise.
37196         (y1f): Likewise.
37197         * math/w_j1l.c (__j1l): Likewise.
37198         (__y1l): Likewise.
37199         * math/w_jn.c (jn): Likewise.
37200         (yn): Likewise.
37201         * math/w_jnf.c (jnf): Likewise.
37202         (ynf): Likewise.
37203         * math/w_jnl.c (__jnl): Likewise.
37204         (__ynl): Likewise.
37205         * math/libm-test.inc (j0_test): Add more tests.
37206         (j1_test): Likewise.
37207         (jn_test): Likewise.  Add trailing semicolon to existing test.
37208         (y0_test): Likewise.
37209         (y1_test): Likewise.
37210         * sysdeps/i386/fpu/libm-test-ulps: Update.
37211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37212
37213         [BZ #13851]
37214         [BZ #13854]
37215         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37216         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37217         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37218         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37219         (__tanl): Set errno for infinite argument.
37220         * sysdeps/i386/fpu/mptan.c: Remove.
37221         * sysdeps/i386/fpu/s_tan.S: Likewise.
37222         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37223         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37224         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37225         * math/libm-test.inc (tan_test): Add more tests and enable more
37226         tests for double and long double.
37227         * sysdeps/i386/fpu/libm-test-ulps: Update.
37228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37229
37230 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37231
37232         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37233         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37234
37235 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37236
37237         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37238         * configure.in: Use it for both main tree and add-ons.
37239         * configure: Regenerated.
37240
37241 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37242
37243         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37244
37245 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37246
37247         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37248         in comment.
37249
37250         [BZ #13851]
37251         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37252         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37253         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37254         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37255         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37256         infinite argument.
37257         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37258         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37259         != 0 for prec == 2.
37260         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37261         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37262         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37263         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37264         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37265         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37266         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37267         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37268         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37269         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37270         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37271         * math/libm-test.inc (cos_test): Add more tests and enable more
37272         tests for long double.
37273         (sin_test): Likewise.
37274         (sincos_test): Likewise.
37275         * sysdeps/i386/fpu/libm-test-ulps: Update.
37276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37277
37278 2012-03-16  David S. Miller  <davem@davemloft.net>
37279
37280         * sysdeps/sparc/fpu/math_private.h: New file.
37281
37282 2012-03-15  David S. Miller  <davem@davemloft.net>
37283
37284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37285         file.
37286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37288         file.
37289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37294         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37295         sysdep routines.
37296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37297
37298         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37299         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37300
37301         * sysdeps/sparc/sparc-ifunc.h: New file.
37302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37303         sparc-ifunc.h
37304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37306         Likewise.
37307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37308         Likewise.
37309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37313         Likewise.
37314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37319         Likewise.
37320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37321         Likewise.
37322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37326         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37328         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37329         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37340         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37341         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37342         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37343         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37344         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37345         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37346
37347 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37348
37349         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37350         scaling.
37351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37352
37353 2012-03-15  Andreas Jaeger  <aj@suse.de>
37354
37355         [BZ #13852]
37356         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37357         ieee754/flt-32 implementation for sin, cos and sincos.
37358         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37359         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37360         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37361         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37362         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37363         ieee754/flt-32 implementation for tan.
37364
37365         * math/libm-test.inc (cos_test): Enable some large input tests for
37366         float as well
37367         (sin_test): Likewise.
37368         (sincos_test): Likewise.
37369         (tan_test): Add tests for large input.
37370
37371         * sysdeps/i386/fpu/libm-test-ulps: Update.
37372
37373 2012-03-15  Andreas Jaeger  <aj@suse.de>
37374
37375         [BZ #13658]
37376         * math/libm-test.inc (cos_test): Add more test cases.
37377         (sin_test): Likewise.
37378         (sincos_test): Likewise.
37379
37380 2012-03-15  Andreas Jaeger  <aj@suse.de>
37381
37382         [BZ #13837]
37383         * math/libm-test.inc (cos_test): Add a test case for large input
37384         value.
37385         (sin_test): Likewise.
37386         (sincos_test): Likewise.
37387
37388 2012-03-15  Andreas Jaeger  <aj@suse.de>
37389             Joseph Myers  <joseph@codesourcery.com>
37390
37391         [BZ #13658]
37392         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37393         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37394         * sysdeps/i386/fpu/branred.c: Likewise.
37395         * sysdeps/i386/fpu/dosincos.c: Likewise.
37396         * sysdeps/i386/fpu/mpa.c: Likewise.
37397         * sysdeps/i386/fpu/s_cos.S: Likewise.
37398         * sysdeps/i386/fpu/s_sin.S: Likewise.
37399         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37400         * sysdeps/i386/fpu/sincos32.c: Likewise.
37401
37402         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37403         Define.
37404         (libc_feupdateenv_53bit): Define.
37405         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37406         Define.
37407         (libc_feupdateenv_53bit): Define.
37408
37409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37410         53 bit (without extend i386 double precision).
37411
37412         * math/libm-test.inc (sincos_test): Add tests for large input.
37413         (sin): Likewise.
37414         (cos): Likewise.
37415
37416         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37417
37418 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37419
37420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37421
37422 2012-03-15  David S. Miller  <davem@davemloft.net>
37423
37424         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37425         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37426         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37427         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37440         file.
37441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37443         file.
37444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37446         file.
37447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37449         file.
37450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37452         fmin/fmax sysdep routines.
37453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37454
37455 2012-03-14  David S. Miller  <davem@davemloft.net>
37456
37457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37461         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37462         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37463         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37478         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37479         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37480         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37481         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37482         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37483         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37484         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37485         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37486         routines.
37487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37488         file.
37489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37491         file.
37492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37494         file.
37495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37497         file.
37498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37500         file.
37501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37503         file.
37504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37505         file.
37506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37507         file.
37508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37509         file.
37510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37511         New file.
37512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37513         file.
37514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37515         file.
37516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37518         file.
37519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37521         file.
37522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37524         file.
37525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37527         VIS3 routines.
37528
37529         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37530         New file.
37531
37532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37533
37534         * sysdeps/sparc/configure.in: New file.
37535         * sysdeps/sparc/configure: Generate.
37536         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37537         * configure: Regenerate.
37538         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37539         * config.make.in (have-as-vis3): New.
37540         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37541         available use -Av9d instead of -Av9a.
37542         * sysdeps/sparc/sparc64/Makefile: Likewise.
37543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37545         New file.
37546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37547         file.
37548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37549         New file.
37550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37551         file.
37552         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37553         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37554         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37555         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37556         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37557
37558         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37559         fzeros/fnegs to load 0x80000000 into a float register instead of
37560         using the stack.
37561         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37562
37563 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37564
37565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37566         bits/syscall.h.
37567         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37568         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37569         ($(inst_includedir)/bits/syscall.h): Remove rule.
37570         ($(objpfx)bits/syscall.d): Include instead of
37571         $(objpfx)syscall-list.d.
37572         (generated): Change syscall-list.h and syscall-list.d to
37573         bits/syscall.h and bits/syscall.d.
37574
37575 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37576
37577         [BZ #13846]
37578         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37579
37580 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37581
37582         [BZ #13841]
37583         * math/s_csqrt.c: Include <float.h>.
37584         (__csqrt): Scale large or subnormal inputs.
37585         * math/s_csqrtf.c: Likewise.
37586         * math/s_csqrtl.c: Likewise.
37587         * math/libm-test.inc (csqrt_test): Add more tests.
37588         * sysdeps/i386/fpu/libm-test-ulps: Update.
37589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37590
37591         [BZ #13840]
37592         * math/libm-test.inc (hypot_test): Add more tests.
37593
37594 2012-03-13  David S. Miller  <davem@davemloft.net>
37595
37596         [BZ #13840]
37597         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37598         double-precision for the calculation instead of scaling.
37599
37600 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37601
37602         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37603         manipulate bits before adding and subtracting TWO52[sx].
37604         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37605         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37606         Likewise.
37607         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37608
37609 2012-03-13  David S. Miller  <davem@davemloft.net>
37610
37611         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37612         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37614         rtld-global-offsets.h
37615         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37616
37617         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37618         large parameters.
37619
37620         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37621
37622         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37623         'err' in the ifdef scope in which it is actually used.
37624
37625         * nss/nss_db/db-init.c: Include string.h
37626
37627 2012-03-12  David S. Miller  <davem@davemloft.net>
37628
37629         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37630         masking out of the most significant byte of random value used.
37631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37632         Fix coding style in previous change.
37633
37634         * sysdeps/unix/sysv/linux/kernel-features.h
37635         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37636         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37637         expression.
37638         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37639         later.
37640
37641 2012-03-11  David S. Miller  <davem@davemloft.net>
37642
37643         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37644         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37645         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37646         for 'resultvar' otherwise things get truncated on 64-bit.
37647
37648         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37649         Fix masking out of the most significant byte of random value used.
37650
37651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37652
37653 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37654
37655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37656
37657 2012-03-09  David S. Miller  <davem@davemloft.net>
37658
37659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37660         variables with appropriate CPP guards.
37661         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37662         from the frame pointer, not the stack pointer.  Correct layout
37663         comments.  Fix test on resulting framesize and the management of
37664         the outregs buffer for pltexit.  Preserve floating point return
37665         values across _dl_call_pltexit call.
37666         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37667         framesize and the management of the outregs buffer for pltexit.
37668         Preserve floating point return values across _dl_call_pltexit
37669         call.
37670         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37671         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37672         (la_sparc64_gnu_pltexit): New functions.
37673         (print_exit): Fix format string for return register value.
37674
37675 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37676
37677         * sunrpc/Makefile (others): Add rpcgen.
37678         ($(objpfx)rpcgen): Remove special build rule and dependency on
37679         libc.
37680         * sunrpc/rpcgen.c: New file.
37681
37682 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37683
37684         [BZ #13673]
37685         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37686         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37687         * sysdeps/i386/crti.S: Likewise.
37688         * sysdeps/i386/crtn.S: Likewise.
37689         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37690         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37691         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37692         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37693         * sysdeps/sh/crti.S: Likewise.
37694         * sysdeps/sh/crtn.S: Likewise.
37695         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37696
37697         [BZ #13673]
37698         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37699         with URL.
37700         * locale/programs/locfile-kw.gperf: Likewise.
37701         * locale/programs/charmap-kw.h: Regenerated.
37702         * locale/programs/locfile-kw.h: Likewise.
37703
37704         [BZ #13673]
37705         * intl/plural.y: Replace FSF snail mail address with URL.
37706         * intl/plural.c: Regenerated.
37707
37708 2012-03-09  Richard Henderson  <rth@twiddle.net>
37709
37710         * include/math_private.h: Remove file.
37711         * math/math_private.h: Move file ...
37712         * sysdeps/generic/math_private.h: ... here.
37713
37714         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37715         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37716         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37717
37718         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37719         and <math_private.h>.
37720         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37721         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37722         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37723         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37724         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37725         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37726         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37727         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37728         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37729         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37731         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37732         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37733         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37734         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37735         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37736         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37737         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37738         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37739         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37741         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37742         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37744         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37745         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37746         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37747         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37749         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37750         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37751         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37752         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37753         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37754         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37755         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37756         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37757         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37758         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37759         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37760         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37761         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37762         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37763         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37764         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37765         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37766         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37767         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37768         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37769         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37770         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37771         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37772         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37773         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37774         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37775         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37776         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37777         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37778         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37779         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37780         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37781         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37782         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37783         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37784         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37785         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37786         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37787         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37788         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37789         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37790         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37791         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37792         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37793         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37794         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37795         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37797         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37798         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37799         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37800         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37801         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37802         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37803         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37804         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37805         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37807         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37808         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37809         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37810         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37811         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37812         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37813         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37814         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37815         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37816         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37817         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37818         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37819         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37820         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37821         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37822         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37823         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37824         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37825         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37826         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37827         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37828         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37830         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37831         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37832         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37833         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37834         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37835         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37836         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37837         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37838         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37839         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37840         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37841         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37843         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37844         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37845         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37846         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37847         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37848         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37849         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37850         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37851         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37852         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37853         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37854         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37855         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37856         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37857         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37858         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37859         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37860         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37861         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37862         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37863         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37864         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37865         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37866         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37867         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37868         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37869         * sysdeps/ieee754/k_standard.c: Likewise.
37870         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37871         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37872         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37873         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37874         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37875         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37876         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37877         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37878         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37880         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37882         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37883         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37884         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37885         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37886         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37887         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37888         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37889         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37890         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37891         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37892         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37893         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37894         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37895         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37896         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37897         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37898         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37899         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37900         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37901         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37902         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37903         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37904         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37905         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37906         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37907         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37908         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37909         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37910         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37911         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37912         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37913         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37914         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37915         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37916         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37917         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37918         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37919         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37920         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37921         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37922         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37923         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37924         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37925         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37926         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37927         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37928         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37929         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37930         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37931         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37932         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37936         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37937         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37940         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37941         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37942         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37943         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37946         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37947         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37948         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37949         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37950         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37951         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37952         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37953         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37954         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37955         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37956         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37957         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37958         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37960         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37961         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37962         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37963         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37964         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37965         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37966         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37967         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37968         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37969         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37970         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37971         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37972         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37973         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37974         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37975         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37976         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37977         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37978         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37979         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37980         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37981         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37982         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37983         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37984         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37985         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37986         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37987         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37988         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37989         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37990         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37991         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37992         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37993         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37994         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37995         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37996         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37997         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37998         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37999         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38000         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38001         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38002         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38003         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38004         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38005         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38006         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38007         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38008         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38009         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38010         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38011         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38012         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38013         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38014         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38015         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38016         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38017         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38018         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38019         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38020         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38021         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38022         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38023         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38024         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38025         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38026         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38027         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38028         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38029         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38030         * sysdeps/ieee754/s_lib_version.c: Likewise.
38031         * sysdeps/ieee754/s_matherr.c: Likewise.
38032         * sysdeps/ieee754/s_signgam.c: Likewise.
38033         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38034         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38035         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38036         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38037         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38038         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38039         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38040         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38041         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38042         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38043         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38044         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38045         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38046         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38047         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38048         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38049         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38050         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38051         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38052         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38054
38055 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38056
38057         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38058         * sunrpc/rpc_main.c: Likewise.
38059         * sunrpc/rpc_svcout.c: Likewise.
38060
38061 2012-03-09  David S. Miller  <davem@davemloft.net>
38062
38063         * include/math_private.h: New file.
38064
38065 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38066
38067         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38068         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38069         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38070         from <bits/socket_type.h>.
38071         (enum __socket_type): Don't define here.
38072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38074         bits/socket_type.h.
38075
38076         [BZ #13566]
38077         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38078         checking __USE_GNU.
38079
38080         * Makerules ($(inst_includedir)/%.h): New rule.
38081         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38082         (install-others): Remove variable setting.
38083         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38084
38085 2012-03-08  Richard Henderson  <rth@twiddle.net>
38086
38087         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38088         from macro to inline function; merge with the
38089         !__LIBC_INTERNAL_MATH_INLINES version.
38090         (__ieee754_sqrtf): Likewise.
38091
38092         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38093         to inline function.
38094         (__rintf, __floor, __floorf): Likewise.
38095
38096         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38097         macro to inline function.
38098         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38099
38100         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38101         not <math/math_private.h>.
38102
38103 2012-03-08  David S. Miller  <davem@davemloft.net>
38104
38105         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38106         copyright year.
38107         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38108
38109 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38110
38111         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38112         normalization.
38113         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38114         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38115
38116 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38117
38118         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38119         be defined individually, they must be defined as a block.  Define
38120         S for printing a string instead of hidint the different by using a
38121         macro for adding the 'l'.
38122         * stdio-common/tst-fphex-wide.c: Adjust.
38123
38124 2012-03-07  Marek Polacek  <polacek@redhat.com>
38125
38126         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38127
38128 2012-03-08  Marek Polacek  <polacek@redhat.com>
38129
38130         [BZ #13806]
38131         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38132         * stdio-common/tst-fphex.c: Define a few macros to make the
38133         test reusable.  Use them.
38134         * stdio-common/tst-fphex-wide.c: New file.
38135
38136 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38137
38138         [BZ #6911]
38139         * manual/macros.texi (gnusystems): New macro.
38140         (nongnusystems): Likewise.
38141         (gnulinuxhurdsystems): Likewise.
38142         (gnuhurdsystems): Likewise..
38143         (gnulinuxsystems): Likewise.
38144         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38145         variants of the GNU system, not "GNU system".
38146         * manual/conf.texi: Likewise.
38147         * manual/errno.texi: Likewise.  Update example of errno macro
38148         expansion.
38149         * manual/filesys.texi: Likewise.
38150         (getumask): Document as specific to GNU/Hurd.
38151         * manual/install.texi: Likewise.  Reword some references to
38152         GNU/Linux.
38153         * manual/intro.texi: Likewise.
38154         * manual/io.texi: Likewise.
38155         (File Name Portability): Detail which constraints are inapplicable
38156         to all GNU systems and which are only inapplicable to GNU/Hurd.
38157         * manual/job.texi: Likewise.
38158         * manual/llio.texi: Likewise.
38159         (O_NOCTTY): Document as present on GNU/Linux.
38160         * manual/maint.texi: Likewise.
38161         * manual/memory.texi: Likewise.
38162         * manual/pattern.texi: Likewise.
38163         * manual/pipe.texi: Likewise.
38164         * manual/process.texi: Likewise.
38165         * manual/resource.texi: Likewise.
38166         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38167         child on GNU/Hurd.
38168         * manual/setjmp.texi: Likewise.
38169         * manual/signal.texi: Likewise.
38170         * manual/startup.texi: Likewise.
38171         * manual/stdio.texi: Likewise.
38172         * manual/terminal.texi: Likewise.
38173         (ONLCR): Document as POSIX.
38174         (OXTABS): Document availability on GNU/Linux as XTABS.
38175         (ONOEOT): Document availability separately from other bits.
38176         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38177         * manual/time.texi: Likewise.
38178         * manual/users.texi: Likewise.
38179         * INSTALL: Regenerated.
38180         * sysdeps/gnu/errlist.c: Regenerated.
38181
38182         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38183         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38184         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38185         puts.
38186         * configure: Regenerated.
38187
38188 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38189
38190         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38191         default includes instead of AC_HEADER_CHECK.
38192         * sysdeps/i386/configure: Regenerated.
38193
38194         [BZ #10716]
38195         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38196         * math/s_cacoshf.c (__cacoshf): Likewise.
38197         * math/s_cacoshl.c (__cacoshl): Likewise.
38198         * math/s_casinh.c (__casinh): Set signs of result from argument.
38199         * math/s_casinhf.c (__casinhf): Likewise.
38200         * math/s_casinhl.c (__casinhl): Likewise.
38201         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38202         (casinh_test): Add more tests.
38203         * sysdeps/i386/fpu/libm-test-ulps: Update.
38204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38205
38206 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38207
38208         * po/zh_TW.po: Update from translation team.
38209
38210         * login/Makefile (distribute): Remove variable.
38211         * catgets/Makefile: Likewise.
38212         * mach/Makefile: Likewise.
38213         * malloc/Makefile: Likewise.
38214         * misc/Makefile: Likewise.
38215         * iconv/Makefile: Likewise.
38216         * nscd/Makefile: Likewise.
38217         * hurd/Makefile: Likewise.
38218         * manual/Makefile: Likewise.
38219         * locale/Makefile: Likewise.
38220         * intl/Makefile: Likewise.
38221         * conform/Makefile: Likewise.
38222         * nss/Makefile: Likewise.
38223         * time/Makefile: Likewise.
38224         * soft-fp/Makefile: Likewise.
38225         * dirent/Makefile: Likewise.
38226         * gmon/Makefile: Likewise.
38227         * po/Makefile: Likewise.
38228         * rt/Makefile: Likewise.
38229         * socket/Makefile: Likewise.
38230         * math/Makefile: Likewise.
38231         * signal/Makefile: Likewise.
38232         * debug/Makefile: Likewise.
38233         * elf/Makefile: Likewise.
38234         * timezone/Makefile: Likewise.
38235         * stdlib/Makefile: Likewise.
38236         * iconvdata/Makefile: Likewise.
38237         * sunrpc/Makefile: Likewise.
38238         * io/Makefile: Likewise.
38239         * argp/Makefile: Likewise.
38240         * inet/Makefile: Likewise.
38241         * hesiod/Makefile: Likewise.
38242         * grp/Makefile: Likewise.
38243         * csu/Makefile: Likewise.
38244         * wctype/Makefile: Likewise.
38245         * crypt/Makefile: Likewise.
38246         * libio/Makefile: Likewise.
38247         * string/Makefile: Likewise.
38248         * nis/Makefile: Likewise.
38249         * resolv/Makefile: Likewise.
38250         * stdio-common/Makefile: Likewise.
38251         * wcsmbs/Makefile: Likewise.
38252         * dlfcn/Makefile: Likewise.
38253         * posix/Makefile: Likewise.
38254
38255         [BZ #6959]
38256         * timezone/Makefile: Don't install timezone files, just the programs
38257         and scripts.
38258
38259 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38260
38261         * nss/databases.def: Add missing gshadow entry.
38262
38263         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38264
38265 2012-03-06  Marek Polacek  <polacek@redhat.com>
38266
38267         [BZ #13726]
38268         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38269         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38270         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38271         * stdio-common/tst-long-dbl-fphex.c: New file.
38272
38273 2012-03-06  David S. Miller  <davem@davemloft.net>
38274
38275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38276         (set_obp_int): New function.
38277         (get_obp_int): New function.
38278         (__get_clockfreq_via_dev_openprom): Likewise.
38279         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38280         Avoid unused variable warnings on 'val' and use builtin_expect.
38281         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38282         __builtin_expect.
38283         (INLINE_CLONE_SYSCALL): Likewise.
38284
38285 2012-03-05  David S. Miller  <davem@davemloft.net>
38286
38287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38288
38289 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38290
38291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38292
38293         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38294         only for |x| >= 40.
38295         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38296
38297 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38298
38299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38300         Replace gettimeofday with __vdso_gettimeofday.
38301
38302         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38303         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38304         __vdso_clock_gettime and __vdso_getcpu.
38305
38306         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38307         time with __vdso_time.
38308
38309 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38310
38311         * manual/lang.texi (size_t): Note types to which size_t may be
38312         equivalent with the GNU C Library, but do not describe when
38313         differences between them are significant.
38314
38315 2012-03-05  Andreas Jaeger  <aj@suse.de>
38316
38317         * sysdeps/i386/fpu/libm-test-ulps: Update.
38318
38319 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38320
38321         [BZ #3976]
38322         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38323         (__ieee754_pow): Save and restore rounding mode and use
38324         round-to-nearest for main computations.
38325         * math/libm-test.inc (pow_test_tonearest): New function.
38326         (pow_test_towardzero): Likewise.
38327         (pow_test_downward): Likewise.
38328         (pow_test_upward): Likewise.
38329         (main): Call the new functions.
38330         * sysdeps/i386/fpu/libm-test-ulps: Update.
38331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38332
38333         [BZ #3976]
38334         * math/libm-test.inc (cosh_test_tonearest): New function.
38335         (cosh_test_towardzero): Likewise.
38336         (cosh_test_downward): Likewise.
38337         (cosh_test_upward): Likewise.
38338         (sinh_test_tonearest): Likewise.
38339         (sinh_test_towardzero): Likewise.
38340         (sinh_test_downward): Likewise.
38341         (sinh_test_upward): Likewise.
38342         (main): Call the new functions.
38343         * sysdeps/i386/fpu/libm-test-ulps: Update.
38344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38345
38346 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38347
38348         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38349         default stack guard is set in last bytes.
38350         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38351
38352 2012-03-05  Kees Cook  <keescook@chromium.org>
38353
38354         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38355
38356         [BZ #13656]
38357         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38358         possibly allocate from heap instead of stack.
38359         * stdio-common/bug-vfprintf-nargs.c: New file.
38360         * stdio-common/Makefile (tests): Add nargs overflow test.
38361
38362 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38363
38364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38365
38366 2012-03-03  Marek Polacek  <polacek@redhat.com>
38367
38368         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38369         * math/math_private.h: Likewise.
38370         * stdlib/tst-strtod.c: Likewise.
38371         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38372         * sysdeps/x86_64/bits/atomic.h: Likewise.
38373
38374 2012-03-02  David S. Miller  <davem@davemloft.net>
38375
38376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38380         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38381         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38382         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38383         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38384
38385 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38386
38387         [BZ #13792]
38388         * manual/examples/README: New file, says the example source files
38389         can be used under GPL>=2.
38390         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38391         line containing just "*/".
38392         * manual/examples/add.c: Add copyright header (GPL>=2).
38393         * manual/examples/argp-ex1.c: Likewise.
38394         * manual/examples/argp-ex2.c: Likewise.
38395         * manual/examples/argp-ex3.c: Likewise.
38396         * manual/examples/argp-ex4.c: Likewise.
38397         * manual/examples/atexit.c: Likewise.
38398         * manual/examples/db.c: Likewise.
38399         * manual/examples/dir.c: Likewise.
38400         * manual/examples/dir2.c: Likewise.
38401         * manual/examples/execinfo.c: Likewise.
38402         * manual/examples/filecli.c: Likewise.
38403         * manual/examples/filesrv.c: Likewise.
38404         * manual/examples/fmtmsgexpl.c: Likewise.
38405         * manual/examples/genpass.c: Likewise.
38406         * manual/examples/inetcli.c: Likewise.
38407         * manual/examples/inetsrv.c: Likewise.
38408         * manual/examples/isockad.c: Likewise.
38409         * manual/examples/longopt.c: Likewise.
38410         * manual/examples/memopen.c: Likewise.
38411         * manual/examples/memstrm.c: Likewise.
38412         * manual/examples/mkfsock.c: Likewise.
38413         * manual/examples/mkisock.c: Likewise.
38414         * manual/examples/mygetpass.c: Likewise.
38415         * manual/examples/pipe.c: Likewise.
38416         * manual/examples/popen.c: Likewise.
38417         * manual/examples/rprintf.c: Likewise.
38418         * manual/examples/search.c: Likewise.
38419         * manual/examples/select.c: Likewise.
38420         * manual/examples/setjmp.c: Likewise.
38421         * manual/examples/sigh1.c: Likewise.
38422         * manual/examples/sigusr.c: Likewise.
38423         * manual/examples/stpcpy.c: Likewise.
38424         * manual/examples/strdupa.c: Likewise.
38425         * manual/examples/strftim.c: Likewise.
38426         * manual/examples/strncat.c: Likewise.
38427         * manual/examples/subopt.c: Likewise.
38428         * manual/examples/swapcontext.c: Likewise.
38429         * manual/examples/termios.c: Likewise.
38430         * manual/examples/testopt.c: Likewise.
38431         * manual/examples/testpass.c: Likewise.
38432         * manual/examples/timeval_subtract.c: Likewise.
38433
38434         [BZ #13792]
38435         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38436         function to ...
38437         * manual/timeval_subtract.c.texi: ... here, new file.
38438
38439 2012-03-02  David S. Miller  <davem@davemloft.net>
38440
38441         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38442
38443 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38444
38445         [BZ #3976]
38446         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38447         (__sin): Save and restore rounding mode and use round-to-nearest
38448         for all computations.
38449         (__cos): Save and restore rounding mode and use round-to-nearest
38450         for all computations.
38451         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38452         <fenv.h>.
38453         (tan): Save and restore rounding mode and use round-to-nearest for
38454         all computations.
38455         * math/libm-test.inc (cos_test_tonearest): New function.
38456         (cos_test_towardzero): Likewise.
38457         (cos_test_downward): Likewise.
38458         (cos_test_upward): Likewise.
38459         (sin_test_tonearest): Likewise.
38460         (sin_test_towardzero): Likewise.
38461         (sin_test_downward): Likewise.
38462         (sin_test_upward): Likewise.
38463         (tan_test_tonearest): Likewise.
38464         (tan_test_towardzero): Likewise.
38465         (tan_test_downward): Likewise.
38466         (tan_test_upward): Likewise.
38467         (main): Call the new functions.
38468         * sysdeps/i386/fpu/libm-test-ulps: Update.
38469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38470
38471         [BZ #10135]
38472         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38473         small n, then large n, before computing and testing k+n.
38474         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38476         Likewise.
38477         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38478         Likewise.
38479         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38480         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38481         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38482         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38483         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38484         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38485         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38486         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38487         * math/libm-test.inc (scalbn_test): Add more tests.
38488         (scalbln_test): Likewise.
38489
38490         * manual/filesys.texi (mode_t): Describe constraints on size and
38491         signedness, not exact equivalence to a particular type.
38492         (ino_t): Likewise.
38493         (ino64_t): Likewise.
38494         (dev_t): Likewise.
38495         (nlink_t): Likewise.
38496         (blkcnt_t): Likewise.
38497         (blkcnt64_t): Likewise.
38498         * manual/llio.texi (off_t): Likewise.
38499
38500         [BZ #3976]
38501         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38502         (__ieee754_exp): Save and restore rounding mode and use
38503         round-to-nearest for all computations.
38504         * math/libm-test.inc (exp_test_tonearest): New function.
38505         (exp_test_towardzero): Likewise.
38506         (exp_test_downward): Likewise.
38507         (exp_test_upward): Likewise.
38508         (main): Call the new functions.
38509         * sysdeps/i386/fpu/libm-test-ulps: Update.
38510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38511
38512 2012-03-01  Chris Demetriou  <cgd@google.com>
38513
38514         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38515         have predictable order.
38516
38517 2012-03-01  David S. Miller  <davem@davemloft.net>
38518
38519         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38520
38521         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38522         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38523         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38524         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38525
38526         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38527         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38528         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38530         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38531         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38532         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38533         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38534         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38535
38536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38537
38538         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38539         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38540         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38541
38542         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38543         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38544         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38545         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38546         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38547         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38548         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38549         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38550         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38551         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38552         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38553         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38554         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38555         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38556         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38557         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38558         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38559         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38560         * sysdeps/sparc/elf/configure: Regenerated.
38561
38562 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38563
38564         * configure.in (AS, LD): Require binutils 2.20 or later.
38565         * configure: Regenerated.
38566         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38567         as required minimum version.
38568         * INSTALL: Regenerated.
38569
38570         [BZ #2541]
38571         [BZ #4108]
38572         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38573         before squaring exponent.
38574         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38575         bottom long double and 27 bits of top long double before squaring
38576         exponent.
38577         * math/libm-test.inc (erfc_test): Add more tests.
38578         * sysdeps/i386/fpu/libm-test-ulps: Update.
38579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38581
38582 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38583
38584         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38585         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38586         containing bit-fields.
38587         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38588         * soft-fp/single.h (_FP_UNION_S): Likewise.
38589         * soft-fp/double.h (_FP_UNION_D): Likewise.
38590
38591 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38592
38593         [BZ #13786]
38594         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38595         not include ../strcmp.S.
38596         [USE_AS_STRNCASECMP_L]: Likewise.
38597         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38598         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38599         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38600         (__strncasecmp_l_ia32): Define as alias to
38601         __strncasecmp_l_nonascii.
38602
38603         [BZ #5794]
38604         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38605         * sysdeps/i386/fpu/libm-test-ulps: Update.
38606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38607
38608         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38610
38611 2012-02-29  Jeff Law  <law@redhat.com>
38612
38613         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38614         out of bounds read.
38615
38616 2012-02-29  Marek Polacek  <polacek@redhat.com>
38617
38618         [BZ #13706]
38619         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38620         * elf/Makefile: Add rules to run tst-unused-dep.out.
38621
38622 2012-02-28  David S. Miller  <davem@davemloft.net>
38623
38624         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38625         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38626         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38627         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38628         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38629         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38630
38631 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38632
38633         * math/libm-test.inc (llround_test): Move one test from
38634         lround_test.  Use TEST_f_L in moved test.
38635         (lround_test): Move misplaced test to llround_test.  Add testcase
38636         from bug 2561.
38637
38638 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38639
38640         * sysdeps/x86_64/fpu/e_expf.S: New file.
38641         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38642
38643 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38644
38645         [BZ #13637]
38646         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38647         of remain_len that may cause incomplete multi-byte character and
38648         false match.
38649         * posix/bug-regex33.c: New file.
38650         * posix/Makefile (tests): Add bug-regex33.
38651
38652 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38653
38654         * manual/macros.texi: New file.
38655         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38656         * manual/libc.texinfo: Include macros.texi.
38657         * manual/creatute.texi: Likewise.
38658         * manual/install.texi: Likewise.
38659         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38660         @glibcadj{} in references to the GNU C Library.
38661         * manual/charset.texi: Likewise.
38662         * manual/conf.texi: Likewise.
38663         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38664         when not using those macros.
38665         * manual/creature.texi: Likewise.
38666         * manual/crypt.texi: Likewise.
38667         * manual/errno.texi: Likewise.
38668         * manual/filesys.texi: Likewise.
38669         * manual/header.texi: Likewise.
38670         * manual/install.texi: Likewise.
38671         * manual/intro.texi: Likewise.
38672         * manual/io.texi: Likewise.
38673         * manual/job.texi: Likewise.
38674         * manual/lang.texi: Likewise.
38675         * manual/libc.texiinfo: Likewise.
38676         * manual/llio.texi: Likewise.
38677         * manual/locale.texi: Likewise.
38678         * manual/maint.texi: Likewise.
38679         * manual/math.texi: Likewise.
38680         * manual/memory.texi: Likewise.
38681         * manual/message.texi: Likewise.
38682         * manual/nss.texi: Likewise.
38683         * manual/pattern.texi: Likewise.
38684         * manual/process.texi: Likewise.
38685         * manual/resource.texi: Likewise.
38686         * manual/search.texi: Likewise.
38687         * manual/setjmp.texi: Likewise.
38688         * manual/signal.texi: Likewise.
38689         * manual/socket.texi: Likewise.
38690         * manual/startup.texi: Likewise.
38691         * manual/stdio.texi: Likewise.
38692         * manual/string.texi: Likewise.
38693         * manual/sysinfo.texi: Likewise.
38694         * manual/syslog.texi: Likewise.
38695         * manual/terminal.texi: Likewise.
38696         * manual/time.texi: Likewise.
38697         * manual/users.texi: Likewise.
38698         * INSTALL: Regenerated.
38699         * NOTES: Regenerated.
38700         * sysdeps/gnu/errlist.c: Regenerated.
38701
38702 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38703
38704         * include/dirent.h: Include <dirstream.h> before
38705         <dirent/dirent.h>.
38706
38707 2012-02-28  David S. Miller  <davem@davemloft.net>
38708
38709         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38710         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38711         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38712         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38713
38714 2012-02-27  David S. Miller  <davem@davemloft.net>
38715
38716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38718         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38719         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38720
38721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38722         frame pointer instead of stack pointer relative arg slot.
38723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38724         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38725         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38726
38727 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38728
38729         [BZ #3992]
38730         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38731
38732 2012-02-27  David S. Miller  <davem@davemloft.net>
38733
38734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38738         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38739         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38740         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38741         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38742
38743 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38744
38745         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38746         later.  Allow versions 5-9.
38747         * configure: Regenerated.
38748         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38749         required minimum version and 4.6 as recommended version.  Do not
38750         mention bugs in GCC 2.7 and 2.8.
38751         * INSTALL: Regenerated.
38752
38753 2012-02-27  David S. Miller  <davem@davemloft.net>
38754
38755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38759         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38760         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38761         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38762         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38763
38764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38765         manipulate bits before adding and subtracting TWO112[sx].
38766         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38767
38768 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38769
38770         [BZ #13775]
38771         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38772         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38773         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38774         being in POSIX, because they are in 1003.1-2008.
38775
38776         * rt/tst-aio.c: Include <fcntl.h>.
38777         * rt/tst-aio7.c: Likewise.
38778         * rt/tst-aio64.c: Likewise.
38779
38780         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38781
38782 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38783
38784         * manual/install.texi (--with-headers): Describe headers as
38785         interface headers, not private headers.
38786         (Specific advice for GNU/Linux systems): Describe use of headers
38787         from "make headers_install", not private headers from older
38788         kernels.
38789         * INSTALL: Regenerated.
38790         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38791         Change to 2.6.19.
38792         * sysdeps/unix/sysv/linux/configure: Regenerated.
38793
38794         * manual/llio.texi (fclean): Remove documentation.
38795
38796         * manual/Makefile (libc-texi-generated): New variable.  Include
38797         version.texi.
38798         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38799         $(libc-texi-generated), not duplicated list of files.
38800         (version.texi, stamp-version): New rules.
38801         (realclean): Remove $(libc-texi-generated), not individual files
38802         from that list.  Do not remove dir-add.texinfo.
38803         * manual/libc.texinfo: Comment out uses of edition numbers and
38804         references to printed manual.  Remove last-updated dates.
38805         (EDITION): Comment out.
38806         (ISBN): Likewise.
38807         (VERSION, UPDATED): Remove.
38808         (version.texi): Include.
38809
38810 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38811
38812         * sysdeps/posix/spawni.c: Include <signal.h>.
38813         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38814         * sysdeps/pthread/aio_fsync.c: Likewise.
38815
38816 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38817
38818         * conform/Makefile (tests): Run only when not cross-compiling and
38819         when fast-check is not defined.
38820
38821         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38822         * conform/data/limits.h-data: Fixes for POSIX2008.
38823         * conform/run-conformtest.sh: Run all tests.
38824         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38825         headers.
38826         * include/bits/dlfcn.h: Likewise.
38827         * include/langinfo.h: Likewise.
38828         * include/monetary.h: Likewise.
38829         * include/sys/poll.h: Likewise.
38830
38831         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38832         for __USE_GNU.
38833         * posix/spawn.h: Define __need_sigset_t.
38834         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38835         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38836         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38837         to get sigevent_t only.
38838         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38839         only for __USE_GNU.
38840         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38841         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38842         process_vm_writev only for __USE_GNU.
38843         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38844
38845         * conform/Makefile: For now ignore errors from run-conformtest.
38846         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38847         POSIX to avoid namespace pollution.  Don't prepend headers.
38848         * conform/data/aio.h-data: Fixes for POSIX testing.
38849         * conform/data/fcntl.h-data: Likewise.
38850         * conform/data/glob.h-data: Likewise.
38851         * conform/data/grp.h-data: Likewise.
38852         * conform/data/pthread.h-data: Likewise.
38853         * conform/data/pwd.h-data: Likewise.
38854         * conform/data/signal.h-data: Likewise.
38855         * conform/data/spawn.h-data: Likewise.
38856         * conform/data/stdio.h-data: Likewise.
38857         * conform/data/stdlib.h-data: Likewise.
38858         * conform/data/stropts.h-data: Likewise.
38859         * conform/data/sys/mman.h-data: Likewise.
38860         * conform/data/sys/stat.h-data: Likewise.
38861         * conform/data/sys/types.h-data: Likewise.
38862         * conform/data/sys/wait.h-data: Likewise.
38863         * conform/data/time.h-data: Likewise.
38864         * conform/data/unistd.h-data: Likewise.
38865         * conform/data/utime.h-data: Likewise.
38866
38867         * io/sys/stat.h: fchmod was always in POSIX.
38868         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38869         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38870         * rt/aio.h: Define __need_timespec before including <time.h>.
38871         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38872         struct.  Add forward declaration of pthread_attr_t and use it in
38873         sigevent.
38874         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38875         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38876         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38877         always remove CLK_TCK definition.
38878
38879 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38880
38881         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38882
38883 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38884
38885         * conform/run-conformtest.sh: New file.
38886         * conform/Makefile: Run run-conformtest for tests.
38887         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38888         support.
38889
38890         * conform/data/uchar.h-data: New file.
38891         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38892         * conform/data/arpa/inet.h-data: Likewise.
38893         * conform/data/assert.h-data: Likewise.
38894         * conform/data/complex.h-data: Likewise.
38895         * conform/data/cpio.h-data: Likewise.
38896         * conform/data/ctype.h-data: Likewise.
38897         * conform/data/dirent.h-data: Likewise.
38898         * conform/data/dlfcn.h-data: Likewise.
38899         * conform/data/errno.h-data: Likewise.
38900         * conform/data/fcntl.h-data: Likewise.
38901         * conform/data/float.h-data: Likewise.
38902         * conform/data/fmtmsg.h-data: Likewise.
38903         * conform/data/fnmatch.h-data: Likewise.
38904         * conform/data/ftw.h-data: Likewise.
38905         * conform/data/glob.h-data: Likewise.
38906         * conform/data/grp.h-data: Likewise.
38907         * conform/data/iconv.h-data: Likewise.
38908         * conform/data/inttypes.h-data: Likewise.
38909         * conform/data/langinfo.h-data: Likewise.
38910         * conform/data/libgen.h-data: Likewise.
38911         * conform/data/limits.h-data: Likewise.
38912         * conform/data/locale.h-data: Likewise.
38913         * conform/data/math.h-data: Likewise.
38914         * conform/data/monetary.h-data: Likewise.
38915         * conform/data/mqueue.h-data: Likewise.
38916         * conform/data/ndbm.h-data: Likewise.
38917         * conform/data/net/if.h-data: Likewise.
38918         * conform/data/netdb.h-data: Likewise.
38919         * conform/data/netinet/in.h-data: Likewise.
38920         * conform/data/nl_types.h-data: Likewise.
38921         * conform/data/poll.h-data: Likewise.
38922         * conform/data/pthread.h-data: Likewise.
38923         * conform/data/pwd.h-data: Likewise.
38924         * conform/data/regex.h-data: Likewise.
38925         * conform/data/sched.h-data: Likewise.
38926         * conform/data/search.h-data: Likewise.
38927         * conform/data/semaphore.h-data: Likewise.
38928         * conform/data/setjmp.h-data: Likewise.
38929         * conform/data/signal.h-data: Likewise.
38930         * conform/data/spawn.h-data: Likewise.
38931         * conform/data/stdarg.h-data: Likewise.
38932         * conform/data/stdio.h-data: Likewise.
38933         * conform/data/stdlib.h-data: Likewise.
38934         * conform/data/string.h-data: Likewise.
38935         * conform/data/strings.h-data: Likewise.
38936         * conform/data/stropts.h-data: Likewise.
38937         * conform/data/sys/ipc.h-data: Likewise.
38938         * conform/data/sys/mman.h-data: Likewise.
38939         * conform/data/sys/msg.h-data: Likewise.
38940         * conform/data/sys/resource.h-data: Likewise.
38941         * conform/data/sys/select.h-data: Likewise.
38942         * conform/data/sys/sem.h-data: Likewise.
38943         * conform/data/sys/shm.h-data: Likewise.
38944         * conform/data/sys/socket.h-data: Likewise.
38945         * conform/data/sys/stat.h-data: Likewise.
38946         * conform/data/sys/statvfs.h-data: Likewise.
38947         * conform/data/sys/time.h-data: Likewise.
38948         * conform/data/sys/timeb.h-data: Likewise.
38949         * conform/data/sys/times.h-data: Likewise.
38950         * conform/data/sys/types.h-data: Likewise.
38951         * conform/data/sys/uio.h-data: Likewise.
38952         * conform/data/sys/un.h-data: Likewise.
38953         * conform/data/sys/utsname.h-data: Likewise.
38954         * conform/data/sys/wait.h-data: Likewise.
38955         * conform/data/syslog.h-data: Likewise.
38956         * conform/data/tar.h-data: Likewise.
38957         * conform/data/termios.h-data: Likewise.
38958         * conform/data/utime.h-data: Likewise.
38959         * conform/data/utmpx.h-data: Likewise.
38960         * conform/data/varargs.h-data: Likewise.
38961         * conform/data/wchar.h-data: Likewise.
38962         * conform/data/wctype.h-data: Likewise.
38963         * conform/data/wordexp.h-data: Likewise.
38964
38965         * include/stropts.h: New file.
38966         * include/uchar.h: New file.
38967         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38968         * include/assert.h: Likewise.
38969         * include/ctype.h: Likewise.
38970         * include/dirent.h: Likewise.
38971         * include/dlfcn.h: Likewise.
38972         * include/fcntl.h: Likewise.
38973         * include/fnmatch.h: Likewise.
38974         * include/glob.h: Likewise.
38975         * include/grp.h: Likewise.
38976         * include/libio.h: Likewise.
38977         * include/locale.h: Likewise.
38978         * include/math.h: Likewise.
38979         * include/net/if.h: Likewise.
38980         * include/netdb.h: Likewise.
38981         * include/netinet/in.h: Likewise.
38982         * include/pthread.h: Likewise.
38983         * include/pwd.h: Likewise.
38984         * include/regex.h: Likewise.
38985         * include/sched.h: Likewise.
38986         * include/search.h: Likewise.
38987         * include/setjmp.h: Likewise.
38988         * include/signal.h: Likewise.
38989         * include/stdio.h: Likewise.
38990         * include/stdlib.h: Likewise.
38991         * include/string.h: Likewise.
38992         * include/sys/cdefs.h: Likewise.
38993         * include/sys/mman.h: Likewise.
38994         * include/sys/msg.h: Likewise.
38995         * include/sys/resource.h: Likewise.
38996         * include/sys/select.h: Likewise.
38997         * include/sys/socket.h: Likewise.
38998         * include/sys/stat.h: Likewise.
38999         * include/sys/statvfs.h: Likewise.
39000         * include/sys/time.h: Likewise.
39001         * include/sys/times.h: Likewise.
39002         * include/sys/uio.h: Likewise.
39003         * include/sys/utsname.h: Likewise.
39004         * include/sys/wait.h: Likewise.
39005         * include/termios.h: Likewise.
39006         * include/time.h: Likewise.
39007         * include/ulimit.h: Likewise.
39008         * include/unistd.h: Likewise.
39009         * include/utime.h: Likewise.
39010         * include/wchar.h: Likewise.
39011         * include/wctype.h: Likewise.
39012         * include/wordexp.h: Likewise.
39013
39014         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39015
39016         * time/time.h: TIME_UTC must be a macro.
39017         Make timespec_get available for ISO C11 only as well.
39018
39019 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39020
39021         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39022         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39023
39024 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39025
39026         * configure.in: Use -o not -a in test for unsupported multi-arch.
39027
39028 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39029
39030         * manual/texinfo.tex: Update to version 2012-01-19.16.
39031
39032 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39033
39034         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39035
39036 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39037
39038         [BZ #13738]
39039         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39040         * manual/fdl-1.3.texi: New file.
39041         * manual/fdl-1.1.texi: File removed.
39042
39043         [BZ #13738]
39044         * manual/libc.texinfo (FDL_VERSION): New @set.
39045         Use it for mention of FDL in cover text.
39046         (Documentation License): Use it in @include file name.
39047
39048 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39049             Roland McGrath  <roland@hack.frob.com>
39050
39051         [BZ #5461]
39052         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39053         (not LONG_LONG_MAX and LONG_LONG_MIN.
39054         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39055         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39056         name.
39057         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39058
39059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39060
39061         [BZ #2547]
39062         [BZ #11365]
39063         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39064         manipulate bits before adding and subtracting TWO23[sx].
39065         * math/libm-test.inc (nearbyint_test): Add more tests.
39066
39067 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39068
39069         [BZ #2548]
39070         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39071         bits before adding and subtracting TWO23[sx].
39072         * math/libm-test.inc (rint_test): Add more tests.
39073         (rint_test_tonearest): Likewise.
39074         (rint_test_towardzero): Likewise.
39075         (rint_test_downward): Likewise.
39076         (rint_test_upward: Likewise.
39077
39078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39079
39080         [BZ #10110]
39081         * include/stdc-predef.h: New file.  Extracted from features.h.
39082         * include/features.h: Include stdc-predef.h.
39083         * Makefile (headers): Add stdc-predef.h.
39084         * CONFORMANCE (Compiler limitations): Update.
39085
39086 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39087
39088         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39089
39090 2012-02-21  David S. Miller  <davem@davemloft.net>
39091
39092         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39093         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39094
39095 2012-02-20  David S. Miller  <davem@davemloft.net>
39096
39097         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39098         using a normal save/restore sequence, rather than allocating a
39099         dummy stack frame just to store a frame pointer and restore.
39100         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39101
39102 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39103
39104         * manual/install.texi: Fix stray word in line-wrapped comment.
39105
39106 2012-02-20  David S. Miller  <davem@davemloft.net>
39107
39108         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39109         both binutils and gcc support GOTDATA.
39110
39111         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39112         "rd %pc" in the PIC register setup sequences.
39113
39114         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39115         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39116         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39117         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39118         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39120         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39121         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39122         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39123         (SYSCALL_ERROR_HANDLER): Likewise.
39124         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39125         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39127         (SYSCALL_ERROR_HANDLER): Likewise.
39128
39129         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39130         (HAVE_GCC_GOTDATA): New.
39131         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39132         relocation support in both binutils and gcc.
39133         * sysdeps/sparc/elf/configure: Regenerate.
39134
39135         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39136         * sysdeps/sparc/sparc32/elf/configure: Delete.
39137         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39138         * sysdeps/sparc/sparc64/elf/configure: Delete.
39139         * sysdeps/sparc/elf/configure.in: New file.
39140         * sysdeps/sparc/elf/configure: Generate.
39141
39142         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39143         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39144         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39145         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39146         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39147
39148 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39149
39150         * manual/install.texi: Do not mention specific glibc version
39151         numbers.
39152         * manual/libc.texinfo (VERSION, UPDATED): Update.
39153         (@copying): Use @copyright{} and range of years.
39154
39155 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39156
39157         [BZ #13695]
39158         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39159         [crti.S not in sysdirs] (generated): Do not append.
39160         [crti.S not in sysdirs] (omit-deps): Likewise.
39161         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39162         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39163         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39164         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39165         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39166         Likewise.
39167         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39168         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39169         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39170         * csu/defs.awk: Remove file.
39171         * sysdeps/generic/initfini.c: Likewise.
39172         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39173         variable.
39174         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39175         Likewise.
39176
39177 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39178
39179         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39180         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39181         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39182         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39183         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39184         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39185         <bits/epoll.h>.
39186         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39187         (__EPOLL_PACKED): Define to empty if not defined by
39188         <bits/epoll.h>.
39189         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39191         bits/epoll.h.
39192
39193 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39194
39195         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39196         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39197         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39198         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39199         <bits/timerfd.h>.
39200         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39202         bits/timerfd.h.
39203
39204 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39205
39206         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39207         in C locale.
39208         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39209         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39210         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39212
39213 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39214
39215         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39216         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39217
39218 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39219
39220         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39221         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39222         defined.
39223         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39224         Likewise.
39225         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39226         entry for 2.16.
39227
39228 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39229
39230         * math/w_acos.c: Use non-signaling floating-point comparisons.
39231         * math/w_acosf.c: Likewise.
39232         * math/w_acosh.c: Likewise.
39233         * math/w_acoshf.c: Likewise.
39234         * math/w_acoshl.c: Likewise.
39235         * math/w_acosl.c: Likewise.
39236         * math/w_asin.c: Likewise.
39237         * math/w_asinf.c: Likewise.
39238         * math/w_asinl.c: Likewise.
39239         * math/w_atanh.c: Likewise.
39240         * math/w_atanhf.c: Likewise.
39241         * math/w_atanhl.c: Likewise.
39242         * math/w_exp2.c: Likewise.
39243         * math/w_exp2f.c: Likewise.
39244         * math/w_exp2l.c: Likewise.
39245         * math/w_j0.c: Likewise.
39246         * math/w_j0f.c: Likewise.
39247         * math/w_j0l.c: Likewise.
39248         * math/w_j1.c: Likewise.
39249         * math/w_j1f.c: Likewise.
39250         * math/w_j1l.c: Likewise.
39251         * math/w_jn.c: Likewise.
39252         * math/w_jnf.c: Likewise.
39253         * math/w_log.c: Likewise.
39254         * math/w_log10.c: Likewise.
39255         * math/w_log10f.c: Likewise.
39256         * math/w_log10l.c: Likewise.
39257         * math/w_log2.c: Likewise.
39258         * math/w_log2f.c: Likewise.
39259         * math/w_log2l.c: Likewise.
39260         * math/w_logf.c: Likewise.
39261         * math/w_logl.c: Likewise.
39262         * math/w_sqrt.c: Likewise.
39263         * math/w_sqrtf.c: Likewise.
39264         * math/w_sqrtl.c: Likewise.
39265         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39266         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39267         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39268         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39269         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39270
39271 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39272
39273         [BZ #9739]
39274         * manual/string.texi (strnlen): Use correct parameter name in
39275         equivalent expression.
39276
39277 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39278
39279         [BZ #11174]
39280         * manual/users.texi (seteuid): Consistently use neweuid for
39281         argument name.
39282
39283 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39284
39285         [BZ #13704]
39286         * manual/nss.texi (Services in the NSS configuration): Correct
39287         list of services in example configuration file.
39288
39289 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39290
39291         [BZ #11322]
39292         * manual/arith.texi: Remove statements about negative zero
39293         behaving identically to zero.
39294
39295 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39296
39297         [BZ #5993]
39298         * manual/install.texi: Do not document upgrading from libc5.
39299
39300 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39301
39302         [BZ #4596]
39303         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39304
39305 2012-02-18  David S. Miller  <davem@davemloft.net>
39306
39307         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39308         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39309         %o7 across the call.
39310         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39311         instead.
39312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39313         SETUP_PIC_REG_LEAF.
39314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39315         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39316         * sysdeps/sparc/crtn.S: Likewise.
39317
39318 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39319
39320         * aout/Makefile: Remove.
39321
39322 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39323
39324         [BZ #13058]
39325         * manual/examples/argp-ex1.c (main): Format definition in GNU
39326         style.
39327         * manual/examples/argp-ex2.c (main): Likewise.
39328         * manual/examples/argp-ex3.c (main): Likewise.
39329         * manual/examples/argp-ex4.c (main): Likewise.
39330         * manual/examples/longopt.c (main): Use new-style prototype
39331         definition.
39332         * manual/examples/strncat.c (main): Specify return type and use
39333         (void) for arguments.
39334         * manual/examples/subopt.c (main): Use char **argv argument.
39335
39336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39337
39338         [BZ #5077]
39339         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39340         rounding modes.
39341
39342 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39343
39344         [BZ #6907]
39345         * manual/string.texi (strchr): Change when strchrnul is
39346         recommended.
39347
39348 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39349
39350         [BZ #174]
39351         * manual/locale.texi (setlocale): Document LOCPATH.
39352
39353 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39354
39355         [BZ #10210]
39356         * manual/process.texi (execle): Move @dots{} before last argument.
39357
39358 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39359
39360         [BZ #12047]
39361         * manual/charset.texi (Generic Charset Conversion): Fix typo
39362         (LC_TYPE -> LC_CTYPE).
39363
39364 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39365
39366         [BZ #5805]
39367         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39368         (scalbnf): Likewise.
39369         (scalbnl): Likewise.
39370         (scalbln): Likewise.
39371         (scalblnf): Likewise.
39372         (scalblnl): Likewise.
39373         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39374         (vwarnx): Likewise.
39375         (verr): Likewise.
39376         (verrx): Likewise.
39377         * manual/filesys.texi (telldir): Use braces around return type.
39378         * manual/llio.texi (mmap): Add space after comma.
39379         (mmap64): Likewise.
39380         * manual/math.texi (jn): Use @var{} on parameter names.
39381         (jnf): Likewise.
39382         (jnl): Likewise.
39383         (yn): Likewise.
39384         (ynf): Likewise.
39385         (ynl): Likewise.
39386         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39387         line.
39388         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39389         "...".
39390         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39391         (sched_get_priority_max): Likewise.
39392         * manual/signal.texi (sigvec): Add space after comma.
39393         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39394         names.
39395         (if_indextoname): Likewise.
39396         (if_freenameindex): Likewise.
39397         (sendto): Use ',' instead of '.' in prototype.
39398         * manual/startup.texi (syscall): Use @dots{} instead of literal
39399         "...".
39400         * manual/stdio.texi (__fpending): Separate initial words of
39401         paragraph from @deftypefun line.
39402         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39403         "...".
39404         (vsyslog): Use @var{} on parameter names.
39405         * manual/terminal.texi (stty): Use @var{} on parameter names.
39406         * manual/users.texi (getutmp): Use @var{} on parameter names.
39407         (getutmpx): Likewise.
39408
39409 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39410
39411         [BZ #6884]
39412         * manual/stdio.texi (fopen): Fix typos in description of
39413         ",ccs=STRING".
39414
39415 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39416
39417         [BZ #4026]
39418         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39419         get clock_id definition.
39420
39421 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39422
39423         [BZ #4822]
39424         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39425         (madvise): Cast every argument to void on its own.
39426
39427 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39428
39429         [BZ #9902]
39430         * manual/startup.texi (Exit Status): Fix typo.
39431
39432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39433
39434         [BZ #10140]
39435         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39436         * manual/examples/argp-ex2.c: Likewise.
39437         * manual/examples/argp-ex3.c: Likewise.
39438
39439 2012-02-16  Richard Henderson  <rth@redhat.com>
39440
39441         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39442         * sysdeps/s390/s390-32/initfini.c: Remove.
39443         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39444         * sysdeps/s390/s390-64/initfini.c: Remove.
39445
39446 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39447
39448         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39449         compiler output for sysdeps/generic/initfini.c.
39450         * sysdeps/sh/elf/initfini.c: Remove file.
39451
39452 2012-02-16  David S. Miller  <davem@davemloft.net>
39453
39454         [BZ #11494]
39455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39456
39457         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39458         * sysdeps/sparc/crti.S: New file.
39459         * sysdeps/sparc/crtn.S: New file.
39460         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39461         * sysdeps/sparc/sparc64/Makefile: Likewise.
39462
39463 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39464
39465         [BZ #3335]
39466         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39467
39468 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39469
39470         [BZ #4822]
39471         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39472
39473         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39474         (write, read, close): Likewise.
39475         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39476
39477 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39478
39479         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39480         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39481         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39482         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39483         <bits/signalfd.h>.
39484         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39486         bits/signalfd.h.
39487
39488 2012-02-14  Marek Polacek  <polacek@redhat.com>
39489
39490         * sysdeps/x86_64/crti.S: New file.
39491         * sysdeps/x86_64/crtn.S: New file.
39492         * sysdeps/x86_64/elf/initfini.c: Remove file.
39493
39494 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39495
39496         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39497         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39498         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39499         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39500         <bits/inotify.h>.
39501         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39503         bits/inotify.h.
39504
39505 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39506
39507         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39508         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39509         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39510         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39511         <bits/eventfd.h>.
39512         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39514         bits/eventfd.h.
39515
39516 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39517
39518         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39519         __feraiseexcept instead of feraiseexcept.
39520
39521         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39522         nanosleep invocations.
39523         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39524         strings, and add error checking for a nanosleep invocations.
39525
39526 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39527
39528         Replace FSF snail mail address with URLs, as per GNU coding standards.
39529         Most of the snail mail addresses were wrong anyway, and omitting
39530         them makes the source code easier to maintain.  Almost all of the
39531         changes are to license notices and to locale LC_IDENTIFICATION
39532         addresses, except for this one:
39533         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39534         not its snail mail address.
39535
39536 2012-02-09  Richard Henderson  <rth@twiddle.net>
39537
39538         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39539         of kernel-features.h.
39540
39541         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39542
39543 2012-02-08  Marek Polacek  <polacek@redhat.com>
39544
39545         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39546         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39547         * sysdeps/gnu/_G_config.h: Likewise.
39548         * sysdeps/generic/_G_config.h: Likewise.
39549
39550 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39551
39552         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39553         tests.
39554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39555
39556         * sysdeps/powerpc/powerpc32/crti.S: New file.
39557         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39558         * sysdeps/powerpc/powerpc64/crti.S: New file.
39559         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39560
39561         * Makeconfig (have-initfini): Don't set.
39562         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39563         * configure.in (nopic_initfini): Don't substitute.
39564         * config.h.in (HAVE_INITFINI): Don't #undef.
39565         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39566         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39567
39568 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39569
39570         Support crti.S and crtn.S provided directly by architectures.
39571         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39572         [crti.S in sysdirs] (omit-deps): Likewise.
39573         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39574         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39575         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39576         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39577         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39578         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39579         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39580         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39581         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39582         compiler output for sysdeps/generic/initfini.c.
39583         * sysdeps/i386/elf/Makefile: Remove file.
39584         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39585
39586 2012-02-07  Marek Polacek  <polacek@redhat.com>
39587
39588         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39589         * sysdeps/gnu/_G_config.h: Likewise.
39590         * sysdeps/mach/hurd/_G_config.h: Likewise.
39591
39592 2012-02-07  Marek Polacek  <polacek@redhat.com>
39593
39594         * math/Makefile (tests): Add tst-CMPLX2.
39595         * math/tst-CMPLX2.c: New file.
39596
39597 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39598
39599         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39600
39601         * math/libm-test.inc (jn_test): Add missing L suffix.
39602
39603 2012-02-06  Marek Polacek  <polacek@redhat.com>
39604
39605         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39606         * sysdeps/i386/fpu/e_powf.S: Likewise.
39607         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39608         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39609         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39610         * sysdeps/i386/fpu/e_pow.S: Likewise.
39611         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39612         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39613         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39614         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39615         * sysdeps/i386/fpu/e_log2.S: Likewise.
39616         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39617         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39618         * sysdeps/i386/fpu/e_powl.S: Likewise.
39619         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39620         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39621         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39622         * sysdeps/i386/fpu/e_logl.S: Likewise.
39623         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39624         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39625         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39626         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39627         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39628         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39629         * sysdeps/i386/fpu/e_log.S: Likewise.
39630         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39631         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39632         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39633         * sysdeps/i386/fpu/e_logf.S: Likewise.
39634         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39635         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39636         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39637         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39638         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39639         * sysdeps/i386/fpu/e_log10.S: Likewise.
39640         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39641         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39642         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39643         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39644         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39645         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39646         * sysdeps/i386/asm-syntax.h: Likewise.
39647         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39648         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39649         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39650         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39651         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39652         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39653         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39654         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39655         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39656         * sysdeps/powerpc/sysdep.h: Likewise.
39657         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39658         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39659
39660 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39661
39662         [BZ #411]
39663         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39664
39665 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39666
39667         * sysdeps/i386/sysdep.h: Include <features.h>.
39668         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39669         version.
39670
39671 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39672
39673         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39674         Define.
39675         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39676         LOAD_PIC_REG_STR.
39677
39678 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39679
39680         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39681         (SETUP_PIC_REG): Use GET_PC_THUNK.
39682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39683         macro.
39684
39685 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39686
39687         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39688         for non-PIC compilation.
39689         (SETUP_PIC_REG): Add .p2align directive.
39690         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39691         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39692         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39693         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39694         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39695         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39696         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39697         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39698         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39699         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39700         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39701         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39702         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39703         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39704         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39705         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39706         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39707         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39708         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39709         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39710         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39711         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39712         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39713         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39714         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39715         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39716         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39718         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39719         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39720         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39721         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39722         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39723         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39724         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39725         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39726         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39727         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39728         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39729         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39730         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39731
39732 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39733
39734         * math/tst-CMPLX.c: Include <stdio.h>.
39735
39736 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39737
39738         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39739         float.
39740         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39741         * sysdeps/sparc/bits/mathdef.h: Likewise.
39742
39743 2012-01-31  Marek Polacek  <polacek@redhat.com>
39744
39745         * libio/libio.h: Don't define _PARAMS.
39746         * locale/programs/config.h: Don't define PARAMS.
39747         * stdlib/strtol_l.c: Likewise.
39748         (__strtol_l): Remove PARAMS from the prototype.
39749
39750 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39751
39752         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39753         names.  Just use the correct names.  Remove unnecessary wrapper
39754         functions.
39755         * malloc/arena.c: Likewise.
39756         * malloc/hooks.c: Likewise.
39757
39758         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39759         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39760         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39761
39762 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39763
39764         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39765         into tail calls.
39766         (update_get_addr): New function.
39767         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39768         GET_ADDR_MODULE parameter.
39769
39770 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39771
39772         * crypt/cert.c: Remove __STDC__ conditionals.
39773         * crypt/crypt-entry.c: Likewise.
39774         * crypt/crypt_util.c: Likewise.
39775         * libio/filedoalloc.c: Likewise.
39776         * libio/fileops.c: Likewise.
39777         * libio/genops.c: Likewise.
39778         * libio/iofclose.c: Likewise.
39779         * libio/iofdopen.c: Likewise.
39780         * libio/iofopen.c: Likewise.
39781         * libio/iofopen64.c: Likewise.
39782         * libio/iogetdelim.c: Likewise.
39783         * libio/iopopen.c: Likewise.
39784         * libio/obprintf.c: Likewise.
39785         * libio/oldfileops.c: Likewise.
39786         * libio/oldiofclose.c: Likewise.
39787         * libio/oldiofdopen.c: Likewise.
39788         * libio/oldiofopen.c: Likewise.
39789         * libio/oldiopopen.c: Likewise.
39790         * libio/wfiledoalloc.c: Likewise.
39791         * libio/wgenops.c: Likewise.
39792         * locale/programs/xmalloc.c: Likewise.
39793         * misc/syslog.c: Likewise.
39794         * stdio-common/xbug.c: Likewise.
39795         * string/memchr.c: Likewise.
39796         * string/memcmp.c: Likewise.
39797         * string/memrchr.c: Likewise.
39798         * string/rawmemchr.c: Likewise.
39799         * sysdeps/posix/getcwd.c: Likewise.
39800         * time/strftime_l.c: Likewise.
39801
39802 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39803
39804         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39805         * config.make.in (config-cflags-sse2avx): Define.
39806         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39807         Fix typo.
39808
39809 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39810
39811         * scripts/config.guess: Update from upstream config git repository.
39812         * scripts/config.sub: Likewise.
39813
39814 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39815
39816         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39817         (EM_NUM): Update.
39818         (R_TILEPRO_*, R_TILEGX_*): New macros.
39819
39820         * scripts/firstversions.awk: Fix bug in version range handling.
39821
39822         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39823
39824         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39825
39826         * include/sys/epoll.h: New file.
39827         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39828         libc_hidden_def.
39829
39830 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39831
39832         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39833         Avoid unnecessary __WORDSIZE == 64 test.
39834         (fmaxf): Use VEX format if possible.
39835         (fmax): Likewise.
39836         (fminf): Likewise.
39837         (fmin): Likewise.
39838
39839         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39840         * math/math_private.h: Remove libc_fegetround* and
39841         libc_fesetround*.
39842         * sysdeps/i386/configure.in: Check for -msse2avx.
39843         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39844         also if SSE2AVX is defined.
39845         Remove libc_fegetround* and libc_fesetround*.
39846         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39847         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39848         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39849         of HAS_YMM_USABLE.
39850         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39851         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39852         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39853         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39854         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39855
39856         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39857
39858 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39859
39860         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39861         size is not set.
39862         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39863
39864 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39865
39866         [BZ #13618]
39867         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39868         relocation.
39869         * Makeconfig (libm): Define.
39870         * elf/Makefile: Add rules to build and run tst-relsort1.
39871         * elf/tst-relsort1.c: New file.
39872         * elf/tst-relsort1mod1.c: New file.
39873         * elf/tst-relsort1mod2.c: New file.
39874
39875 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39876
39877         * math/s_ldexp.c: Remove __STDC__ conditionals.
39878         * math/s_ldexpf.c: Likewise.
39879         * math/s_ldexpl.c: Likewise.
39880         * math/s_nextafter.c: Likewise.
39881         * math/s_nexttowardf.c: Likewise.
39882         * math/s_significand.c: Likewise.
39883         * math/s_significandf.c: Likewise.
39884         * math/s_significandl.c: Likewise.
39885         * math/w_jnl.c: Likewise.
39886         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39887         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39888         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39889         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39890         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39891         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39892         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39893         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39894         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39895         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39896         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39897         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39898         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39899         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39900         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39901         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39902         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39903         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39905         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39906         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39907         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39908         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39910         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39911         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39912         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39913         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39914         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39915         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39916         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39917         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39918         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39919         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39920         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39921         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39922         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39923         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39924         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39925         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39926         * sysdeps/ieee754/k_standard.c: Likewise.
39927         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39928         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39929         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39930         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39931         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39932         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39933         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39934         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39935         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39936         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39937         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39938         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39939         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39940         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39941         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39942         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39943         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39944         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39945         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39946         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39947         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39948         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39949         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39950         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39951         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39952         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39953         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39955         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39956         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39957         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39958         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39959         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39960         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39961         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39962         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39963         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39964         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39965         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39966         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39967         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39969         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39970         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39971         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39972         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39973         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39974         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39975         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39976         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39977         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39978         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39979         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39980         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39981         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39982         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39983         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39984         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39985         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39986         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39987         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39988         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39989         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39990         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39991         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39992         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39993         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39994         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39995         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39996         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39997         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39999         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40002         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40003         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40004         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40005         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40006         * sysdeps/ieee754/s_matherr.c: Likewise.
40007         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40008         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40009         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40011
40012 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40013
40014         * crypt/md5.h: Remove __STDC__ conditionals.
40015         * libio/libioP.h: Likewise.
40016         * locale/programs/config.h: Likewise.
40017         * sysdeps/generic/sysdep.h: Likewise.
40018         * sysdeps/i386/asm-syntax.h: Likewise.
40019         * sysdeps/s390/asm-syntax.h: Likewise.
40020         * sysdeps/unix/sysdep.h: Likewise.
40021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40023
40024 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40025
40026         * libio/libio.h: Remove __STDC__ conditionals.
40027         * malloc/obstack.h: Likewise.
40028         * math/complex.h: Likewise.
40029         * math/math.h: Likewise.
40030         * sysdeps/generic/_G_config.h: Likewise.
40031         * sysdeps/gnu/_G_config.h: Likewise.
40032         * sysdeps/mach/hurd/_G_config.h: Likewise.
40033         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40034         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40035         * sysdeps/sparc/bits/mathdef.h: Likewise.
40036
40037 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40038
40039         [BZ #13583]
40040         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40041         Clean up HAS_* macros.
40042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40043         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40044         possible.
40045         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40046         HAS_AVX.
40047         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40048         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40049         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40050         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40051         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40052
40053 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40054
40055         * elf/tst-unique3.cc (gets): Remove declaration.
40056         * elf/tst-unique3lib.cc (gets): Likewise.
40057         * elf/tst-unique3lib2.cc (gets): Likewise.
40058         * elf/tst-unique4.cc (gets): Likewise.
40059
40060 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40061
40062         * include/stdio.h: Add C++ protection.  Add gets declarations and
40063         definitions.
40064         * debug/tst-chk1.c: Don't declare gets here.
40065         * stdio-common/tst-gets.c: Likewise.
40066
40067 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40068
40069         * posix/glob: Remove directory.
40070
40071 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40072
40073         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40074
40075 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40076
40077         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40078         of the non-standard EPFNOSUPPORT.
40079
40080 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40081
40082         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40083         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40084         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40085
40086 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40087
40088         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40089
40090 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40091
40092         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40093         transient errors.
40094         * nscd/grpcache.c (cache_addgr): Likewise.
40095         * nscd/hstcache.c (cache_addhst): Likewise.
40096         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40097         * nscd/pwdcache.c (cache_addpw): Likewise.
40098         * nscd/servicescache.c (cache_addserv): Likewise.
40099
40100 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40101
40102         * malloc/malloc.c: Various cleanups.
40103         * malloc/hooks.c: Likewise.
40104
40105         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40106         * stdlib/bug-fmtmsg1.c: New file.
40107
40108         * stdlib/fmtmsg.c (init): Add missing unlock.
40109         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40110
40111 2012-01-12  Marek Polacek  <polacek@redhat.com>
40112
40113         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40114         and _GNU_SOURCE.
40115
40116 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40117
40118         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40119         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40120         macro to ensure uniqueness of label name.
40121         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40122         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40123
40124 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40125
40126         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40127
40128         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40129         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40130         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40131         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40132
40133 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40134
40135         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40136
40137         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40138         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40139         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40140
40141         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40142
40143         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40144         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40145         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40147
40148         * math/bits/math-finite.h: Add ldexp support.
40149
40150 2012-01-10  Marek Polacek  <polacek@redhat.com>
40151
40152         * locale/programs/localedef.h (show_archive_content): Add noreturn
40153         attribute.
40154
40155 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40156
40157         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40158
40159 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40160
40161         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40162
40163         * io/Makefile (headers): Add bits/poll2.h.
40164
40165 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40166
40167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40168         typo #include statement.
40169
40170 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40171
40172         * include/sys/cdefs.h: Define __attribute_alloc_size.
40173         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40174         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40175         * elf/pldd.c: Likewise.
40176         * iconv/iconv_charmap.c: Likewise.
40177         * iconv/iconvconfig.c: Likewise.
40178         * iconv/strtab.c: Likewise.
40179         * locale/programs/locale.c: Likewise.
40180         * locale/programs/localedef.h: Likewise.
40181         * locale/programs/simple-hash.c: Likewise.
40182         * nscd/nscd.h: Likewise.
40183         * nss/makedb.c: Likewise.
40184         * sysdeps/generic/ldconfig.h: Likewise.
40185         * locale/programs/localedef.c: Remove xmalloc prototype.
40186         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40187
40188 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40189
40190         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40191         appropriate.
40192
40193 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40194
40195         * math/Makefile (tests): Add tst-CMPLX.
40196         * math/tst-CMPLX.c: New file.
40197
40198         * math/complex.h (CMPLXL): Fix typo.
40199
40200         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40201         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40202         GLIBC_2.16.
40203         * debug/tst-chk1.c: Add poll and ppoll tests.
40204         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40205         * include/sys/poll.h: Add hidden proto for ppoll.
40206         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40207         * sysdeps/mach/hurd/ppoll.c: Likewise.
40208         * io/ppoll.c: Likewise.
40209         * debug/poll_chk.c: New file.
40210         * debug/ppoll_chk.c: New file.
40211         * include/bits/poll2.h: New file.
40212         * io/bits/poll2.h: New file.
40213
40214         [BZ #1350]
40215         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40216
40217         * configure.in: static is always set to yes.  Remove.
40218         * config.make.in: Don't set build-static.
40219         * Makeconfig: Remove use of build-static.
40220         * dlfcn/Makefile: Likewise.
40221         * elf/Makefile: Likewise.
40222         * math/Makefile: Likewise.
40223         * misc/Makefile: Likewise.
40224         * nptl/Makefile: Likewise.
40225         * sysdeps/mach/hurd/Makefile: Likewise.
40226
40227         * configure.in: PWD_P is not used anymore.
40228         * config.make.in: Remove PWD_P entry.
40229
40230         * configure.in: Remove last remnants of RANLIB.
40231         No need to check for signed size_t anymore.
40232         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40233         and IA-64.
40234         Remove __builtin_expect test because we require at least gcc 3.4.
40235         * aclocal.m4: Likewise.
40236
40237         * wcsmbs/mbrtoc16.c: Implement using towc function.
40238         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40239         * wcsmbs/wcsmbsload.c: Likewise.
40240         * iconv/gconv_simple.c: Likewise.
40241         * iconv/gconv_int.h: Likewise.
40242         * iconv/gconv_builtin.h: Likewise.
40243         * iconv/iconv_prog.c: Remove CHAR16 handling.
40244
40245         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40246
40247         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40248
40249         * configure.in: Remove --with-elf and --enable-bounded options.
40250         Dont set base_machine for ia64.  More non-ELF conditions removed.
40251         Remove testing and setting of leading underscore information.
40252         * config.make.in (build-bounded): Set to no.
40253         * config.h.in: Remove NO_UNDERSCORES entry.
40254         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40255         them.
40256         * csu/start.c: Remove !NO_UNDERSCORE code.
40257         * locale/localeinfo.h: Likewise.
40258         * sysdeps/generic/machine-gmon.h: Likewise.
40259         * sysdeps/generic/sysdep.h: Likewise.
40260         * sysdeps/i386/sysdep.h: Likewise.
40261         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40262         * sysdeps/mach/sysdep.h: Likewise.
40263         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40264         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40265         * sysdeps/sh/sysdep.h: Likewise.
40266         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40267         * sysdeps/unix/i386/sysdep.S: Likewise.
40268         * sysdeps/unix/sparc/start.c: Likewise.
40269         * sysdeps/unix/sparc/sysdep.S: Likewise.
40270         * sysdeps/unix/sparc/sysdep.h: Likewise.
40271         * sysdeps/unix/start.c: Likewise.
40272         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40273         * sysdeps/x86_64/sysdep.h: Likewise.
40274
40275 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40276
40277         [BZ #13553]
40278         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40279         for non-gcc.
40280         * argp/argp-fmtstream.h: Use const instead __const.
40281         * argp/argp.h: Likewise.
40282         * assert/assert.h: Likewise.
40283         * bits/fenv.h: Likewise.
40284         * bits/sched.h: Likewise.
40285         * bits/sigset.h: Likewise.
40286         * bits/sigthread.h: Likewise.
40287         * catgets/nl_types.h: Likewise.
40288         * conform/data/pthread.h-data: Likewise.
40289         * crypt/crypt-private.h: Likewise.
40290         * crypt/crypt.h: Likewise.
40291         * crypt/crypt_util.c: Likewise.
40292         * ctype/ctype.h: Likewise.
40293         * debug/execinfo.h: Likewise.
40294         * debug/mbsnrtowcs_chk.c: Likewise.
40295         * debug/mbsrtowcs_chk.c: Likewise.
40296         * debug/wcsnrtombs_chk.c: Likewise.
40297         * debug/wcsrtombs_chk.c: Likewise.
40298         * debug/wcstombs_chk.c: Likewise.
40299         * dirent/dirent.h: Likewise.
40300         * dlfcn/dlfcn.h: Likewise.
40301         * elf/neededtest4.c: Likewise.
40302         * grp/grp.h: Likewise.
40303         * gshadow/gshadow.h: Likewise.
40304         * iconv/gconv.h: Likewise.
40305         * iconv/gconv_int.h: Likewise.
40306         * iconv/gconv_simple.c: Likewise.
40307         * iconv/iconv.h: Likewise.
40308         * iconv/loop.c: Likewise.
40309         * iconv/skeleton.c: Likewise.
40310         * include/aio.h: Likewise.
40311         * include/aliases.h: Likewise.
40312         * include/argz.h: Likewise.
40313         * include/arpa/inet.h: Likewise.
40314         * include/assert.h: Likewise.
40315         * include/dirent.h: Likewise.
40316         * include/dlfcn.h: Likewise.
40317         * include/execinfo.h: Likewise.
40318         * include/fcntl.h: Likewise.
40319         * include/fenv.h: Likewise.
40320         * include/glob.h: Likewise.
40321         * include/grp.h: Likewise.
40322         * include/libintl.h: Likewise.
40323         * include/mntent.h: Likewise.
40324         * include/netdb.h: Likewise.
40325         * include/pwd.h: Likewise.
40326         * include/rpc/netdb.h: Likewise.
40327         * include/sched.h: Likewise.
40328         * include/search.h: Likewise.
40329         * include/shadow.h: Likewise.
40330         * include/signal.h: Likewise.
40331         * include/stdio.h: Likewise.
40332         * include/stdlib.h: Likewise.
40333         * include/string.h: Likewise.
40334         * include/sys/socket.h: Likewise.
40335         * include/sys/stat.h: Likewise.
40336         * include/sys/statfs.h: Likewise.
40337         * include/sys/statvfs.h: Likewise.
40338         * include/sys/syslog.h: Likewise.
40339         * include/sys/time.h: Likewise.
40340         * include/sys/uio.h: Likewise.
40341         * include/time.h: Likewise.
40342         * include/unistd.h: Likewise.
40343         * include/utmp.h: Likewise.
40344         * include/wchar.h: Likewise.
40345         * include/wctype.h: Likewise.
40346         * inet/aliases.h: Likewise.
40347         * inet/arpa/inet.h: Likewise.
40348         * inet/netinet/ether.h: Likewise.
40349         * inet/netinet/in.h: Likewise.
40350         * intl/libintl.h: Likewise.
40351         * io/bits/fcntl2.h: Likewise.
40352         * io/fcntl.h: Likewise.
40353         * io/ftw.h: Likewise.
40354         * io/sys/poll.h: Likewise.
40355         * io/sys/stat.h: Likewise.
40356         * io/sys/statfs.h: Likewise.
40357         * io/sys/statvfs.h: Likewise.
40358         * io/utime.h: Likewise.
40359         * libio/bits/stdio.h: Likewise.
40360         * libio/bits/stdio2.h: Likewise.
40361         * libio/libio.h: Likewise.
40362         * libio/libioP.h: Likewise.
40363         * libio/stdio.h: Likewise.
40364         * locale/lc-ctype.c: Likewise.
40365         * locale/locale.h: Likewise.
40366         * login/utmp.h: Likewise.
40367         * malloc/arena.c: Likewise.
40368         * malloc/malloc.c: Likewise.
40369         * malloc/malloc.h: Likewise.
40370         * malloc/mcheck.c: Likewise.
40371         * malloc/mtrace.c: Likewise.
40372         * math/bits/mathcalls.h: Likewise.
40373         * math/fenv.h: Likewise.
40374         * math/math_private.h: Likewise.
40375         * misc/bits/error.h: Likewise.
40376         * misc/bits/syslog.h: Likewise.
40377         * misc/err.h: Likewise.
40378         * misc/error.h: Likewise.
40379         * misc/fstab.h: Likewise.
40380         * misc/mntent.h: Likewise.
40381         * misc/regexp.h: Likewise.
40382         * misc/search.h: Likewise.
40383         * misc/sgtty.h: Likewise.
40384         * misc/sys/mman.h: Likewise.
40385         * misc/sys/syslog.h: Likewise.
40386         * misc/sys/uio.h: Likewise.
40387         * misc/sys/xattr.h: Likewise.
40388         * misc/ttyent.h: Likewise.
40389         * nis/rpcsvc/ypclnt.h: Likewise.
40390         * nss/nss.h: Likewise.
40391         * posix/bits/unistd.h: Likewise.
40392         * posix/fnmatch.h: Likewise.
40393         * posix/glob.h: Likewise.
40394         * posix/sched.h: Likewise.
40395         * posix/spawn.h: Likewise.
40396         * posix/sys/wait.h: Likewise.
40397         * posix/unistd.h: Likewise.
40398         * posix/wordexp.h: Likewise.
40399         * pwd/pwd.h: Likewise.
40400         * resolv/netdb.h: Likewise.
40401         * resource/sys/resource.h: Likewise.
40402         * rt/aio.h: Likewise.
40403         * rt/bits/mqueue2.h: Likewise.
40404         * rt/mqueue.h: Likewise.
40405         * shadow/shadow.h: Likewise.
40406         * signal/signal.h: Likewise.
40407         * socket/send.c: Likewise.
40408         * socket/sendto.c: Likewise.
40409         * socket/sys/socket.h: Likewise.
40410         * stdio-common/printf.h: Likewise.
40411         * stdlib/bits/stdlib.h: Likewise.
40412         * stdlib/fmtmsg.h: Likewise.
40413         * stdlib/monetary.h: Likewise.
40414         * stdlib/stdlib.h: Likewise.
40415         * stdlib/ucontext.h: Likewise.
40416         * streams/stropts.h: Likewise.
40417         * string/argz.h: Likewise.
40418         * string/bits/string2.h: Likewise.
40419         * string/string.h: Likewise.
40420         * string/strings.h: Likewise.
40421         * sunrpc/rpc/auth.h: Likewise.
40422         * sunrpc/rpc/auth_des.h: Likewise.
40423         * sunrpc/rpc/clnt.h: Likewise.
40424         * sunrpc/rpc/netdb.h: Likewise.
40425         * sunrpc/rpc/pmap_clnt.h: Likewise.
40426         * sunrpc/rpc/xdr.h: Likewise.
40427         * sysdeps/generic/inttypes.h: Likewise.
40428         * sysdeps/generic/net/if.h: Likewise.
40429         * sysdeps/generic/sys/swap.h: Likewise.
40430         * sysdeps/gnu/net/if.h: Likewise.
40431         * sysdeps/gnu/utmpx.h: Likewise.
40432         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40433         * sysdeps/i386/i486/bits/string.h: Likewise.
40434         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40435         * sysdeps/s390/bits/string.h: Likewise.
40436         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40437         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40438         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40439         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40440         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40441         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40442         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40443         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40444         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40445         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40446         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40447         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40448         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40449         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40450         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40451         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40452         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40454         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40455         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40456         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40457         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40458         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40459         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40460         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40461         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40462         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40463         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40464         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40465         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40466         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40467         * sysvipc/sys/ipc.h: Likewise.
40468         * sysvipc/sys/msg.h: Likewise.
40469         * sysvipc/sys/sem.h: Likewise.
40470         * sysvipc/sys/shm.h: Likewise.
40471         * termios/termios.h: Likewise.
40472         * time/sys/time.h: Likewise.
40473         * time/time.h: Likewise.
40474         * wcsmbs/bits/wchar2.h: Likewise.
40475         * wcsmbs/uchar.h: Likewise.
40476         * wcsmbs/wchar.h: Likewise.
40477         * wctype/wctype.h: Likewise.
40478
40479         [BZ #13551]
40480         * Makeconfig: Remove all but ELF support including AIX support.
40481         * Makerules: Likewise.
40482         * config.h.in: Likewise.
40483         * config.make.in: Likewise.
40484         * configure: Likewise.
40485         * configure.in: Likewise.
40486         * csu/Makefile: Likewise.
40487         * csu/version.c: Likewise.
40488         * debug/Makefile: Likewise.
40489         * dlfcn/Makefile: Likewise.
40490         * elf/Makefile: Likewise.
40491         * extra-lib.mk: Likewise.
40492         * iconv/Makefile: Likewise.
40493         * include/libc-symbols.h: Likewise.
40494         * include/shlib-compat.h: Likewise.
40495         * resolv/Makefile: Likewise.
40496         * resolv/res_libc.c: Likewise.
40497         * rt/Makefile: Likewise.
40498         * sysdeps/i386/asm-syntax.h: Likewise.
40499         * sysdeps/i386/sysdep.h: Likewise.
40500         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40501         * sysdeps/mach/sysdep.h: Likewise.
40502         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40503         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40504         * sysdeps/s390/asm-syntax.h: Likewise.
40505         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40506         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40507         * sysdeps/sh/sysdep.h: Likewise.
40508         * sysdeps/unix/sparc/sysdep.h: Likewise.
40509         * sysdeps/wordsize-32/divdi3.c: Likewise.
40510         * sysdeps/x86_64/sysdep.h: Likewise.
40511
40512         * argp/Versions: Remove _argp_unlock_xxx.
40513
40514         [BZ #13559]
40515         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40516         * abilist/libBrokenLocale.abilist: Likewise.
40517         * abilist/libanl.abilist: Likewise.
40518         * abilist/libc.abilist: Likewise.
40519         * abilist/libcrypt.abilist: Likewise.
40520         * abilist/libdl.abilist: Likewise.
40521         * abilist/libm.abilist: Likewise.
40522         * abilist/libnsl.abilist: Likewise.
40523         * abilist/libpthread.abilist: Likewise.
40524         * abilist/libresolv.abilist: Likewise.
40525         * abilist/librt.abilist: Likewise.
40526         * abilist/libthread_db.abilist: Likewise.
40527         * abilist/libutil.abilist: Likewise.
40528         * abilist/libnss_db.abilist: New file.
40529
40530         * scripts/abilist.awk: Add support for indirect functions.
40531
40532         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40533
40534         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40535
40536         * shlib-versions: Remove entries for ports architectures.
40537
40538         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40539         files in ports.
40540         * elf/stackguard-macros.h: Remove support for IA-64.
40541         * elf/tst-auditmod1.c: Likewise.
40542         * sysdeps/generic/ldsodefs.h: Likewise.
40543
40544         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40545         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40546         configure files.
40547
40548         [BZ #13552]
40549         * configure.in: Remove --enable-omitfp support.
40550         * FAQ.in: Adjust.
40551         * config.make.in: Likewise.
40552         * Makeconfig: Likewise.
40553         * manual/install.texi: Likewise.
40554
40555         In case anyone cares, the IA-64 architecture could move to ports.
40556         * sysdeps/ia64/*: Removed.
40557         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40558         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40559
40560         [BZ #13555]
40561         * configure.in: Remove entries for unsupported architectures.
40562
40563         [BZ #13533]
40564         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40565         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40566         routines.
40567         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40568         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40569         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40570         fall back to using wcrtomb.
40571         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40572         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40573         renaming.
40574         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40575         * wcsmbs/tst-c16c32-1.c: New file.
40576
40577         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40578         local variable.
40579
40580         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40581
40582         * elf/tst-unique3.cc: Add explicit declaration of gets.
40583         * elf/tst-unique3lib.cc: Likewise.
40584         * elf/tst-unique3lib2.cc: Likewise.
40585         * elf/tst-unique4.cc: Likewise.
40586
40587         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40588
40589 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40590
40591         [BZ #13566]
40592         * assert/assert.h (static_assert): Don't define for C++.
40593         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40594         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40595
40596 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40597
40598         * iconv/loop.c (single loop): Fix assertion in storing of
40599         remaining bytes.
40600
40601         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40602
40603 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40604
40605         * posix/getconf.c: Update copyright year.
40606         * nss/getent.c: Likewise.
40607         * nss/makedb.c: Likewise.
40608         * iconv/iconvconfig.c: Likewise.
40609         * iconv/iconv_prog.c: Likewise.
40610         * elf/ldconfig.c: Likewise.
40611         * elf/pldd.c: Likewise.
40612         * elf/sotruss.ksh: Likewise.
40613         * catgets/gencat.c: Likewise.
40614         * csu/version.c: Likewise.
40615         * elf/ldd.bash.in: Likewise.
40616         * elf/sprof.c (print_version): Likewise.
40617         * locale/programs/locale.c: Likewise.
40618         * locale/programs/localedef.c: Likewise.
40619         * login/programs/pt_chown.c: Likewise.
40620         * nscd/nscd.c (print_version): Likewise.
40621         * debug/xtrace.sh: Likewise.
40622         * malloc/memusage.sh: Likewise.
40623         * malloc/mtrace.pl: Likewise.
40624         * debug/catchsegv.sh: Likewise.
40625
40626 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40627
40628         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40629         pure attribute.
40630
40631 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40632
40633         [BZ #13533]
40634         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40635         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40636         transformations.
40637         * iconv/gconv_int.h: Likewise.
40638         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40639         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40640         from libc for GLIBC_2.16.
40641         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40642         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40643         * wcsmbs/uchar.h: Really define mbstate_t.
40644         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40645         * wcsmbs/c16rtomb.c: New file.
40646         * wcsmbs/mbrtoc16.c: New file.
40647         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40648         for C/POSIX locale.
40649         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40650         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40651
40652         * wcsmbs/wchar.h: Add missing __restrict.
40653
40654 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40655
40656         [BZ #13532]
40657         * time/Makefile (routines): Add timespec_get.
40658         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40659         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40660         timespec for ISO C11.
40661         * time/timespec_get.c: New file.
40662         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40663         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40664
40665         [BZ #13531]
40666         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40667         * stdlib/stdlib.h: Declare aligned_alloc.
40668         * Versions.def: Add GLIBC_2.16 for libc.
40669         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40670
40671         [BZ 13527]
40672         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40673         ISO C11.
40674
40675         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40676         code.
40677
40678         [BZ #13528]
40679         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40680
40681         [BZ #13529]
40682         * assert/assert.h (static_assert): Define.
40683
40684         * version.h: Update for 2.16 development version.
40685
40686         [BZ #13526]
40687         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40688         _ISOC11_SOURCE.
40689
40690         * version.h (RELEASE): Bump for 2.15 release.
40691         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40692
40693         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40694         Patch by Marek Polacek <mpolacek@redhat.com>.
40695
40696         * bits/byteswap.h: Protect long long constants with __extension__.
40697         * sysdeps/i386/bits/byteswap.h: Likewise.
40698         * sysdeps/ia64/bits/byteswap.h: Likewise.
40699         * sysdeps/s390/bits/byteswap.h: Likewise.
40700         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40701
40702 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40703
40704         [BZ #13540]
40705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40706         destination buffer.
40707         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40708
40709 2011-12-23  Marek Polacek  <polacek@redhat.com>
40710
40711         * elf/dl-addr.c (determine_info): Add inline keyword.
40712         * elf/tst-auditmod4b.c (check_avx): Likewise.
40713         * elf/tst-auditmod6b.c (check_avx): Likewise.
40714         * elf/tst-auditmod6c.c (check_avx): Likewise.
40715         * elf/tst-auditmod7b.c (check_avx): Likewise.
40716
40717 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40718
40719         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40720         !__SSE_MATH__.
40721
40722 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40723
40724         [BZ #13540]
40725         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40726         processing for last bytes.
40727
40728 2011-08-06  Bruno Haible  <bruno@clisp.org>
40729
40730         [BZ #13061]
40731         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40732         U+0385, not to U+1FEE.
40733
40734         [BZ #13062]
40735         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40736         entry for U+00A5 U+0301.
40737
40738 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40739
40740         [BZ #13166]
40741         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40742         buffer for the output is too small.
40743
40744         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40745         optimization.
40746
40747         [BZ #13185]
40748         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40749         SSE flags if possible.
40750
40751 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40752
40753         [BZ #13540]
40754         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40755         processing for last bytes.
40756
40757 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40758
40759         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40760         (syscall-list-default-options, syscall-list-default-condition)
40761         (syscall-list-includes): Define.
40762         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40763         list of ABIs and options and #if conditions for each ABI.  Do not
40764         handle common syscalls between ABIs specially.
40765         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40766         Remove.
40767         (syscall-list-variants, syscall-list-32bit-options)
40768         (syscall-list-32bit-condition, syscall-list-64bit-options)
40769         (syscall-list-64bit-condition): Define.
40770         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40771         (syscall-list-variants, syscall-list-32bit-options)
40772         (syscall-list-32bit-condition, syscall-list-64bit-options)
40773         (syscall-list-64bit-condition): Define.
40774         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40775         Remove.
40776         (syscall-list-variants, syscall-list-32bit-options)
40777         (syscall-list-32bit-condition, syscall-list-64bit-options)
40778         (syscall-list-64bit-condition): Define.
40779         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40780         Remove.
40781         (syscall-list-variants, syscall-list-32bit-options)
40782         (syscall-list-32bit-condition, syscall-list-64bit-options)
40783         (syscall-list-64bit-condition): Define.
40784
40785 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40786
40787         * locale/iso-639.def: Add brx entry.
40788
40789         [BZ #13328]
40790         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40791         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40792
40793         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40794         __feraiseexcept_renamed.
40795
40796 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40797
40798         [BZ #13538]
40799         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40800         EPOLLET with unsigned values.
40801         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40802         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40803
40804         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40805         to large cancellation.
40806         * math/s_cacoshf.c: Likewise.
40807         * math/s_cacoshl.c: Likewise.
40808
40809 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40810
40811         [BZ #13305]
40812         [BZ #12786]
40813         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40814         * math/s_cacoshf.c: Likewise.
40815         * math/s_cacoshl.c: Likewise.
40816
40817 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40818
40819         [BZ #13439]
40820         * iconv/gconv.h: Define __GCONV_SWAP.
40821         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40822         * iconvdata/utf-16.c: Likewise.
40823         * iconvdata/utf-32.c: Likewise.
40824
40825 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40826
40827         [BZ #13524]
40828         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40829         numerator after shifting it by one limb.
40830
40831 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40832
40833         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40834         under [__USE_EXTERN_INLINES].
40835
40836 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40837
40838         [BZ #13446]
40839         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40840
40841 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40842
40843         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40844         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40845         optimized code.
40846         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40847         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40848         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40849         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40850         for strncasecmp/strncasecmp_l compilation.
40851         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40852         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40853
40854 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40855
40856         [BZ #13484]
40857         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40858         of __asm__.
40859
40860 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40861
40862         [BZ #13506]
40863         * time/tzfile.c (__tzfile_read): Check values from file header.
40864
40865 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40866
40867         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40868         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40869         * powerpc/powerpc32/dl-start.S: Likewise.
40870         * powerpc/powerpc32/elf/start.S: Likewise.
40871         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40872         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40873         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40874         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40875         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40876         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40877         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40878         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40879         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40880         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40881         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40882         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40883         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40884         * powerpc/powerpc32/memset.S: Likewise.
40885         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40886         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40887         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40888         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40889         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40890         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40891         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40892         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40893         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40894         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40895         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40896         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40897         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40898
40899 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40900
40901         * math/libm-test.inc: Added more nearbyint tests.
40902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40903         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40904         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40906
40907 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40908
40909         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40910         FD_CLOEXEC.
40911
40912 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40913
40914         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40915         Add wcscpy-ssse3 wcscpy-c.
40916         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40917         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40918         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40919         * sysdeps/x86_64/wcschr.S: New file.
40920         * sysdeps/x86_64/wcsrchr.S: New file.
40921         * string/test-strcmp.c: Remove checking of wcscmp function for
40922         wrong alignments.
40923         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40924         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40925         wcsrchr-sse2 wcsrchr-c.
40926         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40927         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40928         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40929         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40930         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40931         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40932         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40933         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40934         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40935         * wcsmbc/wcschr.c (WCSCHR): New macro.
40936
40937 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40938
40939         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40940         * wcsmbs/test-wcsrchr.c: New file.
40941         * string/test-strrchr.c: Add wcsrchr support.
40942         (WIDE): New macro.
40943         * wcsmbs/test-wcscpy.c: New file.
40944         * string/test-strcpy.c: Add wcscpy support.
40945         (WIDE): New macro.
40946
40947 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40948
40949         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40950         the inner loop.
40951
40952 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40953
40954         [BZ #13472]
40955         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40956
40957 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40958
40959         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40960         Minor optimizations.
40961
40962         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40963         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40964         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40965
40966 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40967
40968         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40969         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40970         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40971         for gcc to avoid warnings.
40972         * inet/Makefile (tests): Add tst-checks.
40973         * inet/tst-checks.c: New file.
40974
40975         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40976         warning.
40977
40978         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40979         __wmemcmp_sse2.
40980
40981         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40982         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40983
40984         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40985
40986 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40987
40988         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40989         problem.
40990
40991         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40992
40993 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40994
40995         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40996         conditional on GCC version.
40997         (__arch_compare_and_exchange_val_8_acq)
40998         (__arch_compare_and_exchange_val_16_acq)
40999         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41000         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41001         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41002
41003 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41004
41005         * sysdeps/sh/backtrace.c: New file.
41006
41007 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41008
41009         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41010         parenthesis.
41011
41012 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41013
41014         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41015         falling back to utime.
41016
41017 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41018
41019         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41020         expectations for float.
41021
41022 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41023
41024         * locale/weight.h (findidx): Add parameter len.
41025         * locale/weightwc.h (findidx): Likewise.
41026         * posix/fnmatch_loop.c (FCT): Adjust caller.
41027         * posix/regcomp.c (build_equiv_class): Likewise.
41028         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41029         * posix/regexec.c (check_node_accept_bytes): Likewise.
41030         * string/strcoll_l.c (STRCOLL): Likewise.
41031         * string/strxfrm_l.c (STRXFRM): Likewise.
41032
41033 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41034
41035         * Makefile.in: Remove CVSOPT handling.
41036         * configure.in: Remove use of AC_REVISION.
41037         * iconvdata/Makefile (distribute): No need to filter out CVS.
41038         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41039         handling.
41040
41041 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41042
41043         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41044         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41045         [USE_AS_STRNCASECMP_L]: Likewise.
41046         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41047         NO_TLS_DIRECT_SEG_REFS.
41048         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41049         Fix argument offsets for non-PIC.
41050         [USE_AS_STRNCASECMP_L]: Likewise.
41051         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41052         NO_TLS_DIRECT_SEG_REFS.
41053
41054 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41055
41056         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41057         O_CLOEXEC.
41058         * locale/loadlocale.c (_nl_load_locale): Likewise.
41059
41060 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41061
41062         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41063         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41064         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41065         (SYSCALL_GETTIME): Set errno on error.
41066
41067         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41068         count references to noai6ai_cached.
41069
41070 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41071
41072         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41073
41074         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41075         FD_CLOEXEC for /proc/self/maps.
41076
41077         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41078         FD_CLOEXEC for /proc/meminfo.
41079
41080         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41081         gai.conf.
41082
41083         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41084         FD_CLOEXEC for given file.
41085
41086         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41087
41088         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41089         FD_CLOEXEC for /etc/hosts.
41090         (_gethtent): Likewise.
41091
41092         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41093
41094         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41095         cancellation and set FD_CLOEXEC for /etc/netgroup.
41096
41097         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41098         reading /etc/publickey.
41099
41100         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41101         allow cancellation when reading /etc/group.
41102
41103         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41104         cancellation.
41105         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41106
41107         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41108         when using data file.
41109
41110         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41111
41112         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41113         (write_nis_obj): Use "c" and "e" in fopen.
41114
41115         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41116
41117         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41118
41119         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41120
41121         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41122
41123         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41124         locale.alias.
41125
41126         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41127
41128         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41129
41130         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41131
41132         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41133         file parsing and set FD_CLOEXEC.
41134
41135 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41136
41137         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41138
41139 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41140
41141         * malloc/arena.c (arena_get2): Don't call reused_arena when
41142         _int_new_arena failed.
41143
41144 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41145
41146         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41147         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41148         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41149         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41151         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41152         to compile strcasecmp and strncasecmp.
41153         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41154         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41155
41156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41157
41158 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41159
41160         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41161         locale-defines.sym to gen-as-const-headers.
41162         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41163         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41164         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41165         to compile strcasecmp and strncasecmp.
41166         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41167         strcasecmp_l and strncasecmp_l.
41168         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41169         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41170         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41171         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41172         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41173         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41174         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41175         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41176         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41177         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41178         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41179
41180 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41181
41182         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41183         result of SYSDEP_GETTIME_CPU to retval.
41184         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41185         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41186
41187         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41188         variable.
41189
41190         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41191         mantissa words.
41192         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41193
41194         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41195         from unused variable.
41196
41197         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41198         DWARF definitions.
41199         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41200         for assembling.
41201
41202         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41203         over namespaces.
41204
41205         * sunrpc/rpc_prot.c (rejected): Fix case value.
41206
41207         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41208         unsigned long long int to avoid warnings in shift.
41209
41210         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41211         of use of trans.
41212         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41213         variable tmp.
41214
41215         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41216         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41217         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41218
41219         * nis/nis_table.c (nis_list): Use variable of correct type for
41220         result of __follow_path call.
41221
41222 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41223
41224         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41225         of math functions ceil, trunc, floor, round, and sqrt, when
41226         avaliable on the platform.
41227         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41228         name clash.
41229         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41230         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41231         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41232
41233 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41234
41235         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41236         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41237
41238 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41239
41240         * include/unistd.h: Fix __readlink return type.
41241         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41242
41243 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41244
41245         * stdlib/ucontext.h: Undo last change for makecontext.
41246
41247 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41248
41249         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41250
41251         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41252         * setjmp/setjmp.h: Mark functions as non-leaf.
41253         * setjmp/bits/setjmp2.h: Likewise.
41254         * stdlib/ucontext.h: Likewise.
41255
41256 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41257
41258         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41259         (reused_arena): Don't check arena limit.
41260         (arena_get2): Atomically check arena limit.
41261
41262 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41263
41264         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41265         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41266
41267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41268         instructions.
41269
41270 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41271
41272         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41273         handler when locking.
41274
41275         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41276         Fix size of allocated buffer.
41277
41278 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41279
41280         [BZ #10103]
41281         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41282         declarations for long double functions.
41283         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41284
41285         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41286
41287 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41288
41289         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41290         installed.
41291
41292         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41293         is disabled.
41294
41295 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41296
41297         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41298
41299 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41300
41301         * include/alloca.h (stackinfo_alloca_round): Define.
41302         (extend_alloca): Use it.
41303         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41304         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41305         here.
41306
41307         * scripts/check-local-headers.sh: Ignore libaudit.h.
41308
41309         * nscd/Makefile (extra-objs): Make recursively expanded.
41310
41311 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41312
41313         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41314         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41315
41316         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41317         * posix/tst-rfc3484-2.c: Likewise.
41318         * posix/tst-rfc3484-3.c: Likewise.
41319
41320         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41321         process_vm_writev.
41322         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41323         process_vm_writev.
41324         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41325         process_vm_writev from libc using GLIBC_2.15 version.
41326
41327         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41328
41329 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41330
41331         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41332         stack usage.
41333
41334 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41335
41336         [BZ #13367]
41337         * nss/getent.c (initgroups_keys): Show error message in case no group
41338         names are given.
41339
41340         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41341         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41342         __bump_nl_timestamp.
41343         * nscd/connections (nscd_init): When host database is served open
41344         netlink socket and request notification about configuration changes.
41345         (main_loop_poll): Track netlink file descriptor and bump timestamp
41346         in case data becomes available.
41347         (main_loop_epoll): Likewise.
41348         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41349         (database_pers_head): Add extra_data fileds.
41350         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41351         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41352         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41353         Adjust caller.
41354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41355         in6ai data, call __free_in6ai.
41356         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41357         Add -DHAVE_NETLINK.
41358         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41359         interface information.  Reuse previous data if netlink timestamp
41360         is not changed.
41361         (__bump_nl_timestamp): New function.
41362         (__free_in6ai): New function.
41363
41364 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41365
41366         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41367         close_not_cancel_no_status here.
41368         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41369
41370 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41371
41372         [BZ #13276]
41373         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41374         return value.
41375
41376         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41377         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41378         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41379
41380 2011-07-03  Andreas Jaeger  <aj@suse.de>
41381
41382         [BZ #10709]
41383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41384         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41385         * math/libm-test.inc (sin_test): Add test case.
41386
41387 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41388
41389         [BZ #13337]
41390         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41391         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41392
41393         * elf/chroot_canon.c (chroot_canon): Cleanups.
41394
41395         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41396
41397         [BZ #13335]
41398         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41399         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41400
41401         * string/test-strchr.c: Make usable for strchrnul testing.
41402         * string/test-strchrnul.c: New file.
41403         * string/Makefile (strop-tests): Add strchrnul.
41404
41405         * po/it.po: Update from translation team.
41406         * po/es.po: Likewise.
41407
41408 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41409
41410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41411         the three constants needed as parameters.  Drop the others.
41412         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41413         __m128i_strloadu_tolower.
41414         Create and initialize variable zero and use it in all the places
41415         where _mm_setzero_si128 was used.
41416
41417         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41418         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41419         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41420         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41421         anymore.
41422         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41423         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41424         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41425         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41426         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41427         __mpranred, __mptan.
41428         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41429         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41430         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41431         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41432         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41433         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41434         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41435         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41436         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41437
41438 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41439
41440         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41441         redefine if SHARED.
41442         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41443
41444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41445         wide char related routines to wcsmbs subdir.
41446
41447 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41448
41449         [BZ #13344]
41450         * misc/sys/cdefs.h (__THROWNL): Define.
41451         * posix/unistd.h: Use __THREADNL instead of __THREAD
41452         for memory synchronization functions.
41453
41454 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41455
41456         [BZ #13349]
41457         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41458         doesn't exist.
41459         * manual/stdio.texi (Obstack Streams): Node removed.
41460
41461 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41462
41463         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41464         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41465         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41466
41467         * math/math_private.h (math_force_eval): Allow non-addressable
41468         arguments.
41469         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41470
41471 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41472
41473         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41474         file is not needed.
41475
41476         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41477         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41478         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41479         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41480         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41481         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41482         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41483         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41484         Add AVX variants.
41485         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41486         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41487         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41488         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41489         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41490         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41491         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41492         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41493         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41494         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41495         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41496         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41497         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41498         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41499         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41500         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41501         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41502         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41503         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41504
41505         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41506         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41507
41508         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41509         place.  Use VEX encoding when compiling for AVX.
41510
41511 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41512
41513         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41514         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41515
41516         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41517
41518 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41519
41520         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41521         useless if() expression.
41522         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41523         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41524         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41525         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41526         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41527         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41528         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41529         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41530         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41531         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41532         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41533         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41534         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41535         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41536         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41537         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41538         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41539         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41540         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41541
41542         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41543
41544 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41545
41546         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41547         condition.
41548         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41549
41550 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41551
41552         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41553         .text section.  Avoid duplicate constants.
41554         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41556         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41558         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41562         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41563         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41564         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41565         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41566         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41567         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41568         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41569         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41570         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41571         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41573         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41574         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41575         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41576         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41577         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41578         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41579         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41580         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41581         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41582         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41583         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41584         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41585         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41586         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41587         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41588         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41589         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41590         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41591         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41592         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41593         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41594         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41595         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41596         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41597         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41598         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41599
41600 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41601
41602         * sysdeps/x86_64/dla.h: Move to ...
41603         * sysdeps/x86_64/fpu/dla.h: ...here.
41604         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41605         situations.  Use __builtin_fma only for gcc 4.6 and up.
41606
41607         * config.make.in: Add have-mfma4 entry.
41608         * configure.in: Substitute libc_cv_cc_fma4.
41609         * math/Makefile (dbl-only-routines): Add sincostab.
41610         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41611         Use __sincostab not sincos.
41612         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41613         name is a macro.
41614         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41615         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41616         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41618         using __copysign.
41619         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41620         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41621         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41622         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41623         and __inv.
41624         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41625         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41626         __copysign.
41627         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41628         define aliases when function name is a macro.
41629         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41630         sysdeps/ieee754/dbl-64/sincos.tbl.
41631         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41632         fma4-enabled routines.
41633         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41634         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41635         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41636         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41637         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41638         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41639         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41640         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41641         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41642         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41643         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41644         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41645         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41646         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41647         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41648         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41649         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41650         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41651         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41652         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41653         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41654         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41655         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41656         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41657         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41658         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41659         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41660         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41661         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41662         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41663
41664         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41665         rename.
41666         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41671         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41672         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41674
41675 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41676
41677         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41678
41679 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41680
41681         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41682
41683         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41684         prediction.
41685         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41686
41687         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41688         Remove unused variable magic_bits.
41689         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41690
41691         * string/strnlen.c: Define and use STRNLEN macro.
41692         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41693         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41694         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41695         * wcsmbs/wcslen.c: Define and use WCSLEN.
41696         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41697         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41698         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41699         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41700         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41701         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41702         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41703
41704 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41705
41706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41707         strnlen-sse2-no-bsf.
41708         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41709         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41710         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41711         Add strnlen support.
41712         (USE_AS_STRNLEN): New macro.
41713         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41714         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41715         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41716         * sysdeps/x86_64/wcslen.S: New file.
41717
41718 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41719
41720         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41721         XMM-moves are used for copying on small sizes.
41722
41723 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41724
41725         * wcsmbs/Makefile (strop-tests): Add wcschr.
41726         * wcsmbs/test-wcschr.c: New file.
41727         * string/test-strchr.c: Update.
41728         Add wcschr support.
41729         (WIDE): New macro.
41730
41731 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41732
41733         * wcsmbs/Makefile (strop-tests): Add wcslen.
41734         * wcsmbs/test-wcslen.c: New file.
41735         * string/test-strlen.c: Update.
41736         Add wcslen support.
41737         (WIDE): New macro.
41738
41739 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41740
41741         * po/it.po: Update from translation team.
41742
41743 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41744
41745         * sysdeps/x86_64/wcscmp.S: Update.
41746         Fix wrong comparison semantics.
41747         wcscmp shall use signed comparison not unsigned.
41748         Don't use substraction to avoid overflow bug.
41749         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41750         * wcsmbc/wcscmp.c: Likewise.
41751         * string/test-strcmp.c: Likewise.
41752         Add new tests to check cases with negative values.
41753
41754 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41755
41756         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41757         * sysdeps/x86_64/dla.h: ...here.  New file.
41758         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41759         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41761         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41762         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41763         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41764         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41765         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41766         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41767
41768 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41769
41770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41771         __ynl_finite aliases.
41772
41773 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41774
41775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41776
41777         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41778         define DLA_FMA.
41779         [DLA_FMA] (EMULV): Use DLA_FMA.
41780         [DLA_FMA] (MUL12): Use EMULV.
41781         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41782         that are not needed.
41783         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41784         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41787         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41788         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41789         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41790
41791 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41792
41793         * math/s_nan.c: Undef __nan.
41794         * math/s_nanf.c: Undef __nanf.
41795         * math/s_nanl.c: Undef __nanl.
41796         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41797         "math_private.h".
41798
41799 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41800
41801         * math/s_catan.c: Add branch predictions.
41802         * math/s_catanf.c: Likewise.
41803         * math/s_catanh.c: Likewise.
41804         * math/s_catanhf.c: Likewise.
41805         * math/s_catanhl.c: Likewise.
41806         * math/s_catanl.c: Likewise.
41807         * math/s_cexp.c: Likewise.
41808         * math/s_cexpf.c: Likewise.
41809         * math/s_cexpl.c: Likewise.
41810         * math/s_clog.c: Likewise.
41811         * math/s_clog10.c: Likewise.
41812         * math/s_clog10f.c: Likewise.
41813         * math/s_clog10l.c: Likewise.
41814         * math/s_clogf.c: Likewise.
41815         * math/s_clogl.c: Likewise.
41816         * math/s_csqrt.c: Likewise.
41817         * math/s_csqrtf.c: Likewise.
41818         * math/s_csqrtl.c: Likewise.
41819         * math/s_ctanf.c: Likewise.
41820         * math/s_ctanh.c: Likewise.
41821         * math/s_ctanhf.c: Likewise.
41822         * math/s_ctanhl.c: Likewise.
41823         * math/s_ctanl.c: Likewise.
41824
41825         * math/math_private.h: Define __nan, __nanf, __nanl.
41826         * math/s_cacosh.c: Include <math_private.h>.
41827         * math/s_cacoshl.c: Likewise.
41828         * math/s_casinh.c: Likewise.
41829         * math/s_casinhf.c: Likewise.
41830         * math/s_casinhl.c: Likewise.
41831         * math/s_ccos.c: Rely entire on ccosh.
41832         * math/s_ccosf.c: Rely entire on ccoshf.
41833         * math/s_ccosl.c: Rely entirely on ccoshl.
41834         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41835         Remove tests for FE_INVALID.
41836         * math/s_ccoshf.c: Likewise.
41837         * math/s_ccoshl.c: Likewise.
41838         * math/s_csin.c: Likewise.
41839         * math/s_csinf.c: Likewise.
41840         * math/s_csinh.c Likewise.
41841         * math/s_csinhf.c: Likewise.
41842         * math/s_csinhl.c: Likewise.
41843         * math/s_csinl.c: Likewise.
41844         * math/s_ctan.c: Likewise.
41845         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41846         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41847         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41848
41849 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41850
41851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41852         compilation problems.
41853
41854         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41855         __builtin_expect.
41856
41857 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41858
41859         * sysdeps/i386/configure.in: Test for -mfma4 option.
41860         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41861         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41862         COMMON_CPUID_INDEX_80000001.
41863         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41864         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41865         use it if FMA3 is not supported.
41866         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41867
41868         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41869         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41870
41871 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41872
41873         [BZ #12892]
41874         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41875         it would create a cycle with a link time dependency.
41876
41877 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41878
41879         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41880         instruction.
41881         * string/Makefile (strop-tests): Add rawmemchr.
41882         * string/test-rawmemchr.c: New file.
41883
41884         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41885         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41886         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41887         when compiling str{,n}casecmp and when AVX is available.  Hook up
41888         new optimized code in initializers.
41889
41890 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41891
41892         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41893         __feraiseexcept instead of feraiseexcept.
41894
41895 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41896
41897         * math/math_private.h: Define defaults for libc_fetestexcept and
41898         libc_feupdateenv.
41899         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41900         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41901         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41902         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41903         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41904         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41905         libc_fetestexcept and libc_feupdateenv.
41906
41907         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41908         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41909         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41910         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41911         libc_feholdexcept_setround.
41912
41913         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41914         Add s_nearbyint-c and s_nearbyintf-c.
41915         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41916         nearbyintf inlines.
41917         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41918         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41919         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41920         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41921
41922         * math/math_private.h: Define defaults for libc_fegetround,
41923         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41924         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41925         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41926         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41927         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41928         standard functions.
41929         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41930         Remove comments and hacks for old compiler versions.
41931         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41932         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41933         libc_feholdexceptl.
41934
41935 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41936
41937         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41938         (__feraiseexcept_renamed): Add __NTH.
41939         (feraiseexcept): Add __NTH.  Rename local variables to fix
41940         namespace violations.
41941
41942 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41943
41944         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41945
41946         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41947
41948         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41949         recently added interfaces.
41950         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41951
41952         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41953         about macro parameter expansion.
41954
41955         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41956         __NO_MATH_INLINES is defined.  Cleanups.
41957
41958         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41959         and __floorf is target has SSE4.1.
41960         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41961         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41962         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41963         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41964
41965         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41966         name.
41967         (floorf): Likewise.
41968
41969         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41970
41971 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41972
41973         * misc/sys/cdefs.h: Fix last change.
41974
41975         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41976         database lookup.
41977
41978 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41979
41980         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41981
41982         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41983         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41984         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41985         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41986         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41987         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41988         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41989         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41990         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41991         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41992         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41993         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41994         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41995         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41996         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41997         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41998         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41999         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42000         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42001         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42002         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42003         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42004
42005         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42006         ceil, ceilf, floor, floorf.
42007
42008         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42009         Perform IRELATIVE relocations last.
42010
42011         * elf/do-rel.h: Add another parameter nrelative, replacing the
42012         local variable with the same name.  Change name of the function
42013         to end in Rel or Rela (uppercase).
42014         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42015         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42016         elf_dynamic_do_##reloc function.
42017
42018 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42019
42020         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42021         is sufficient, at least on modern CPUs.
42022
42023         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42024
42025         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42026         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42027
42028         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42029         __expl_finite.
42030         * math/bits/math-finite.h: Add entries for exp.
42031         * math/e_expl.c: Add __*_finite alias.
42032         * sysdeps/i386/fpu/e_exp.S: Likewise.
42033         * sysdeps/i386/fpu/e_expf.S: Likewise.
42034         * sysdeps/i386/fpu/e_expl.c: Likewise.
42035         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42036         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42037         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42038         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42039         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42040         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42041         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42042
42043         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42044         is sufficient, at least on modern CPUs.
42045
42046         * ctype/ctype-info.c (__ctype_init): Define.
42047         * include/ctype.h (__ctype_init): Declare.
42048         (__ctype_b_loc): The variable is always initialized.
42049         (__ctype_toupper_loc): Likewise.
42050         (__ctype_tolower_loc): Likewise.
42051         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42052         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42053
42054 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42055
42056         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42057
42058         * configure.in: Also look in $cxxmachine/include for C++ system
42059         headers.
42060
42061 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42062
42063         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42064         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42065         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42066         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42067         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42068         (USE_AS_WMEMCMP): New macro.
42069         Fixing indents.
42070         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42071         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42072         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42073         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42074         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42075         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42076         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42077         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42078         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42079         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42080         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42081         (USE_AS_WMEMCMP): New macro.
42082         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42083         * sysdeps/string/test-memcmp.c: Update.
42084         Fix simple_wmemcmp.
42085         Add new tests.
42086         * wcsmbs/wmemcmp.c: Update.
42087         (WMEMCMP): New macro.
42088         Fix overflow bug.
42089
42090 2011-10-12  Andreas Jaeger  <aj@suse.de>
42091
42092         [BZ #13268]
42093         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42094
42095 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42096
42097         * libio/iofwide.c (do_length): Avoid warning.
42098
42099         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42100
42101 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42102
42103         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42104
42105         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42106         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42107         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42108         * sysdeps/i386/i686/fpu/e_log.S: New file.
42109         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42110         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42111
42112         * ctype/ctype.h: Add support for inlined isXXX functions when
42113         compiling C++ code.
42114
42115 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42116
42117         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42118
42119         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42120
42121 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42122
42123         [BZ #13291]
42124         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42125
42126 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42127
42128         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42129         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42130         feraiseexcept.
42131
42132         * sysdeps/x86_64/memrchr.S: Check for zero size.
42133
42134         * string/stratcliff.c: Add memrchr tests.
42135
42136 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42137
42138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42139         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42140         rawmemchr-sse2 rawmemchr-sse2-bsf.
42141         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42142         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42143         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42144         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42145         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42146         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42147         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42148         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42149         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42150         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42151         * string/memrchr.c (MEMRCHR): New macro.
42152
42153 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42154
42155         Add integration with gcc's -ffinite-math-only and optimize wrapper
42156         functions in libm.
42157         * Versions.def: Define GLIBC_2.15 version for libm.
42158         * math/Makefile (headers): Add bits/math-finite.h.
42159         * math/bits/math-finite.h: New file.
42160         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42161         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42162         * math/e_acoshl.c: Add __*_finite alias.
42163         * math/e_acosl.c: Likewise.
42164         * math/e_asinl.c: Likewise.
42165         * math/e_atan2l.c: Likewise.
42166         * math/e_atanhl.c: Likewise.
42167         * math/e_coshl.c: Likewise.
42168         * math/e_exp10.c: Likewise.
42169         * math/e_exp10f.c: Likewise.
42170         * math/e_exp10l.c: Likewise.
42171         * math/e_exp2l.c: Likewise.
42172         * math/e_fmodl.c: Likewise.
42173         * math/e_gammal_r.c: Likewise.
42174         * math/e_hypotl.c: Likewise.
42175         * math/e_j0l.c: Likewise.
42176         * math/e_j1l.c: Likewise.
42177         * math/e_jnl.c: Likewise.
42178         * math/e_lgammal_r.c: Likewise.
42179         * math/e_log10l.c: Likewise.
42180         * math/e_log2l.c: Likewise.
42181         * math/e_logl.c: Likewise.
42182         * math/e_powl.c: Likewise.
42183         * math/e_sinhl.c: Likewise.
42184         * math/e_sqrtl.c: Likewise.
42185         * math/e_scalb.c: Completely rewritten and optimized.
42186         * math/e_scalbf.c: Likewise.
42187         * math/e_scalbl.c: Likewise.
42188         * math/w_acos.c: Likewise.
42189         * math/w_acosf.c: Likewise.
42190         * math/w_acosl.c: Likewise.
42191         * math/w_acosh.c: Likewise.
42192         * math/w_acoshf.c: Likewise.
42193         * math/w_acoshl.c: Likewise.
42194         * math/w_asin.c: Likewise.
42195         * math/w_asinf.c: Likewise.
42196         * math/w_asinl.c: Likewise.
42197         * math/w_atan2.c: Likewise.
42198         * math/w_atan2f.c: Likewise.
42199         * math/w_atan2l.c: Likewise.
42200         * math/w_atanh.c: Likewise.
42201         * math/w_atanhf.c: Likewise.
42202         * math/w_atanhl.c: Likewise.
42203         * math/w_exp10.c: Likewise.
42204         * math/w_exp10f.c: Likewise.
42205         * math/w_exp10l.c: Likewise.
42206         * math/w_fmod.c: Likewise.
42207         * math/w_fmodf.c: Likewise.
42208         * math/w_fmodl.c: Likewise.
42209         * math/w_j0.c: Likewise.
42210         * math/w_j0f.c: Likewise.
42211         * math/w_j0l.c: Likewise.
42212         * math/w_j1.c: Likewise.
42213         * math/w_j1f.c: Likewise.
42214         * math/w_j1l.c: Likewise.
42215         * math/w_jn.c: Likewise.
42216         * math/w_jnf.c: Likewise.
42217         * math/w_log.c: Likewise.
42218         * math/w_logf.c: Likewise.
42219         * math/w_logl.c: Likewise.
42220         * math/w_log10.c: Likewise.
42221         * math/w_log10f.c: Likewise.
42222         * math/w_log10l.c: Likewise.
42223         * math/w_log2.c: Likewise.
42224         * math/w_log2f.c: Likewise.
42225         * math/w_log2l.c: Likewise.
42226         * math/w_pow.c: Likewise.
42227         * math/w_powf.c: Likewise.
42228         * math/w_powl.c: Likewise.
42229         * math/w_remainder.c: Likewise.
42230         * math/w_remainderf.c: Likewise.
42231         * math/w_remainderl.c: Likewise.
42232         * math/w_scalb.c: Likewise.
42233         * math/w_scalbf.c: Likewise.
42234         * math/w_scalbl.c: Likewise.
42235         * math/w_sqrt.c: Likewise.
42236         * math/w_sqrtf.c: Likewise.
42237         * math/w_sqrtl.c: Likewise.
42238         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42239         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42240         used.
42241         * math/math_private.h: Declare __kernel_standard_f.
42242         * math/w_cosh.c: Remove cruft and optimize a bit.
42243         * math/w_coshf.c: Likewise.
42244         * math/w_coshl.c: Likewise.
42245         * math/w_exp2.c: Likewise.
42246         * math/w_exp2f.c: Likewise.
42247         * math/w_exp2l.c: Likewise.
42248         * math/w_hypot.c: Likewise.
42249         * math/w_hypotf.c: Likewise.
42250         * math/w_hypotl.c: Likewise.
42251         * math/w_lgamma.c: Likewise.
42252         * math/w_lgamma_r.c: Likewise.
42253         * math/w_lgammaf.c: Likewise.
42254         * math/w_lgammaf_r.c: Likewise.
42255         * math/w_lgammal.c: Likewise.
42256         * math/w_lgammal_r.c: Likewise.
42257         * math/w_sinh.c: Likewise.
42258         * math/w_sinhf.c: Likewise.
42259         * math/w_sinhl.c: Likewise.
42260         * math/w_tgamma.c: Likewise.
42261         * math/w_tgammaf.c: Likewise.
42262         * math/w_tgammal.c: Likewise.
42263         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42264         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42265         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42266         Minor optimizations.  Pretty printing.  Remove cruft.
42267         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42268         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42269         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42270         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42271         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42272         * sysdeps/i386/fpu/e_asin.S: Likewise.
42273         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42274         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42275         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42276         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42277         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42278         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42279         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42280         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42281         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42282         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42283         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42284         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42285         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42286         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42287         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42288         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42289         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42290         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42291         * sysdeps/i386/fpu/e_log.S: Likewise.
42292         * sysdeps/i386/fpu/e_log10.S: Likewise.
42293         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42294         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42295         * sysdeps/i386/fpu/e_log2.S: Likewise.
42296         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42297         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42298         * sysdeps/i386/fpu/e_logf.S: Likewise.
42299         * sysdeps/i386/fpu/e_logl.S: Likewise.
42300         * sysdeps/i386/fpu/e_pow.S: Likewise.
42301         * sysdeps/i386/fpu/e_powf.S: Likewise.
42302         * sysdeps/i386/fpu/e_powl.S: Likewise.
42303         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42304         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42305         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42306         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42307         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42308         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42309         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42310         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42311         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42312         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42313         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42314         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42315         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42316         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42317         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42318         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42319         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42320         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42321         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42322         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42323         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42325         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42326         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42327         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42328         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42329         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42330         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42331         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42332         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42333         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42334         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42335         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42336         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42337         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42338         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42339         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42340         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42341         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42342         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42343         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42344         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42345         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42346         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42347         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42348         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42349         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42350         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42351         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42352         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42353         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42354         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42355         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42357         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42358         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42359         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42360         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42362         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42363         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42364         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42365         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42366         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42367         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42368         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42369         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42370         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42371         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42372         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42373         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42374         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42375         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42376         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42377         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42378         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42380         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42382         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42383         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42384         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42385         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42386         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42387         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42388         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42389         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42390         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42391         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42392         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42393         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42394         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42395         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42396         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42397         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42398         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42399         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42400         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42401         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42402         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42403         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42404         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42405         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42406         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42407         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42408         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42409         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42410         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42411         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42412         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42413         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42414         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42415         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42416         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42417         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42418         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42419         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42420         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42421         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42422         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42423         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42424         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42425         (__isnanf): Likewise.
42426         (__isinf_ns): Likewise.
42427         (__isinf_nsf): Likewise.
42428         (__finite): Likewise.
42429         (__finitef): Likewise.
42430         (__ieee754_sqrt): Define as macro.
42431         (__ieee754_sqrtf): Define as macro.
42432         (__ieee754_sqrtl): Define as macro.
42433         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42434         inlined copy.
42435         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42436         __FINITE_MATH_ONLY__ consistent.
42437         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42438
42439 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42440
42441         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42442         of rawmemchr.
42443
42444         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42445
42446 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42447
42448         * po/ja.po: Update from translation team.
42449
42450 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42451
42452         * locale/programs/locarchive.c (prepare_address_space): New function.
42453         (create_archive, enlarge_archive, open_archive): Use it.
42454
42455         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42456         inside [SHARED], where it is used.
42457
42458         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42459
42460         * nss/getent.c (netgroup_keys): Remove unused variable.
42461         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42462
42463 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42464
42465         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42466         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42467         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42468         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42469         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42470         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42471         * math/Makefile (libm-calls): Add s_isinf_ns.
42472         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42473         * math/multc3.c: Likewise.
42474         * math/s_casin.c: Likewise.
42475         * math/s_casinf.c: Likewise.
42476         * math/s_casinl.c: Likewise.
42477         * math/s_ccos.c: Likewise.
42478         * math/s_ccosf.c: Likewise.
42479         * math/s_ccosl.c: Likewise.
42480         * math/s_ctan.c: Likewise.
42481         * math/s_ctanf.c: Likewise.
42482         * math/s_ctanh.c: Likewise.
42483         * math/s_ctanhf.c: Likewise.
42484         * math/s_ctanhl.c: Likewise.
42485         * math/s_ctanl.c: Likewise.
42486         * math/w_fmod.c: Likewise.
42487         * math/w_fmodf.c: Likewise.
42488         * math/w_fmodl.c: Likewise.
42489         * math/w_remainder.c: Likewise.
42490         * math/w_remainderf.c: Likewise.
42491         * math/w_remainderl.c: Likewise.
42492         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42493         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42494         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42495         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42496         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42497         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42498         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42499         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42500
42501         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42502         of the number.
42503         * stdio-common/printf_fphex.c: Likewise.
42504         * stdio-common/printf_size.c: Likewise.
42505
42506         * math/e_exp10.c: Include math_private.h using <...> not "...".
42507         * math/e_exp10f.c: Likewise.
42508         * math/e_exp10l.c: Likewise.
42509         * math/e_exp2l.c: Likewise.
42510         * math/e_j0l.c: Likewise.
42511         * math/e_j1l.c: Likewise.
42512         * math/e_jnl.c: Likewise.
42513         * math/e_lgammal_r.c: Likewise.
42514         * math/e_rem_pio2l.c: Likewise.
42515         * math/e_scalb.c: Likewise.
42516         * math/e_scalbf.c: Likewise.
42517         * math/e_scalbl.c: Likewise.
42518         * math/k_cosl.c: Likewise.
42519         * math/k_sinl.c: Likewise.
42520         * math/k_tanl.c: Likewise.
42521         * math/s_cacoshf.c: Likewise.
42522         * math/s_catan.c: Likewise.
42523         * math/s_catanf.c: Likewise.
42524         * math/s_catanh.c: Likewise.
42525         * math/s_catanhf.c: Likewise.
42526         * math/s_catanhl.c: Likewise.
42527         * math/s_catanl.c: Likewise.
42528         * math/s_ccosh.c: Likewise.
42529         * math/s_ccoshf.c: Likewise.
42530         * math/s_ccoshl.c: Likewise.
42531         * math/s_cexp.c: Likewise.
42532         * math/s_cexpf.c: Likewise.
42533         * math/s_cexpl.c: Likewise.
42534         * math/s_clog.c: Likewise.
42535         * math/s_clog10.c: Likewise.
42536         * math/s_clog10f.c: Likewise.
42537         * math/s_clog10l.c: Likewise.
42538         * math/s_clogf.c: Likewise.
42539         * math/s_clogl.c: Likewise.
42540         * math/s_csin.c: Likewise.
42541         * math/s_csinf.c: Likewise.
42542         * math/s_csinh.c: Likewise.
42543         * math/s_csinhf.c: Likewise.
42544         * math/s_csinhl.c: Likewise.
42545         * math/s_csinl.c: Likewise.
42546         * math/s_csqrt.c: Likewise.
42547         * math/s_csqrtf.c: Likewise.
42548         * math/s_csqrtl.c: Likewise.
42549         * math/s_ctan.c: Likewise.
42550         * math/s_ctanf.c: Likewise.
42551         * math/s_ctanh.c: Likewise.
42552         * math/s_ctanhf.c: Likewise.
42553         * math/s_ctanhl.c: Likewise.
42554         * math/s_ctanl.c: Likewise.
42555         * math/s_ldexp.c: Likewise.
42556         * math/s_ldexpf.c: Likewise.
42557         * math/s_ldexpl.c: Likewise.
42558         * math/s_significand.c: Likewise.
42559         * math/s_significandf.c: Likewise.
42560         * math/s_significandl.c: Likewise.
42561         * math/w_acos.c: Likewise.
42562         * math/w_acosf.c: Likewise.
42563         * math/w_acosh.c: Likewise.
42564         * math/w_acoshf.c: Likewise.
42565         * math/w_acoshl.c: Likewise.
42566         * math/w_acosl.c: Likewise.
42567         * math/w_asin.c: Likewise.
42568         * math/w_asinf.c: Likewise.
42569         * math/w_asinl.c: Likewise.
42570         * math/w_atan2.c: Likewise.
42571         * math/w_atan2f.c: Likewise.
42572         * math/w_atan2l.c: Likewise.
42573         * math/w_atanh.c: Likewise.
42574         * math/w_atanhf.c: Likewise.
42575         * math/w_atanhl.c: Likewise.
42576         * math/w_cosh.c: Likewise.
42577         * math/w_coshf.c: Likewise.
42578         * math/w_coshl.c: Likewise.
42579         * math/w_dremf.c: Likewise.
42580         * math/w_exp10.c: Likewise.
42581         * math/w_exp10f.c: Likewise.
42582         * math/w_exp10l.c: Likewise.
42583         * math/w_exp2.c: Likewise.
42584         * math/w_exp2f.c: Likewise.
42585         * math/w_fmod.c: Likewise.
42586         * math/w_fmodf.c: Likewise.
42587         * math/w_fmodl.c: Likewise.
42588         * math/w_hypot.c: Likewise.
42589         * math/w_hypotf.c: Likewise.
42590         * math/w_hypotl.c: Likewise.
42591         * math/w_j0.c: Likewise.
42592         * math/w_j0f.c: Likewise.
42593         * math/w_j0l.c: Likewise.
42594         * math/w_j1.c: Likewise.
42595         * math/w_j1f.c: Likewise.
42596         * math/w_j1l.c: Likewise.
42597         * math/w_jn.c: Likewise.
42598         * math/w_jnf.c: Likewise.
42599         * math/w_jnl.c: Likewise.
42600         * math/w_lgamma.c: Likewise.
42601         * math/w_lgamma_r.c: Likewise.
42602         * math/w_lgammaf.c: Likewise.
42603         * math/w_lgammaf_r.c: Likewise.
42604         * math/w_lgammal.c: Likewise.
42605         * math/w_lgammal_r.c: Likewise.
42606         * math/w_log.c: Likewise.
42607         * math/w_log10.c: Likewise.
42608         * math/w_log10f.c: Likewise.
42609         * math/w_log10l.c: Likewise.
42610         * math/w_log2.c: Likewise.
42611         * math/w_log2f.c: Likewise.
42612         * math/w_log2l.c: Likewise.
42613         * math/w_logf.c: Likewise.
42614         * math/w_logl.c: Likewise.
42615         * math/w_pow.c: Likewise.
42616         * math/w_powf.c: Likewise.
42617         * math/w_powl.c: Likewise.
42618         * math/w_remainder.c: Likewise.
42619         * math/w_remainderf.c: Likewise.
42620         * math/w_remainderl.c: Likewise.
42621         * math/w_scalb.c: Likewise.
42622         * math/w_scalbf.c: Likewise.
42623         * math/w_scalbl.c: Likewise.
42624         * math/w_sinh.c: Likewise.
42625         * math/w_sinhf.c: Likewise.
42626         * math/w_sinhl.c: Likewise.
42627         * math/w_sqrt.c: Likewise.
42628         * math/w_sqrtf.c: Likewise.
42629         * math/w_sqrtl.c: Likewise.
42630         * math/w_tgamma.c: Likewise.
42631         * math/w_tgammaf.c: Likewise.
42632         * math/w_tgammal.c: Likewise.
42633
42634         * po/ja.po: Update from translation team.
42635
42636 2011-09-29  Andreas Jaeger  <aj@suse.de>
42637
42638         [BZ #13179]
42639         * sunrpc/netname.c (netname2host): Fix logic.
42640
42641         [BZ #6779]
42642         [BZ #6783]
42643         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42644         correctly.
42645         * math/w_remainder.c (__remainder): Likewise.
42646         * math/w_remainderf.c (__remainderf): Likewise.
42647         * math/libm-test.inc (remainder_test): Add test cases.
42648
42649 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42650
42651         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42652         sdiv_qrnnd.
42653
42654 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42655
42656         * string/test-memcmp.c: Avoid unncessary #defines.
42657         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42658
42659 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42660
42661         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42662         Use new sse2 version for core i3 - i7 as it's faster
42663         than sse42 version.
42664         (bit_Prefer_PMINUB_for_stringop): New.
42665         * sysdeps/x86_64/rawmemchr.S: Update.
42666         Replace with faster SSE2 version.
42667         * sysdeps/x86_64/memrchr.S: New file.
42668         * sysdeps/x86_64/memchr.S: Update.
42669         Replace with faster SSE2 version.
42670
42671 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42672
42673         * elf/dl-load.c (lose): Add cast to avoid warning.
42674
42675 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42676
42677         * po/ca.po: Update from translation team.
42678
42679         * inet/getnetgrent_r.c: Hook up nscd.
42680         * nscd/Makefile (routines): Add nscd_netgroup.
42681         (nscd-modules): Add netgroupcache.
42682         (CFLAGS-netgroupcache.c): Define.
42683         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42684         (cache_search): Add const to second parameter.
42685         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42686         INNETGR.
42687         (dbs): Add netgrdb entry.
42688         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42689         (verify_persistent_db): Handle netgrdb.
42690         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42691         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42692         GETFDNETGR.
42693         (netgroup_response_header): Define.
42694         (innetgroup_response_header): Define.
42695         (datahead): Add netgroup_response_header and innetgroup_response_header
42696         elements.
42697         * nscd/nscd.conf: Add entries for netgroup cache.
42698         * nscd/nscd.h (dbtype): Add netgrdb.
42699         (_PATH_NSCD_NETGROUP_DB): Define.
42700         (netgroup_iov_disabled): Declare.
42701         (xmalloc, xcalloc, xrealloc): Move declarations here.
42702         (cache_search): Adjust prototype.
42703         Add netgroup-related prototypes.
42704         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42705         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42706         (__nscd_innetgr): Declare.
42707         * nscd/selinux.c (perms): Use access_vector_t as element type and
42708         add netgroup-related initializers.
42709         * nscd/netgroupcache.c: New file.
42710         * nscd/nscd_netgroup.c: New file.
42711         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42712         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42713         For four parameters use innetgr.
42714         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42715         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42716         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42717         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42718
42719         * nscd/connections.c (register_traced_file): Don't register file
42720         for disabled databases.
42721
42722 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42723
42724         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42725
42726         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42727         from tree and freeing node.
42728
42729 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42730
42731         * nss/nsswitch.c (__nss_database_lookup): Handle
42732         nss_parse_service_list out of memory case.
42733
42734 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42735
42736         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42737         out of memory case.
42738
42739 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42740
42741         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42742         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42743         pass it down.
42744         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42745         elf_machine_rela, elf_machine_lazy_rel.
42746         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42747         (ELF_DYNAMIC_DO_REL): Likewise.
42748         (ELF_DYNAMIC_DO_RELA): Likewise.
42749         (ELF_DYNAMIC_RELOCATE): Likewise.
42750         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42751         to ELF_DYNAMIC_DO_REL.
42752         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42753         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42754         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42755         elf_machine_rela.
42756         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42757         skip_ifunc, don't call ifunc function if non-zero.
42758         (elf_machine_rela): Likewise.
42759         (elf_machine_lazy_rel): Likewise.
42760         (elf_machine_lazy_rela): Likewise.
42761         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42762         (elf_machine_lazy_rel): Likewise.
42763         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42764         Likewise.
42765         (elf_machine_lazy_rel): Likewise.
42766         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42767         Likewise.
42768         (elf_machine_lazy_rel): Likewise.
42769         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42770         (elf_machine_lazy_rel): Likewise.
42771         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42772         (elf_machine_lazy_rel): Likewise.
42773         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42774         (elf_machine_lazy_rel): Likewise.
42775         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42776         (elf_machine_lazy_rel): Likewise.
42777         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42778         (elf_machine_lazy_rel): Likewise.
42779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42780         (elf_machine_lazy_rel): Likewise.
42781
42782 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42783
42784         * nss/nss_files/files-init.c (_nss_files_init): Use static
42785         initialization for all the *_traced_file variables.
42786
42787 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42788
42789         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42790
42791 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42792
42793         [BZ #13226]
42794         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42795
42796 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42797
42798         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42799         Reread the line before reparsing it.
42800
42801 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42802
42803         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42804
42805 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42806             Maxim Kuvyrkov  <maxim@codesourcery.com>
42807             Joseph Myers  <joseph@codesourcery.com>
42808
42809         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42810         if needed for __stack_chk_guard.
42811
42812 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42813
42814         * sysdeps/posix/spawni.c (script_execute): Always define it.
42815         It will be optimized away if unused.
42816         (maybe_script_execute): New function.
42817         (__spawni): Call it.
42818
42819         * Makerules: Don't include tls.make.
42820         (config-tls): Always set to thread.
42821         * tls.make.c: File removed.
42822
42823 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42824
42825         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42826         * config.make.in (CPPFLAGS-config): New substituted variable.
42827
42828 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42829
42830         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42831
42832         [BZ #13192]
42833         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42834         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42835
42836 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42837
42838         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42839         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42840         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42841         (CALL_FAIL): Likewise.
42842         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42843         (CALL_FAIL): Macro removed.
42844         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42845
42846 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42847
42848         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42849         for __FINITE_MATH_ONLY__ == 1.
42850
42851 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42852
42853         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42854         __ieee754_sqrt instead of sqrt.
42855         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42856         __ieee754_sqrtf instead of sqrtf.
42857         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42858         __floorf instead of floorf.
42859         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42860         __floorf, __truncf instead of floorf, truncf.
42861
42862 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42863
42864         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42865
42866         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42867         __extern_always_inline.
42868         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42869         32-bit.
42870
42871 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42872
42873         * elf/rtld.c (dl_main): Also relocate in dependency order when
42874         doing symbol dependency testing.
42875
42876 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42877
42878         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42879         Always define `refsym'.
42880
42881 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42882
42883         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42884         (__FD_ELT): Renamed from __FDELT.
42885         * misc/bits/select2.h (__FD_ELT): Likewise.
42886         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42887         __FD_MASK instead of __FDELT, __FDMASK.
42888         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42889         Likewise.
42890         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42891         Likewise.
42892
42893         * elf/Makefile (gen-ldd): Fix pattern.
42894
42895         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42896         (init_tls): Likewise.
42897
42898 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42899
42900         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42901
42902 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42903
42904         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42905         `struct cmsghdr *' instead of `void *'.
42906         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42907         Likewise.
42908
42909 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42910
42911         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42912         if non-absolute.
42913         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42914         ldd_rewrite_script.
42915
42916 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42917
42918         * configure.in: Remove --with-tls option.
42919         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42920         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42921         out in case it is missing.
42922         * sysdeps/ia64/elf/configure.in: Likewise.
42923         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42924         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42925         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42926         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42927         * sysdeps/sh/elf/configure.in: Likewise.
42928         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42929         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42930         * sysdeps/x86_64/elf/configure.in: Likewise.
42931         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42932         * sysdeps/mach/hurd/tls.h: Likewise.
42933
42934         [BZ #13067]
42935         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42936
42937         [BZ #13090]
42938         * configure.in: Fix use of AC_INIT.
42939
42940         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42941
42942 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42943
42944         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42945         __set_errno.
42946         * malloc/hooks.c: Likewise.
42947
42948         [BZ #11929]
42949         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42950         variables statically.
42951         (narenas): Initialize.
42952         (list_lock): Initialize.
42953         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42954         initializtion of main_arena and list_lock.  Small cleanups.
42955         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42956         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42957         Add initializers to main_arena and mp_.
42958         (malloc_state): Remove pagesize member.  Change all users to use
42959         GLRO(dl_pagesize).
42960
42961         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42962         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42963         is always initialized.
42964
42965         * malloc/malloc.c: Removed unused configurations and dead code.
42966         * malloc/arena.c: Likewise.
42967         * malloc/hooks.c: Likewise.
42968         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42969
42970         * include/tls.h: Removed.  USE___THREAD must always be defined.
42971         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42972         * elf/dl-libc.c: Likewise.
42973         * elf/dl-tsd.c: Likewise.
42974         * include/errno.h: Likewise.
42975         * include/netdb.h: Likewise.
42976         * include/resolv.h: Likewise.
42977         * inet/herrno-loc.c: Likewise.
42978         * inet/herrno.c: Likewise.
42979         * malloc/arena.c: Likewise.
42980         * malloc/hooks.c: Likewise.
42981         * malloc/malloc.c: Likewise.
42982         * resolv/res-state.c: Likewise.
42983         * resolv/res_libc.c: Likewise.
42984         * sysdeps/i386/dl-machine.h: Likewise.
42985         * sysdeps/ia64/dl-machine.h: Likewise.
42986         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42987         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42988         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42989         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42990         * sysdeps/sh/dl-machine.h: Likewise.
42991         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42992         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42993         * sysdeps/unix/i386/sysdep.S: Likewise.
42994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42995         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42997         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43000         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43001         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43003         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43004         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43005         * sysdeps/x86_64/dl-machine.h: Likewise.
43006         * tls.make.c: Likewise.
43007
43008         * configure.in: Remove --with-__thread option.  Make tests for
43009         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43010         tls_model attribute fail if no support is available.  Remove
43011         USE_IN_LIBIO.
43012         * Makeconfig: Adjust for dropped configure option.  All features are
43013         now mandatory.
43014         * Makerules: Likewise.
43015         * Versions.def: Likewise.
43016         * argp/argp-fmtstream.c: Likewise.
43017         * argp/argp-fmtstream.h: Likewise.
43018         * argp/argp-help.c: Likewise.
43019         * assert/assert.c: Likewise.
43020         * config.h.in: Likewise.
43021         * config.make.in: Likewise.
43022         * configure: Likewise.
43023         * configure.in: Likewise.
43024         * csu/Versions: Likewise.
43025         * csu/init.c: Likewise.
43026         * elf/tst-audit2.c: Likewise.
43027         * elf/tst-tls10.c: Likewise.
43028         * elf/tst-tls10.h: Likewise.
43029         * elf/tst-tls11.c: Likewise.
43030         * elf/tst-tls12.c: Likewise.
43031         * elf/tst-tls14.c: Likewise.
43032         * elf/tst-tlsmod11.c: Likewise.
43033         * elf/tst-tlsmod12.c: Likewise.
43034         * elf/tst-tlsmod13.c: Likewise.
43035         * elf/tst-tlsmod13a.c: Likewise.
43036         * elf/tst-tlsmod14a.c: Likewise.
43037         * elf/tst-tlsmod15b.c: Likewise.
43038         * elf/tst-tlsmod16a.c: Likewise.
43039         * elf/tst-tlsmod16b.c: Likewise.
43040         * elf/tst-tlsmod7.c: Likewise.
43041         * elf/tst-tlsmod8.c: Likewise.
43042         * elf/tst-tlsmod9.c: Likewise.
43043         * gmon/gmon.c: Likewise.
43044         * grp/fgetgrent_r.c: Likewise.
43045         * grp/putgrent.c: Likewise.
43046         * hurd/fopenport.c: Likewise.
43047         * include/libc-symbols.h: Likewise.
43048         * include/tls.h: Likewise.
43049         * intl/gettextP.h: Likewise.
43050         * intl/loadinfo.h: Likewise.
43051         * locale/global-locale.c: Likewise.
43052         * locale/localeinfo.h: Likewise.
43053         * mach/devstream.c: Likewise.
43054         * malloc/arena.c: Likewise.
43055         * malloc/set-freeres.c: Likewise.
43056         * misc/err.c: Likewise.
43057         * misc/getttyent.c: Likewise.
43058         * misc/mntent_r.c: Likewise.
43059         * posix/getopt.c: Likewise.
43060         * posix/wordexp.c: Likewise.
43061         * pwd/fgetpwent_r.c: Likewise.
43062         * resolv/Versions: Likewise.
43063         * resolv/res_hconf.c: Likewise.
43064         * shadow/fgetspent_r.c: Likewise.
43065         * shadow/putspent.c: Likewise.
43066         * stdio-common/printf_fphex.c: Likewise.
43067         * stdio-common/tmpfile.c: Likewise.
43068         * stdlib/abort.c: Likewise.
43069         * stdlib/fmtmsg.c: Likewise.
43070         * sunrpc/auth_unix.c: Likewise.
43071         * sunrpc/clnt_perr.c: Likewise.
43072         * sunrpc/clnt_tcp.c: Likewise.
43073         * sunrpc/clnt_udp.c: Likewise.
43074         * sunrpc/clnt_unix.c: Likewise.
43075         * sunrpc/openchild.c: Likewise.
43076         * sunrpc/svc_simple.c: Likewise.
43077         * sunrpc/svc_tcp.c: Likewise.
43078         * sunrpc/svc_udp.c: Likewise.
43079         * sunrpc/svc_unix.c: Likewise.
43080         * sunrpc/xdr.c: Likewise.
43081         * sunrpc/xdr_array.c: Likewise.
43082         * sunrpc/xdr_rec.c: Likewise.
43083         * sunrpc/xdr_ref.c: Likewise.
43084         * sunrpc/xdr_stdio.c: Likewise.
43085
43086 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43087
43088         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43089
43090 2011-07-03  Andreas Jaeger  <aj@suse.de>
43091
43092         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43093         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43094         regenerate with gen-libm-tests.pl.
43095
43096 2010-05-12  Petr Baudis  <pasky@suse.cz>
43097
43098         [BZ #11589]
43099         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43100         around j0() zero points by switching to j1().
43101         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43102         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43104         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43105
43106 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43107
43108         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43109         instead of 0.
43110         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43111         instead of 0.
43112         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43113         Patch in part by Pavel Roskin <proski@gnu.org>.
43114
43115         [BZ #13138]
43116         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43117         realloc.
43118         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43119         Free memory block if necessary.
43120
43121         [BZ #12847]
43122         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43123         be NULL.  Don't lock in this case.
43124
43125 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43126
43127         * elf/elf.h (ELFOSABI_GNU): New macro.
43128         (ELFOSABI_LINUX): Define to that.
43129
43130 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43131
43132         * string/strncat.c (strncat): Undef the symbol in case it has been
43133         defined in bits/string.h.
43134
43135 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43136
43137         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43138
43139         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43140         link map.
43141
43142 2011-08-17  Andreas Jaeger  <aj@suse.de>
43143
43144         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43145
43146 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43147             Ian Lance Taylor  <iant@google.com>
43148
43149         * math/libm-test.inc (lround_test): New testcase.
43150         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43151
43152 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43153
43154         * Makefile: Remove support for automatic cvs check-ins.
43155         * Makerules: Likewise.
43156         * config.make.in: Likewise.
43157         * configure.in: Likewise.
43158         * intl/Makefile: Likewise.
43159         * locale/Makefile: Likewise.
43160         * po/Makefile: Likewise.
43161         * posix/Makefile: Likewise.
43162         * sysdeps/gnu/Makefile: Likewise.
43163         * sysdeps/mach/hurd/Makefile: Likewise.
43164         * sysdeps/sparc/sparc32/Makefile: Likewise.
43165
43166         [BZ #13118]
43167         * posix/Makefile (bug-regex32-ENV): Define.
43168         Patch by John Stanley <jpsinthemix@verizon.net>.
43169
43170         * misc/Makefile (headers): Add bits/select2.h.
43171         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43172         * misc/bits/select2.h: New file.
43173         * include/bits/select2.h: New file.
43174         * debug/Makefile (routines): Add fdelt_chk.
43175         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43176         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43177         FD_ISSET.
43178         * debug/fdelt_chk.c: New file.
43179
43180         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43181         * wcsmbs/test-wmemcmp.c: Likewise.
43182         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43183         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43184
43185 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43186
43187         * string/Makefile (strop-tests): Add memcmp.
43188         * string/test-wmemcmp.c: New file.
43189         * string/test-memcmp.c: Add wmemcmp support.
43190
43191 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43192
43193         [BZ #13153]
43194         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43195         2011-07-19 change.
43196
43197         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43198         garbage value in a __mach_port_mod_refs call in the cases of the
43199         task-self and thread-self ports.
43200
43201 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43202
43203         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43204
43205 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43206
43207         * elf/dl-load.c (lose): Check for non-null L.
43208
43209 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43210
43211         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43212
43213         * elf/dl-libc.c (dlerror_run): Pass back error code from
43214         dl_catch_error.
43215
43216         [BZ #13123]
43217         * elf/dl-load.c (lose): Free l_origin if it is valid.
43218
43219         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43220         names.
43221         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43222         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43223         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43224         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43225         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43226         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43227
43228 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43229
43230         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43231         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43232         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43233         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43234         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43235         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43236         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43237         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43238         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43239         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43240
43241 2011-08-15  Alan Modra  <amodra@gmail.com>
43242
43243         [BZ #13092]
43244         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43245         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43246         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43247         ppc_mcount to static-only-routines.
43248         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43249         __mcount_internal.
43250         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43251         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43252
43253 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43254
43255         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43256         for finite and infinity parameters.
43257
43258 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43259
43260         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43261         and add nop instructions for throughput optimization.
43262         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43263
43264 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43265
43266         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43267         aligned copy for power7 with vector-scalar instructions.
43268         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43269
43270 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43271
43272         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43273         AVX check.
43274
43275 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43276
43277         [BZ #13144]
43278         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43279         last change.
43280
43281 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43282
43283         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43284         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43285         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43286         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43287         clock_gettime.
43288
43289 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43290
43291         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43292         Forgot to demangle the pointer.
43293
43294         * sysdeps/i386/sysdep.h: Define atom_text_section.
43295         * sysdeps/x86_64/sysdep.h: Likewise.
43296         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43297         section with atom_text_section.
43298         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43299         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43300         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43301         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43302         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43303
43304         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43305         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43306         already be defined.  Change to take two parameters and don't assign
43307         result to variable.  Adjust all users.
43308         Define INTERNAL_GETTIME if not already defined.
43309         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43310         call.
43311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43312         HAVE_CLOCK_GETTIME_VSYSCALL.
43313         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43314
43315         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43316         gettimeofday vsyscall, just use time.
43317
43318 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43319
43320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43321         <errno.h>.
43322
43323 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43324
43325         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43326         syscall on x86-64.
43327         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43328         syscall.
43329         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43330         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43331         syscall if possible.
43332
43333 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43334
43335         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43336         e_ident.  Don't pass to find_mapsXX.
43337         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43338
43339 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43340
43341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43342         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43343         * sysdeps/x86_64/multiarch/strchr.S: Update.
43344         Check bit_slow_BSF bit.
43345         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43346         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43347         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43348
43349 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43350
43351         [BZ #13134]
43352         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43353         before glibc 2.15.
43354         (tryshell): Define.
43355         (__spawni): Change last parameter to be flag.  Test
43356         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43357         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43358         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43359         * posix/spawni.c: Likewise.
43360         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43361         * posix/spawnp.c: Likewise.  Change normal version to use
43362         SPAWN_XFLAGS_USE_PATH.
43363         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43364         SPAWN_XFLAGS_TRY_SHELL.
43365
43366         [BZ #13150]
43367         * posix/glob.h: Remove gcc 1.x support.
43368
43369         [BZ #13068]
43370         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43371
43372 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43373
43374         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43375         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43376         strrchr-sse2-bsf
43377         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43378         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43379         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43380         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43381         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43382         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43383
43384 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43385
43386         * sysdeps/x86_64/wcscmp.S: New file.
43387
43388         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43389         wcscmp-c wcscmp-sse2
43390         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43391         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43392         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43393         * wcsmbs/wcscmp.c: Allow renaming.
43394
43395 2011-09-05  David S. Miller  <davem@davemloft.net>
43396
43397         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43398         stack slot, rather than the struct return pointer slot.
43399         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43400         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43402         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43403
43404 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43405
43406         * po/ja.po: Update from translation team.
43407
43408         [BZ #13144]
43409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43410         kernel in 64-bit binaries.
43411
43412 2011-09-01  David S. Miller  <davem@davemloft.net>
43413
43414         * elf/elf.h (HWCAP_SPARC_*): Move to..
43415         * sysdeps/sparc/sysdep.h: this new file and add new values.
43416         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43417         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43418         _DL_HWCAP_COUNT to 24.
43419         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43420         entries.
43421         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43422         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43423         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43424         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43425         instead of magic constants.
43426         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43427
43428 2011-08-31  David S. Miller  <davem@davemloft.net>
43429
43430         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43431         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43432         Reimplement to do errno handling inline.
43433         (SYSCALL_ERROR_HANDLER): New macro.
43434         (__SYSCALL_STRING): Do not do errno handling in asm.
43435         (__CLONE_SYSCALL_STRING): Delete.
43436         (__INTERNAL_SYSCALL_STRING): Delete.
43437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43438         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43439         (PSEUDO): Reimplement to do errno handling inline.
43440         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43441         (SYSCALL_ERROR_HANDLER): New macro.
43442         (__SYSCALL_STRING): Do not do errno handling in asm.
43443         (__CLONE_SYSCALL_STRING): Delete.
43444         (__INTERNAL_SYSCALL_STRING): Delete.
43445         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43446         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43447         i386.
43448         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43449         (inline_syscall*): Add 'err' argument.
43450         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43451         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43452         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43453         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43454
43455         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43456         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43457
43458 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43459
43460         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43461
43462 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43463
43464         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43465         directive.
43466
43467 2011-08-24  David S. Miller  <davem@davemloft.net>
43468
43469         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43470
43471 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43472
43473         * elf/Makefile: Add rules to build and run unload8 test.
43474         * elf/unload8.c: New file.
43475         * elf/unload8mod1.c: New file.
43476         * elf/unload8mod1x.c: New file.
43477         * elf/unload8mod2.c: New file.
43478         * elf/unload8mod3.c: New file.
43479
43480         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43481         it wasn't used.
43482
43483 2011-08-23  David S. Miller  <davem@davemloft.net>
43484
43485         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43486         subtract stack bias.
43487         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43488         %sp not %fp in calculations.
43489         (_JMPBUF_UNWINDS_ADJ): Likewise.
43490
43491         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43492         (aio_suspend): Call it to force an exception region around the
43493         AIO_MISC_WAIT() invocation.
43494
43495 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43496
43497         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43498         backslash.
43499
43500 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43501
43502         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43503         protection macro.
43504         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43505         and <dl-machine.h>.
43506         (Elf64_FuncDesc): Remove.
43507
43508 2011-08-22  David S. Miller  <davem@davemloft.net>
43509
43510         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43511         sigaltstack check, add missing cfi directives.
43512         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43513         missing cfi directives, and sigaltstack handling.
43514
43515 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43516
43517         [BZ #11724]
43518         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43519         object is seen twice.
43520         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43521
43522         * elf/Makefile (distribute): Add tst-initorder2.c.
43523         (tests): Add tst-initorder2.
43524         (modules-names): Add tst-initorder2a tst-initorder2b
43525         tst-initorder2c tst-initorder2d.  Add rules to build them.
43526         ($(objpfx)tst-initorder2.out): New rule.
43527         * elf/tst-initorder2.c: New file.
43528         * elf/tst-initorder2.exp: New file.
43529
43530 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43531
43532         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43533
43534         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43535         dependencies back to end of function.
43536
43537         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43538         $(elfobjdir)/ld.so.
43539
43540 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43541
43542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43543         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43544         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43545         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43546         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43547         of __vdso_gettimeofday.
43548         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43549         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43550         attribute_hidden.
43551         (_libc_vdso_platform_setup): Remove initialization of
43552         __vdso_gettimeofday and __vdso_time.
43553
43554 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43555
43556         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43557         and fgetc_unlocked.
43558         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43559         getc_unlocked.
43560
43561         * elf/dl-open.c (add_to_global): Report additions to the global scope
43562         for LD_DEBUG=scopes.
43563         (dl_open_worker): Also print scope of newly loaded dependencies.
43564         (_dl_show_scope): Indicate if there is no scope.
43565
43566         [BZ #13114]
43567         * stdio-common/Makefile (tests): Add bug24.
43568         * stdio-common/bug24.c: New file.
43569
43570 2011-08-19  Andreas Jaeger  <aj@suse.de>
43571
43572         [BZ #13114]
43573         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43574         non-existant file when using close-on-exec mode.
43575
43576 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43577
43578         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43579         the very first instruction.
43580
43581         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43582         the CFI state in the end.
43583         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43584         inclusion of dl-trampoline.h.
43585         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43586
43587 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43588
43589         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43590         expectations for long double.
43591
43592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43593         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43594
43595 2011-08-14  David S. Miller  <davem@davemloft.net>
43596
43597         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43598         artificual limit depends upon the system page size.
43599
43600 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43601
43602         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43603         * resolv/Makefile: Define CFLAGS-libresolv.
43604
43605 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43606
43607         * nss/makedb.c (compute_tables): Make variables used in nested
43608         function static.
43609
43610 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43611
43612         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43613         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43614         if buffer was too small.
43615
43616         * elf/pldd.c (main): Attach to all threads in the process.
43617         Rewrite /proc handling to use *at functions.
43618
43619 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43620
43621         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43622         specifies first scope to show.
43623         (dl_open_worker): Update callers.  Move printing scope of new
43624         object to before the relocation.
43625         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43626         * sysdeps/generic/ldsodefs.h: Update declaration.
43627
43628         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43629         string for the scope number.
43630
43631 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43632
43633         * nscd/servicescache.c (cache_addserv): Make sure written is always
43634         initialized.
43635
43636 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43637
43638         * sysdeps/i386/i486/bits/atomic.h
43639         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43640         statement expression, so as to suppress "set but not used" warning.
43641         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43642
43643         * string/strncat.c (STRNCAT): Use prototype definition.
43644
43645         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43646         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43647         -Iprograms here.
43648         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43649         (localedef-modules): Add localedef.
43650         (locale-modules): Add locale.
43651
43652         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43653         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43654         to avoid a warning.
43655
43656 2011-08-14  David S. Miller  <davem@davemloft.net>
43657
43658         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43659         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43660
43661 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43662
43663         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43664         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43665         * elf/rtld.c (dl_main): Set l_name of vDSO.
43666         Call _dl_show_scope when DL_DEBUG_SCOPES.
43667         (process_dl_debug): Recognize scopes flag and also set it for all.
43668         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43669         Declare _dl_show_scope.
43670
43671         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43672         (do_dlopen): Pass caller_dlopen to dl_open.
43673         (__libc_dlopen_mode): Initialize caller_dlopen.
43674
43675         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43676         of libc.  Make tolower call locale-independent.  Optimize a bit by
43677         using isdigit instead of isalnum.
43678         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43679
43680 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43681
43682         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43683         was a dependency or dynamically loaded.
43684
43685 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43686
43687         * intl/l10nflist.c: Allow architecture-specific pop function.
43688         * sysdeps/x86_64/l10nflist.c: New file.
43689
43690         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43691         classification.
43692
43693 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43694
43695         * include/dirent.h: Add libc_hidden_proto for scandirat and
43696         scandirat64.  Don't declare __scandirat64.
43697         * dirent/scandirat.c: Add libc_hidden_def.
43698         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43699         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43700
43701 2011-08-10  David S. Miller  <davem@davemloft.net>
43702
43703         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43704         enum.
43705         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43706         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43707         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43708
43709 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43710
43711         * Versions.def [libc]: Add GLIBC_2.15.
43712         * dirent/Makefile (routines): Add scandirat and scandirat64.
43713         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43714         GLIBC_2.15.
43715         * dirent/dirent.h: Declare scandirat and scandirat64.
43716         * dirent/scandirat.c: New file.
43717         * dirent/scandirat64.c: New file.
43718         * sysdeps/wordsize-64/scandirat.c: New file.
43719         * sysdeps/wordsize-64/scandirat64.c: New file.
43720         * dirent/opendir.c: Define opendirat.
43721         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43722         using scandirat.
43723         * dirent/scandir64.c: Adjust for scandir.c change.
43724         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43725         __scandirat64, and __scandir_cancel_handler.
43726         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43727         additional parameter and use openat instead of open (outside of ld.so).
43728         Add new __opendir as wrapper around __opendirat.
43729         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43730         here without requiring old scandirat implementation.
43731
43732 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43733
43734         * dirent/scandir.c (cancel_handler): Renamed to
43735         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43736         defined.  Adjust users.
43737         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43738         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43739
43740 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43741
43742         * string/test-string.h (IMPL): Use __STRING to expand name and then
43743         stringify it.
43744
43745         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43746         of cleanups.
43747
43748 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43749
43750         * string/Makefile: Update.
43751         (strop-tests): Append strncat.
43752         * string/test-wcscmp.c: New file.
43753         New comprehensive test for wcscmp.
43754         * string/test-strcmp.c: Update.
43755         (WIDE): New define.
43756
43757 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43758
43759         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43760         line.
43761
43762 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43763
43764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43765         encoding to ACE if AI_IDN.
43766
43767 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43768
43769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43770         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43771
43772 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43773
43774         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43775         Fix overflow bug in strncat.
43776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43777
43778         * string/test-strncat.c: Update.
43779         Add new tests for checking overflow bugs.
43780
43781 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43782
43783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43784         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43785         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43786         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43787         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43788         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43789         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43790         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43791         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43792
43793         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43794         (USE_AS_STRCAT): Define.
43795         Add strcat and strncat support.
43796         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43797
43798 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43799
43800         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43801         __n bigger than INT_MAX+1.
43802         (__strncmp_g): Likewise.
43803
43804 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43805
43806         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43807         * libio/stido.h: Likewise.
43808
43809         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43810         (AF_NFC): Define.
43811         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43812         (AF_NFC): Define.
43813
43814         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43815         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43816         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43817         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43818         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43819
43820         [BZ #13021]
43821         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43822         installed.
43823
43824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43825         typo.
43826         (_dl_x86_64_save_sse): Likewise.
43827
43828 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43829
43830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43831         OSXSAVE.
43832         (_dl_x86_64_save_sse): Likewise.
43833
43834         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43835
43836         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43837
43838 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43839
43840         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43841         change.
43842         (_dl_x86_64_save_sse): Use correct AVX check.
43843
43844 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43845
43846         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43847         bug in strncpy/strncat.
43848         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43849
43850 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43851
43852         * string/tester.c (test_strcat): Add tests for different alignments
43853         of source and destination.
43854         (test_strncat): Likewise.
43855
43856 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43857
43858         [BZ #12852]
43859         * posix/glob.c (glob): Check passed in values before using them in
43860         expressions to avoid some overflows.
43861         (glob_in_dir): Likewise.
43862
43863         [BZ #13007]
43864         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43865         check for AVX enablement so that we don't crash with old kernels and
43866         new hardware.
43867         * elf/tst-audit4.c: Add same checks here.
43868         * elf/tst-audit6.c: Likewise.
43869
43870         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43871
43872 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43873
43874         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43875
43876 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43877
43878         * po/cs.po: Update from translation team.
43879         * po/bg.po: Likewise.
43880
43881 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43882
43883         * misc/sys/cdefs.h: Add support for const attribute.
43884         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43885         to gnu_dev_{major,minor,makedev} functions.
43886
43887 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43888
43889         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43890
43891 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43892
43893         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43894         strlen results.
43895
43896 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43897
43898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43899         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43900         register in order to avoid conflicts with the soft frame pointer
43901         being held in r11 when necessary.
43902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43903         (INTERNAL_VSYSCALL_NCS): Likewise.
43904
43905 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43906
43907         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43908         * elf/dl-fini.c (_dl_fini): Adjust caller.
43909         * elf/dl-close.c (_dl_close_worker): Likewise.
43910         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43911
43912 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43913
43914         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43915         "aux_cache->nlibs < 0".
43916
43917         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43918         in the reload-count case.
43919
43920 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43921
43922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43923         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43924         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43925         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43926         * sysdeps/x86_64/multiarch/strcat.S: New file.
43927         * sysdeps/x86_64/multiarch/strncat.S: New file.
43928         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43929         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43930         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43931         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43932         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43933         (USE_AS_STRCAT): Define.
43934         Add strcat and strncat support.
43935         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43936         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43937         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43938         * string/strncat.c: Update.
43939         (USE_AS_STRNCAT): Define.
43940         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43941         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43942         and i7.
43943         * sysdeps/x86_64/multiarch/init-arch.h
43944         (bit_Prefer_PMINUB_for_stringop): New.
43945         (index_Prefer_PMINUB_for_stringop): Likewise.
43946         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43947         bit_Prefer_PMINUB_for_stringop.
43948
43949 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43950
43951         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43952         buffer64.
43953         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43954         of casting of buffer.
43955         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43956         buffer32 and buffer64.
43957         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43958         writes instead of casting of buffer.
43959         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43960         buffer32.
43961         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43962         casting of buffer.
43963
43964 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43965
43966         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43967
43968 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43969
43970         * nscd/nscd.c (termination_handler): Don't do anything for a database
43971         if it has not yet been initialized.
43972
43973 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43974
43975         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43976
43977 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43978
43979         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43980
43981 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43982
43983         * po/nl.po: Update from translation team.
43984         * po/sv.po: Likewise.
43985
43986 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43987
43988         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43989         now disallowed by GCC.
43990
43991         * configure.in (use-default-link): Default to yes if a test -shared
43992         link meets our qualifications.
43993         * configure: Regenerated.
43994
43995         * config.make.in (output-format): New variable.
43996         * configure.in: Check for ld --print-output-format support.
43997         * configure: Regenerated.
43998         * Makerules ($(common-objpfx)format.lds)
43999         [$(output-format) != unknown]: Just use $(output-format),
44000         instead of the linker-script munging.
44001
44002 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44003
44004         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44005         of $(common-objpfx)shlib.lds.
44006         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44007
44008         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44009         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44010
44011         * configure.in (-z relro check): Adjust test code to add a large
44012         writable data section after it.
44013         * configure: Regenerated.
44014
44015 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44016
44017         * configure.in (-z relro check): Fix test code to make the variable
44018         truly const.
44019         * configure: Regenerated.
44020
44021 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44022
44023         * nscd/nscd.h (struct traced_file): Define.
44024         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44025         elements.  Add traced_files.
44026         (inotify_fd): Declare.
44027         (register_traced_file): Declare.
44028         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44029         (inotify_fd): Export.
44030         (resolv_conf_descr): Remove.
44031         (nscd_init): Move inotify descriptor creation to main.
44032         Don't register files for notification here.
44033         (register_traced_file): New function.
44034         (invalidate_cache): Don't use reset_res to determine whether to call
44035         res_init, go through the list of registered files.
44036         (main_loop_poll): The inotify descriptors are now stored in the
44037         structures for the traced files.
44038         (main_loop_epoll): Likewise
44039         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44040         to __nss_disable_nscd.
44041         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44042         for a database anymore.  Check the records for all the registered
44043         files instead.
44044         * nss/Makefile (libnss_files-routines): Add files-init.
44045         (libnss_db-routines): Add db-init.
44046         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44047         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44048         * nss/nss_db/db-init.c: New file.
44049         * nss/nss_files/files-init.c: New file.
44050         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44051         __nss_lookup_function.
44052         (__nss_lookup_function): Call nss_load_library.
44053         (nss_load_all_libraries): New function.
44054         (__nss_disable_nscd): Take parameter with callback function for files
44055         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44056         used for the cached services.
44057         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44058         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44059         options for features to all the files in nscd.
44060
44061         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44062
44063 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44064
44065         * csu/elf-init.c (__libc_csu_init): Comment typo.
44066
44067 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44068
44069         * po/pl.po: Update from translation team.
44070         * po/ja.po: Likewise.
44071         * po/ru.po: Likewise.
44072         * po/ko.po: Likewise.
44073         * po/fr.po: Likewise.
44074
44075 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44076
44077         * configure.in (.ctors/.dtors header and trailer check):
44078         Use an empirical test on a built program.
44079         * configure: Regenerated.
44080
44081         * configure.in (-z relro check): Use an empirical test on a built DSO.
44082         Detect, but do not require, on ia64.
44083         * configure: Regenerated.
44084
44085         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44086         Update tests that use readelf to use $READELF instead.
44087         * configure: Regenerated.
44088
44089 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44090
44091         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44092         if the result is not used.
44093
44094 2011-07-05  Andreas Jaeger  <aj@suse.de>
44095
44096         [BZ#9696]
44097         * stdlib/tst-strtod.c: Add testcase.
44098
44099 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44100
44101         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44102         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44103         The latter has a higher limit.  Take additional parameter to pass to
44104         the new function.
44105         (__pathconf): Pass file to __statfs_link_max.
44106         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44107         __statfs_link_max.
44108         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44109         __statfs_link_max.
44110
44111         [BZ #12868]
44112         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44113         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44114         Handle Lustre.
44115         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44116         (__statfs_filesize_max): Likewise.
44117         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44118
44119 2011-07-05  Andreas Jaeger  <aj@suse.de>
44120
44121         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44122
44123 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44124
44125         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44126         `status' variable.
44127         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44128         Likewise.
44129
44130 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44131
44132         * Makefile (strop-tests): Add strncat.
44133         * string/test-strncat.c: New file.
44134
44135 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44136
44137         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44138
44139 2011-06-21  Andreas Jaeger  <aj@suse.de>
44140
44141         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44142         Copy rule from iconvdata/Makefile.
44143
44144 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44145
44146         [BZ #12922]
44147         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44148         but no long options are defined, just return 'W'.
44149
44150 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44151
44152         [BZ #9696]
44153         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44154
44155 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44156
44157         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44158         netgroups to read.
44159         (innetgr): Likewise.
44160
44161 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44162
44163         * config.make.in (install_root): Default to $(DESTDIR).
44164
44165 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44166
44167         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44168
44169 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44170
44171         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44172
44173         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44174         containing directory rather than embedding absolute directory names.
44175
44176         * scripts/check-local-headers.sh: Rewritten using awk.
44177         Match by word, not by line.  Print error messages for matches.
44178         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44179
44180         * Makerules [shlib-lds-flags empty]:
44181         ($(common-objpfx)libc_pic.opts): New target.
44182         ($(common-objpfx)libc_pic.os.clean): New target.
44183         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44184
44185         * config.make.in (OBJCOPY): New variable.
44186         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44187         * configure: Regenerated.
44188
44189         * config.make.in (use-default-link): New variable.
44190         * configure.in (use_default_link): Grok --with-default-link to set it.
44191         * configure: Regenerated.
44192         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44193         (shlib-lds, shlib-lds-flags): Define to empty.
44194
44195         * Makerules (shlib-lds): New variable.
44196         (shlib-lds-flags): New variable.
44197         (build-shlib, build-moduile, build-module-asneeded): Use it.
44198         ($(common-objpfx)libc.so): Use $(shlib-lds).
44199         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44200         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44201
44202         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44203         DT_FLAGS/DT_FLAGS_1 with zero flags.
44204
44205         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44206         linker script munging.
44207
44208 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44209
44210         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44211         as 128-bit value.
44212         * crypt/sha512.c (sha512_process_block): Perform total addition using
44213         128-bit if possible.
44214         (__sha512_finish_ctx): Likewise.
44215         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44216         as 64-bit value.
44217         * crypt/sha256.c (SWAP64): Define.
44218         (sha256_process_block): Perform total addition using 64-bit if
44219         possible.
44220         (__sha256_finish_ctx): Likewise.
44221
44222 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44223
44224         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44226         * nscd/hstcache.c (cache_addhst): Likewise.
44227         * nscd/grpcache.c (cache_addgr): Likewise.
44228         * nscd/aicache.c (addhstaiX): Likewise
44229         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44230
44231 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44232
44233         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44235         * nscd/hstcache.c (cache_addhst): Likewise.
44236         * nscd/grpcache.c (cache_addgr): Likewise.
44237         * nscd/aicache.c (addhstaiX): Likewise
44238
44239 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44240
44241         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44242         domain only when needed.
44243
44244 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44245
44246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44247         is always restored.
44248
44249 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44250
44251         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44252         are re-adding the entry.
44253         * nscd/servicescache.c (cache_addserv): Likewise.
44254
44255 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44256
44257         * sysdeps/generic/dl-irel.h: fix protection against multiple
44258         inclusions.
44259         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44260
44261 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44262
44263         [BZ #12935]
44264         * malloc/memusage.sh: Fix quoting in message.
44265         * debug/xtrace.sh: Likewise.
44266
44267         * configure.in: Remove support for --experimental-malloc option, make
44268         it the default.
44269         * config.make.in: Likewise.
44270         * malloc/Makefile: Likewise.
44271
44272 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44273
44274         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44275         two-byte characters.
44276
44277 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44278
44279         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44280         AC_CACHE_CHECK invocation.
44281         * configure: Regenerated.
44282
44283         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44284
44285 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44286
44287         [BZ #12350]
44288         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44289         bit from old_res_options.
44290
44291         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44292
44293         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44294         value type for setfct.
44295
44296 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44297
44298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44299         __gettimeofday instead of gettimeofday.
44300
44301 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44302
44303         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44304
44305 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44306
44307         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44308
44309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44310         info.
44311
44312 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44313
44314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44315         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44316         strcpy-sse2-unaligned strncpy-sse2-unaligned
44317         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44318         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44319         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44320         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44321         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44322         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44324         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44325         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44326         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44327         (STRCPY): Support SSE2 and SSSE3 versions.
44328
44329 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44330
44331         [BZ #12874]
44332         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44333         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44334         kernels which artificially limit size of requests.
44335
44336 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44337
44338         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44339         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44340         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44341         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44342         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44343         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44344         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44345         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44346         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44347         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44348         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44349         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44350         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44351         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44352         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44354         Enable unaligned load optimization for Intel Core i3, i5 and i7
44355         processors.
44356         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44357         Define.
44358         (index_Fast_Unaligned_Load): Define.
44359         (HAS_FAST_UNALIGNED_LOAD): Define.
44360
44361 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44362
44363         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44364
44365 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44366
44367         [BZ #12907]
44368         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44369         until it is clear that the information is realy needed.
44370         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44371
44372 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44373
44374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44375
44376 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44377
44378         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44379         /sys/devices/system/cpu/online if it is usable.
44380
44381         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44382         reading the information from the /proc filesystem to once a second.
44383
44384 2011-06-21  Andreas Jaeger  <aj@suse.de>
44385
44386         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44387         NULL after inclusion of kernel headers.
44388
44389 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44390
44391         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44392         calls to internal_setent.
44393
44394         [BZ #12885]
44395         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44396         addresses using gethostbyname4_r ignore IPv4 addresses.
44397
44398         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44399         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44400
44401         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44402
44403 2011-06-20  David S. Miller  <davem@davemloft.net>
44404
44405         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44406         inclusions.
44407         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44408
44409         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44410         (elf_irel): Use it.
44411         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44412         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44413         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44414         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44415         * sysdeps/x86_64/dl-irel.h: Likewise.
44416
44417         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44418         * elf/dl-sym.c: Likewise.
44419
44420 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44421
44422         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44423         need to dereference resplen2.
44424
44425 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44426
44427         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44428
44429 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44430
44431         * Makeconfig: Define vardbdir and inst_vardbdir.
44432         * nss/Makefile: Add rules to install db-Makefile.
44433
44434         * nss/nss_db/db-XXX.c: Cleanup.
44435
44436         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44437         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44438         GLIBC_PRIVATE.
44439         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44440         * nss/makedb.c: Implement -g option to specify that value strings
44441         are generated and should not be added to table iterated over for
44442         get*ent calls.
44443         * nss/nss_db/db-initgroups.c: New file.
44444
44445         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44446         interface.
44447
44448         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44449         (internal_getgrouplist): Adjust to name change.
44450         Update use_initgroups_entry if this is not the first call.
44451         * nss/databases.def: Add initgroups entry.
44452
44453         * nss/makedb.c (compute_tables): Check result of multiple hash table
44454         sizes to minimize maximum chain length.
44455
44456 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44457
44458         * Versions.def: Add entry for libnss_db.
44459         * shlib-versions: Likewise.
44460         * nss/Makefile: Add rules to build libnss_db.
44461         * nss/Versions: Add libnss_db information.  Organize libnss_files
44462         entries better.
44463         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44464         makedb progra.  Some minor improvements to generate smaller files.
44465         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44466         here from...
44467         * nss/makedb.c: ...here.
44468         Improve database format to be smaller and require less memory at
44469         runtime.
44470         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44471         db anymore.
44472         * nss/nss_db/db-netgrp.c: Likewise.
44473         * nss/nss_db/db-open.c: Likewise.
44474         * nss/nss_files/flies-XXX.x: Adjust comments.
44475         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44476         * nss/nss_files/files-grp.c: Likewise.
44477         * nss/nss_files/files-hosts.c: Likewise.
44478         * nss/nss_files/files-network.c: Likewise.
44479         * nss/nss_files/files-proto.c: Likewise.
44480         * nss/nss_files/files-pwd.c: Likewise.
44481         * nss/nss_files/files-rpc.c: Likewise.
44482         * nss/nss_files/files-service.c: Likewise.
44483         * nss/nss_files/files-sgrp.c: Likewise.
44484         * nss/nss_files/files-spwd.c: Likewise.
44485         * nss/nss_db/db-alias.c: Removed.
44486         * nss/nss_db/dummy-db.h: Removed.
44487
44488 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44489
44490         * nss/makedb.c: Rewritten to not use database library.
44491         * nss/Makefile: Update to build new makedb program.
44492
44493 2011-06-14  Andreas Jaeger  <aj@suse.de>
44494
44495         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44496         memset declaration.
44497
44498 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44499
44500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44501         tmpbuf.
44502
44503 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44504
44505         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44506         * elf/Makefile ($(objpfx)ld.so): Likewise.
44507
44508         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44509         Don't list ld.so twice in dependencies.
44510
44511         * posix/bug-regex31.c: Include <stdlib.h>.
44512
44513         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44514
44515         * nis/nss_compat/compat-spwd.c
44516         (getspent_next_nss_netgr): Remove unused variable.
44517         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44518
44519         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44520         nonmembers" output to use the right array.
44521
44522         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44523
44524         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44525
44526         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44527         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44528         * catgets/gencat.c (read_input_file): Likewise.
44529         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44530
44531         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44532         variable definition inside #if's controlling its use.
44533
44534         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44535
44536         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44537
44538         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44539
44540         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44541         unreachable code.
44542
44543         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44544
44545         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44546         * configure: Regenerated.
44547
44548         * Makerules: Revert last change.
44549         * elf/Makefile: Likewise.
44550
44551 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44552
44553         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44554         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44555         (reloc-link): Likewise.
44556
44557 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44558
44559         * elf/Makefile: Add rules to build pldd.
44560         * elf/pldd.c: New file.
44561         * elf/pldd-xx.c: New file.
44562
44563 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44564
44565         * version.h: Update for 2.15 development version.
44566
44567 2011-06-07  David S. Miller  <davem@davemloft.net>
44568
44569         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44570         ifuncs.
44571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44572         elf_machine_lazy_rel): Likewise.
44573         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44575         elf_machine_lazy_rel): Likewise.
44576         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44577         dl_hwcap via passed in argument.
44578         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44579         Likewise.
44580
44581 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44582
44583         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44584
44585 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44586
44587         [BZ #12849]
44588         * manual/fdl-1.1.texi: New file, verbatim from:
44589         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44590         * manual/lgpl-2.1.texi: New file, verbatim from:
44591         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44592         * manual/Makefile (licenses): New variable, list those new file names.
44593         (texis): Use it.
44594         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44595
44596         * manual/fdl.texi: File removed.
44597         * manual/lesser.texi: File removed.
44598         * manual/libc.texinfo (Copying, Documentation License):
44599         Use new @include file names, put @appendix directive before @include.
44600
44601 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44602
44603         [BZ #12841]
44604         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44605         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44606         (mq_open): Add __NTH.
44607
44608 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44609
44610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44611         Assume Intel Core i3/i5/i7 processor if AVX is available.
44612
44613 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44614
44615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44616         typo.
44617
44618 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44619
44620         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44621         memory.  Use alloca_account.  Fix memory leak when retrying.
44622
44623 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44624
44625         * version.h (RELEASE): Bump for 2.14 release.
44626         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44627
44628         * config.make.in (RANLIB): Remove entry.
44629
44630 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44631
44632         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44633         (libc.pot): Work around missing support for .ksh extension in xgettext.
44634
44635         [BZ #12684]
44636         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44637         if both request failed.
44638         (send_dg): In case of server errors clear resplen or *resplen2.
44639
44640         [BZ #12454]
44641         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44642         when there are multiple maps.
44643         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44644         (_dl_fini): Remove test here.
44645
44646         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44647
44648 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44649
44650         [BZ #12350]
44651         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44652         bit from old_res_options.
44653         (gaih_inet): Likewise.
44654
44655         [BZ #11099]
44656         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44657         as signed.
44658
44659         * resolv/res_init.c (res_setoptions): Make the code more compact.
44660
44661         [BZ #11558]
44662         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44663         set RES_USEVC.
44664
44665         [BZ #11634]
44666         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44667
44668         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44669
44670         [BZ #11781]
44671         * malloc/malloc.h: Declare malloc hook variables as volatile.
44672
44673         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44674         in last patch.
44675
44676         [BZ #11799]
44677         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44678         raise in the comment.
44679         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44680         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44681         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44682
44683 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44684
44685         [BZ #12811]
44686         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44687         grow the buffers more if it already has to be sufficient.
44688         (build_wcs_upper_buffer): Likewise.
44689         * posix/regexec.c (check_matching): Likewise.
44690         (clean_state_log_if_needed): Likewise.
44691         (extend_buffers): Don't enlarge buffers beyond size of the input
44692         buffer.
44693         Patches mostly by Emil Wojak <emil@wojak.eu>.
44694         * posix/bug-regex32.c: New file.
44695         * posix/Makefile (tests): Add bug-regex32.
44696
44697         * locale/findlocale.c (_nl_find_locale): Return right away if
44698         _nl_explode_name failed.
44699         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44700
44701         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44702
44703         * debug/xtrace.sh: Unify messages.
44704         * malloc/memusage.sh: Likewise.
44705
44706         [BZ #12813]
44707         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44708         time symbol from vDSO.  Substitute with vsyscall if not available.
44709         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44710         __vdso_time.
44711
44712         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44713         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44714         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44715         Add sendmmsg and internal_sendmmsg.
44716         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44717         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44718         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44719
44720         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44721         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44722         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44723
44724 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44725
44726         [BZ #12813]
44727         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44728         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44729         available.
44730         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44731         __vdso_getcpu.
44732
44733         [BZ #12814]
44734         * iconvdata/Makefile (tests): Add bug-iconv9.
44735         * iconvdata/bug-iconv9.c: New file.
44736
44737 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44738
44739         [BZ #12814]
44740         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44741
44742 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44743
44744         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44745         (struct user_regs_struct): Change intcs field back to cs.
44746
44747 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44748
44749         * po/ja.po: Update from translation team.
44750
44751 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44752
44753         [BZ #12795]
44754         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44755         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44756
44757 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44758
44759         * stdlib/longlong.h: Update from GCC.
44760
44761 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44762
44763         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44764         parameter name.
44765         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44766         Add parameter name.
44767         (__sysconf): Pass it down.
44768
44769 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44770
44771         [BZ #12671]
44772         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44773         some situations.
44774         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44775         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44776         add in in __libc_use_alloca calls.  Adjust callers.
44777         (glob): Use malloc in some situations.
44778
44779         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44780         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44781         pltexit.
44782
44783 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44784
44785         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44786         and CLOCK_BOOTTIME_ALARM.
44787
44788         [BZ #12782]
44789         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44790         is returned.
44791
44792         * string/_strerror.c (__strerror_r): Print negative errors as signed
44793         numbers.
44794
44795         [BZ #12777]
44796         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44797         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44798         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44799
44800         * configure.in: Fix typo in redirection and correct removal of test
44801         files in two cases.
44802
44803         [BZ #12788]
44804         * locale/setlocale.c (new_composite_name): Fix test to check for
44805         identical name of all categories.
44806
44807         [BZ #12792]
44808         * libio/filedoalloc.c (local_isatty): New function.
44809         (_IO_file_doallocate): Use local_isatty.
44810         * stdio-common/perror.c (perror): In case a new stream is used
44811         forward the stream error.
44812         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44813         error flag.
44814
44815 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44816
44817         [BZ #11869]
44818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44819         alloca.
44820         * include/alloca.h (extend_alloca_account): Define.
44821
44822         [BZ #11857]
44823         * posix/regex.h: Fix comments with documentation of user-accessible
44824         fields after compilation and describe correct free'ing of pattern
44825         after re_compile_pattern.
44826         Patch by Reuben Thomas <rrt@sc3d.org>.
44827
44828 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44829
44830         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44831         and -mno-altivec to prevent the compiler from using Altivec and/or
44832         VSX instructions when the corresponding registers are not available.
44833
44834 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44835
44836         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44837
44838 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44839
44840         * libio/freopen.c (freopen): Use __dup2, not dup2.
44841         * libio/freopen64.c (freopen64): Likewise.
44842
44843 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44844
44845         [BZ #12775]
44846         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44847         * math/Makefile (tests): Add test-powl.
44848         (CFLAGS-test-powl.c): Define.
44849         * math/test-powl.c: New file.
44850
44851 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44852
44853         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44854
44855 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44856
44857         [BZ #11837]
44858         * iconvdata/gb18030.c: Update to GB18020-2005.
44859
44860 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44861
44862         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44863         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44864         Patch by Aharon Robbins <arnold@skeeve.com>.
44865
44866         [BZ #11892]
44867         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44868         on the stack.
44869
44870         [BZ #11895]
44871         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44872         through underflows.
44873
44874         [BZ #12766]
44875         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44876         point to strings before performing equality test for error_one_per_line
44877         mode.
44878
44879         [BZ #11697]
44880         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44881
44882         [BZ #11820]
44883         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44884         (struct user_fpregs_struct): Avoid __uint*_t types.
44885
44886         [BZ #6420]
44887         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44888         symbol info.  Use it instead of calling _dl_addr locally.
44889         (lock_and_info): New function.
44890         (tr_freehook): Call lock_and_info and pass symbol info as additional
44891         parameter to tr_where.
44892         (tr_mallochook): Likewise.
44893         (tr_reallochook): Likewise.
44894         (tr_memalignhook): Likewise.
44895
44896         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44897         used and couldn't be at all thread-safe.
44898
44899 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44900
44901         * libio/freopen.c (freopen): Don't close old file descriptor
44902         before the new one is opened.  Instead dup the new file descriptor
44903         to the old one after the new stream is created.
44904         * libio/freopen64.c (freopen64): Likewise.
44905         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44906         * libio/fileops.c (_IO_new_file_close_it): Handle new
44907         _IO_FLAGS2_NOCLOSE flag.
44908         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44909         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44910         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44911         _IO_FLAGS2_NOCLOSE flag.
44912         * include/unistd.h: Add hidden_proto for dup3.
44913         Define __have_dup3.
44914         * io/dup3.c: Define hidden symbol.
44915         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44916
44917         [BZ #7101]
44918         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44919         when an incomplete long option is used.
44920         * posix/tst-getopt_long1.c: New file.
44921         * posix/Makefile (tests): Add tst-getopt_long1.
44922
44923         [BZ #10138]
44924         * scripts/config.guess: Update from autoconf-2.68.
44925         * scripts/config.sub: Likewise.
44926
44927         [BZ #10157]
44928         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44929         tests into ...
44930         (has_cpuclock): ...this.  New function.
44931         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44932         macro here based on has_cpuclock code.
44933
44934         [BZ #10149]
44935         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44936         First byte (not low byte) is now always NUL.
44937         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44938
44939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44940         Use non-cancelable interfaces.
44941
44942         [BZ #9809]
44943         * locale/iso-639.def: Add entry for Sorani.
44944
44945         [BZ #11901]
44946         * include/stdlib.h: Move include protection to the right place.
44947         Define abort_msg_s.  Declare __abort_msg with it.
44948         * stdlib/abort.c (__abort_msg): Adjust type.
44949         * assert/assert.c (__assert_fail_base): New function.  Majority
44950         of code from __assert_fail.  Allocate memory for __abort_msg with
44951         mmap.
44952         (__assert_fail): Now call __assert_fail_base.
44953         * assert/assert-perr.c: Remove bulk of implementation.  Use
44954         __assert_fail_base.
44955         * include/assert.hL Declare __assert_fail_base.
44956         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44957         mmap.
44958         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44959
44960 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44961
44962         [BZ #11952]
44963         [BZ #12453]
44964         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44965         until all modules are registered in the DTV.
44966         * elf/Makefile: Add rules to build and run tst-tls19.
44967         * elf/tst-tls19.c: New file.
44968         * elf/tst-tls19mod1.c: New file.
44969         * elf/tst-tls19mod2.c: New file.
44970         * elf/tst-tls19mod3.c: New file.
44971         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44972
44973         [BZ #12083]
44974         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44975         correctly.
44976
44977         [BZ #12601]
44978         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44979         two-byte sequence errors.
44980         * iconvdata/Makefile (tests): Add bug-iconv8.
44981         * iconvdata/bug-iconv8.c: New file.
44982
44983         [BZ #12626]
44984         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44985         buf2 definition.
44986
44987         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44988
44989         [BZ #12432]
44990         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44991         (dummy_getcfa): New function.
44992         (init): Get _Unwind_GetCFA address, use dummy if not found.
44993         (backtrace_helper): In recursion check, also check whether CFA changes.
44994         (__backtrace): Completely initialize arg.
44995
44996         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44997         storing incomplete byte sequence in state object.  Avoid testing for
44998         guaranteed too small input if we know there is enough data available.
44999
45000 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45001
45002         * Makeconfig (+link-pie): Indent.
45003         * Rules (binaries-pie): Define if $(have-fpie) and
45004         $(build-shared).
45005         (binaries-shared): Also filter out $(binaries-pie).
45006         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45007         * nscd/Makefile (others-pie): Add nscd.
45008         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45009         ($(objpfx)nscd): Remove command override.
45010         * login/Makefile (others-pie): Add pt_chown.
45011         ($(objpfx)pt_chown): Remove command override.
45012         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45013         remove command overrides.
45014
45015 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45016
45017         * libio/tst_putwc.c: Fix error messages.
45018
45019         [BZ #12724]
45020         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45021         currently writing and seek to current position when not.
45022         * libio/Makefile (tests): Add bug-fclose1.
45023         * libio/bug-fclose1.c: New file.
45024
45025 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45026
45027         [BZ #12511]
45028         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45029         don't set DF_1_NODELETE here.
45030         (do_lookup_x): When entering new entry test for copy relocation
45031         and if necessary set DF_1_NODELETE flag.
45032         * elf/tst-unique4.cc: New file.
45033         * elf/tst-unique4.h: New file.
45034         * elf/tst-unique4lib.cc: New file.
45035         * elf/Makefile: Add rules to build and run tst-unique4.
45036         Patch by Piotr Bury <pbury@goahead.com>.
45037
45038 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45039
45040         [BZ #12052]
45041         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45042
45043         [BZ #12625]
45044         * misc/mntent_r.c (addmntent): Flush the stream after the output
45045
45046         [BZ #12393]
45047         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45048         (is_trusted_path_normalize): Skip initial colon.  Append slash
45049         to empty buffer.  Duplicate is_trusted_path code but allow
45050         constructed patch to be prefix.
45051         (is_dst): Allow $ORIGIN followed by /.
45052         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45053         Correct testing of result of is_trusted_path_normalize
45054         (decompose_rpath): Fix warning.
45055
45056 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45057
45058         [BZ #11257]
45059         * grp/initgroups.c (internal_getgrouplist): When we found the service
45060         list through the initgroups entry in nsswitch.conf do not always
45061         continue on a successful lookup.  Don't always use the
45062         __nss_group_database value if it is set.
45063         * nss/nsswitch.conf (initgroups): Change action for successful db
45064         lookup to continue for compatibility.
45065
45066 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45067
45068         [BZ #11532]
45069         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45070         and CP774 modules.
45071         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45072         and CP774 modules.
45073         * iconvdata/tst-tables.sh: Likewise.
45074         * iconvdata/cp770.c: New file.
45075         * iconvdata/cp771.c: New file.
45076         * iconvdata/cp772.c: New file.
45077         * iconvdata/cp773.c: New file.
45078         * iconvdata/cp774.c: New file.
45079         * iconvdata/testdata/CP770: New file.
45080         * iconvdata/testdata/CP770..UTF8: New file.
45081         * iconvdata/testdata/CP771: New file.
45082         * iconvdata/testdata/CP771..UTF8: New file.
45083         * iconvdata/testdata/CP772: New file.
45084         * iconvdata/testdata/CP772..UTF8: New file.
45085         * iconvdata/testdata/CP773: New file.
45086         * iconvdata/testdata/CP773..UTF8: New file.
45087         * iconvdata/testdata/CP774: New file.
45088         * iconvdata/testdata/CP774..UTF8: New file.
45089
45090         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45091         END CHARMAP line.
45092         * iconvdata/gen-8bit-gap.sh: Likewise.
45093         * iconvdata/gen-8bit.sh: Likewise.
45094
45095         * locale/iso-639.def: Add ary entry.
45096
45097         [BZ #11258]
45098         * locale/C-translit.h.in: Add U20A1 transliteration.
45099
45100         [BZ #12178]
45101         * locale/iso-639.def: Add wae entry.
45102         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45103
45104         [BZ #12545]
45105         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45106         for n.
45107
45108         [BZ #12711]
45109         * locale/C-translit.h.in: Add entry for U20B9.
45110         Patch by pravin.d.s@gmail.com.
45111
45112 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45113
45114         [BZ #12713]
45115         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45116         ENAMETOOLONG use generic getcwd.
45117         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45118         in rtld.  Use *stat64.
45119         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45120         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45121         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45122         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45123         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45124         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45125         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45126         __fstatat64 macros.
45127         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45128         * dirent/rewinddir.c: Add libc_hidden_def.
45129         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45130         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45131
45132         * include/dirent.h (__alloc_dir): Add flags parameter.
45133         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45134         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45135         __alloc_dir.
45136         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45137         from fdopendir if O_CLOEXEC is already set.
45138
45139 2011-03-15  Alan Modra  <amodra@gmail.com>
45140
45141         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45142         l_tls_firstbyte_offset non-zero.  Save padding offset in
45143         l_tls_firstbyte_offset for later use.
45144         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45145         freeing static tls block.
45146
45147 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45148
45149         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45150         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45151         being defined by the kernel headers.
45152
45153 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45154
45155         [BZ #12734]
45156         * resolv/resolv.h: Define RES_NOTLDQUERY.
45157         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45158         no-tld-query and set RES_NOTLDQUERY.
45159         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45160         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45161         modern BIND to search name as TLD unless forbidden.
45162
45163 2011-05-07  Petr Baudis  <pasky@suse.cz>
45164             Ulrich Drepper  <drepper@gmail.com>
45165
45166         [BZ #12393]
45167         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45168         (is_trusted_path): ...to here.
45169         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45170         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45171         using is_trusted_path_normalize() in setuid scripts.
45172
45173 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45174
45175         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45176         __BEGIN/__END_DECLS.
45177
45178 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45179
45180         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45181         NSS_STATUS_NOTFOUND if no record was found.
45182
45183 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45184
45185         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45186         (headers-not-in-tirpc): Remove rpc/netdb.h
45187         * resolv/netdb.h: Revert last change.
45188
45189 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45190
45191         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45192         circular dependency between libgcc.a and libc.a.
45193
45194 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45195
45196         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45197         * nis/Makefile: Don't install rpcsvc/*.
45198         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45199         instead of <rpc/types.h>.
45200         (MAXHOSTNAMELEN): Define.
45201
45202 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45203
45204         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45205
45206 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45207
45208         [BZ #12714]
45209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45210         gethostbyname4_r when IPv6 results are possible.
45211
45212 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45213
45214         [BZ #12723]
45215         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45216         _PC_PIPE_BUF handling.
45217
45218 2011-04-30  Bruno Haible  <bruno@clisp.org>
45219
45220         [BZ #12717]
45221         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45222         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45223         to 'int'.
45224         * inet/getnameinfo.c (getnameinfo): Likewise.
45225
45226 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45227
45228         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45229         to groups setting in database lookup.
45230         * nss/nsswitch.conf: Add initgroups entry.
45231
45232 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45233
45234         [BZ #12685]
45235         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45236         mode string.
45237         Patch by Eric Blake <eblake@redhat.com>.
45238
45239 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45240
45241         * sunrpc/Makefile (need-export-routines): Add svc_run.
45242         (routines): Remove svc_run.
45243         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45244         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45245         * sunrpc/svc_run.c (svc_run): Likewise.
45246         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45247
45248 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45249
45250         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45251         problem in reallocation in last patch.
45252
45253 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45254
45255         * sunrpc/Makefile: Move inclusion of Rules.
45256
45257 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45258
45259         * nss/nss_files/files-initgroups.c: New file.
45260         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45261         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45262         _nss_files_initgroups_dyn.
45263
45264 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45265
45266         * elf/elf.h (R_ARM_IRELATIVE): Define.
45267
45268 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45269
45270         * po/ru.po: Update from translation team.
45271
45272 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45273
45274         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45275         dependencies.
45276
45277 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45278
45279         [BZ #12653]
45280         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45281         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45282         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45283         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45284         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45285
45286 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45287
45288         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45289         differing bytes.
45290         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45291         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45293
45294 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45295
45296         [BZ #12420]
45297         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45298         storing it.
45299         * stdlib/bug-getcontext.c: New file.
45300         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45301
45302 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45303
45304         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45305         instructions into .machine "z9-109".
45306         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45307         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45308
45309 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45310
45311         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45312         between environment variables and auxiliary vector.
45313
45314 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45315
45316         * Makefile: Add rules to build linkobj/libc.so.
45317         * include/libc-symbols.h: Define libc_hidden_nolink.
45318         * include/rpc/auth.h: Mark functions which are to be hidden.
45319         * include/rpc/auth_des.h: Likewise.
45320         * include/rpc/auth_unix.h: Likewise.
45321         * include/rpc/clnt.h: Likewise.
45322         * include/rpc/des_crypt.h: Likewise.
45323         * include/rpc/key_prot.h: Likewise.
45324         * include/rpc/pmap_clnt.h: Likewise.
45325         * include/rpc/pmap_prot.h: Likewise.
45326         * include/rpc/pmap_rmt.h: Likewise.
45327         * include/rpc/rpc_msg.h: Likewise.
45328         * include/rpc/svc.h: Likewise.
45329         * include/rpc/svc_auth.h: Likewise.
45330         * include/rpc/xdr.h: Likewise.
45331         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45332         * nss/Makefile: Likewise.
45333         * sunrpc/Makefile: Don't install headers.  Build library with normal
45334         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45335         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45336         for the compat linking library.  Remove use of INTDEF/INTUSE.
45337         * sunrpc/auth_none.c: Likewise.
45338         * sunrpc/auth_unix.c: Likewise.
45339         * sunrpc/authdes_prot.c: Likewise.
45340         * sunrpc/authuxprot.c: Likewise.
45341         * sunrpc/clnt_gen.c: Likewise.
45342         * sunrpc/clnt_perr.c: Likewise.
45343         * sunrpc/clnt_raw.c: Likewise.
45344         * sunrpc/clnt_simp.c: Likewise.
45345         * sunrpc/clnt_tcp.c: Likewise.
45346         * sunrpc/clnt_udp.c: Likewise.
45347         * sunrpc/clnt_unix.c: Likewise.
45348         * sunrpc/des_crypt.c: Likewise.
45349         * sunrpc/des_soft.c: Likewise.
45350         * sunrpc/get_myaddr.c: Likewise.
45351         * sunrpc/key_call.c: Likewise.
45352         * sunrpc/key_prot.c: Likewise.
45353         * sunrpc/netname.c: Likewise.
45354         * sunrpc/pm_getmaps.c: Likewise.
45355         * sunrpc/pm_getport.c: Likewise.
45356         * sunrpc/pmap_clnt.c: Likewise.
45357         * sunrpc/pmap_prot.c: Likewise.
45358         * sunrpc/pmap_prot2.c: Likewise.
45359         * sunrpc/pmap_rmt.c: Likewise.
45360         * sunrpc/publickey.c: Likewise.
45361         * sunrpc/rpc_cmsg.c: Likewise.
45362         * sunrpc/rpc_common.c: Likewise.
45363         * sunrpc/rpc_dtable.c: Likewise.
45364         * sunrpc/rpc_prot.c: Likewise.
45365         * sunrpc/rpc_thread.c: Likewise.
45366         * sunrpc/rtime.c: Likewise.
45367         * sunrpc/svc.c: Likewise.
45368         * sunrpc/svc_auth.c: Likewise.
45369         * sunrpc/svc_authux.c: Likewise.
45370         * sunrpc/svc_raw.c: Likewise.
45371         * sunrpc/svc_run.c: Likewise.
45372         * sunrpc/svc_simple.c: Likewise.
45373         * sunrpc/svc_tcp.c: Likewise.
45374         * sunrpc/svc_udp.c: Likewise.
45375         * sunrpc/svc_unix.c: Likewise.
45376         * sunrpc/svcauth_des.c: Likewise.
45377         * sunrpc/xcrypt.c: Likewise.
45378         * sunrpc/xdr.c: Likewise.
45379         * sunrpc/xdr_array.c: Likewise.
45380         * sunrpc/xdr_float.c: Likewise.
45381         * sunrpc/xdr_intXX_t.c: Likewise.
45382         * sunrpc/xdr_mem.c: Likewise.
45383         * sunrpc/xdr_rec.c: Likewise.
45384         * sunrpc/xdr_ref.c: Likewise.
45385         * sunrpc/xdr_sizeof.c: Likewise.
45386         * sunrpc/xdr_stdio.c: Likewise.
45387
45388 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45389
45390         [BZ #12650]
45391         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45392         * sysdeps/ia64/dl-tls.h: Likewise.
45393         * sysdeps/powerpc/dl-tls.h: Likewise.
45394         * sysdeps/s390/dl-tls.h: Likewise.
45395         * sysdeps/sh/dl-tls.h: Likewise.
45396         * sysdeps/sparc/dl-tls.h: Likewise.
45397         * sysdeps/x86_64/dl-tls.h: Likewise.
45398         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45399
45400 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45401
45402         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45403         rpath element also skip the following colon.
45404         (expand_dynamic_string_token): Add is_path parameter and pass
45405         down to DL_DST_REQUIRED and _dl_dst_substitute.
45406         (decompose_rpath): Call expand_dynamic_string_token with
45407         non-zero is_path.  Ignore empty rpaths.
45408         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45409         with zero is_path.
45410
45411 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45412
45413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45414         Make cancelable.
45415
45416 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45417
45418         [BZ #12655]
45419         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45420         Patch by Filipe David Manana <fdmanana@apache.org>.
45421
45422 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45423
45424         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45425         Maintain aligned stack.
45426         (CHECK_RSP): Remove unused macro.
45427
45428 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45429
45430         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45431         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45432
45433 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45434
45435         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45436
45437         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45438
45439 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45440
45441         [BZ #12518]
45442         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45443         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45444         * sysdeps/x86_64/memmove.c: New file.
45445         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45446         (memcpy): Renamed to ...
45447         (__new_memcpy): This.
45448         (memcpy): Provide GLIBC_2_14 memcpy.
45449         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45450         (memcpy): Provide GLIBC_2_2_5 memcpy.
45451
45452 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45453
45454         [BZ #12631]
45455         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45456
45457 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45458
45459         * misc/syncfs.c: New file.
45460         * misc/Makefile (routines): Add syncfs.
45461         * posix/unistd.h: Declare syncfs.
45462         * sysdeps/unix/syscalls.list: Add syncfs.
45463
45464 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45465
45466         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45467         open_by_handle_at.
45468         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45469         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45471         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45473         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45474         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45475
45476 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45477
45478         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45480         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45484         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45485
45486         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45487         sync_file_range.c with -fexceptions.
45488         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45489         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45490         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45491         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45492         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45493         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45494         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45495         sync_file_range as cancellation point
45496         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45497         now a wrapper around __call_sync_file_range with cancellation handling.
45498         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45499         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45500         function name to __call_sync_file_range.
45501         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45502         Add call_sync_file_range.
45503
45504 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45505
45506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45507         bits/timex.h.
45508
45509 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45510
45511         * iconv/iconv.h: Fix typo in comment.
45512         * io/fcntl.h: Likewise.
45513         * libio/stdio.h: Likewise.
45514         * posix/spawn.h: Likewise.
45515         * posix/unistd.h: Likewise.
45516         * stdlib/stdlib.h: Likewise.
45517         * time/time.h: Likewise.
45518         * wcsmbs/wchar.h: Likewise.
45519
45520         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45521         open_by_handle): Add.
45522         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45523         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45524         Augment a few comments.
45525         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45526         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45527         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45529         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45530         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45531         open_by_handle.
45532
45533         * io/fcntl.h (AT_EMPTY_PATH): Define.
45534
45535 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45536
45537         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45538         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45539         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45540         to...
45541         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45542         * Versions.def: Add GLIBC_2.14.
45543         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45544         Export.
45545
45546 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45547
45548         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45549         round counter.
45550         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45551
45552 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45553
45554         [BZ #12597]
45555         * string/test-strncmp.c (do_page_test): New function.
45556         (check2): Likewise.
45557         (test_main): Call check2.
45558         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45559
45560 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45561
45562         [BZ #12587]
45563         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45564         Handle cache information in CPU leaf 4.
45565         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45566
45567 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45568
45569         [BZ #12583]
45570         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45571         character representation.
45572         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45573
45574 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45575
45576         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45577         END(__isnan) to END(__isnanf) to match function entry point/label
45578         EALIGN(__isnanf,...).
45579
45580 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45581
45582         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45583
45584 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45585
45586         [BZ #12510]
45587         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45588         copy from the symbol referenced in the relocation to initialize the
45589         used variable.
45590         Patch by Piotr Bury <pbury@goahead.com>.
45591         * elf/Makefile: Add rules to build and tst-unique3.
45592         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45593         * elf/tst-unique3.cc: New file.
45594         * elf/tst-unique3.h: New file.
45595         * elf/tst-unique3lib.cc: New file.
45596         * elf/tst-unique3lib2.cc: New file.
45597
45598         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45599
45600 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45601
45602         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45603         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45604         to _start.
45605
45606 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45607
45608         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45609         to-be-loaded object along a path to loader is ld.so.
45610
45611 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45612             Ulrich Drepper  <drepper@gmail.com>
45613
45614         * sysdeps/x86_64/memset.S: After aligning destination, code
45615         branches to different locations depending on the value of
45616         misalignment, when multiarch is enabled. Fix this.
45617
45618 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45619
45620         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45621         Set _x86_64_preferred_memory_instruction for AMD processsors.
45622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45623         Set bit_Prefer_SSE_for_memop for AMD processors.
45624
45625 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45626
45627         * libio/fmemopen.c (fmemopen): Optimize a bit.
45628
45629 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45630
45631         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45632
45633 2011-03-03  Roland McGrath  <roland@redhat.com>
45634
45635         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45636
45637 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45638
45639         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45640         __bzero_ultra1 instead of __memset_ultra1.
45641
45642 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45643             Ulrich Drepper  <drepper@gmail.com>
45644
45645         [BZ #12509]
45646         * include/link.h (struct link_map): Add l_orig_initfini.
45647         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45648         returning unsuccessfully.
45649         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45650         close of a file loaded at startup, restore the original l_initfini
45651         list.
45652         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45653         list, store the pointer.
45654         * elf/Makefile ($(objpfx)noload-mem): New rule.
45655         (noload-ENV): Define.
45656         (tests): Add $(objpfx)noload-mem.
45657         * elf/noload.c: Include <memcheck.h>.
45658         (main): Call mtrace.  Close all opened handles.
45659
45660 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45661
45662         [BZ #12454]
45663         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45664         dependencies are missing.
45665
45666 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45667
45668         Fix __if_freereq crash: Unlike the generic version which uses free,
45669         Hurd needs munmap.
45670         * sysdeps/mach/hurd/ifreq.h: New file.
45671
45672 2011-01-27  Petr Baudis  <pasky@suse.cz>
45673             Ulrich Drepper  <drepper@gmail.com>
45674
45675         [BZ 12445]#
45676         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45677         to extend_alloca().
45678         * stdio-common/bug23.c: New file.
45679         * stdio-common/Makefile (tests): Add bug23.
45680
45681 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45682             Ulrich Drepper  <drepper@gmail.com>
45683
45684         [BZ #12489]
45685         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45686         before performing relro protection.  At old place add assertion
45687         to make sure nothing changed.
45688
45689 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45690             Glauber de Oliveira Costa  <glommer@gmail.com>
45691
45692         * elf/elf.h: Add new ARM TLS relocs.
45693
45694 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45695
45696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45697         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45698         cast from r3.
45699         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45700         'tests' variable.
45701         * sysdeps/wordsize-64/tst-writev.c: New file.
45702
45703 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45704
45705         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45706         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45707         insns in _dl_start to prevent a TOC reference before relocs are
45708         resolved.
45709
45710 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45711
45712         [BZ #12469]
45713         * Makeconfig: Remove RANLIB definition.
45714         * Makerules: Don't use RANLIB.
45715         * aclocal.m4: Remove ranlib test.
45716         * configure.in: No need to check for ranlib.
45717         * elf/rtld-Rules: Don't use RANLIB.
45718
45719 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45720
45721         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45722         protection macro.
45723         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45724         inclusion protection macro.
45725
45726         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45727         SIGRTMIN and SIGRTMAX and print information in that case only when
45728         SIGRTMIN is defined.
45729
45730 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45731
45732         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45733         arginfo fn returning -1.
45734
45735         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45736         and thousands string is zero terminated.
45737
45738 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45739
45740         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45741         sysdeps/unix/sysv/linux/bits/socket.h.
45742
45743 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45744
45745         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45746         (__CPU_COUNT): Remove old macros.
45747         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45748         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45749         (__CPU_ALLOC, __CPU_FREE): Add macros.
45750         (__sched_cpualloc, __sched_cpufree): Add declarations.
45751
45752 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45753
45754         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45755         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45756         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45757         (readdhstai): Return value of addhstaiX call.
45758         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45759         (addgrbyX): Return value returned by cache_addgr.
45760         (readdgrbyname): Return value returned by addgrbyX.
45761         (readdgrbygid): Likewise.
45762         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45763         (addpwbyX): Return value returned by cache_addpw.
45764         (readdpwbyname): Return value returned by addhstbyX.
45765         (readdpwbyuid): Likewise.
45766         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45767         (addservbyX): Return value returned by cache_addserv.
45768         (readdservbyname): Return value returned by addservbyX:
45769         (readdservbyport): Likewise.
45770         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45771         (addhstbyX): Return value returned by cache_addhst.
45772         (readdhstbyname): Return value returned by addhstbyX.
45773         (readdhstbyaddr): Likewise.
45774         (readdhstbynamev6): Likewise.
45775         (readdhstbyaddrv6): Likewise.
45776         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45777         (readdinitgroups): Return value returned by addinitgroupsX.
45778         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45779         (prune_cache): Keep track of timeout value of re-added entries.
45780         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45781         * nscd/nscd.h: Adjust prototypes of readd* functions.
45782
45783 2011-02-04  Roland McGrath  <roland@redhat.com>
45784
45785         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45786         (nis_stats): Likewise.
45787         * nis/nis_modify.c (nis_modify): Likewise.
45788         * nis/nis_remove.c (nis_remove): Likewise.
45789         * nis/nis_add.c (nis_add): Likewise.
45790
45791         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45792
45793         * posix/fnmatch_loop.c: Add some consts.
45794
45795         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45796
45797 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45798
45799         [BZ #12460]
45800         * config.make.in (config-cflags-novzeroupper): Define.
45801         * configure.in: Substitute libc_cv_cc_novzeroupper.
45802         * elf/Makefile (AVX-CFLAGS): Define.
45803         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45804         (CFLAGS-tst-auditmod4a.c): Likewise.
45805         (CFLAGS-tst-auditmod4b.c): Likewise.
45806         (CFLAGS-tst-auditmod6b.c): Likewise.
45807         (CFLAGS-tst-auditmod6c.c): Likewise.
45808         (CFLAGS-tst-auditmod7b.c): Likewise.
45809         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45810
45811 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45812
45813         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45814         function to the callback.
45815         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45816
45817 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45818
45819         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45820         of errno.
45821
45822 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45823
45824         [BZ #11724]
45825         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45826         of constructors.
45827         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45828         of destructors.
45829         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45830
45831         [BZ #11724]
45832         * elf/Makefile: Add rules to build and run new test.
45833         * elf/tst-initorder.c: New file.
45834         * elf/tst-initorder.exp: New file.
45835         * elf/tst-initordera1.c: New file.
45836         * elf/tst-initordera2.c: New file.
45837         * elf/tst-initordera3.c: New file.
45838         * elf/tst-initordera4.c: New file.
45839         * elf/tst-initorderb1.c: New file.
45840         * elf/tst-initorderb2.c: New file.
45841         * elf/tst-order-a1.c: New file.
45842         * elf/tst-order-a2.c: New file.
45843         * elf/tst-order-a3.c: New file.
45844         * elf/tst-order-a4.c: New file.
45845         * elf/tst-order-b1.c: New file.
45846         * elf/tst-order-b2.c: New file.
45847         * elf/tst-order-main.c: New file.
45848         New test case by George Gensure <werkt0@gmail.com>.
45849
45850 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45851
45852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45853         decoding ACE if AI_CANONIDN.
45854
45855 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45856
45857         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45858
45859 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45860
45861         * version.h (RELEASE): Bump for 2.13 release.
45862         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45863
45864         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45865
45866         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45867         MADV_NOHUGEPAGE.
45868         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45869         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45870         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45871         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45872         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45873         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45874
45875         * posix/getconf.c: Update copyright year.
45876         * catgets/gencat.c: Likewise.
45877         * csu/version.c: Likewise.
45878         * debug/catchsegv.sh: Likewise.
45879         * debug/xtrace.sh: Likewise.
45880         * elf/ldconfig.c: Likewise.
45881         * elf/ldd.bash.in: Likewise.
45882         * elf/sprof.c (print_version): Likewise.
45883         * iconv/iconv_prog.c: Likewise.
45884         * iconv/iconvconfig.c: Likewise.
45885         * locale/programs/locale.c: Likewise.
45886         * locale/programs/localedef.c: Likewise.
45887         * malloc/memusage.sh: Likewise.
45888         * malloc/mtrace.pl: Likewise.
45889         * nscd/nscd.c (print_version): Likewise.
45890         * nss/getent.c: Likewise.
45891
45892         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45893         PF_CAIF, and PF_ALG.
45894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45895
45896 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45897
45898         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45899         (modules-names): Use them.
45900         (ifunc-test-modules, ifunc-pie-tests): Define.
45901         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45902         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45903         (test-extras): Likewise.
45904         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45905         $(compile-command.c).
45906         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45907         (all-built-dso): Define.
45908         (check-textrel.out, check-execstack.out): Depend on it.
45909
45910         * configure.in: Don't override --enable-multi-arch.
45911
45912 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45913
45914         [BZ #6812]
45915         * nscd/hstcache.c (tryagain): Define.
45916         (cache_addhst): Return tryagain not notfound for temporary errors.
45917         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45918         failed.
45919
45920 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45921
45922         [BZ #10563]
45923         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45924         to make the syscall.
45925         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45926
45927         [BZ #12378]
45928         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45929         and fall back to matching as normal character if the string ends before
45930         the matching ']' is found.  This is what POSIX requires.
45931         * posix/testfnm.c: Adjust test result.
45932         * posix/globtest.sh: Adjust test result.  Add new test.
45933         * posix/tst-fnmatch.input: Likewise.
45934         * posix/tst-fnmatch2.c: Add new test.
45935
45936 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45937
45938         * elf/Makefile (check-execstack): Revert last change.  Depend on
45939         check-execstack.h.
45940         (check-execstack.h): New target.
45941         (generated): Add check-execstack.h.
45942         * elf/check-execstack.c: Include "check-execstack.h".
45943         (main): Revert last change.
45944         (handle_file): Return zero if GNU_STACK is absent and
45945         DEFAULT_STACK_PERMS doesn't include PF_X.
45946
45947 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45948
45949         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45950         in child fails because the descriptor is already closed.
45951         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45952         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45953         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45954
45955         [BZ #12397]
45956         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45957         syscall.
45958
45959         [BZ #10484]
45960         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45961         temporary buffer used to handle multi lookups locally.
45962         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45963
45964 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45965
45966         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45967         loader is ld.so.
45968
45969 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45970
45971         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45972         alignment for SSE2.
45973
45974 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45975
45976         [BZ #12394]
45977         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45978         characters.  When rounding increased number of integer digits recompute
45979         number of groups.
45980         * stdio-common/tst-grouping.c: New file.
45981         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45982
45983 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45984
45985         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45986         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45987
45988         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45989         void.
45990         * bits/select.h: Likewise.
45991
45992 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45993
45994         * po/ja.po: Update from translation team.
45995
45996 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45997
45998         [BZ #11155]
45999         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46000         implementation just like for lxstat, fxstatat, et al.
46001
46002 2010-12-27  Jim Meyering  <meyering@redhat.com>
46003
46004         [BZ #12348]
46005         * posix/regexec.c (build_trtable): Return failure indication upon
46006         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46007
46008 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46009
46010         [BZ #12201]
46011         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46012         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46013         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46014         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46015
46016         [BZ #12207]
46017         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46018
46019         [BZ #12204]
46020         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46021         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46022
46023 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46024
46025         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46026         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46027         script has SORT_BY_INIT_PRIORITY.
46028         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46029         NO_CTORS_DTORS_SECTIONS is defined.
46030         * elf/soinit.c: Likewise.
46031         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46032         NO_CTORS_DTORS_SECTIONS is defined.
46033         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46034         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46035         * sysdeps/sh/init-first.c: Likewise.
46036         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46037
46038 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46039
46040         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46041         always use the slow path.
46042
46043 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46044
46045         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46046         similar rule which adds the sysdep directories to the header search in
46047         order to pick up the correct platform stackinfo.h.
46048         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46049         perform test if it is, otherwise return successfully without testing.
46050         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46051         DEFAULT_STACK_PERMS define in stackinfo.h.
46052         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46053         defined in stackinfo.h.
46054         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46055         DEFAULT_STACK_PERMS defined in stackinfo.h.
46056         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46057         * sysdeps/ia64/stackinfo.h: Likewise.
46058         * sysdeps/s390/stackinfo.h: Likewise.
46059         * sysdeps/sh/stackinfo.h: Likewise.
46060         * sysdeps/sparc/stackinfo.h: Likewise.
46061         * sysdeps/x86_64/stackinfo.h: Likewise.
46062         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46063         PF_X for powerpc64.  Retain PF_X for powerpc32.
46064
46065 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46066
46067         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46068         accurately.
46069         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46070         GETDENTS_64BIT_ALIGNED.
46071
46072 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46073
46074         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46075
46076 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46077
46078         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46079         _GNU_SOURCE.
46080
46081         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46082         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46083         Remove __restrict.
46084         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46085         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46086
46087 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46088
46089         [BZ #11655]
46090         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46091         are initialized.
46092
46093 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46094
46095         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46096
46097 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46098
46099         * po/it.po: Update from translation team.
46100
46101 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46102
46103         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46104         unused codes.
46105
46106 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46107
46108         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46109
46110 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46111
46112         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46113         specially.
46114         (gaih_getanswer_slice): Likewise.
46115
46116 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46117
46118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46119
46120 2010-05-31  Petr Baudis  <pasky@suse.cz>
46121
46122         [BZ #11149]
46123         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46124         silently even in the chroot mode.
46125
46126 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46127
46128         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46129         last patch a bit.  Pretty printing
46130
46131 2010-05-31  Petr Baudis <pasky@suse.cz>
46132
46133         [BZ #10085]
46134         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46135         initialization of skip_initgroups_dyn.
46136
46137 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46138
46139         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46140         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46141
46142 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46143
46144         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46145
46146 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46147
46148         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46149         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46150         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46151         ($(objpfx)tst-fnmatch-mem): New rule.
46152         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46153         * posix/tst-fnmatch.c (main): Call mtrace.
46154
46155 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46156
46157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46158         Support Intel processor model 6 and model 0x2c.
46159
46160 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46161
46162         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46163           signed comparison.
46164
46165 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46166
46167         [BZ #12205]
46168         * string/test-strncasecmp.c (check_result): New function.
46169         (do_one_test): Use it.
46170         (check1): New function.
46171         (test_main): Use it.
46172         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46173         Support strcasecmp and strncasecmp.
46174
46175 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46176
46177         [BZ #12194]
46178         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46179         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46180
46181 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46182
46183         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46184         IFUNC support.
46185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46186         memset-x86-64.
46187         * sysdeps/x86_64/multiarch/bzero.S: New file.
46188         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46189         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46190         * sysdeps/x86_64/multiarch/memset.S: New file.
46191         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46193         Set bit_Prefer_SSE_for_memop for Intel processors.
46194         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46195         Define.
46196         (index_Prefer_SSE_for_memop): Define.
46197         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46198
46199 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46200
46201         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46202         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46203
46204 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46205
46206         [BZ #12191]
46207         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46208         (__x86_64_raw_data_cache_size_half): Likewise.
46209         (__x86_64_raw_shared_cache_size): Likewise.
46210         (__x86_64_raw_shared_cache_size_half): Likewise.
46211
46212         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46213         (__x86_64_raw_data_cache_size_half): Likewise.
46214         (__x86_64_raw_shared_cache_size): Likewise.
46215         (__x86_64_raw_shared_cache_size_half): Likewise.
46216         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46217         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46218         and __x86_64_raw_shared_cache_size_half.  Round
46219         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46220         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46221         to multiple of 256 bytes.
46222
46223 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46224
46225         [BZ #12167]
46226         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46227         of inacessible symlinks.  Verify result of symlink before returning it.
46228         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46229         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46230
46231 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46232
46233         * math/math.h (isinf): Fix typo in comment.
46234
46235 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46236
46237         * po/da.po: Update from translation team.
46238
46239 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46240
46241         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46242         is added to the list.
46243
46244 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46245             Ulrich Drepper  <drepper@gmail.com>
46246
46247         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46248         the global list here.  Move code to...
46249         (_dl_add_to_namespace_list): ...here.  New function.
46250         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46251         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46252         * elf/dl-load.c (lose): Don't remove the element from the list.
46253         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46254         (_dl_map_object): Likewise.
46255
46256 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46257
46258         [BZ #12159]
46259         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46260         into all bytes of SSE register.
46261         Patch by Richard Li <richardpku@gmail.com>.
46262
46263 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46264
46265         [BZ #12140]
46266         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46267         perturbing.
46268
46269 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46270
46271         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46272         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46273         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46274         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46276         submachine.
46277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46278
46279 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46280
46281         * include/dlfcn.h (__RTLD_SECURE): Define.
46282         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46283         mode & __RTLD_SECURE instead.
46284         (open_path): Rename preloaded parameter to secure.
46285         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46286         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46287         * elf/dl-deps.c (openaux): Likewise.
46288         * elf/rtld.c (struct map_args): Remove is_preloaded.
46289         (map_doit): Don't use it.
46290         (dl_main): Likewise.
46291         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46292         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46293
46294 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46295
46296         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46297         (sysd-rules-targets): Remove duplicates.
46298         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46299         rtld-%.$o dependency.
46300
46301 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46302
46303         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46304         _dl_map_object do it.
46305
46306 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46307
46308         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46309         fast fma builtins, define the macros in the C99 standard.
46310         (FP_FAST_FMAF): Likewise.
46311         (FP_FAST_FMAL): Likewise.
46312         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46313
46314         * bits/mathdef.h: Update copyright year.
46315         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46316
46317 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46318
46319         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46320         builtins, define the macros in the C99 standard.
46321         (FP_FAST_FMAF): Likewise.
46322         (FP_FAST_FMAL): Likewise.
46323         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46324         multiply/add.
46325         (FP_FAST_FMAF): Likewise.
46326
46327 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46328
46329         [BZ #3268]
46330         * math/libm-test.inc (fma_test): Some new testcases.
46331         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46332         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46333         y and infinite z.  Do multiplication by C already in long double.
46334         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46336         y and infinite z.  Do bitwise or of inexact bit into u.d.
46337         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46338         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46339         * sysdeps/i386/fpu/s_fma.S: Removed.
46340         * sysdeps/i386/fpu/s_fmal.S: Removed.
46341
46342 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46343
46344         [BZ #3268]
46345         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46347         computation is not scheduled after fetestexcept.  Fix value
46348         of minimum denormal long double.
46349
46350 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46351
46352         [BZ #3268]
46353         * math/libm-test.inc (fma_test): Add some more tests.
46354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46355         correctly.
46356
46357 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46358
46359         * scripts/data/localplt-s390-linux-gnu.data: New file.
46360         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46361
46362 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46363
46364         [BZ #3268]
46365         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46366         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46367         instead of dbl-64.
46368         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46369         inlines.
46370         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46372         if one of x and y is very large and the other is subnormal.
46373         * sysdeps/s390/fpu/s_fmaf.c: New file.
46374         * sysdeps/s390/fpu/s_fma.c: New file.
46375         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46376         * sysdeps/powerpc/fpu/s_fma.S: New file.
46377         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46378         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46379         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46380
46381 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46382
46383         [BZ #3268]
46384         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46385         fma tests.
46386         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46387         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46388         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46389         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46390         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46391         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46392         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46393
46394 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46395
46396         [BZ #12078]
46397         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46398         * posix/bug-regex31.input: Add test case.
46399
46400 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46401
46402         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46403         * posix/bug-regex31.input: New file.
46404
46405         [BZ #12078]
46406         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46407         (parse_sub_exp): Fix last change, use postorder.
46408
46409         * posix/bug-regex31.c: New file.
46410         * posix/Makefile: Add rules to build and run bug-regex31.
46411
46412         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46413
46414         [BZ #12078]
46415         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46416
46417         [BZ #12108]
46418         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46419         to have entries in sys_siglist.
46420
46421         [BZ #12093]
46422         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46423         be NULL.
46424
46425 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46426
46427         [BZ #3268]
46428         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46429         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46430         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46431         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46432         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46433         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46434         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46435         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46436         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46437         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46438         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46439         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46440         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46441         * math/ftestexcept.c (fetestexcept): Likewise.
46442         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46443         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46444         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46445         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46446         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46447         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46448         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46449
46450 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46451
46452         [BZ #12107]
46453         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46454         newline.
46455
46456 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46457
46458         * string/bug-strstr1.c: New file.
46459         * string/Makefile: Add rules to build and run bug-strstr1.
46460
46461 2010-10-05  Eric Blake  <eblake@redhat.com>
46462
46463         [BZ #12092]
46464         * string/str-two-way.h (two_way_long_needle): Always clear memory
46465         when skipping input due to the shift table.
46466
46467 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46468
46469         [BZ #12005]
46470         * malloc/mcheck.c: Handle large requests.
46471
46472         [BZ #12077]
46473         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46474         for strncmp and strncasecmp.
46475         * string/stratcliff.c: Add tests for strcmp and strncmp.
46476         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46477
46478 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46479
46480         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46481         __set_fpscr.
46482
46483 2010-09-30  Andreas Jaeger  <aj@suse.de>
46484
46485         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46486         (CGROUP_SUPER_MAGIC): Define.
46487         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46488         Handle btrfs and cgroup file systems.
46489         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46490         Likewise.
46491
46492 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46493
46494         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46495         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46496
46497 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46498
46499         [BZ #12067]
46500         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46501         trying to locate the ELF header.
46502
46503 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46504
46505         [BZ #11611]
46506         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46507         Mask out sign-bit copies when constructing f_fsid.
46508
46509 2010-09-24  Petr Baudis <pasky@suse.cz>
46510
46511         * debug/stack_chk_fail_local.c: Add missing licence exception.
46512         * debug/warning-nop.c: Likewise.
46513
46514 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46515
46516         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46517         implementing getdents64 using getdents syscall, set d_type if
46518         __ASSUME_GETDENTS32_D_TYPE.
46519
46520 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46521
46522         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46523         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46524
46525 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46526
46527         [BZ #12037]
46528         * posix/unistd.h: Undo change of feature selection for ftruncate from
46529         2010-01-11.
46530
46531 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46532
46533         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46534         detection.
46535
46536 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46537
46538         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46539         fanotify_mark.
46540         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46541
46542 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46543
46544         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46545         variables after CHECK_SP call.
46546         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46547
46548 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46549             Ulrich Drepper  <drepper@redhat.com>
46550
46551         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46552         re-relocationg ld.so.
46553         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46554         _dl_init_paths call.
46555         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46556         here anymore.
46557
46558 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46559
46560         * resolv/res_init.c (__res_vinit): Count the default server we added.
46561
46562 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46563             Ulrich Drepper  <drepper@redhat.com>
46564
46565         [BZ #11968]
46566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46567         (____longjmp_chk): Use %ebx for saving value across system call.
46568         Add unwind info.
46569
46570 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46571
46572         * manual/Makefile: Don't mix pattern rules with normal rules.
46573
46574 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46575
46576         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46577         operation.
46578         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46579         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46580         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46581         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46583         Likewise.
46584
46585 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46586
46587         [BZ #11979]
46588         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46589         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46590
46591 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46592
46593         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46594         * sysdeps/x86_64/addmul_1.S: Likewise.
46595         * sysdeps/x86_64/lshift.S: Likewise.
46596         * sysdeps/x86_64/mul_1.S: Likewise.
46597         * sysdeps/x86_64/rshift.S: Likewise.
46598         * sysdeps/x86_64/sub_n.S: Likewise.
46599         * sysdeps/x86_64/submul_1.S: Likewise.
46600
46601 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46602
46603         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46604         Define __sched_param instead of SCHED_* and sched_param when
46605         <bits/sched.h> is included with __need_schedparam defined.
46606         * bits/sched.h [__need_schedparam]
46607         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46608         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46609         (__defined_schedparam): Define to 1.
46610         (__sched_param): New structure, identical to sched_param.
46611         (__need_schedparam): Undefine.
46612
46613 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46614
46615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46616         (epoll_create1): Declare.
46617
46618         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46619
46620 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46621
46622         [BZ #7066]
46623         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46624         shifting retval into place.
46625
46626 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46627
46628         * nis/rpcsvc/nis.h: Update copyright notice.
46629         * nis/rpcsvc/nis.x: Likewise.
46630         * nis/rpcsvc/nis_callback.h: Likewise.
46631         * nis/rpcsvc/nis_callback.x: Likewise.
46632         * nis/rpcsvc/nis_object.x: Likewise.
46633         * nis/rpcsvc/nis_tags.h: Likewise.
46634         * nis/rpcsvc/yp.h: Likewise.
46635         * nis/rpcsvc/yp.x: Likewise.
46636         * nis/rpcsvc/ypupd.h: Likewise.
46637         * nis/yp_xdr.c: Likewise.
46638         * nis/ypupdate_xdr.c: Likewise.
46639
46640         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46641         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46642         (pmap_getport): Use __libc_rpc_getport.
46643         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46644         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46645         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46646
46647 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46648
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46650         fanotify_mark.
46651
46652 2010-08-27  Roland McGrath  <roland@redhat.com>
46653
46654         * sysdeps/i386/i686/multiarch/Makefile
46655         (CFLAGS-varshift.c): New variable.
46656
46657 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46658
46659         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46660         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46661
46662         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46663
46664         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46665
46666 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46667
46668         * sysdeps/x86_64/strlen.S: Unroll the loop.
46669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46670         strlen-sse2 strlen-sse2-bsf.
46671         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46672         __strlen_no_bsf if bit_Slow_BSF is set.
46673         (__strlen_sse42): Removed.
46674         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46675         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46676
46677 2010-08-25  Roland McGrath  <roland@redhat.com>
46678
46679         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46680         * sysdeps/x86_64/multiarch/varshift.c: New file.
46681         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46682         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46683         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46684         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46685
46686 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46687
46688         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46689         strlen-sse2 strlen-sse2-bsf.
46690         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46691         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46692         (__strlen_sse2): Removed.
46693         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46694         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46696         bit_Slow_BSF for Atom.
46697         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46698         (index_Slow_BSF): Define.
46699         (HAS_SLOW_BSF): Define.
46700
46701 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46702
46703         [BZ #10851]
46704         * resolv/res_init.c (__res_vinit): When no server address at all
46705         is given default to loopback.
46706
46707 2010-08-24  Roland McGrath  <roland@redhat.com>
46708
46709         * configure.in: Remove config-name.h generation.
46710         * configure: Regenerated.
46711         * config-name.in: File removed.
46712         * scripts/config-uname.sh: New file.
46713         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46714         ($(objdir)config-name.h): New target.
46715
46716         * sunrpc/rpc_parse.h: Avoid nested comment.
46717
46718 2010-08-24  Richard Henderson  <rth@redhat.com>
46719             Ulrich Drepper  <drepper@redhat.com>
46720             H.J. Lu  <hongjiu.lu@intel.com>
46721
46722         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46724         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46725         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46726         _mm_alignr_epi8 with _mm_loadu_si128.
46727         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46728         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46729         (__m128i_shift_right): Removed.
46730         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46731         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46732         * sysdeps/x86_64/multiarch/varshift.h: New file.
46733         * sysdeps/x86_64/multiarch/varshift.S: New file.
46734
46735 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46736
46737         * configure.in: Move assembler checks to before sysdep dir checking.
46738
46739 2010-08-20  Petr Baudis  <pasky@suse.cz>
46740
46741         * LICENSES: Sync the sunrpc license.
46742
46743 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46744
46745         * sunrpc/auth_des.c: Update copyright notice once again.
46746         * sunrpc/auth_none.c: Likewise.
46747         * sunrpc/auth_unix.c: Likewise.
46748         * sunrpc/authdes_prot.c: Likewise.
46749         * sunrpc/authuxprot.c: Likewise.
46750         * sunrpc/bindrsvprt.c: Likewise.
46751         * sunrpc/clnt_gen.c: Likewise.
46752         * sunrpc/clnt_perr.c: Likewise.
46753         * sunrpc/clnt_raw.c: Likewise.
46754         * sunrpc/clnt_simp.c: Likewise.
46755         * sunrpc/clnt_tcp.c: Likewise.
46756         * sunrpc/clnt_udp.c: Likewise.
46757         * sunrpc/clnt_unix.c: Likewise.
46758         * sunrpc/des_crypt.c: Likewise.
46759         * sunrpc/des_soft.c: Likewise.
46760         * sunrpc/get_myaddr.c: Likewise.
46761         * sunrpc/getrpcport.c: Likewise.
46762         * sunrpc/key_call.c: Likewise.
46763         * sunrpc/key_prot.c: Likewise.
46764         * sunrpc/openchild.c: Likewise.
46765         * sunrpc/pm_getmaps.c: Likewise.
46766         * sunrpc/pm_getport.c: Likewise.
46767         * sunrpc/pmap_clnt.c: Likewise.
46768         * sunrpc/pmap_prot.c: Likewise.
46769         * sunrpc/pmap_prot2.c: Likewise.
46770         * sunrpc/pmap_rmt.c: Likewise.
46771         * sunrpc/rpc/auth.h: Likewise.
46772         * sunrpc/rpc/auth_unix.h: Likewise.
46773         * sunrpc/rpc/clnt.h: Likewise.
46774         * sunrpc/rpc/des_crypt.h: Likewise.
46775         * sunrpc/rpc/key_prot.h: Likewise.
46776         * sunrpc/rpc/netdb.h: Likewise.
46777         * sunrpc/rpc/pmap_clnt.h: Likewise.
46778         * sunrpc/rpc/pmap_prot.h: Likewise.
46779         * sunrpc/rpc/pmap_rmt.h: Likewise.
46780         * sunrpc/rpc/rpc.h: Likewise.
46781         * sunrpc/rpc/rpc_des.h: Likewise.
46782         * sunrpc/rpc/rpc_msg.h: Likewise.
46783         * sunrpc/rpc/svc.h: Likewise.
46784         * sunrpc/rpc/svc_auth.h: Likewise.
46785         * sunrpc/rpc/types.h: Likewise.
46786         * sunrpc/rpc/xdr.h: Likewise.
46787         * sunrpc/rpc_clntout.c: Likewise.
46788         * sunrpc/rpc_cmsg.c: Likewise.
46789         * sunrpc/rpc_common.c: Likewise.
46790         * sunrpc/rpc_cout.c: Likewise.
46791         * sunrpc/rpc_dtable.c: Likewise.
46792         * sunrpc/rpc_hout.c: Likewise.
46793         * sunrpc/rpc_main.c: Likewise.
46794         * sunrpc/rpc_parse.c: Likewise.
46795         * sunrpc/rpc_parse.h: Likewise.
46796         * sunrpc/rpc_prot.c: Likewise.
46797         * sunrpc/rpc_sample.c: Likewise.
46798         * sunrpc/rpc_scan.c: Likewise.
46799         * sunrpc/rpc_scan.h: Likewise.
46800         * sunrpc/rpc_svcout.c: Likewise.
46801         * sunrpc/rpc_tblout.c: Likewise.
46802         * sunrpc/rpc_util.c: Likewise.
46803         * sunrpc/rpc_util.h: Likewise.
46804         * sunrpc/rpcinfo.c: Likewise.
46805         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46806         * sunrpc/rpcsvc/key_prot.x: Likewise.
46807         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46808         * sunrpc/rpcsvc/mount.x: Likewise.
46809         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46810         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46811         * sunrpc/rpcsvc/rex.x: Likewise.
46812         * sunrpc/rpcsvc/rstat.x: Likewise.
46813         * sunrpc/rpcsvc/rusers.x: Likewise.
46814         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46815         * sunrpc/rpcsvc/spray.x: Likewise.
46816         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46817         * sunrpc/rtime.c: Likewise.
46818         * sunrpc/svc.c: Likewise.
46819         * sunrpc/svc_auth.c: Likewise.
46820         * sunrpc/svc_authux.c: Likewise.
46821         * sunrpc/svc_raw.c: Likewise.
46822         * sunrpc/svc_run.c: Likewise.
46823         * sunrpc/svc_simple.c: Likewise.
46824         * sunrpc/svc_tcp.c: Likewise.
46825         * sunrpc/svc_udp.c: Likewise.
46826         * sunrpc/svc_unix.c: Likewise.
46827         * sunrpc/svcauth_des.c: Likewise.
46828         * sunrpc/xcrypt.c: Likewise.
46829         * sunrpc/xdr.c: Likewise.
46830         * sunrpc/xdr_array.c: Likewise.
46831         * sunrpc/xdr_float.c: Likewise.
46832         * sunrpc/xdr_mem.c: Likewise.
46833         * sunrpc/xdr_rec.c: Likewise.
46834         * sunrpc/xdr_ref.c: Likewise.
46835         * sunrpc/xdr_sizeof.c: Likewise.
46836         * sunrpc/xdr_stdio.c: Likewise.
46837
46838         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46839         handling.
46840
46841 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46842
46843         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46844
46845 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46846
46847         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46848         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46849         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46850         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46851         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46852         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46853         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46854         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46855         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46856         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46857         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46858         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46859         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46860         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46861
46862 2010-07-26  Anton Blanchard  <anton@samba.org>
46863
46864         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46865         * malloc/arena.c (heap_trim): Likewise.
46866
46867 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46868
46869         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46870         here.  Not...
46871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46872         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46873
46874 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46875
46876         * sysdeps/i386/elf/Makefile: New file.
46877
46878 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46879
46880         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46881         from fanotify_init.
46882         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46883         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46884
46885 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46886
46887         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46888         of strncasecmp_l.
46889         * sysdeps/multiarch/strcmp.S: Likewise.
46890
46891 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46892
46893         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46894         strncase_l-nonascii.
46895         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46896         Add strncase_l-ssse3.
46897         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46898         * sysdeps/x86_64/strcmp.S: Likewise.
46899         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46900         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46901         * sysdeps/x86_64/strncase.S: New file.
46902         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46903         * sysdeps/x86_64/strncase_l.S: New file.
46904         * string/Makefile (strop-tests): Add strncasecmp.
46905         * string/test-strncasecmp.c: New file.
46906
46907         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46908         warning.
46909
46910         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46911         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46912
46913 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46914
46915         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46916
46917 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46918
46919         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46920         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46921         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46922
46923 2010-05-01  Alan Modra  <amodra@gmail.com>
46924
46925         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46926         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46927         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46928         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46929         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46930         tidying.  Don't tail-call __sigjmp_save for static lib.
46931         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46932         save location.
46933         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46934         (CALL_MCOUNT): Add eh info, and nop after bl.
46935         (TAIL_CALL_SYSCALL_ERROR): New macro.
46936         (PSEUDO_RET): Use it.
46937         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46938         Correct save location of integer regs and cr.
46939         (_dl_profile_resolve): Correct cr save location.  Delete nops
46940         after bl when SHARED.  Reduce cfi size a little by better
46941         placement of cfi directives.
46942         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46943         make a stack frame.  Instead use parm save area as a temp.
46944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46945         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46947         Don't make a stack frame for parent, use parm save area.
46948         Increase child stack frame to 112 bytes.  Don't save unused reg,
46949         and adjust reg usage.  Set up cfi on error recovery and
46950         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46952         (__makecontext): Add dummy nop after jump to exit.
46953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46954         Use correct parm save area and cr save, reduce stack frame.
46955         Correct cfi for possible PSEUDO_RET frame setup.
46956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46957         Branch to local label emitted by PSEUDO_RET rather than
46958         __syscall_error.
46959
46960 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46961
46962         [BZ #11904]
46963         * locale/programs/locale.c (print_assignment): New function.
46964         (show_locale_vars): Use it.
46965
46966 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46967
46968         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46969         field.
46970         (struct statfs64): Likewise.
46971         (_STATFS_F_FLAGS): Define.
46972         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46973         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46974         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46975         (ST_VALID): Define locally.
46976         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46977         __statvfs_getflags, use the provided value.
46978         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46979         __ASSUME_STATFS_F_FLAGS.
46980
46981         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46982
46983         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46984         Add sys/fanotify.h.
46985         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46986         fanotify_mask for GLIBC_2.13.
46987         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46988         fanotify_init and fanotify_mark.
46989         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46990         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46991
46992         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46993         Add prlimit.
46994         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46995         prlimit64 for GLIBC_2.13.
46996         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46997         prlimit64.
46998         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46999         syscall.
47000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47001         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47002         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47003         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47004         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47005         add prlimit alias.
47006         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47007
47008         [BZ #11903]
47009         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47010         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47011
47012         * nss/Makefile: Add rules to build and run tst-nss-test1.
47013         * shlib-versions: Add entry for libnss_test1.
47014         * nss/nss_test1.c: New file.
47015         * nss/tst-nss-test1.c: New file.
47016
47017         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47018         (__nss_configure_lookup): Set appropriate entry in
47019         __nss_configure_lookup to true.
47020         * nss/nsswitch.h: Define enum with indeces of databases in
47021         databases and __nss_database_custom arrays.  Declare
47022         __nss_database_custom.
47023         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47024         to avoid using nscd when custom rules are installed.
47025         * nss/getXXbyYY_r.c: Likewise.
47026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47027
47028         * nss/nss_files/files-parse.c: Whitespace fixes.
47029
47030 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47031
47032         [BZ #11883]
47033         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47034         * posix/fnmatch_loop.c: Likewise.
47035
47036 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47037
47038         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47039         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47040         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47041         * Versions.def [GLIBC_2.13]: Add.
47042
47043 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47044
47045         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47046         Also fail if tpwd after pwuid call is NULL.
47047
47048 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47049
47050         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47051         when converting to ms.
47052
47053 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47054
47055         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47056         EOPNOTSUPP errors with ENOTTY.
47057         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47058         EOPNOTSUPP errors with ENOTTY.
47059
47060 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47061
47062         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47063         Add strcasecmp_l-ssse3.
47064         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47065         strcasecmp.
47066         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47067         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47068         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47069
47070 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47071
47072         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47073
47074         * string/Makefile (strop-tests): Add strcasecmp.
47075         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47076         strcasecmp_l-nonascii.
47077         (gen-as-const-headers): Add locale-defines.sym.
47078         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47079         * sysdeps/x86_64/strcasecmp.S: New file.
47080         * sysdeps/x86_64/strcasecmp_l.S: New file.
47081         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47082         * sysdeps/x86_64/locale-defines.sym: New file.
47083         * string/test-strcasecmp.c: New file.
47084
47085         * string/test-strcasestr.c: Test both ends of the range of characters.
47086         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47087
47088 2010-07-29  Roland McGrath  <roland@redhat.com>
47089
47090         [BZ #11856]
47091         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47092
47093 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47094
47095         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47096         for ld.so.
47097
47098 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47099
47100         * manual/memory.texi (Malloc Tunable Parameters): Document
47101         M_PERTURB.
47102
47103 2010-07-26  Roland McGrath  <roland@redhat.com>
47104
47105         [BZ #11840]
47106         * configure.in (-fgnu89-inline check): Set and substitute
47107         gnu89_inline, not libc_cv_gnu89_inline.
47108         * configure: Regenerated.
47109         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47110
47111 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47112
47113         * string/test-strnlen.c: New file.
47114         * string/Makefile (strop-tests): Add strnlen.
47115         * string/tester.c (test_strnlen): Add a few more test cases.
47116         * string/tst-strlen.c: Better error reporting.
47117
47118         * sysdeps/x86_64/strnlen.S: New file.
47119
47120 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47121
47122         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47123         lower-latency instructions.
47124
47125 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47126
47127         * string/test-strcasestr.c: New file.
47128         * string/test-strstr.c: New file.
47129         * string/Makefile (strop-tests): Add strstr and strcasestr.
47130         * string/str-two-way.h: Don't undefine MAX.
47131         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47132
47133 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47134
47135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47136         strcasestr-nonascii.
47137         (CFLAGS-strcasestr-nonascii.c): Define.
47138         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47139         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47140         Remove unused attribute.
47141
47142 2010-07-20  Roland McGrath  <roland@redhat.com>
47143
47144         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47145         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47146         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47147         like LD_HWCAP_MASK can disable hwcaps.
47148
47149 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47150
47151         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47152
47153 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47154
47155         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47156         call in strcasestr.
47157         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47158         __strcasestr_sse42_nonascii.
47159         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47160         strcasestr-nonascii.c.
47161         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47162
47163 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47164
47165         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47166         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47167         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47168         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47169
47170 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47171
47172         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47173         fcntl.
47174
47175 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47176
47177         [BZ #11577]
47178         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47179         dl_signal_cerror.
47180
47181 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47182
47183         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47184         _PC_PIPE_BUF using F_GETPIPE_SZ.
47185
47186 2010-07-05  Roland McGrath  <roland@redhat.com>
47187
47188         * manual/arith.texi (Rounding Functions): Fix rint description
47189         implicit in round description.
47190
47191 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47192
47193         * elf/Makefile: Fix linking for a few tests to make recent linker
47194         happy.
47195
47196 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47197
47198         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47199         $(common-objpfx)libc_nonshared.a.
47200
47201 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47202
47203         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47204         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47205         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47206         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47207         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47208         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47209         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47210         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47225         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47226         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47227         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47228         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47229         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47230         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47231         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47232         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47233         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47234         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47235         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47236         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47251
47252 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47253
47254         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47255         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47256         * string/memmove.c (memmove): Renamed to ...
47257         (MEMMOVE): ...this.  Default to memmove.
47258         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47259         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47260         (END_CHK): Define.
47261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47262         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47263         mempcpy-ssse3-back memmove-ssse3-back.
47264         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47265         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47267         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47268         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47269         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47270         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47271         * sysdeps/x86_64/multiarch/memmove.c: New file.
47272         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47273         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47274         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47275         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47276         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47277         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47278         Define.
47279         (index_Fast_Copy_Backward): Define.
47280         (HAS_ARCH_FEATURE): Define.
47281         (HAS_FAST_REP_STRING): Define.
47282         (HAS_FAST_COPY_BACKWARD): Define.
47283
47284 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47285
47286         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47287         Restore proper fallback handling.
47288
47289 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47290
47291         [BZ #11701]
47292         * posix/group_member.c (__group_member): Correct checking loop.
47293
47294         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47295         OOM in getpwuid_r correctly.  Return error number when the caller
47296         should return, otherwise -1.
47297         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47298         call returning > 0 value.
47299         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47300
47301 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47302
47303         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47304         libc_nonshared.a from targets in modules-names.
47305
47306 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47307
47308         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47309         requires it.
47310
47311 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47312
47313         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47314         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47315         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47316         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47317
47318 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47319
47320         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47321
47322 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47323
47324         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47325         and F_GETPIPE_SZ.
47326         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47327         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47330         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47331         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47332
47333 2010-06-14  Roland McGrath  <roland@redhat.com>
47334
47335         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47336
47337 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47338
47339         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47340         __REDIRECT followed by __THROW.
47341         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47342         * posix/getopt.h (getopt): Likewise.
47343
47344 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47345
47346         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47347         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47348         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47349         in AT_FLAGS.
47350         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47351         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47352
47353 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47354
47355         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47356
47357 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47358
47359         [BZ #11640]
47360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47361         Properly check family and model.
47362
47363 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47364
47365         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47366
47367 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47368
47369         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47370
47371 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47372
47373         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47374         symbol reference.
47375
47376 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47377
47378         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47379         symbol reference.
47380
47381 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47382
47383         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47384         and internal_recvmmsg.
47385         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47386         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47387         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47388         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47389
47390         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47391         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47392         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47393
47394 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47395
47396         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47397
47398 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47399
47400         POWER7 optimizations.
47401         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47402         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47403
47404 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47405
47406         * version.h: Update for 2.13 development version.
47407
47408 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47409
47410         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47411         exceptions.  Return 0.
47412
47413 2010-05-07  Roland McGrath  <roland@redhat.com>
47414
47415         * elf/ldconfig.c (main): Add a const.
47416
47417 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47418
47419         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47420         (args_options): Add no-idn option.
47421         (ahosts_keys_int): Add idn_flags to ai_flags.
47422         (parse_option): Handle 'i' option to clear idn_flags.
47423
47424         * malloc/malloc.c (_int_free): Possible race in the most recently
47425         added check.  Only act on the data if no current modification
47426         happened.
47427
47428 See ChangeLog.17 for earlier changes.