SPARC: Consolidate nptl/ subdirectories under linux/...
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8         Moved ...
9         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10         ... here.
11         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16         Moved ...
17         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
20         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
22         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25         Moved ...
26         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28         Moved ...
29         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33         Moved ...
34         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
39         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44         Moved ...
45         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46         ... here.
47         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
50         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
51         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
52         Moved ...
53         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
54         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
55         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
56         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
57         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
58         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
59         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
60         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61         Moved ...
62         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
63         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64         Moved ...
65         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
66         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
67         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
68         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69         Moved ...
70         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
71         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
72         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
73         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
74         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
75
76 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
77
78         * timezone/checktab.awk: Update from tzcode 2014e.
79         * timezone/private.h: Likewise.
80         * timezone/tzfile.h: Likewise.
81         * timezone/zdump.c: Likewise.
82         * timezone/zic.c: Likewise.
83
84         * sysdeps/unix/sysv/linux/kernel-features.h
85         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
86         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
87         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
88         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
89         Remove conditional code.
90
91 2014-06-25  Will Newton  <will.newton@linaro.org>
92
93         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
94         (_dl_arm_cap_flags): Add HWCAP2 values.
95         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
96         (_DL_HWCAP_COUNT): Increase to 37.
97         (_DL_HWCAP_LAST): New define.
98         (_DL_HWCAP2_LAST): New define.
99         (_dl_procinfo): Add support for printing
100         AT_HWCAP2 entries.
101         (_dl_string_hwcap): Use _dl_hwcap_string.
102
103 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
104
105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
106
107 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
108
109         * README: Do not mention ports directory.
110
111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
112         Remove macro.
113         * sysdeps/unix/sysv/linux/futimes.c: Do not include
114         <kernel-features.h>.
115         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
116         conditional variable definition.
117         (__futimes): Update comment.
118         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
119         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
120
121         [BZ #16560]
122         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
123         arguments close to 0.
124         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
125         Likewise.
126         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
127         Likewise.
128         * math/auto-libm-test-in: Add more tests of exp10.
129         * math/auto-libm-test-out: Regenerated.
130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
131
132         * sysdeps/unix/sysv/linux/kernel-features.h
133         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
134         * sysdeps/unix/sysv/linux/readv.c: Do not include
135         <kernel-features.h>.
136         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
137         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
138         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
139         unconditional.
140         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
141         conditional code.
142         * sysdeps/unix/sysv/linux/writev.c: Do not include
143         <kernel-features.h>.
144         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
145         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
146         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
147         unconditional.
148         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
149         conditional code.
150
151 2014-06-25  Will Newton  <will.newton@linaro.org>
152
153         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
154         comment changes throughout the file.  Remove checks
155         for HAVE_*_H definitions that are not required.
156         (__gen_tempname): Call abort if an unknown kind value is
157         passed.
158
159 2014-06-25  Andreas Schwab  <schwab@suse.de>
160
161         [BZ #17086]
162         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
163         scalbln, scalblnf, scalblnl in libc.
164
165 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
166
167         [BZ #17086]
168         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
169         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
170         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
171
172 2014-06-24  Roland McGrath  <roland@hack.frob.com>
173
174         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
175         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
176         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
177         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
178         Update #include.
179         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
180         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
181         Update #include.
182         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
183         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
184         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
185         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
186         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
187         * sysdeps/x86/bits/pthreadtypes.h: ... here.
188         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
189         * sysdeps/x86/bits/semaphore.h: ... here.
190         * sysdeps/x86/nptl/elide.h: Moved ...
191         * sysdeps/x86/elide.h: ... here.
192         * sysdeps/x86_64/nptl/Implies: File removed.
193         * sysdeps/i386/nptl/Implies: File removed.
194
195 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
196
197         [BZ #16539]
198         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
199         return the argument for normal arguments with exponent below -64.
200         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
201         Likewise.
202         * math/auto-libm-test-in: Add another test of expm1.
203         * math/auto-libm-test-out: Regenerated.
204
205         [BZ #16287]
206         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
207         calling __erfcl for arguments at least 16.
208         * math/auto-libm-test-in: Add more tests of erf.
209         * math/auto-libm-test-out: Regenerated.
210
211         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
212         individual architectures.
213         * sysdeps/unix/sysv/linux/configure: Regenerated.
214         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
215         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
216         * sysdeps/unix/sysv/linux/powerpc/configure.ac
217         (ldd_rewrite_script): Define variable.
218         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
220         file.
221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
222         generated file.
223         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
224         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
225         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
226         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
227         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
228         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
229         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
230         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
231
232 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
233
234         [BZ #17084]
235         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
236         Rename member __data.d to __data.__elision_data.
237
238 2014-06-24  Wilco  <wdijkstr@arm.com>
239
240         * NEWS: Add 16918 to fixed bug list.
241
242 2014-06-24  Wilco  <wdijkstr@arm.com>
243
244         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
245
246 2014-06-24  Wilco  <wdijkstr@arm.com>
247
248         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
249         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
250         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
251         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
252         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
253         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
254         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
255         Use _FPU_MASK_RM.
256
257 2014-06-24  Wilco  <wdijkstr@arm.com>
258
259         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
260
261 2014-06-24  Wilco  <wdijkstr@arm.com>
262
263         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
264         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
265         * sysdeps/arm/fesetround.c (fesetround): Remove space.
266         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
267
268 2014-06-24  Wilco  <wdijkstr@arm.com>
269
270         [BZ #16918]
271         * sysdeps/arm/feupdateenv.c (feupdateenv):
272         Rewrite to reduce FPSCR accesses and fix return value.
273
274 2014-06-24  Wilco  <wdijkstr@arm.com>
275
276         * sysdeps/arm/fclrexcpt.c (feclearexcept):
277         Optimize to avoid unnecessary FPSCR writes.
278         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
279         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
280         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
281         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
282
283 2014-06-24  Wilco  <wdijkstr@arm.com>
284
285         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
286         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
287         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
288         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
289         Call libc_fetestexcept_vfp.
290         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
291         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
292         __SOFTFP__ ifdef so that they can be built for softfp.
293
294 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
295
296         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
297         argument type signed char.
298
299         * Makerules (check-abi): Dump diff of symlist if the test
300         fails.
301
302 2014-06-23  Roland McGrath  <roland@hack.frob.com>
303
304         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
305         using abort.
306
307         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
308         Remove unused variable ST.
309
310 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
311
312         [BZ #16354]
313         [BZ #17061]
314         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
315         small arguments before calling __expm1.
316         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
317         small arguments before calling __expm1f.
318         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
319         small arguments before calling __expm1l.
320         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
321         Likewise.
322         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
323         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
324         spurious underflow for some cosh tests.
325         * math/auto-libm-test-out: Regenerated.
326         * sysdeps/i386/fpu/libm-test-ulps: Update.
327
328         [BZ #17050]
329         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
330         (__ieee754_y1): Set errno if return value overflows.
331         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
332         (__ieee754_y1f): Set errno if return value overflows.
333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
334         (__ieee754_y1l): Set errno if return value overflows.
335         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
336         (__ieee754_y1l): Set errno if return value overflows.
337         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
338         * math/auto-libm-test-out: Regenerated.
339
340         * math/gen-auto-libm-tests.c: Document use of
341         ignore-zero-inf-sign.
342         (input_flag_type): Add value flag_ignore_zero_inf_sign.
343         (input_flags): Add ignore-zero-inf-sign.
344         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
345         * math/gen-libm-test.pl (generate_testfile): Handle
346         ignore-zero-inf-sign.
347         * math/auto-libm-test-in: Mark some cpow tests with
348         ignore-zero-inf-sign and some with xfail-rounding.
349         * math/auto-libm-test-out: Regenerated.
350         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
351         * sysdeps/i386/fpu/libm-test-ulps: Update.
352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
353
354         [BZ #16315]
355         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
356         overflowing or underflowing operations take place with sign of
357         result.
358         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
359         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
360         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
361         (__ieee754_pow): Recompute overflowing and underflowing results in
362         original rounding mode.
363         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
364         (__powl_helper): Allow negative argument X and scale negated value
365         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
366         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
367         overflowing or underflowing operations take place with sign of
368         result.
369         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
370         Include <math.h>.
371         * math/auto-libm-test-in: Add more tests of pow.
372         * math/auto-libm-test-out: Regenerated.
373         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
374         (pow_tonearest_test_data): Remove.
375         (pow_test_tonearest): Likewise.
376         (pow_towardzero_test_data): Likewise.
377         (pow_test_towardzero): Likewise.
378         (pow_downward_test_data): Likewise.
379         (pow_test_downward): Likewise.
380         (pow_upward_test_data): Likewise.
381         (pow_test_upward): Likewise.
382         (main): Don't call removed functions.
383         * sysdeps/i386/fpu/libm-test-ulps: Update.
384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
385
386 2014-06-23  Roland McGrath  <roland@hack.frob.com>
387
388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
389         Moved ...
390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
392         Moved ...
393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
395         Moved ...
396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
398         Moved ...
399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
401         File removed.
402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
403         File removed.
404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
405         File removed.
406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
407         File removed.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
409         File removed.
410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
411         File removed.
412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
413         File removed.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
415         File removed.
416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
417         File removed.
418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
419         File removed.
420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
421         File removed.
422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
423         File removed.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
425         Moved ...
426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
428         Moved ...
429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
430         ... here.
431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
432         Moved ...
433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
435         Moved ...
436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
438         Moved ...
439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
441         Moved ...
442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
444         Moved ...
445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
447         Moved ...
448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
450         Moved ...
451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
454         ... here.
455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
456         Moved ...
457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
459         Moved ...
460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
461         ... here.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
463         Moved ...
464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
465         ... here.
466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
467         Moved ...
468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
469         ... here.
470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
471         Moved ...
472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
474         Moved ...
475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
479         Moved ...
480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
481         ... here.
482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
483         Moved ...
484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
485         ... here.
486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
487         Moved ...
488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
490         Moved ...
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
493         Moved ...
494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
496         Moved ...
497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
499         Moved ...
500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
501         ... here.
502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
503         Moved ...
504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
506         Moved ...
507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
509         Moved ...
510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
512         Moved ...
513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
517         Moved ...
518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
520         Moved ...
521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
523         Moved ...
524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
525         ... here.
526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
527         Moved ...
528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
529         ... here.
530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
531         Moved ...
532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
533         ... here.
534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
535         Moved ...
536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
538         Moved ...
539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
541         Moved ...
542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
544         Moved ...
545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
546         ... here.
547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
548         Moved ...
549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
550         ... here.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
552         Moved ...
553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
554         ... here.
555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
556         Moved ...
557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
559         Moved ...
560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
561
562 2014-06-23  Will Newton  <will.newton@linaro.org>
563             Wilco  <wdijkstr@arm.com>
564
565         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
566         implementation.  Include get-rounding-mode.h.
567         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
568         [!libc_feholdsetround_noex_ctx]: Define
569         libc_feholdsetround_noex_ctx.
570         [!libc_feholdsetround_noexf_ctx]: Define
571         libc_feholdsetround_noexf_ctx.
572         [!libc_feholdsetround_noexl_ctx]: Define
573         libc_feholdsetround_noexl_ctx.
574         (libc_feholdsetround_ctx): New function.
575         (libc_feresetround_ctx): New function.
576         (libc_feholdsetround_noex_ctx): New function.
577         (libc_feresetround_noex_ctx): New function.
578
579 2014-06-23  Roland McGrath  <roland@hack.frob.com>
580
581         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
582         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
583         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
584         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
585         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
586         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
587
588         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
589         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
590         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
591         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
592         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
593         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
595         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
597         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
598         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
599         Moved ...
600         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
601         ... here.
602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
603         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
605         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
607         Moved ...
608         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
610         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
612         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
614         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
616         Moved ...
617         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
619         Moved ...
620         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
622         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
624         Moved ...
625         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
627         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
628         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
629         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
630         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
631         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
632         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
633         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
634         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
635         Moved ...
636         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
637         ... here.
638         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
639         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
640         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
641         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
642         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
643         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
644         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
645         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
647         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
649         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
651         Moved ...
652         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
654         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
656         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
658         Moved ...
659         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
661         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
662         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
663         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
664
665         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
666         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
667         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
668         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
669         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
670         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
671         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
672         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
674         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
675         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
676         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
677         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
678         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
679         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
680         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
681         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
682         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
683         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
684         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
685         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
686         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
687         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
688         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
689         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
690         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
691         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
692         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
693
694 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
695
696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
697         (FALLOC_FL_COLLAPSE_RANGE): New macro.
698         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
699         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
700         (IPV6_PMTUDISC_INTERFACE): Likewise.
701         (IPV6_PMTUDISC_OMIT): Likewise.
702
703 2014-06-23  Andreas Schwab  <schwab@suse.de>
704
705         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
706         Remove unused errout label.
707
708 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
709
710         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
711         macro: hardware supports Vector Crypto instructions.
712
713 2014-06-23  Will Newton  <will.newton@linaro.org>
714
715         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
716         rather than __builtin_expect.
717
718         * elf/dl-lookup.c (undefined_msg): Remove variable.
719         (_dl_lookup_symbol_x): Replace undefined_msg with string
720         literal.
721
722         * elf/dl-lookup.c (do_lookup_unique): New function.
723         (do_lookup_x): Move STB_GNU_UNIQUE handling code
724         to a separate function.
725
726 2014-06-23  Andreas Schwab  <schwab@suse.de>
727
728         [BZ #17079]
729         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
730         before reading the next line.
731
732 2014-06-23  Will Newton  <will.newton@linaro.org>
733
734         * test-skeleton.c (signal_handler): Use printf and %m
735         rather than perror.  Use printf rather than fprintf to
736         stderr.  Use puts rather than fputs to stderr.
737         (main): Likewise.
738
739 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
740
741         * nscd/nscd.c (thread_info_t): Remove typedef.
742         (thread_info): Remove variable.
743
744 2014-06-21  Allan McRae  <allan@archlinux.org>
745
746         * NEWS: Mention CVE-2014-4043.
747
748 2014-06-20  Roland McGrath  <roland@hack.frob.com>
749
750         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
751         * nptl/smp.h: ... here.
752
753         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
754
755         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
756         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
757         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
758         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
759
760         * nptl/allocatestack.c: Include <stack-aliasing.h>.
761         * nptl/stack-aliasing.h: New file.
762         * sysdeps/i386/i686/stack-aliasing.h: New file.
763         * sysdeps/i386/i686/nptl/Makefile: File removed.
764         * sysdeps/x86_64/stack-aliasing.h: New file.
765         * sysdeps/x86_64/nptl/Makefile
766         (CFLAGS-pthread_create.c): Variable removed.
767
768         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
769         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
770         old file.
771         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
772         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
773         old file.
774
775 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
776
777         * sysdeps/unix/sysv/linux/arm/kernel-features.h
778         (__ASSUME_SIGFRAME_V2): Remove macro.
779         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
780         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
781         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
782         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
783         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
784         Declare as function.  Remove conditional macro definitions.
785         (__default_rt_sa_restorer): Likewise.
786         (__default_sa_restorer_v1): Remove declaration.
787         (__default_sa_restorer_v2): Likewise.
788         (__default_rt_sa_restorer_v1): Likewise.
789         (__default_rt_sa_restorer_v2): Likewise.
790         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
791         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
792         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
793
794 2014-06-20  Roland McGrath  <roland@hack.frob.com>
795
796         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
797         (libpthread-routines): Add sysdep.
798         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
799         * sysdeps/unix/sysv/linux/sparc/Versions
800         (libpthread: GLIBC_2.3.3): New version set.
801         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
802         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
803         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
804         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
805         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
806         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
807         Moved ...
808         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
809         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
810         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
811         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
812         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
813         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
814         * sysdeps/sparc/nptl/sem_init.c: ... here.
815         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
816         * sysdeps/sparc/nptl/sem_post.c: ... here.
817         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
818         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
819         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
820         * sysdeps/sparc/nptl/sem_wait.c: ... here.
821         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
822         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
823         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
824         (libpthread-routines): Add cpu_relax.
825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
826         File removed.
827         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
828         (librt: GLIBC_2.3.3): New version set.
829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
830         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
831         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
832         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
835         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
837         Moved ...
838         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
840         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
842         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
844         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
846         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
848         Moved ...
849         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
850         Update #include.
851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
852         Moved ...
853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
854         Update #include.
855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
856         Moved ...
857         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
858         Update #include.
859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
860         Moved ...
861         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
862         Update #include.
863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
864         Moved ...
865         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
866         Update #include.
867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
868         Moved ...
869         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
870         Update #include.
871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
872         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
874         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
878         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
882         Moved ...
883         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
885         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
887         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
888
889 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
890
891         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
892         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
893         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
894         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
895         * nscd/nscd.c: Likewise.
896         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
897         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
898         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
899         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
900
901         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
902         <kernel-features.h>.
903         (init_mq_netlink): Remove conditional have_sock_cloexec
904         definitions.  Remove code conditional on have_sock_cloexec < 0.
905         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
906         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
907         * sysdeps/unix/sysv/linux/opensock.c: Do not include
908         <kernel-features.h>.
909         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
910         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
911
912 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
913
914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
915         Add tests for memset_chk and memset.
916
917         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
918         with AVX2_Usable.
919
920 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
921
922         [BZ #16046]
923         * elf/tst-dl-iter-static.c: New file.
924         * elf/Makefile (tests-static): Add tst-dl-iter-static.
925
926         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
927         error.
928
929 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
930
931         * sysdeps/unix/sysv/linux/kernel-features.h
932         (__ASSUME_F_GETOWN_EX): Remove macro.
933         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
934         <kernel-features.h>.
935         (miss_F_GETOWN_EX): Remove variable or macro.
936         (do_fcntl): Do not check miss_F_GETOWN_EX.
937         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
938
939         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
940         Remove macro.
941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
942         [!__ASSUME_AT_RANDOM]: Remove conditional code.
943         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
944
945         * sysdeps/unix/sysv/linux/kernel-features.h
946         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
947         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
948         [ADJ_OFFSET_SS_READ]: Make code unconditional.
949         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
950
951 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
952
953         [BZ #17075]
954         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
955         Fix calculation of the symbol's value.
956         * sysdeps/arm/tst-armtlsdescloc.c: New file.
957         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
958         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
959         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
960         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
961         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
962         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
963         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
964         (modules-names): Add `tst-armtlsdescmod',
965         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
966         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
967         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
968         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
969         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
970         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
971         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
972         ($(objpfx)tst-armtlsdescloc): New dependency.
973         ($(objpfx)tst-armtlsdescextnow): Likewise.
974         ($(objpfx)tst-armtlsdescextlazy): Likewise.
975         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
976         TLS scheme support.
977         * sysdeps/arm/configure: Regenerate.
978
979 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
980
981         * include/fcntl.h (__atfct_seterrno): Remove prototype.
982         (__atfct_seterrno_2): Likewise.
983         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
984         <kernel-features.h>.
985         (__ASSUME_ATFCTS): Do not undefine and redefine.
986         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
987         (__have_atfcts): Remove conditional definition.
988         (__fxstatat([__NR_fstatat64]: Make code unconditional.
989         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
990         unreachable if [__ASSUME_ATFCTS].
991         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
992         not undefine and redefine.
993         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
994         <kernel-features.h>.
995         (faccessat) [__NR_faccessat]: Make code unconditional.
996         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
997         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
998         <kernel-features.h>.
999         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1000         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1001         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1002         <kernel-features.h>.
1003         (fchownat) [__NR_fchownat]: Make code unconditional.
1004         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1005         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1006         <kernel-features.h>.
1007         (futimesat) [__NR_futimesat]: Make code unconditional.
1008         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1009         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1010         <kernel-features.h>.
1011         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1012         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1013         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1014         <kernel-features.h>.
1015         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1016         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1017         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1018         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1019         <kernel-features.h>.
1020         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1021         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1022         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1023         <kernel-features.h>.
1024         (linkat) [__NR_linkat]: Make code unconditional.
1025         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1026         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1027         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1028         <kernel-features.h>.
1029         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1030         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1031         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1032         <kernel-features.h>.
1033         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1034         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1035         * sysdeps/unix/sysv/linux/openat.c: Do not include
1036         <kernel-features.h>.
1037         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1038         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1039         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1040         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1041         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1042         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1043         <kernel-features.h>.
1044         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1045         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1046         result of INLINE_SYSCALL directly, not via int variable.
1047         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1048         <kernel-features.h>.
1049         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1050         (renameat) [__NR_renameat]: Make code unconditional.
1051         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1052         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1053         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1054         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1055         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1056         (__ASSUME_ATFCTS): Do not undefine and redefine.
1057         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1058         <kernel-features.h>.
1059         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1060         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1061         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1062         <kernel-features.h>.
1063         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1064         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1065         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1066         (__ASSUME_ATFCTS): Do not undefine and redefine.
1067         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1068         <kernel-features.h>.
1069         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1070         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1071         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1072         <kernel-features.h>.
1073         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1074         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1075
1076 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1077
1078         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1079
1080 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1081
1082         [BZ #17069]
1083         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1084         constructed tree before returning error.
1085         * posix/bug-regexp36.c: Expand test case.
1086
1087 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1088
1089         [BZ #6803]
1090         * math/libm-test.inc (scalbln_test_date):
1091         Add errno expectations.
1092         * math/w_scalblnf.c: New File.
1093         Add wrapper which checks for setting errno to ERANGE.
1094         Add weak_alias for corresponding scalbln function.
1095         * math/w_scalbln.c: Likewise.
1096         * math/w_scalblnl.c: Likewise.
1097         * math/Makefile (libm-calls): Add w_scalbln.
1098         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1099         Remove weak_alias for corresponding scalbln function.
1100         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1101         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1102         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1103         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1104         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1105         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1106         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1107         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1108         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1109         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1110         Remove long_double_symbol for scalblnl function in libm, libc.
1111         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1112         Add wrapper which checks for setting errno to ERANGE.
1113         Add long_double_symbol for scalblnl function in libm, libc.
1114         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1115         Remove long_double_symbol for scalblnl in libm.
1116         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1117         Add wrapper which checks for setting errno to ERANGE.
1118         Add long_double_symbol for scalblnl function in libm.
1119         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1120         Do not use wrapper because of own implementation.
1121
1122 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1123
1124         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1125         3 bytes for __pad1 for x32.
1126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1127
1128 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1129             H.J. Lu  <hongjiu.lu@intel.com>
1130
1131         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1132         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1133         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1134         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1135         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1136
1137 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1138
1139         [BZ #17069]
1140         * posix/regcomp.c (parse_expression): Deallocate partially
1141         constructed tree before returning error.
1142         * posix/Makefile.c (tests): Add bug-regex36.
1143         (generated): Add bug-regex36.mtrace.
1144         (tests-special): Add $(objpfx)bug-regex36-mem.out
1145         (bug-regex36-ENV): New variable.
1146         ($(objpfx)bug-regex36-mem.out): New rule.
1147         * posix/bug-regex36.c: New file.
1148
1149 2014-06-19  Will Newton  <will.newton@linaro.org>
1150
1151         * malloc/malloc.c (systrim): If extra is zero then return
1152         early.
1153
1154 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1155
1156         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1157
1158 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1159
1160         * sysdeps/aarch64/strchr.S: New file.
1161
1162 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1163
1164         [BZ #17022]
1165         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1166         from arguments -2 or below.
1167         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1168         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1169
1170 2014-06-18  Andreas Schwab  <schwab@suse.de>
1171
1172         [BZ #17062]
1173         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1174         of a bracket expr not to run off the end of the string.
1175         * posix/Makefile (tests): Add tst-fnmatch3.
1176         * posix/tst-fnmatch3.c: New file.
1177
1178 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1179
1180         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1181         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1182         [$(cross-compiling) = no]: Likewise.
1183         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1184         [$(cross-compiling) = no]: Likewise.
1185
1186 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1187
1188         [BZ #17031]
1189         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1190         double, adjusted for any remainder from the high double.
1191         * math/libm-test.inc (nearbyint): Add tests.
1192         (rint): Likewise.
1193
1194 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1195
1196         * nptl/sysdeps/powerpc/Makefile: Moved ...
1197         * sysdeps/powerpc/nptl/Makefile: ... here.
1198         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1199         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1200         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1201         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1202         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1203         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1204         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1205         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1206         * nptl/sysdeps/powerpc/tls.h: Moved ...
1207         * sysdeps/powerpc/nptl/tls.h: ... here.
1208
1209 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1210
1211         [BZ #16681]
1212         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1213         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1214         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1215         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1216         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1217         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1218         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1219         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1220         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1221
1222 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1223
1224         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1225
1226 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1227
1228         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1229         defined operator.
1230
1231         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1232         $TIMEOUTFACTOR.
1233
1234 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1235
1236         [BZ #17058]
1237         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1238         non-executed part of the test.
1239
1240 2014-06-16  Andreas Schwab  <schwab@suse.de>
1241
1242         * string/bits/string2.h (strdup, strndup): Update feature guard.
1243
1244 2014-06-14  David S. Miller  <davem@davemloft.net>
1245
1246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1247
1248 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1249
1250         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1251         that was previously under [RESET_PID].
1252         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1253
1254         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1255         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1256         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1257         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1258         (__libc_vfork): New strong alias.
1259         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1260
1261 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1262
1263         * sysdeps/generic/elide.h: New file.
1264
1265 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1266
1267         * Makefile (installed-headers): Adjust path of pthread.h header.
1268
1269 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1270
1271         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1272         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1273         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1274         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1275
1276         * nptl/sysdeps/s390/Makefile: Moved ...
1277         * sysdeps/s390/nptl/Makefile: ... here.
1278         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1279         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1280         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1281         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1282         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1283         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1284         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1285         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1286         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1287         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1288         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1289         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1290         * nptl/sysdeps/s390/tls.h: Moved ...
1291         * sysdeps/s390/nptl/tls.h: ... here.
1292
1293         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1294         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1295
1296 2014-06-13  David S. Miller  <davem@davemloft.net>
1297
1298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1301         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1305         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1306         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1307         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1308         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1309         Remove RESET_PID cpp guards.
1310         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1311         Remove RESET_PID cpp guards.
1312         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1313
1314 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1315
1316         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1317         __sp to uintptr_t.
1318
1319 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1320
1321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1324         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1325         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1334         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1335         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1340         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1341
1342         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1343         (pthread_rwlock_rdlock): Add elision.
1344         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1345         (pthread_rwlock_wrlock): Add elision.
1346         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1347         (pthread_rwlock_trywrlock): Add elision.
1348         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1349         (pthread_rwlock_tryrdlock): Add elision.
1350         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1351         (pthread_rwlock_tryrdlock): Add elision unlock.
1352         * nptl/sysdeps/pthread/pthread.h:
1353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1354         (PTHREAD_RWLOCK_INITIALIZER,
1355         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1356         Handle new elision field.
1357         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1358         * sysdeps/arm/nptl/bits/pthreadtypes.h
1359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1360         * sysdeps/sh/nptl/bits/pthreadtypes.h
1361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1362         * sysdeps/tile/nptl/bits/pthreadtypes.h
1363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1364         * sysdeps/a/nptl/bits/pthreadtypes.h
1365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1366         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1368         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1370         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1371         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1372         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1373         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1374         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1376         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1378         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1380         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1381         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1382         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1383         (elision_init): Set try_xbegin to zero when no RTM.
1384         * sysdeps/x86/nptl/bits/pthreadtypes.h
1385         (pthread_rwlock_t): Change __pad1 to __rwelision.
1386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1387
1388 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1389
1390         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1391         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1392         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1393         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1394
1395 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1396
1397         [BZ #16996]
1398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1399         that the cached result has been set before returning it.
1400
1401 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1402
1403         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1404         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1406         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1408         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1409
1410         * nptl/sysdeps/sparc/Makefile: Moved ...
1411         * sysdeps/sparc/nptl/Makefile: ... here.
1412         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1413         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1414         * nptl/sysdeps/sparc/tls.h: Moved ...
1415         * sysdeps/sparc/nptl/tls.h: ... here.
1416         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1417         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1418         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1419         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1420         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1421         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1422         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1423         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1424         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1425         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1426         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1427         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1428         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1429         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1430         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1431         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1432         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1433         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1434         Update #include.
1435         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1437         Update #include.
1438         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1440         Update #include.
1441         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1442         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1443         Update #include.
1444
1445         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1446
1447         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1448         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1449
1450         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1451         (struct list_links): Type removed.
1452         (struct thread_node, struct timer_node): Replace struct list_links
1453         with struct list_head.
1454         (list_unlink_ip): Likewise.
1455         * sysdeps/pthread/timer_routines.c
1456         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1457         (list_append, list_insbefore): Likewise.
1458         (list_init): Function removed.
1459         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1460         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1461         * sysdeps/pthread/Makefile: ... here, new file.
1462
1463         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1464         * sysdeps/nptl/Implies: ... here.
1465         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1466         * nptl/sysdeps/pthread/list.h: Moved ...
1467         * include/list.h: ... here.
1468         * nptl/sysdeps/pthread/createthread.c: Moved ...
1469         * nptl/createthread.c: ... here.
1470         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1471         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1472         * nptl/pt-longjmp.c: ... here.
1473         * nptl/sysdeps/pthread/Makefile: Moved ...
1474         * sysdeps/nptl/Makefile: ... here.
1475         * nptl/sysdeps/pthread/Subdirs: Moved ...
1476         * sysdeps/nptl/Subdirs: ... here.
1477         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1478         * sysdeps/nptl/aio_misc.h: ... here.
1479         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1480         * sysdeps/nptl/bits/libc-lock.h: ... here.
1481         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1482         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1483         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1484         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1485         * nptl/sysdeps/pthread/configure: Moved ...
1486         * sysdeps/nptl/configure: ... here.
1487         * nptl/sysdeps/pthread/configure.ac: Moved ...
1488         * sysdeps/nptl/configure.ac: ... here.
1489         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1490         * sysdeps/nptl/gai_misc.h: ... here.
1491         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1492         * sysdeps/nptl/librt-cancellation.c: ... here.
1493         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1494         * sysdeps/nptl/malloc-machine.h: ... here.
1495         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1496         * sysdeps/nptl/pthread-functions.h: ... here.
1497         * nptl/sysdeps/pthread/pthread.h: Moved ...
1498         * sysdeps/nptl/pthread.h: ... here.
1499         * nptl/sysdeps/pthread/setxid.h: Moved ...
1500         * sysdeps/nptl/setxid.h: ... here.
1501         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1502         * sysdeps/nptl/sigfillset.c: ... here.
1503         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1504         * sysdeps/nptl/tcb-offsets.h: ... here.
1505         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1506         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1507         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1508         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1509         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1510         * sysdeps/pthread/allocalim.h: ... here.
1511         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1512         * sysdeps/pthread/bits/sigthread.h: ... here.
1513         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1514         * sysdeps/pthread/flockfile.c: ... here.
1515         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1516         * sysdeps/pthread/ftrylockfile.c: ... here.
1517         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1518         * sysdeps/pthread/funlockfile.c: ... here.
1519         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1520         * sysdeps/pthread/posix-timer.h: ... here.
1521         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1522         * sysdeps/pthread/timer_create.c: ... here.
1523         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1524         * sysdeps/pthread/timer_delete.c: ... here.
1525         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1526         * sysdeps/pthread/timer_getoverr.c: ... here.
1527         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1528         * sysdeps/pthread/timer_gettime.c: ... here.
1529         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1530         * sysdeps/pthread/timer_routines.c: ... here.
1531         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1532         * sysdeps/pthread/timer_settime.c: ... here.
1533         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1534         * sysdeps/pthread/tst-timer.c: ... here.
1535         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1536         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1537
1538         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1539         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1540
1541         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1542         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1543         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1544         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1545         Update #include target.
1546         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1547         * sysdeps/i386/i686/nptl/Makefile: ... here.
1548         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1549         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1550         Update #include target.
1551         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1552         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1553         * nptl/sysdeps/i386/Makefile: Moved ...
1554         * sysdeps/i386/nptl/Makefile: ... here.
1555         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1556         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1557         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1558         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1559         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1560         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1561         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1562         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1563         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1564         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1565         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1566         * nptl/sysdeps/i386/tls.h: Moved ...
1567         * sysdeps/i386/nptl/tls.h: ... here.
1568
1569         * sysdeps/sh/Makefile [$(subdir) = csu]
1570         (gen-as-const-headers): Add tcb-offsets.sym.
1571         * nptl/sysdeps/sh/Makefile: File removed.
1572         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1573         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1574         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1575         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1576         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1577         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1578         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1579         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1580         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1581         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1582         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1583         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1584         * nptl/sysdeps/sh/tls.h: Moved ...
1585         * sysdeps/sh/nptl/tls.h: ... here.
1586         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1587         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1588         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1589         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1590         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1591         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1592         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1593         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1594         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1595         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1597         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1598         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1599         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1600         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1601         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1602         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1603         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1604         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1605         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1607         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1608         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1609         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1611         Moved ...
1612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1614         Moved ...
1615         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1616         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1618         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1619         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1620         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1621         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1622         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1623         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1624         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1625         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1626         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1627         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1628         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1629         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1630         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1631         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1632         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1633         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1634
1635 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1636
1637         * posix/spawn_faction_addopen.c: Include string.h.
1638
1639 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1640
1641         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1642         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1643         * nptl/sysdeps/x86_64/Makefile: Moved ...
1644         * sysdeps/x86_64/nptl/Makefile: ... here.
1645         * nptl/sysdeps/x86_64/configure: Moved ...
1646         * sysdeps/x86_64/nptl/configure: ... here.
1647         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1648         * sysdeps/x86_64/nptl/configure.ac: ... here.
1649         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1650         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1651         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1652         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1653         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1654         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1655         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1656         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1657         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1658         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1659         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1660         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1661         * nptl/sysdeps/x86_64/tls.h: Moved ...
1662         * sysdeps/x86_64/nptl/tls.h: ... here.
1663         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1664         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1665         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1666         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1667
1668         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1669
1670 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1671
1672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1673
1674 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1675
1676         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1677         type.
1678         [POSIX] (off_t): Likewise.
1679         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1680         [POSIX] (S_ISBLK): Require macro.
1681         [POSIX] (S_ISCHR): Likewise.
1682         [POSIX] (S_ISDIR): Likewise.
1683         [POSIX] (S_ISFIFO): Likewise.
1684         [POSIX] (S_ISREG): Likewise.
1685         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1686         optional-macro.
1687         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1688         type.
1689         [POSIX] (time_t): Likewise.
1690         [POSIX] (timer_t): Likewise.
1691
1692 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1693
1694         [BZ #17048]
1695         * posix/spawn_int.h (struct __spawn_action): Make the path string
1696         non-const to support deallocation.
1697         * posix/spawn_faction_addopen.c
1698         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1699         * posix/spawn_faction_destroy.c
1700         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1701         path in all spawn_do_open actions.
1702         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1703         posix_spawn_file_actions_addopen.
1704
1705 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1706
1707         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1708         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1709         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1710         conditional code always true.
1711         (__libc_vfork): New alias.
1712
1713 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1714
1715         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1716         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1717
1718         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1719
1720         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1721         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1722
1723         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1724         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1725
1726         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1727         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1728
1729 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1730
1731         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1732         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1733         multiarch strcmp for PPC64.
1734         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1735         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1737         multiarch optimizations.
1738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1739         (__libc_ifunc_impl_list): Likewise.
1740
1741 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1742
1743         * benchtests/scripts/validate_benchout.py: New script.
1744         * benchtests/Makefile (bench-func): Call it.
1745         * benchtests/scripts/benchout.schema.json: New file.
1746
1747 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1748
1749         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1750         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1751         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1752         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1753         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1754         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1755         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1756         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1757         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1758         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1759         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1760         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1761         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1762         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1763         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1764         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1766         Moved ...
1767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1768         ... here.
1769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1770         Moved ...
1771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1773         Moved ...
1774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1775         ... here.
1776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1777         Moved ...
1778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1779         ... here.
1780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1781         Moved ...
1782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1784         Moved ...
1785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1786         ... here.
1787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1788         Moved ...
1789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1790         ... here.
1791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1792         Moved ...
1793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1795         Moved ...
1796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1797         ... here.
1798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1799         Moved ...
1800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1801         ... here.
1802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1803         Moved ...
1804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1805         ... here.
1806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1807         Moved ...
1808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1810         Moved ...
1811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1812         ... here.
1813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1814         Moved ...
1815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1816         ... here.
1817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1818         Moved ...
1819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1820         ... here.
1821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1822         Moved ...
1823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1825         Moved ...
1826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1827         ... here.
1828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1829         Moved ...
1830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1831         ... here.
1832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1833         Moved ...
1834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1836         Moved ...
1837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1838         ... here.
1839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1840         Moved ...
1841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1843         Moved ...
1844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1846         Moved ...
1847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1848         ... here.
1849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1850         Moved ...
1851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1852         ... here.
1853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1854         Moved ...
1855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1856         ... here.
1857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1858         Moved ...
1859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1861         Moved ...
1862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1863         ... here.
1864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1865         Moved ...
1866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1867         ... here.
1868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1869         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1871         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1873         Moved ...
1874         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1875         ... here.
1876         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1877         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1878         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1879         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1880         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1881         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1883         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1886         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1887         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1888         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1889         Moved ...
1890         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1892         Moved ...
1893         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1895         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1897         Moved ...
1898         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1900         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1901         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1902         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1903         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1904         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1905
1906 2014-06-10  Wilco  <wdijkstr@arm.com>
1907
1908         * math/test-fenv-return.c: New file.
1909         * math/Makefile: Add new test test-fenv-return.
1910
1911 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1912
1913         [BZ #17042]
1914         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1915         when x - 1 is zero.
1916         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1917         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1918         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1919         0.0L for an argument of 1.0L.
1920         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1921         Likewise.
1922         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1923         value when x - 1 is zero.
1924         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1925         * sysdeps/i386/fpu/libm-test-ulps: Update.
1926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1927
1928 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1929
1930         [BZ #15119]
1931         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1932
1933 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1934
1935         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1936         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1937
1938 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1939
1940         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1941         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1942
1943         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1944         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1945
1946         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1947         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1948
1949         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1950         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1951
1952         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1953         if not already defined.
1954         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1955         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1956         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1957         (TLS_INIT_TP): Use it.
1958         (TLS_DEFINE_INIT_TP): New macro.
1959         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1960
1961 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1962
1963         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1964         constant.
1965         [POSIX] (IXANY): Likewise.
1966         [POSIX] (OLCUC): Likewise.
1967         [POSIX || POSIX2008] (CBAUD): Do not allow.
1968         [POSIX || POSIX2008] (DEFECHO): Likewise.
1969         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1970         [POSIX || POSIX2008] (ECHOKE): Likewise.
1971         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1972         [POSIX || POSIX2008] (EXTA): Likewise.
1973         [POSIX || POSIX2008] (EXTB): Likewise.
1974         [POSIX || POSIX2008] (FLUSHO): Likewise.
1975         [POSIX || POSIX2008] (LOBLK): Likewise.
1976         [POSIX || POSIX2008] (PENDIN): Likewise.
1977         [POSIX || POSIX2008] (SWTCH): Likewise.
1978         [POSIX || POSIX2008] (VDISCARD): Likewise.
1979         [POSIX || POSIX2008] (VDSUSP): Likewise.
1980         [POSIX || POSIX2008] (VLNEXT): Likewise.
1981         [POSIX || POSIX2008] (VREPRINT): Likewise.
1982         [POSIX || POSIX2008] (VSTATUS): Likewise.
1983         [POSIX || POSIX2008] (VWERASE): Likewise.
1984         (B*): Change to B[0123456789]*.
1985         * conform/data/time.h-data [POSIX || UNIX98]
1986         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1987         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1988         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1989         [POSIX] (tm_*): Do not allow.
1990
1991 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1992
1993         * Makefile (install): Don't set LANGUAGE.
1994         * Makefile.in (install): Likewise.
1995         * assert/Makefile (test-assert-ENV): Remove variable.
1996         (test-assert-perr-ENV): Likewise.
1997         * elf/Makefile (neededtest4-ENV): Likewise.
1998         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1999         [$(cross-compiling) = no]: Don't set LANGUAGE.
2000         * io/ftwtest-sh (LANG): Remove variable.
2001         * libio/Makefile (tst-widetext-ENV): Likewise.
2002         * manual/install.texi (Running make install): Don't refer to
2003         environment settings for make install.
2004         * INSTALL: Regenerated.
2005         * nptl/tst-tls6.sh: Don't set LANG.
2006         * posix/globtest.sh (LANG): Remove variable.
2007         * string/Makefile (tester-ENV): Likewise.
2008         (inl-tester-ENV): Likewise.
2009         (noinl-tester-ENV): Likewise.
2010         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2011         [$(cross-compiling) = no]: Don't set LANGUAGE.
2012         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2013         without explicit environment settings.
2014
2015 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2016
2017         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2018         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2019         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2020         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2021
2022 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2023
2024         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2025         other files in the crypt directory.
2026         * crypt/crypt.c: Remove duplicate includes.
2027         * crypt/crypt-entry.c: Likewise.
2028         * crypt/crypt_util.c: Likewise.
2029
2030 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2031
2032         * Makeconfig (run-program-env): New variable.
2033         (run-program-prefix-before-env): Likewise.
2034         (run-program-prefix-after-env): Likewise.
2035         (run-program-prefix): Define in terms of new variables.
2036         (built-program-cmd-before-env): New variable.
2037         (built-program-cmd-after-env): Likewise.
2038         (built-program-cmd): Define in terms of new variables.
2039         (test-program-prefix-before-env): New variable.
2040         (test-program-prefix-after-env): Likewise.
2041         (test-program-prefix): Define in terms of new variables.
2042         (test-program-cmd-before-env): New variable.
2043         (test-program-cmd-after-env): Likewise.
2044         (test-program-cmd): Define in terms of new variables.
2045         * Rules (make-test-out): Use $(run-program-env).
2046         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2047         (help): Do not mention environment variables.  Mention
2048         --timeoutfactor option.
2049         (timeoutfactor): New variable.
2050         (blacklist_exports): Remove function.
2051         (exports): Remove variable.
2052         (command): Do not include ${exports}.
2053         * manual/install.texi (Configuring and compiling): Do not mention
2054         test wrappers preserving environment variables.  Mention that last
2055         assignment to a variable must take precedence.
2056         * INSTALL: Regenerated.
2057         * benchtests/Makefile (run-bench): Use $(run-program-env).
2058         * catgets/Makefile ($(objpfx)test1.cat): Use
2059         $(built-program-cmd-before-env), $(run-program-env) and
2060         $(built-program-cmd-after-env).
2061         ($(objpfx)test2.cat): Do not specify environment variables
2062         explicitly.
2063         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2064         $(run-program-env) and $(built-program-cmd-after-env).
2065         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2066         $(run-program-env) and $(test-program-cmd-after-env).
2067         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2068         explicitly.
2069         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2070         run_program_env and test_program_cmd_after_env arguments.
2071         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2072         * elf/tst-pathopt.sh: Use run_program_env argument.
2073         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2074         $(test-wrapper-env) and $(run-program-env).
2075         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2076         run_program_env arguments.
2077         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2078         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2079         $(test-program-prefix-before-env), $(run-program-env) and
2080         $(test-program-prefix-after-env).
2081         ($(objpfx)tst-gettext2.out): Likewise.
2082         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2083         run_program_env and test_program_prefix_after_env arguments.
2084         * intl/tst-gettext2.sh: Likewise.
2085         * intl/tst-gettext4.sh: Do not set environment variables
2086         explicitly.
2087         * intl/tst-gettext6.sh: Likewise.
2088         * intl/tst-translit.sh: Likewise.
2089         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2090         $(test-program-prefix-before-env), $(run-program-env) and
2091         $(test-program-prefix-after-env).
2092         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2093         run_program_env and test_program_prefix_after_env arguments.
2094         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2095         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2096         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2097         explicitly with each use of ${test_wrapper_env}.
2098         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2099         $(test-program-prefix-before-env), $(run-program-env) and
2100         $(test-program-prefix-after-env).
2101         * posix/tst-getconf.sh: Do not set environment variables
2102         explicitly.
2103         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2104         run_program_env and test_program_prefix_after_env arguments.
2105         * stdio-common/tst-printf.sh: Do not set environment variables
2106         explicitly.
2107         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2108         $(test-program-prefix-before-env), $(run-program-env) and
2109         $(test-program-prefix-after-env).
2110         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2111         run_program_env and test_program_prefix_after_env arguments.
2112         Split $test calls into $test_pre and $test.
2113         * timezone/Makefile (build-testdata): Use
2114         $(built-program-cmd-before-env), $(run-program-env) and
2115         $(built-program-cmd-after-env).
2116
2117 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2118
2119         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2120         strlen for non SHARED builds.
2121
2122 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2123
2124         * nptl/allocatestack.c (check_list): Inlined function...
2125         (__reclaim_stacks): ... here.
2126
2127 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2128
2129         [BZ #15698]
2130         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2131         memory overrun.
2132
2133 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2134
2135         * Rules (make-test-out): Include
2136         LOCPATH=$(common-objpfx)localedata in default environment.
2137         * debug/Makefile (tst-chk1-ENV): Remove variable.
2138         (tst-chk2-ENV): Likewise.
2139         (tst-chk3-ENV): Likewise.
2140         (tst-chk4-ENV): Likewise.
2141         (tst-chk5-ENV): Likewise.
2142         (tst-chk6-ENV): Likewise.
2143         (tst-lfschk1-ENV): Likewise.
2144         (tst-lfschk2-ENV): Likewise.
2145         (tst-lfschk3-ENV): Likewise.
2146         (tst-lfschk4-ENV): Likewise.
2147         (tst-lfschk5-ENV): Likewise.
2148         (tst-lfschk6-ENV): Likewise.
2149         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2150         (tst-iconv7-ENV): Likewise.
2151         * intl/Makefile (LOCPATH-ENV): Likewise.
2152         (tst-codeset-ENV): Likewise.
2153         (tst-gettext3-ENV): Likewise.
2154         (tst-gettext5-ENV): Likewise.
2155         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2156         (tst-fopenloc-ENV): Likewise.
2157         (tst-fgetws-ENV): Remove variable.
2158         (tst-ungetwc1-ENV): Likewise.
2159         (tst-ungetwc2-ENV): Likewise.
2160         (bug-ungetwc2-ENV): Likewise.
2161         (tst-swscanf-ENV): Likewise.
2162         (bug-ftell-ENV): Likewise.
2163         (tst-fgetwc-ENV): Likewise.
2164         (tst-fseek-ENV): Likewise.
2165         (tst-ftell-partial-wide-ENV): Likewise.
2166         (tst-ftell-active-handler-ENV): Likewise.
2167         (tst-ftell-append-ENV): Likewise.
2168         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2169         (tst-regexloc-ENV): Likewise.
2170         (bug-regex1-ENV): Likewise.
2171         (tst-regex-ENV): Likewise.
2172         (tst-regex2-ENV): Likewise.
2173         (bug-regex5-ENV): Likewise.
2174         (bug-regex6-ENV): Likewise.
2175         (bug-regex17-ENV): Likewise.
2176         (bug-regex18-ENV): Likewise.
2177         (bug-regex19-ENV): Likewise.
2178         (bug-regex20-ENV): Likewise.
2179         (bug-regex22-ENV): Likewise.
2180         (bug-regex23-ENV): Likewise.
2181         (bug-regex25-ENV): Likewise.
2182         (bug-regex26-ENV): Likewise.
2183         (bug-regex30-ENV): Likewise.
2184         (bug-regex32-ENV): Likewise.
2185         (bug-regex33-ENV): Likewise.
2186         (bug-regex34-ENV): Likewise.
2187         (bug-regex35-ENV): Likewise.
2188         (tst-rxspencer-ENV): Likewise.
2189         (tst-rxspencer-no-utf8-ENV): Likewise.
2190         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2191         (tst-sscanf-ENV): Likewise.
2192         (tst-swprintf-ENV): Likewise.
2193         (tst-swscanf-ENV): Likewise.
2194         (test-vfprintf-ENV): Likewise.
2195         (scanf13-ENV): Likewise.
2196         (bug14-ENV): Likewise.
2197         (tst-grouping-ENV): Likewise.
2198         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2199         (tst-strtod3-ENV): Likewise.
2200         (tst-strtod4-ENV): Likewise.
2201         (tst-strtod5-ENV): Likewise.
2202         (testmb2-ENV): Likewise./
2203         * string/Makefile (tst-strxfrm-ENV): Likewise.
2204         (tst-strxfrm2-ENV): Likewise.
2205         (bug-strcoll1-ENV): Likewise.
2206         (test-strcasecmp-ENV): Likewise.
2207         (test-strncasecmp-ENV): Likewise.
2208         * time/Makefile (tst-strptime-ENV): Likewise.
2209         (tst-ftime_l-ENV): Likewise.
2210         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2211         (tst-mbrtowc-ENV): Likewise.
2212         (tst-wcrtomb-ENV): Likewise.
2213         (tst-mbrtowc2-ENV): Likewise.
2214         (tst-c16c32-1-ENV): Likewise.
2215         (tst-mbsnrtowcs-ENV): Likewise.
2216
2217 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2218
2219         * manual/resource.texi (How to get information about the memory
2220         subsystem?): Fix typo.
2221         Reported by Peon de la Parra Ivan <peon@keba.com>
2222
2223 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2224
2225         [BZ #16882]
2226         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2227         (pthread_spin_lock): Branch out of spin loop to proper location.
2228         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2229         (pthread_spin_lock): Likewise.
2230
2231         * nptl/tst-spin4.c: New test.
2232         * nptl/Makefile (tests): Add tst-spin4.
2233
2234 2014-06-03  Andreas Schwab  <schwab@suse.de>
2235
2236         [BZ #15946]
2237         * resolv/res_send.c (send_dg): Reload file descriptor after
2238         calling reopen.
2239
2240 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2241
2242         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2243
2244 2014-06-03  Richard Henderson  <rth@redhat.com>
2245
2246         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2247         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2248         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2249         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2250         in the SAVE_PID block.
2251         (__libc_vfork): New alias.
2252         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2253
2254         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2255         child in registers, not on the stack.  Remove RESET_PID conditionals.
2256         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2257
2258 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2259
2260         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2261
2262 2014-06-03  Wilco  <wdijkstr@arm.com>
2263
2264         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2265         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2266         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2267         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2268         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2269         Likewise.
2270
2271 2014-06-03  Wilco  <wdijkstr@arm.com>
2272
2273         * sysdeps/aarch64/fpu/math_private.h
2274         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2275         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2276         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2277         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2278         Fix declarations.
2279
2280 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2281
2282         * crypt/crypt-private.h: Include ufc-crypt.h.
2283         (__b64_from_24bit): Declare extern.
2284         * crypt/crypt_util.c(__b64_from_24bit): New function.
2285         (b64t): New static const variable.
2286         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2287         (b64t): Remove variable.
2288         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2289         * crypt/sha256-crypt.c: Include crypt-private.h.
2290         (b64t): Remove variable.
2291         (__sha256_crypt_r): Remove b64_from_24bit and replace
2292         with __b64_from_24bit.
2293         * crypt/sha512-crypt.c: Likewise.
2294
2295 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2296
2297         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2298         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2299         Label the code __libc_vfork rather than __vfork.
2300         [!NOT_IN_libc] (vfork): Define as weak alias.
2301         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2302         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2303         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2304
2305 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2306
2307         * malloc/malloc.c (malloc_info): Fix format specifier for
2308         n_mmaps.
2309
2310 2014-06-02  Wilco  <wdijkstr@arm.com>
2311
2312         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2313         FPCR write.
2314
2315 2014-06-02  Wilco  <wdijkstr@arm.com>
2316
2317         [BZ #17009]
2318         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2319         Rewrite to reduce FPCR/FPSR accesses.
2320
2321 2014-06-01  David S. Miller  <davem@davemloft.net>
2322
2323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2324
2325 2014-05-31  David S. Miller  <davem@davemloft.net>
2326
2327         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2328         to occur in round to nearest mode when |x| >= 2.0
2329
2330 2014-05-30  Richard Henderson  <rth@twiddle.net>
2331
2332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2333         (PSEUDO_RET_NOERRNO): Remove.
2334         (ret): Don't redefine.
2335         (ret_NOERRNO): Define in terms of ret.
2336         (ret_ERRVAL): Likewise.
2337
2338         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2339         use of PSEUDO_RET; perform the error check directly.
2340
2341 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2342
2343         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2344         with __int128_t.
2345
2346 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2347
2348         * malloc/malloc (malloc_info): Fix formatting.
2349
2350 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2351             Roland McGrath  <roland@hack.frob.com>
2352
2353         * malloc/malloc (malloc_info): Also print mmapped statistics.
2354
2355 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2356
2357         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2358         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2359
2360 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2361
2362         * malloc/malloc.c (malloc_info): Inline mi_arena.
2363
2364 2014-05-29  Richard Henderson  <rth@twiddle.net>
2365
2366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2367         Remove comma before expanding ASM_ARGS_##nr.
2368         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2369         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2370         of ASM_ARGS_##nr.
2371         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2372         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2373         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2374         (ASM_ARGS_1): Add leading comma.
2375
2376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2377         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2378         to __errno_location.
2379         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2380         Remove the expected plt for __errno_location.
2381
2382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2383         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2384         call to __read_tp.
2385
2386         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2387         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2388         it and break it down.
2389         (DOCARGS_0, DOCARGS_1): Do nothing.
2390         (DOCARGS_2): Update to store into the new stack frame.
2391         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2392         (UNDOCARGS_1): Update to restore from the new stack frame.
2393         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2394         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2395
2396         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2397         (SINGLE_THREAD_P): New parameter for result regno.
2398         (PSEUDO): Update to match; use cbz instead of beq.
2399
2400         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2401         Use ENTRY to define the _nocancel entry point.  Share the syscall
2402         and syscall error check paths with the cancel path.
2403         (PSEUDO_END): New.
2404
2405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2406         whitespace; tabs before and after asm mnemonics.
2407
2408 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2409
2410         [BZ #15132]
2411         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2412         Call fstat64 or stat64 internally, depending on arguments passed.
2413         Replace stat buffer argument with file descriptor argument.
2414         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2415         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2416         Pass fd to __internal_statvfs instead of calling fstat64.
2417         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2418         Pass fd to __internal_statvfs64 instead of calling fstat64.
2419         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2420         Pass -1 to __internal_statvfs instead of calling stat64.
2421         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2422         Pass -1 to __internal_statvfs64 instead of calling stat64.
2423
2424 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2425
2426         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2427         that was previously under [RESET_PID].
2428         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2429
2430         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2431         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2432
2433 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2434
2435         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2436
2437         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2438         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2439
2440 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2441
2442         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2443
2444 2014-05-27  Andreas Schwab  <schwab@suse.de>
2445
2446         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2447         TLS_INIT_TP macro.
2448         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2449         * elf/rtld.c (init_tls, dl_main): Likewise.
2450         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2451         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2452         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2453         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2454         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2455         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2456         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2457         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2458         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2459         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2460         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2461         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2462         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2463         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2464         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2465         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2466         * sysdeps/generic/tls.h: Update description.
2467
2468 2014-05-27  Will Newton  <will.newton@linaro.org>
2469
2470         [BZ #16990]
2471         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2472         and restore r2 rather than just restoring.
2473
2474 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2475
2476         [BZ #16724]
2477         * libio/tst-ftell-append.c: New test case.
2478         * libio/Makefile (tests): Add test case.
2479         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2480         append mode.
2481         * libio/wfileops.c (do_ftell_wide): Likewise.
2482
2483 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2484
2485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2486
2487         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2488         ...
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2491         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2492         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2493         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2494         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2495         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2496         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2498         Moved ...
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2501         Moved ...
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2503         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2504         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2505         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2506         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2507         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2508         ...
2509         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2510         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2511         Moved ...
2512         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2513         here.
2514         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2515         ...
2516         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2517         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2518         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2519
2520         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2521         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2522         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2523         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2524
2525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2526         merge into ...
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2529         ...
2530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2532         ...
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2535         Moved ...
2536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2537         here.
2538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2539         Moved ...
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2542         Moved ...
2543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2544
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2546         conditional [RESET_PID].
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2549         removed.
2550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2551         removed.
2552
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2554         <tcb-offsets.h>.
2555         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2556         (__libc_vfork): New strong alias.
2557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2558         removed.
2559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2560         Removed.
2561
2562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2563         <tcb-offsets.h>.
2564         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2565         (__libc_vfork): New strong alias.
2566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2567         removed.
2568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2569         removed.
2570
2571 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2572
2573         * malloc/malloc.c (mi_arena): New function.
2574         (malloc_info): Remove nested function mi_arena. Call non-nosted
2575         function mi_arena.
2576
2577 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2578
2579         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2580         by insrwi.
2581         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2582         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2583         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2584         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2585         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2586         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2587         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2588
2589 2014-05-26  Andreas Schwab  <schwab@suse.de>
2590
2591         [BZ #16984]
2592         * locale/programs/repertoire.c (repertoire_read): Add slash
2593         between I18NPATH element and file name.
2594         * locale/programs/locfile.c (locfile_read): Likewise.
2595
2596 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2597
2598         * nptl/pthread_mutexattr_settype.c
2599         (__pthread_mutexattr_settype):
2600         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2601
2602 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2603
2604         * nptl/tst-mutex5 (do_test):
2605         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2606
2607 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2608
2609         * benchtests/README: Document 'init' directive.
2610         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2611         BENCH_INIT.
2612         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2613         (parse_file): Recognize 'init' directive.
2614
2615 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2616
2617         [BZ #16796]
2618         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2619         alignment of struct pthread.
2620
2621 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2622
2623         [BZ #16878]
2624         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2625         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2626         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2627         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2628
2629 2014-05-25  Richard Henderson  <rth@twiddle.net>
2630
2631         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2632         (SINGLE_THREAD_P_PIC): Remove.
2633         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2634         (SINGLE_THREAD_P_PIC): Remove.
2635
2636         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2637         branch to syscall error ...
2638         (PSEUDO): ... here.
2639         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2640         from __local_syscall_error to .Lsyscall_error.
2641         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2642         (SYSCALL_ERROR): Update label name.
2643
2644         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2645         Do not use DOARGS/UNDOARGS.
2646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2647         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2648         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2649         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2650         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2651
2652         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2653         block comment.
2654
2655         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2656         define if !NOT_IN_libc.
2657         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2658         define with non-default symbol versions.
2659
2660 2014-05-23  Richard Henderson  <rth@twiddle.net>
2661
2662         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2663         (vfork, __vfork): Define via compat_symbol.
2664
2665         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2666         [!HAVE_IFUNC] (vfork_compat): Remove.
2667         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2668
2669 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2670
2671         [BZ #16978]
2672         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2673         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2674         variable.
2675
2676 2014-05-23  Richard Henderson  <rth@twiddle.net>
2677
2678         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2679         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2680         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2681         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2682
2683         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2684         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2685         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2686         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2687         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2688         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2689         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2690         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2691         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2692         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2693         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2694         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2695         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2696         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2697         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2698         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2699         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2700         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2701         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2702         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2704         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2705         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2706         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2707         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2708         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2709         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2710         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2711         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2712         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2713         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2714         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2718         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2719         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2720         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2721         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2722         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2723         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2724         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2725         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2726         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2727         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2728         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2730         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2731         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2732         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2733         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2734         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2736         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2737         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2738         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2739
2740         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2741         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2742         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2743         before exiting on error.
2744         (__libc_vfork): New strong alias.
2745         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2746         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2747
2748         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2749         that was previously under [RESET_PID].
2750         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2751
2752         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2753
2754 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2755
2756         [BZ #16977]
2757         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2758         value when x - 1 is zero.
2759         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2760         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2761         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2762         0.0L for an argument of 1.0L.
2763         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2764         Likewise.
2765         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2766         value when x - 1 is zero.
2767         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2768         * sysdeps/i386/fpu/libm-test-ulps: Update.
2769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2770
2771 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2772
2773         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2774         alphasort and versionsort.
2775
2776 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2777
2778         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2779         macro.
2780         [copysignf]: Likewise.
2781
2782 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2783
2784         * crypt/md5-crypt.c: Fix formatting.
2785
2786 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2787
2788         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2789         (b64_from_24bit): New function.
2790
2791 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2792
2793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2794         libc_hidden_builtin_def to ifunc.
2795         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2796         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2797
2798 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2799
2800         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2801         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2802
2803 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2804
2805         * nscd/Depend (linuxthreads): Remove.
2806         (nptl): Add.
2807         * resolv/Depend (linuxthreads): Remove.
2808         * rt/Depend (linuxthreads): Remove.
2809
2810         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2811         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2812         $(common-objpfx)elf/.
2813         (link-libc-before-gnulib): Likewise.
2814         (elfobjdir): Remove variable.
2815         * Makefile (install): Use $(elf-objpfx) instead of
2816         $(common-objpfx)elf/.
2817         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2818         $(elfobjdir)/.
2819         (link-libc-deps): Likewise.
2820         ($(common-objpfx)libc.so): Likewise.
2821         ($(common-objpfx)linkobj/libc.so): Likewise.
2822         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2823         instead of $(common-objpfx)elf/.
2824         (symbolic-link-list): Likewise.
2825         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2826         [$(cross-compiling) = no]: Likewise.
2827         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2828         $(elfobjdir)/.
2829         (static-gnulib-arch): Likewise.
2830         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2831         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2832         $(common-objpfx)elf/.
2833
2834 2014-05-21  Richard Henderson  <rth@redhat.com>
2835
2836         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2837         (SINGLE_THREAD_P): Use the correct width load.  Fold
2838         into the ldr offset.
2839
2840         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2841         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2842
2843 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2844
2845         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2846         (libgcc_s_resume): Use __attribute_used__.
2847         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2848         Likewise.
2849
2850 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2851
2852         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2853         optimization when used with float constants.
2854
2855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2856
2857 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2858
2859         [BZ #16915]
2860         * locale/nl_langinfo_l.c: Make direct reference to every
2861         _nl_current_CATEGORY symbol.
2862         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2863         (tests-static): Add tst-langinfo-static.
2864         (tests-special): Add tst-langinfo-static.out.
2865         ($(objpfx)tst-langinfo.out): Redirect output.
2866         ($(objpfx)tst-langinfo-static.out): New.
2867         * localedata/tst-langinfo.sh: Send output to stdout.
2868         * localedata/tst-langinfo-static.c: New file.
2869
2870         [BZ #16965]
2871         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2872         when the shift amount is modulo the limb size.
2873
2874 2014-05-20  Richard Henderson  <rth@redhat.com>
2875
2876         [BZ #16967]
2877         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2878         Change type of sa_flags from unsigned int to int.
2879
2880         [BZ #16966]
2881         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2882
2883         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2884
2885 2014-05-20  Will Newton  <will.newton@linaro.org>
2886
2887         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2888         Test the return value of the system call in the nocancel case.
2889
2890 2014-05-20  Will Newton  <will.newton@linaro.org>
2891             Yvan Roux  <yvan.roux@linaro.org>
2892
2893         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2894         #include of asm/ptrace.h.
2895         (PTRACE_GET_THREAD_AREA): Remove #undef.
2896         (PTRACE_GETHBPREGS): Likewise.
2897         (PTRACE_SETHBPREGS): Likewise.
2898         (struct user_regs_struct): New structure.
2899         (struct user_fpsimd_struct): New structure.
2900         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2901         #include of asm/ptrace.h and second #include of sys/user.h.
2902         (PTRACE_GET_THREAD_AREA): Remove #undef.
2903         (PTRACE_GETHBPREGS): Likewise.
2904         (PTRACE_SETHBPREGS): Likewise.
2905         (ELF_NGREG): Use new struct user_regs_struct.
2906         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2907
2908 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2909
2910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2911         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2912
2913 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2914
2915         [BZ #16958]
2916         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2917         membar to avoid block loads/stores to overlap previous stores.
2918
2919 2014-05-17  Richard Henderson  <rth@redhat.com>
2920
2921         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2922         Create the __##syscall_name##_nocancel entry point.
2923         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2924         Remove; let the sysdep-cancel.h code create it.
2925
2926 2014-05-17  David S. Miller  <davem@davemloft.net>
2927
2928         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2929         Protect with __USE_GNU.
2930         (TIOCSET_TEMPT): Likewise.
2931         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2932         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2933         these are already provided in bits/ioctl-types.h
2934
2935 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2936
2937         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2938         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2939
2940         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2941         Use wait4 regardless of [__NR_waitpid].
2942
2943 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2944
2945         PR libgcc/60166
2946         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2947         (_FP_NANSIGN_Q): Set the quiet bit.
2948
2949 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2950
2951         * benchtests/Makefile
2952         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2953         not $(common-objpfx)math/libm.so.
2954         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2955         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2956         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2957         $(common-objpfx)dlfcn/libdl.so.
2958         ($(objpfx)tst-audit8): Depend on $(libm), not
2959         $(common-objpfx)math/libm.so.
2960         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2961         not $(common-objpfx)dlfcn/libdl.so.
2962         * math/Makefile
2963         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2964         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2965         [$(build-shared) = yes].
2966         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2967         $(common-objpfx)nptl/libpthread.so.
2968         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2969         $(common-objpfx)math/libm.so$(libm.so-version) or
2970         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2971         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2972         $(common-objpfx)dlfcn/libdl.so.
2973         * setjmp/Makefile (link-libm): Remove variable.
2974         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2975         * stdio-common/Makefile (link-libm): Remove variable.
2976         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2977         * stdlib/Makefile (link-libm): Remove variable.
2978         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2979         ($(objpfx)tst-strtod-round): Likewise.
2980         ($(objpfx)tst-tininess): Likewise.
2981         ($(objpfx)tst-strtod-underflow): Likewise.
2982         ($(objpfx)tst-strtod6): Likewise.
2983         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2984         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2985         $(common-objpfx)dlfcn/libdl.so.
2986
2987 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2988
2989         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2990         BSD terminal modes definitions.
2991
2992 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2993
2994         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2995         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2996
2997         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2998         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2999         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3000         Don't do #include_next.
3001         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3002         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3003         Don't do #include_next.
3004         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3005         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3006         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3007         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3008
3009 2014-05-16  Allan McRae  <allan@archlinux.org>
3010
3011         * po/sv.po: Update Swedish translation from translation project.
3012
3013         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3014         in sed expression.
3015
3016 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3017
3018         [BZ #16917]
3019         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3020         errno if the TIOCGPTN ioctl fails with an error different than
3021         EINVAL.
3022         * login/tst-ptsname.c: New file.
3023         * login/Makefile (tests): Add tst-ptsname.
3024
3025         [BZ #16943]
3026         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3027         and prlimit64.
3028
3029 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3030
3031         [BZ #16849]
3032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3033         herrno to return EAI_AGAIN.
3034
3035 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3036
3037         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3038         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3039         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3040         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3041         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3042         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3043         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3044         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3045         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3046         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3047         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3048         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3049         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3050         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3051         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3052         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3053         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3054         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3055         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3056         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3057         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3058         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3059         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3060         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3062         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3063         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3064         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3065         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3066         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3068         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3070         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3072         Moved ...
3073         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3075         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3077         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3079         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3081         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3083         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3085         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3087         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3089         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3091         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3093         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3095         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3097         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3099         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3104         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3106         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3108         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3110         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3112         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3114         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3116         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3118         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3120         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3125         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3126
3127         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3128         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3129         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3130         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3131         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3132         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3133         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3134         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3135         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3136         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3137         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3138         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3139         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3140         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3141         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3142         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3143         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3144         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3145         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3146         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3147         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3148         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3149         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3150         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3151         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3152         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3153         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3155         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3157         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3158
3159         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3160         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3161
3162         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3163         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3164         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3165         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3166         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3168         Moved ...
3169         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3171         Moved ...
3172         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3174         Moved ...
3175         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3176         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3177         Moved ...
3178         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3179         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3180         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3182         Moved ...
3183         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3184         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3185         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3186         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3187         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3188         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3189         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3191         Moved ...
3192         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3193         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3194         Moved ...
3195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3196         ... here.
3197         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3198         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3199         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3200         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3201         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3202         Moved ...
3203         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3204         ... here.
3205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3206         Moved ...
3207         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3208         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3209         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3210         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3211         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3213         Moved ...
3214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3216         Moved ...
3217         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3219         Moved ...
3220         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3221         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3222         Moved ...
3223         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3224         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3225         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3227         Moved ...
3228         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3229         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3230         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3231         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3233         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3234         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3236         Moved ...
3237         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3238         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3239         Moved ...
3240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3241         ... here.
3242         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3243         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3244         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3245         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3246         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3247         Moved ...
3248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3249         ... here.
3250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3251         Moved ...
3252         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3253         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3254         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3255         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3256         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3257         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3259         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3260         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3261         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3262         Moved ...
3263         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3265         Moved ...
3266         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3268         Moved ...
3269         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3270         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3271         Moved ...
3272         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3273         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3274         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3275         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3276         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3277         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3278         Moved ...
3279         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3280         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3281         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3283         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3284         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3285         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3286         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3287         Moved ...
3288         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3289         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3290         Moved ...
3291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3292         ... here.
3293         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3294         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3295         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3296         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3297         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3298         Moved ...
3299         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3300         ... here.
3301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3302         Moved ...
3303         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3304         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3305         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3306         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3307         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3308         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3309         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3310         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3311         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3312         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3313         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3314
3315         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3316         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3317
3318         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3319         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3320
3321         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3322         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3323         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3324         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3325         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3326         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3327         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3328         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3329         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3330         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3332         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3334         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3335         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3337         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3339         Moved ...
3340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3344         Moved ...
3345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3347         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3349         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3353         Moved ...
3354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3356         Moved ...
3357         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3361         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3362         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3363         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3364         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3365         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3366         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3367         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3368         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3369         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3370         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3371         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3372         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3373         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3374
3375         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3376         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3377         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3378         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3379         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3380
3381         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3382         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3383         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3384         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3385         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3386         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3387         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3388         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3389         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3390         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3391
3392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3394
3395         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3396         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3397         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3398         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3399         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3400         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3401         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3402         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3403         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3404         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3405         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3406         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3407         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3408         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3410         Update #include.
3411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3412         Likewise.
3413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3414         Likewise.
3415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3416         Likewise.
3417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3418         Likewise.
3419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3420         Likewise.
3421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3422         Likewise.
3423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3424         Likewise.
3425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3426         Likewise.
3427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3428         Likewise.
3429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3438         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3441         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3443         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3444
3445         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3446         that was previously under [RESET_PID].
3447         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3448         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3449         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3450
3451         * sysdeps/i386/nptl/Implies: New file.
3452         * sysdeps/x86_64/nptl/Implies: New file.
3453         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3454         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3455         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3456         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3457
3458         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3459         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3460         (__libc_vfork): New strong alias.
3461         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3462         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3463
3464         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3465         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3466         (__libc_vfork): New strong alias.
3467         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3468         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3469
3470         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3471         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3472         (__libc_vfork): New strong alias.
3473         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3474         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3475         * nptl/pt-vfork.c: New file.
3476         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3477         (libpthread: GLIBC_2.20): New version set (empty).
3478
3479 2014-05-14  Will Newton  <will.newton@linaro.org>
3480
3481         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3482         rather than #if.
3483
3484 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3485
3486         [BZ #16564]
3487         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3488         arguments with exponent 65 or above.
3489         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3490         arguments 0x1p113L or above.
3491         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3492         to arguments 0x1p107L or above.
3493         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3494         positive arguments with exponent 65 or above.
3495         * math/auto-libm-test-in: Add more tests of log1p.
3496         * math/auto-libm-test-out: Regenerated.
3497
3498         [BZ #16928]
3499         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3500         non-finite arguments is +0.
3501         * math/s_cacosf.c (__cacosf): Likewise.
3502         * math/s_cacosl.c (__cacosl): Likewise.
3503         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3504         * sysdeps/i386/fpu/libm-test-ulps: Update.
3505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3506
3507         [BZ #16927]
3508         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3509         value.
3510         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3511         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3512         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3513         for explicit high bit of mantissa when testing for argument equal
3514         to 1.
3515         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3516         * sysdeps/i386/fpu/libm-test-ulps: Update.
3517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3518
3519         [BZ #16516]
3520         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3521         (__erf): Scale by 16 instead of 8 in potentially underflowing
3522         case.  Ensure exception if result actually underflows.
3523         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3524         (__erff): Scale by 16 instead of 8 in potentially underflowing
3525         case.  Ensure exception if result actually underflows.
3526         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3527         (efx8): Remove variable.
3528         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3529         case.  Ensure exception if result actually underflows.
3530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3531         (efx8): Remove variable.
3532         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3533         case.  Ensure exception if result actually underflows.
3534         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3535         (efx8): Remove variable.
3536         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3537         case.  Ensure exception if result actually underflows.
3538         * math/auto-libm-test-in: Add more tests of erf.
3539         * math/auto-libm-test-out: Regenerated.
3540
3541 2014-05-14  Andreas Schwab  <schwab@suse.de>
3542
3543         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3544         Remove code conditionalized on USE___THREAD.
3545
3546         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3547         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3548         not definedness.
3549
3550 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3551
3552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3553         Define unconditionally.
3554         (__ASSUME_O_CLOEXEC): Likewise.
3555         (__ASSUME_SOCK_CLOEXEC): Likewise.
3556         (__ASSUME_IN_NONBLOCK): Likewise.
3557         (__ASSUME_PIPE2): Likewise.
3558         (__ASSUME_EVENTFD2): Likewise.
3559         (__ASSUME_SIGNALFD4): Likewise.
3560         (__ASSUME_DUP3): Likewise.
3561         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3562         (__ASSUME_DUP3): Do not define.
3563         (__ASSUME_EVENTFD2): Likewise.
3564         (__ASSUME_IN_NONBLOCK): Likewise.
3565         (__ASSUME_O_CLOEXEC): Likewise.
3566         (__ASSUME_PIPE2): Likewise.
3567         (__ASSUME_SIGNALFD4): Likewise.
3568         (__ASSUME_SOCK_CLOEXEC): Likewise.
3569         (__ASSUME_UTIMES): Undefine.
3570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3571         (__ASSUME_UTIMES): Do not define.
3572         (__ASSUME_O_CLOEXEC): Likewise.
3573         (__ASSUME_SOCK_CLOEXEC): Likewise.
3574         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3575         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3576         0x020621].
3577         (__ASSUME_PIPE2): Likewise.
3578         (__ASSUME_EVENTFD2): Likewise.
3579         (__ASSUME_SIGNALFD4): Likewise.
3580         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3581         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3582         Do not define.
3583         (__ASSUME_EVENTFD2): Likewise.
3584         (__ASSUME_SIGNALFD4): Likewise.
3585         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3586         (__ASSUME_32BITUIDS): Likewise.
3587         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3588         (__ASSUME_IPC64): Likewise.
3589         (__ASSUME_ST_INO_64_BIT): Likewise.
3590         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3591         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3592         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3593         (__ASSUME_UTIMES): Do not define.
3594         (__ASSUME_PSELECT): Likewise.
3595         (__ASSUME_PPOLL): Likewise.
3596         (__ASSUME_O_CLOEXEC): Likewise.
3597         (__ASSUME_SOCK_CLOEXEC): Likewise.
3598         (__ASSUME_IN_NONBLOCK): Likewise.
3599         (__ASSUME_PIPE2): Likewise.
3600         (__ASSUME_EVENTFD2): Likewise.
3601         (__ASSUME_SIGNALFD4): Likewise.
3602         (__ASSUME_DUP3): Likewise.
3603         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3604         (__ASSUME_UTIMES): Likewise.
3605         (__ASSUME_O_CLOEXEC): Likewise.
3606         (__ASSUME_SOCK_CLOEXEC): Likewise.
3607         (__ASSUME_IN_NONBLOCK): Likewise.
3608         (__ASSUME_PIPE2): Likewise.
3609         (__ASSUME_EVENTFD2): Likewise.
3610         (__ASSUME_SIGNALFD4): Likewise.
3611         (__ASSUME_DUP3): Likewise.
3612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3613         (__ASSUME_UTIMES): Likewise.
3614         (__ASSUME_O_CLOEXEC): Likewise.
3615         (__ASSUME_SOCK_CLOEXEC): Likewise.
3616         (__ASSUME_IN_NONBLOCK): Likewise.
3617         (__ASSUME_PIPE2): Likewise.
3618         (__ASSUME_EVENTFD2): Likewise.
3619         (__ASSUME_SIGNALFD4): Likewise.
3620         (__ASSUME_DUP3): Likewise.
3621         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3622         Likewise.
3623         (__ASSUME_UTIMES): Likewise.
3624         (__ASSUME_EVENTFD2): Likewise.
3625         (__ASSUME_SIGNALFD4): Likewise.
3626         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3627         (__ASSUME_O_CLOEXEC): Likewise.
3628         (__ASSUME_SOCK_CLOEXEC): Likewise.
3629         (__ASSUME_IN_NONBLOCK): Likewise.
3630         (__ASSUME_PIPE2): Likewise.
3631         (__ASSUME_EVENTFD2): Likewise.
3632         (__ASSUME_SIGNALFD4): Likewise.
3633         (__ASSUME_DUP3): Likewise.
3634         (__ASSUME_UTIMES): Undefine.
3635
3636         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3637         feclearexcept.  Remove symbol versioning code.
3638         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3639         symbol versioning code.
3640         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3641         symbol versioning code.
3642         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3643         feupdateenv.  Remove symbol versioning code.
3644         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3645         fegetexceptflag.  Remove symbol versioning code.
3646         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3647         fesetexceptflag.  Remove symbol versioning code.
3648         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3649         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3650         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3651         (__posix_fadvise64_l32): Remove prototype.
3652         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3653         code.
3654
3655 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3656
3657         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3658         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3659         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3660         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3661
3662 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3663
3664         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3665         current working directory
3666
3667 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3668
3669         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3670         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3671         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3672         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3673         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3674         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3675         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3676         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3677         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3678         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3682         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3684         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3688         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3690         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3691         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3692         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3693         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3694         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3698         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3699         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3700         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3701         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3702         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3703         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3704         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3705         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3706         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3707         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3708         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3709         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3710         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3711
3712         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3713         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3714
3715         * sysdeps/unix/sysv/linux/arm/Makefile
3716         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3717         Add rt-aeabi_unwind_cpp_pr1.
3718         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3719         Add nptl-aeabi_unwind_cpp_pr1.
3720         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3721         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3722         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3723         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3724         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3725         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3726
3727         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3728         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3729         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3730         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3731
3732         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3733         Deconditionalize the code that was previously under [RESET_PID].
3734         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3735
3736         * sysdeps/generic/exit-thread.h: New file.
3737         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3738         * include/unistd.h (__exit_thread): Remove declaration.
3739         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3740         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3741         * csu/libc-start.c: Include <exit-thread.h>.
3742         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3743         * nptl/pthread_create.c: Include <exit-thread.h>.
3744         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3745         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3746         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3747         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3748         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3749         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3750         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3751         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3752         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3753         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3754         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3755         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3756         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3757         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3758         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3759         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3760         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3761
3762 2014-05-13  Andreas Schwab  <schwab@suse.de>
3763
3764         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3765
3766 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3767
3768         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3769         (__ASSUME_UTIMES): Do not condition on kernel version.
3770         (__ASSUME_PSELECT): Define unconditionally.
3771         (__ASSUME_PPOLL): Likewise.
3772         (__ASSUME_ATFCTS): Likewise.
3773         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3774         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3775         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3776         (__ASSUME_UTIMENSAT): Define unconditionally.
3777         (__ASSUME_PRIVATE_FUTEX): Likewise.
3778         (__ASSUME_FALLOCATE): Likewise.
3779         (__ASSUME_O_CLOEXEC): Likewise.
3780         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3781         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3782         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3783         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3784         (__ASSUME_IN_NONBLOCK): Likewise.
3785         (__ASSUME_PIPE2): Likewise.
3786         (__ASSUME_EVENTFD2): Likewise.
3787         (__ASSUME_SIGNALFD4): Likewise.
3788         (__ASSUME_DUP3): Likewise.
3789         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3790         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3791         (__ASSUME_AT_RANDOM): Likewise.
3792         (__ASSUME_PREADV): Likewise.
3793         (__ASSUME_PWRITEV): Likewise.
3794         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3795         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3796         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3797         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3798         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3799         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3800         (__ASSUME_O_CLOEXEC): Define unconditionally.
3801         (__ASSUME_PSELECT): Do not undefine conditionally.
3802         (__ASSUME_PPOLL): Likewise.
3803         (__ASSUME_ATFCTS): Likewise.
3804         (__ASSUME_SET_ROBUST_LIST): Likewise.
3805         (__ASSUME_UTIMENSAT): Likewise.
3806         (__ASSUME_FDATASYNC): Define unconditionally.
3807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3808         (__ASSUME_SIGFRAME_V2): Likewise.
3809         )__ASSUME_EVENTFD2): Likewise.
3810         (__ASSUME_SIGNALFD4): Likewise.
3811         (__ASSUME_PSELECT): Do not undefine conditionally.
3812         (__ASSUME_PPOLL): Likewise.
3813         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3814         (__ASSUME_PSELECT): Define unconditionally.
3815         (__ASSUME_PPOLL): Likewise.
3816         (__ASSUME_O_CLOEXEC): Likewise.
3817         (__ASSUME_SOCK_CLOEXEC): Likewise.
3818         (__ASSUME_IN_NONBLOCK): Likewise.
3819         (__ASSUME_PIPE2): Likewise.
3820         (__ASSUME_EVENTFD2): Likewise.
3821         (__ASSUME_SIGNALFD4): Likewise.
3822         (__ASSUME_DUP3): Likewise.
3823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3824         (__ASSUME_O_CLOEXEC): Likewise.
3825         (__ASSUME_SOCK_CLOEXEC): Likewise.
3826         (__ASSUME_IN_NONBLOCK): Likewise.
3827         (__ASSUME_PIPE2): Likewise.
3828         (__ASSUME_EVENTFD2): Likewise.
3829         (__ASSUME_SIGNALFD4): Likewise.
3830         (__ASSUME_DUP3): Likewise.
3831         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3832         (__ASSUME_EVENTFD2): Likewise.
3833         (__ASSUME_SIGNALFD4): Likewise.
3834         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3835
3836 2014-05-12  Andreas Schwab  <schwab@suse.de>
3837
3838         [BZ #16932]
3839         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3840         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3841         than maximum RPC packet size.
3842         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3843         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3844         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3845         (_nss_nis_getservbyport_r): Likewise.
3846
3847 2014-05-12  Will Newton  <will.newton@linaro.org>
3848
3849         * malloc/Makefile (tests): Add tst-mallopt.
3850         * malloc/tst-mallopt.c: New file.
3851
3852 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3853
3854         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3855         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3856
3857 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3858
3859         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3860         (tst-tlsmod6.so): Likewise.
3861
3862 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3863
3864         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3865
3866 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3867
3868         [BZ #16064]
3869         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3870         and <dl-procinfo.h>.
3871         (__fegetenv): Save SSE state in envp->__eip if supported.
3872         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3873         envp->__eip if supported.
3874         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3875         and <dl-procinfo.h>.
3876         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3877         __data_offset and __data_selector in environment to 0.  Set SSE
3878         state if supported.
3879         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3880         test-fenv-sse.
3881         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3882         -mfpmath=sse.
3883         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3884
3885 2014-05-09  Will Newton  <will.newton@linaro.org>
3886
3887         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3888         and libc_relro_required for ARM.
3889         * sysdeps/arm/preconfigure: Regenerate.
3890
3891 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3892             Stefan Liebler  <stli@linux.vnet.ibm.com>
3893
3894         * config.make.in (enable-lock-elision): New Makefile variable.
3895         * configure.ac: Likewise.
3896         * configure: Regenerate.
3897         * sysdeps/s390/configure.ac:
3898         Add check for gcc transactions support.
3899         * sysdeps/s390/configure: Regenerate.
3900         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3901         Build elision files if enabled.
3902         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3903         Add lock elision support for s390.
3904         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3905         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3906         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3907         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3908         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3909         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3911         Likewise.
3912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3913         Likewise.
3914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3915         Likewise.
3916         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3917         Likewise.
3918         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3919         (__lll_timedlock_elision, __lll_lock_elision)
3920         (__lll_unlock_elision, __lll_trylock_elision)
3921         (lll_timedlock_elision, lll_lock_elision)
3922         (lll_unlock_elision, lll_trylock_elision): Add.
3923         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3924         (pthread_mutex_t): Add lock elision support for s390.
3925
3926 2014-05-14  Wilco  <wdijkstr@arm.com>
3927
3928         * sysdeps/arm/fclrexcpt.c: Cleanup.
3929         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3930         * sysdeps/arm/feenablxcpt.c: Cleanup.
3931         * sysdeps/arm/fegetenv.c: Cleanup.
3932         * sysdeps/arm/fegetexcept.c: Cleanup.
3933         * sysdeps/arm/fegetround.c: Cleanup.
3934         * sysdeps/arm/feholdexcpt.c: Cleanup.
3935         * sysdeps/arm/fesetenv.c: Cleanup.
3936         * sysdeps/arm/fesetround.c: Cleanup.
3937         * sysdeps/arm/feupdateenv.c: Cleanup.
3938         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3939         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3940         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3941         * sysdeps/arm/ftestexcept.c: Cleanup.
3942         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3943         * sysdeps/arm/setfpucw.c: Cleanup.
3944
3945 2014-05-09  Will Newton  <will.newton@linaro.org>
3946
3947         * sysdeps/arm/armv7/strcmp.S: New file.
3948         * NEWS: Mention addition of ARMv7 optimized strcmp.
3949
3950 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3951
3952         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3953         look for %.ac rather than %.in.
3954
3955         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3956         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3957         * sysdeps/mach/hurd/configure: Regenerated.
3958         * sysdeps/unix/sysv/linux/configure: Regenerated.
3959
3960         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3961
3962 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3963
3964         [BZ# 16922]
3965         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3966         (LONG_SUB): Ditto.
3967         (PTR_SUB): Ditto.
3968
3969 2014-05-07  Andreas Schwab  <schwab@suse.de>
3970
3971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3972         when skipping over non-matching result from nscd.
3973
3974 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3975
3976         [BZ #16876]
3977         * nptl/sockperf.c (client): Check socket return value.
3978
3979         [BZ #16877]
3980         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3981         nscd security class.
3982
3983 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3984
3985         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3986         * sysdeps/arm/unwind.h: ... here.
3987
3988 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3989
3990         [BZ# 16916]
3991         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3992         Define.
3993
3994 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3995
3996         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3997         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3998         multiarch strncpy for PPC64.
3999         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4000         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4002         multiarch optimizations.
4003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4004         (__libc_ifunc_impl_list): Likewise.
4005         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4007         multiarch stpncpy for PPC64.
4008         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4009         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4010
4011 2014-05-06  Andreas Schwab  <schwab@suse.de>
4012
4013         [BZ #16912]
4014         * gmon/mcount.c (_MCOUNT_DECL): Use
4015         atomic_compare_and_exchange_bool_acq instead of
4016         catomic_compare_and_exchange_bool_acq.
4017
4018 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4019
4020         * elf/Makefile (others, install-bin): Remove pldd.
4021         (pldd-modules): Variable removed.
4022         ($(objpfx)pldd): Target removed.
4023         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4024         (others, install-bin): Append pldd here.
4025         ($(objpfx)pldd): New target.
4026
4027         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4028         to 0, so the first #if test emitted later doesn't see it undefined.
4029         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4030         * sysdeps/gnu/errlist.c: Regenerated.
4031
4032 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4033
4034         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4035         [libc_hidden_builtin_def]: Define to empty value.
4036         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4037         [libc_hidden_builtin_def]: Likewise.
4038         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4039         [libc_hidden_builtin_def]: Likewise.
4040         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4041         [libc_hidden_builtin_def]: Likewise.
4042         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4043         __redirect_memcpy and define ifunc as default hidden symbol.
4044         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4045         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4046
4047 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4048
4049         * locale/iso-4217.def: Reintroduce XDR currency.
4050
4051 2014-05-04  Allan McRae  <allan@archlinux.org>
4052
4053         * po/eo.po: Update Esperanto translation from translation project.
4054
4055 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4056
4057         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4058         and FEATURE_INDEX_MAX to 1.
4059         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4060
4061 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4062
4063         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4064         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4065         * iconvdata/big5.c (ONE_DIRECTION): Define.
4066         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4067         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4068         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4069         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4070         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4071         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4072         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4073         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4074         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4075         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4076         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4077         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4078         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4079         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4080         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4081         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4082         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4083         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4084         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4085         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4086         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4087         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4088         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4089         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4090         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4091         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4092         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4093         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4094         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4095         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4096         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4097         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4098         * iconvdata/johab.c (ONE_DIRECTION): Define.
4099         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4100         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4101         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4102         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4103         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4104         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4105         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4106         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4107         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4108         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4109
4110 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4111
4112         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4113         (_IO_JUMPS_OFFSET): Define to 0.
4114
4115         * nptl/sysdeps/pthread/bits/libc-lock.h
4116         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4117         (__libc_lock_define_initialized_recursive): Always define using
4118         initializer.  Modern compilers treat uninitialized (implicit zero) and
4119         explicit zero initializers the same (i.e. put the datum in bss).
4120
4121 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4122
4123         * nscd/nscd-client.h: Include <string.h>.
4124
4125 2014-05-01  David S. Miller  <davem@davemloft.net>
4126
4127         [BZ #16885]
4128         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4129         multiple zero bytes exist at the end of a string.
4130         Reported by Aurelien Jarno <aurelien@aurel32.net>
4131
4132         * string/test-strcmp.c (check): Add explicit test for situations where
4133         there are multiple zero bytes after the first.
4134
4135 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4136
4137         [BZ #16890]
4138         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4139         when compiling wprintf.
4140         * stdio-common/tstdiomisc.c (t3): New function.
4141         (main): Call it.
4142
4143 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4144
4145         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4146         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4147         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4148         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4149
4150 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4151
4152         * stdlib/longlong.h: Updated from GCC.
4153
4154 2014-05-01  Will Newton  <will.newton@linaro.org>
4155             Bernard Ogden  <bernie.ogden@linaro.org>
4156
4157         * NEWS: Update fixed bug list.
4158
4159         [BZ #15119]
4160         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4161
4162 2014-04-30  David S. Miller  <davem@davemloft.net>
4163
4164         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4165         (libc_feholdexcept_setround_sparc_ctx): New function.
4166         (libc_fesetenv_sparc_ctx): Likewise.
4167         (libc_feupdateenv_sparc_ctx): Likewise.
4168         (libc_feholdsetround_sparc_ctx): Likewise.
4169         (libc_feholdexcept_setround_ctx): Define.
4170         (libc_feholdexcept_setroundf_ctx): Likewise.
4171         (libc_feholdexcept_setroundl_ctx): Likewise.
4172         (libc_fesetenv_ctx): Likewise.
4173         (libc_fesetenvf_ctx): Likewise.
4174         (libc_fesetenvl_ctx): Likewise.
4175         (libc_feupdateenv_ctx): Likewise.
4176         (libc_feupdateenvf_ctx): Likewise.
4177         (libc_feupdateenvl_ctx): Likewise.
4178         (libc_feresetround_ctx): Likewise.
4179         (libc_feresetroundf_ctx): Likewise.
4180         (libc_feresetroundl_ctx): Likewise.
4181         (libc_feholdsetround_ctx): Likewise.
4182         (libc_feholdsetroundf_ctx): Likewise.
4183         (libc_feholdsetroundl_ctx): Likewise.
4184
4185         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4186         with __USE_GNU instead of XOPEN cpp guards.
4187
4188         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4189         0.
4190
4191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4192         with XOPEN cpp guards.
4193
4194 2014-04-30  Julian Brown  <julian@codesourcery.com>
4195
4196         [BZ #16888]
4197         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4198         handling.
4199
4200 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4201
4202         [BZ #9894]
4203         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4204         Change to 2.6.32.
4205         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4206         * sysdeps/unix/sysv/linux/configure: Regenerated.
4207         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4208         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4209         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4210         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4211         * README: Update reference to required Linux kernel version.
4212         * manual/install.texi (Linux): Update reference to required Linux
4213         kernel headers version.
4214         * INSTALL: Regenerated.
4215
4216         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4217         header inclusion.
4218         [POSIX] (limits.h): Likewise.
4219         [POSIX] (math.h): Likewise.
4220         [POSIX] (sys/wait.h): Likewise.
4221         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4222         function.
4223         [POSIX] (stddef.h): Do not allow header inclusion.
4224
4225 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4226
4227         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4228
4229 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4230
4231         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4232         Return immediately after lll_futex_wake.
4233
4234 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4235
4236         [BZ #16791]
4237         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4238         structure.
4239         (datahead_init_pos): Call datahead_init_common early.
4240         (datahead_init_neg): Likewise.
4241
4242         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4243         datahead_init_neg): New functions.
4244         * nscd/aicache.c (addhstaiX): Use them.
4245         * nscd/grpcache.c (cache_addgr): Likewise.
4246         * nscd/hstcache.c (cache_addhst): Likewise.
4247         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4248         * nscd/netgroupcache.c (do_notfound): Likewise.
4249         (addgetnetgrentX): Likewise.
4250         (addinnetgrX): Likewise.
4251         * nscd/pwdcache.c (cache_addpw): Likewise.
4252         * nscd/servicescache.c (cache_addserv): Likewise.
4253
4254 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4255             Atsushi Onoe  <atsushi@onoe.org>
4256
4257         [BZ #14308]
4258         [BZ #12994]
4259         [BZ #13651]
4260         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4261         one response is valid.
4262         * resolv/res_send.c (send_dg): Check for validity of other
4263         response if the current response is a referral.
4264
4265 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4266
4267         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4268
4269 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4270
4271         [BZ #16823]
4272         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4273         Always divide by positive zero when computing -Inf result.
4274         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4275         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4276
4277 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4278
4279         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4280         FPSCR if value do not change.
4281         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4282         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4283         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4284         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4285         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4286         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4287         function.
4288
4289 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4290
4291         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4292         * sysdeps/unix/sysv/linux/hppa: Move directory from
4293         ports/systeps/unix/sysv/linux/hppa.
4294         * README: Update listing for hppa-*-linux-gnu.
4295
4296 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4297
4298         [BZ #16754]
4299         * manual/stdio.texi (Hook functions): Fix types of stream hook
4300         functions.
4301         [BZ #16854]
4302         * socket/sys/socket.h: Fix typo in comment.
4303
4304 2014-04-28  Wilco  <wdijkstr@arm.com>
4305
4306         * sysdeps/arm/fenv_private.h: New file.
4307         * sysdeps/arm/math_private.h: New file.
4308         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4309
4310 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4311
4312         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4313         with __int128_t.
4314         (La_x86_64_retval): Likewise.
4315
4316 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4317
4318         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4319         fpsr if value didn't change.
4320         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4321         to fpcr if value didn't change.
4322         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4323         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4324         fpsr or fpcr if value didn't change.
4325         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4326         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4327         fpcr if value didn't change.
4328         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4329         to fpsr if value didn't change.
4330
4331 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4332
4333         * nptl/tst-sem3.c: Use test-skeleton.c
4334         (main): Rename to do_test.  Use return instead of
4335         exit.
4336         * nptl/tst-sem4.c: Use test-skeleton.c
4337         (main): Rename to do_test.
4338
4339 2014-04-22  David S. Miller  <davem@davemloft.net>
4340
4341         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4342         (struct sigaction): New struct member __glibc_reserved0, change
4343         type of sa_flags to int.
4344
4345 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4346
4347         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4348         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4349
4350 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4351
4352         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4353         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4354
4355 2014-04-22  Will Newton  <will.newton@linaro.org>
4356             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4357
4358         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4359         (__longjmp): Add longjmp and longjmp_target SystemTap
4360         probes.
4361         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4362         (__sigsetjmp): Add setjmp SystemTap probe.
4363
4364 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4365
4366         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4367         match manual order.
4368
4369 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4370
4371         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4372
4373         * sysdeps/powerpc/fpu/fenv_private.h
4374         (libc_feholdexcept_setroundl_ctx): Define to
4375         libc_feholdexcept_setround_ppc_ctx.
4376         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4377         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4378         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4379         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4380
4381 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4382
4383         * sysdeps/aarch64/math-tests.h: New file.
4384
4385 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4386
4387         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4388         New.
4389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4390         Check and set bit_AVX2_Usable.
4391         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4392         macro.
4393         (bit_AVX2): Likewise.
4394         (index_AVX2_Usable): Likewise.
4395         (CPUID_AVX2): Likewise.
4396         (HAS_AVX2): Likewise.
4397
4398 2014-04-17  Will Newton  <will.newton@linaro.org>
4399
4400         * manual/setjmp.texi (System V contexts): Add note that
4401         calling setcontext on a context created by a call to a
4402         signal handler is undefined.  Update text to note that
4403         setcontext from a signal handler is possible but not
4404         recommended.
4405
4406         [BZ #16629]
4407         * stdlib/tst-setcontext.c: Include signal.h.
4408         (main): Check that the signal stack before and
4409         after swapcontext is the same.
4410
4411         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4412         Re-implement to restore registers in user code and avoid
4413         rt_sigreturn system call.
4414
4415 2014-04-17  Wilco  <wdijkstr@arm.com>
4416
4417         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4418         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4419         * math/test-fenv.c: Skip exception trap tests on targets which only
4420         support non-stop mode.
4421
4422 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4423             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4424
4425         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4426         (libc_feholdsetround_aarch64_ctx)
4427         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4428         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4429         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4430         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4431         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4432         (libc_feresetround_noexl_ctx): Define.
4433
4434 2014-04-16  Richard Henderson  <rth@redhat.com>
4435
4436         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4437
4438         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4439         unwind tables.
4440
4441         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4442         const from the non-libc, non-ldso copy.
4443
4444         * sysdeps/alpha/libm-test-ulps: Regenerate.
4445
4446 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4447             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4448
4449         * sysdeps/aarch64/fpu/math_private.h: New file.
4450
4451 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4452
4453         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4454
4455 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4456
4457         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4458         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4460         Intel MPX bound registers before _dl_profile_fixup.
4461         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4462         registers after _dl_profile_fixup.  Save and restore bound
4463         registers bnd0/bnd1 when calling _dl_call_pltexit.
4464         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4465         (LR_BND_OFFSET): Likewise.
4466         (LRV_BND0_OFFSET): Likewise.
4467         (LRV_BND1_OFFSET): Likewise.
4468
4469 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4470
4471         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4472         to...
4473         * sysdeps/mach/hurd/i386/tls.h: ... here.
4474         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4475         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4476         fields.
4477
4478 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4479
4480         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4481
4482 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4483
4484         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4485
4486 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4487
4488         [BZ #14770]
4489         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4490         * sysdeps/s390/configure: Regenerate.
4491
4492         [BZ #16824]
4493         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4494         Set round-to-nearest internally to reduce error accumulation.
4495
4496 2014-04-16  Alan Modra  <amodra@gmail.com>
4497
4498         [BZ #16740]
4499         [BZ #16619]
4500         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4501         * math/libm-test.inc (frexp_test_data): Add tests.
4502         * NEWS: Update fixed bug list.
4503
4504 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4505
4506         * benchtests/Makefile: Depend on libraries in build directory.
4507         (bench-math): Separate out math tests.
4508         (bench-pthread): Separate out pthread tests.
4509         (bench): Include math and pthread tests.
4510
4511 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4512
4513         [BZ #16831]
4514         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4515         _dl_debug_initialize.
4516
4517         * configure.ac: Remove SELinux header check.
4518         * configure: Regenerate.
4519         * nscd/selinux.c (perms): Array of const char* to permission names.
4520         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4521         default policy. Call string_to_security_class and string_to_av_perm to
4522         translate strings. Enforce default policy and call avs_has_perm with
4523         results of translated strings.
4524
4525 2014-04-13  David S. Miller  <davem@davemloft.net>
4526
4527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4528
4529 2014-04-12  Allan McRae  <allan@archlinux.org>
4530
4531         [BZ #16838]
4532         * manual/string.texi (Collation Functions): Fix qsort argument
4533         order in example.
4534         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4535
4536 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4537
4538         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4539         Make the test a no-op if there are no exceptions defined.
4540
4541 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4542
4543         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4544         enable-hardcoded-path-in-tests
4545
4546 2014-04-11  Will Newton  <will.newton@linaro.org>
4547
4548         * benchtests/Makefile (extra-objs): Add json-lib.o.
4549         (bench-func): Tidy up JSON output.
4550         * benchtests/bench-skeleton.c: Include json-lib.h.
4551         (main): Use JSON library functions to do output of
4552         benchmark results.
4553         * benchtests/bench-timing-type.c (main): Output the
4554         timing type simply, leaving formatting to the user.
4555         * benchtests/json-lib.c: New file.
4556         * benchtests/json-lib.h: Likewise.
4557
4558 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4559
4560         [BZ #15215]
4561         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4562         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4563         memory barriers.  Add comments.
4564         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4565         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4566         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4567         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4568         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4569         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4570
4571 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4572
4573         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4574         * sysdeps/s390/s390-64/configure.ac: ... this ...
4575         * sysdeps/s390/configure.ac: ... to here.
4576         * sysdeps/s390/s390-32/configure: Delete file.
4577         * sysdeps/s390/s390-64/configure: Delete file.
4578         * sysdeps/s390/configure: Regenerate.
4579
4580 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4581
4582         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4583
4584 2014-04-11  Will Newton  <will.newton@linaro.org>
4585
4586         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4587         to zero if it is not defined elsewhere.  (mtrim): Test
4588         the value of MALLOC_DEBUG with #if rather than #ifdef.
4589
4590 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4591
4592         * benchtests/pthread_once-inputs: New file.
4593         * benchtests/pthread_once-source.c: New file.
4594         * benchtests/README: Update documentation.
4595
4596 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4597             H.J. Lu  <hongjiu.lu@intel.com>
4598
4599         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4600         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4601         * sysdeps/x86_64/configure: Regenerated.
4602         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4603         macro.
4604         (REGISTER_SAVE_RAX): Likewise.
4605         (REGISTER_SAVE_RCX): Likewise.
4606         (REGISTER_SAVE_RDX): Likewise.
4607         (REGISTER_SAVE_RSI): Likewise.
4608         (REGISTER_SAVE_RDI): Likewise.
4609         (REGISTER_SAVE_R8): Likewise.
4610         (REGISTER_SAVE_R9): Likewise.
4611         (REGISTER_SAVE_BND0): Likewise.
4612         (REGISTER_SAVE_BND1): Likewise.
4613         (REGISTER_SAVE_BND2): Likewise.
4614         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4615         bound registers when calling _dl_fixup.
4616
4617 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4618
4619         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4620         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4621         of its definition.
4622         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4623         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4624         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4625         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4626         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4627         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4628         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4629
4630 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4631
4632         [BZ #15514]
4633         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4634         pathconf(_PC_NAME_MAX).
4635
4636 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4637
4638         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4639         Remove macro usage.
4640         (__PTHREAD_SPINS): Move definition to ...
4641         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4642         (__PTHREAD_SPINS): ... here.
4643         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4644         (__PTHREAD_SPIN): Likewise.
4645         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4646         (__PTHREAD_SPIN): Likewise.
4647         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4648         (__PTHREAD_SPIN): Likewise.
4649         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4650         (__PTHREAD_SPIN): Likewise.
4651         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4652         (__PTHREAD_SPIN): Likewise.
4653         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4654         (__PTHREAD_SPIN): Likewise.
4655         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4656         (__PTHREAD_SPIN): Likewise.
4657         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4658         (__PTHREAD_SPIN): Likewise.
4659         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4660         (__PTHREAD_SPIN): Likewise.
4661         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4662         (__PTHREAD_SPIN): Likewise.
4663         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4664         (__PTHREAD_SPIN): Likewise.
4665         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4666         (__PTHREAD_SPIN): Likewise.
4667
4668         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4669         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4670         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4671         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4672         imply folder.
4673         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4674         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4675         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4676         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4677         correct imply path.
4678         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4679         strlen symbol for non multi-arch builds.
4680         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4681         missing hidden_def and weak_alias.
4682
4683 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4684
4685         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4686
4687 2014-04-07  Will Newton  <will.newton@linaro.org>
4688
4689         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4690         and contents.  [!_LIBC] Remove #ifndef and contents.
4691         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4692         * string/memccpy.c (__memccpy): Use ANSI prototype.
4693         * string/memfrob.c (memfrob): Likewise.
4694         * string/strcoll.c (STRCOLL): Likewise.
4695         * string/strlen.c (strlen): Likewise.
4696         * string/strtok.c (STRTOK): Likewise.
4697         * string/strcat.c: Remove unused #include of memcopy.h.
4698         (strcat): Use ANSI prototype.
4699         * string/strchr.c: Remove unused #include of memcopy.h.
4700         (strchr): Use ANSI prototype.
4701         * string/strcmp.c: Remove unused #include of memcopy.h.
4702         (strcmp): Use ANSI prototype.
4703         * string/strcpy.c: Remove unused #include of memcopy.h.
4704         (strcpy): Use ANSI prototype.
4705
4706 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4707
4708         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4709         * config.make.in (config-extra-cppflags): Set it from
4710         libc_extra_cppflags.
4711         * configure.ac (libc_extra_cflags): Make it accumulate over
4712         configure fragments.
4713         (libc_extra_cppflags): New flag.
4714         * configure. Regenerate.
4715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4716         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4717         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4719
4720         [BZ #16815]
4721         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4722         result for FE_DOWNWARD rounding mode.
4723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4724         Likewise.
4725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4726
4727 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4728
4729         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4730         in function argument name.
4731
4732 2014-04-03  David Svoboda  <svoboda@cert.org>
4733
4734         [BZ #5666]
4735         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4736         explicitly.
4737
4738 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4739
4740         * elf/dl-unmap-segments.h: New file.
4741         * sysdeps/generic/ldsodefs.h
4742         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4743         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4744         * elf/dl-fptr.c: Likewise.
4745         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4746         * sysdeps/aarch64/tlsdesc.c: Likewise.
4747         * sysdeps/arm/tlsdesc.c: Likewise.
4748         * sysdeps/i386/tlsdesc.c: Likewise.
4749         * sysdeps/tile/dl-runtime.c: Likewise.
4750         * sysdeps/x86_64/tlsdesc.c: Likewise.
4751         * elf/dl-load.h: New file.
4752         * elf/dl-load.c: Include it.
4753         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4754         Macros moved to dl-load.h.
4755         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4756         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4757         Use _dl_unmap_segments in place of __munmap.
4758         Break out segment-mapping loop into ...
4759         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4760
4761 2014-04-03  Will Newton  <will.newton@linaro.org>
4762
4763         * elf/dl-lookup.c (do_lookup_x): Remove comment
4764         referring to nested function and move variable
4765         declarations down to before first use.
4766
4767 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4768
4769         [BZ #16799]
4770         [BZ #16800]
4771         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4772         with 0 numerator.
4773         * math/s_catanf.c (__catanf): Likewise.
4774         * math/s_catanh.c (__catanh): Likewise.
4775         * math/s_catanhf.c (__catanhf): Likewise.
4776         * math/s_catanhl.c (__catanhl): Likewise.
4777         * math/s_catanl.c (__catanl): Likewise.
4778         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4779         by positive zero when computing -Inf result.
4780         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4781         (catanh_test): Likewise.
4782         * sysdeps/i386/fpu/libm-test-ulps: Update.
4783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4784
4785         [BZ #16789]
4786         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4787         instead of using underflowing value in computing result.
4788         * math/s_clog10.c (__clog10): Likewise.
4789         * math/s_clog10f.c (__clog10f): Likewise.
4790         * math/s_clog10l.c (__clog10l): Likewise.
4791         * math/s_clogf.c (__clogf): Likewise.
4792         * math/s_clogl.c (__clogl): Likewise.
4793         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4794         (clog10_test): Likewise.
4795         * sysdeps/i386/fpu/libm-test-ulps: Update.
4796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4797
4798 2014-04-02  Alan Modra  <amodra@gmail.com>
4799
4800         [BZ #16739]
4801         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4802         output when value is near a power of two.  Use int64_t for lx and
4803         remove casts.  Use decimal rather than hex exponent constants.
4804         Don't use long double multiplication when double will suffice.
4805         * math/libm-test.inc (nextafter_test_data): Add tests.
4806         * NEWS: Add 16739 and 16786 to bug list.
4807
4808         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4809
4810         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4811
4812 2014-04-01  Will Newton  <will.newton@linaro.org>
4813
4814         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4815         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4816
4817 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4818
4819         [BZ #13347]
4820         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4821         * nptl/tst-setuid2.c: New file.
4822         * nptl/Makefile (xtests): Add tst-setuid2.
4823
4824 2014-04-01  Alan Modra  <amodra@gmail.com>
4825
4826         [BZ #16786]
4827         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4828
4829 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4830
4831         [BZ #6803]
4832         [BZ #6804]
4833         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4834         set errno as appropriate.
4835         * math/w_scalbf.c (__scalbf): Likewise.
4836         * math/w_scalbl.c (__scalbl): Likewise.
4837         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4838         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4839         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4840         Add more NaN tests.
4841
4842         [BZ #16349]
4843         * math/w_atan2.c: Include <errno.h>.
4844         (__atan2): Set errno for result underflowing to zero.
4845         * math/w_atan2f.c: Include <errno.h>.
4846         (__atan2f): Set errno for result underflowing to zero.
4847         * math/w_atan2l.c: Include <errno.h>.
4848         (__atan2l): Set errno for result underflowing to zero.
4849         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4850         tests.
4851         * math/auto-libm-test-out: Regenerated.
4852
4853 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4854
4855         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4856         Encode instruction correctly in little endian.
4857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4858         Likewise.
4859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4860         Likewise.
4861         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4862         Likewise.
4863         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4864         Likewise.
4865
4866 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4867
4868         [BZ #9894]
4869         * sysdeps/unix/sysv/linux/kernel-features.h
4870         [__sparc__ && !__arch64__ && !__sparc_v9__]
4871         (__ASSUME_SET_ROBUST_LIST): Do not define.
4872         [__sparc__ && !__arch64__ && !__sparc_v9__]
4873         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4874         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4877         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4878         (__ASSUME_REQUEUE_PI): Likewise.
4879         (__ASSUME_SET_ROBUST_LIST): Likewise.
4880         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4881         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4882         Undefine.
4883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4884         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4885         Likewise.
4886         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4887         Likewise.
4888         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4889         Likewise.
4890         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4891         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4892         Undefine.
4893         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4894         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4895         Likewise.
4896
4897         [BZ #16648]
4898         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4899         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4900         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4901
4902 2014-03-31  Will Newton  <will.newton@linaro.org>
4903
4904         * benchtests/Makefile (bench): Add ffs and ffsll to list
4905         of tests.
4906         * benchtests/ffs-inputs: New file.
4907         * benchtests/ffsll-inputs: Likewise.
4908
4909 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4910
4911         [BZ #16770]
4912         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4913         too large before casting to int.
4914         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4915         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4916         * math/libm-test.inc (scalb_test_data): Add more tests.
4917
4918 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4919
4920         * benchtests/Makefile (DETAILED_OPT): New make option.
4921         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4922         set.
4923         * benchtests/bench-skeleton.c: Include stdbool.h.
4924         (main): Store and print timings per input.
4925         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4926         member to each argument value.
4927         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4928         (_print_arg_data): Initialize per-input timing to 0.
4929
4930         * benchtests/Makefile (timing-type): New binary.
4931         (bench-clean): Also remove bench-timing-type.
4932         (bench): New target for timing-type.
4933         (bench-func): Print output in JSON format.
4934         * benchtests/bench-skeleton.c (main): Print output in JSON
4935         format.
4936         * benchtests/bench-timing-type.c: New file.
4937         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4938         (TIMING_PRINT_STATS): Remove.
4939         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4940         name separately.
4941
4942         * benchtests/bench-modf.c: Remove.
4943         * benchtests/modf-inputs: New inputs file.
4944
4945 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4946
4947         [BZ #16362]
4948         * math/s_clog10.c (M_PI_LOG10E): New macro.
4949         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4950         imaginary parts are 0.
4951         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4952         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4953         imaginary parts are 0.
4954         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4955         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4956         imaginary parts are 0.
4957         * math/libm-test.inc (clog10_test_data): Update expected results
4958         for when real and imaginary parts are 0.
4959
4960 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4961
4962         * elf/dl-load.c: Finish conversion of __builtin_expect into
4963         __glibc_{un}likely.
4964
4965 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4966
4967         [BZ #16348]
4968         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4969         1+x for argument with exponent below -67.
4970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4971         Likewise.
4972         * math/auto-libm-test-in: Add more tests of exp.
4973         * math/auto-libm-test-out: Regenerated.
4974
4975 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4976
4977         [BZ #16759]
4978         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4979         (nscd_getnetgrent): Use it.
4980
4981         [BZ #16760]
4982         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4983         of stpcpy.
4984
4985 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4986
4987         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4988         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4989         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4990         (lll_robust_unlock): Remove out of line section. Use cfi
4991         intrinsics.
4992         (LLL_STUB_UNWIND_INFO*): Remove.
4993         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4994         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4995         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4996         (lll_robust_unlock): Remove out of line section. Use cfi
4997         intrinsics.
4998         (LLL_STUB_UNWIND_INFO*): Remove.
4999
5000 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5001
5002         [BZ #16758]
5003         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5004         blank values.
5005
5006 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5007
5008         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5009
5010 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5011
5012         [BZ #16198]
5013         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5014         fnstenv.
5015         * math/test-fenv-preserve.c: New file.
5016         * math/Makefile (tests): Add test-fenv-preserve.
5017
5018 2014-03-26  Will Newton <will.newton@linaro.org>
5019
5020         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5021
5022 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5023
5024         * scripts/versionlist.awk: Partition the version sets and emit all
5025         GLIBC_* (sorted) before all others (sorted).
5026
5027 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5028
5029         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5030         GLIBC_2.2.5 version.
5031
5032 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5033
5034         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5035         calls.
5036
5037         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5038         previous change.
5039
5040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5041
5042 2014-03-25  Andreas Schwab  <schwab@suse.de>
5043
5044         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5045         label to be used after in6ailist is initialized.
5046
5047 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5048
5049         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5050         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5051
5052 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5053
5054         [BZ #16357]
5055         [BZ #16599]
5056         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5057         min_plus_half.
5058         (fp_formats): Update initializers.
5059         (init_fp_formats): Initialize new field.
5060         (output_for_one_input_case): Allow underflow for results up to
5061         min_plus_half.
5062         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5063         * math/auto-libm-test-in: Don't mark some underflows from asin and
5064         atanh as spurious.
5065         * math/auto-libm-test-out: Regenerated.
5066         * sysdeps/i386/fpu/libm-test-ulps: Update.
5067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5068
5069 2014-03-25  Andreas Schwab  <schwab@suse.de>
5070
5071         * libio/Makefile (tst-ftell-partial-wide-ENV)
5072         (tst-ftell-active-handler-ENV): Define.
5073
5074 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5075
5076         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5077
5078 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5079
5080         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5081
5082 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5083
5084         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5085         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5086         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5087
5088 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5089
5090         [BZ #16634]
5091         * elf/dl-load.c (open_verify): Add mode parameter.
5092         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5093         (open_path): Change from boolean 'secure' to complete flag 'mode'
5094         (_dl_map_object): Adjust.
5095         * elf/Makefile (tests): Add tst-dlopen-aout.
5096         * elf/tst-dlopen-aout.c: New test.
5097
5098 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5099
5100         [BZ #16714]
5101         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5102         (struct stat): Rename member pad0 to __glibc_reserved0.
5103
5104         [BZ #16712]
5105         * sysdeps/s390/s390-32/bits/wordsize.h
5106         (__WORDSIZE32_SIZE_ULONG): New define.
5107         * sysdeps/s390/s390-64/bits/wordsize.h
5108         (__WORDSIZE32_SIZE_ULONG): Likewise.
5109         * sysdeps/generic/stdint.h (SIZE_MAX):
5110         Define as UL if __WORDSIZE32_SIZE_ULONG.
5111
5112         [BZ #16713]
5113         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5114         (__glibc_reserved0): New variable.
5115         (sa_flags): Change type to int.
5116
5117         * posix/Makefile (before-compile): Use += before-compile instead
5118         of a :=.
5119
5120         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5121         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5122
5123 2014-03-20  Andreas Schwab  <schwab@suse.de>
5124
5125         [BZ #16743]
5126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5127         non-matching result from nscd.
5128
5129 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5130
5131         * scripts/bench.py: Moved to ...
5132         * benchtests/scripts/bench.py: ... here.
5133         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5134
5135 2014-03-24  Andreas Schwab  <schwab@suse.de>
5136
5137         [BZ #16002]
5138         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5139         alloca_account and account alloca use for struct in6ailist.
5140
5141 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5142
5143         [BZ #16284]
5144         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5145         rounding mode to recompute results that overflow to infinity or
5146         underflow to zero.
5147         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5148         bug 16284.
5149         * math/auto-libm-test-out: Regenerated.
5150         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5151         (ccosh_test): Likewise.
5152         (csin_test_data): Use plus_oflow.
5153         (csin_test): Use ALL_RM_TEST.
5154         (csinh_test_data): Use plus_oflow.
5155         (csinh_test): Use ALL_RM_TEST.
5156         * sysdeps/i386/fpu/libm-test-ulps: Update.
5157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5158
5159 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5160
5161         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5162         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5163         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5164
5165         [BZ #16731]
5166         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5167         when x - 1 is zero.
5168         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5169         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5170         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5171         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5172         argument is 1.
5173         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5174         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5175         zero.
5176         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5177         * sysdeps/i386/fpu/libm-test-ulps: Update.
5178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5179
5180 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5181
5182         * scripts/bench.pl: Remove file.
5183         * scripts/bench.py: New benchmark script.
5184         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5185         * benchtests/README: Mention python dependency.
5186         * scripts/pylintrc: New file.
5187         * scripts/pylint: New file.
5188
5189         * bits/mathdef.h: Use #ifdef instead of #if.
5190         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5191         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5192         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5193         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5194         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5195         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5196
5197 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5198             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5199
5200         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5202         and strpbrk-ppc64 objects.
5203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5204         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5205         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5206         multiarch strpbrk for POWER7.
5207         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5208         multiarch strpbrk for PPC64.
5209         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5210         ifunc selector.
5211         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5212         strpbrk for POWER7.
5213
5214 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5215
5216         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5217         (atan_test): Likewise.
5218         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5219         (atanh_test): Use ALL_RM_TEST.
5220         (atan2_test_data): Likewise.
5221         (cabs_test): Likewise.
5222         (cacosh_test): Likewise.
5223         (carg_test): Likewise.
5224         (casin_test): Likewise.
5225         (casinh_test): Likewise.
5226         (cbrt_test): Likewise.
5227         (csqrt_test): Likewise.
5228         (erf_test): Likewise.
5229         (erfc_test): Likewise.
5230         (pow10_test): Likewise.
5231         (exp2_test): Likewise.
5232         (hypot_test): Likewise.
5233         (j0_test): Likewise.
5234         (j1_test): Likewise.
5235         (lgamma_test): Likewise.
5236         (gamma_test): Likewise.
5237         (sincos_test): Likewise.
5238         (tanh_test): Likewise.
5239         (y0_test): Likewise.
5240         (y1_test): Likewise.
5241         * sysdeps/i386/fpu/libm-test-ulps: Update.
5242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5243
5244 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5245
5246         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5248         and strcspn-ppc64 objects.
5249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5250         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5251         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5252         multiarch strcspn for POWER7.
5253         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5254         multiarch strcspn for PPC64.
5255         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5256         ifunc selector.
5257         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5258         strcspn for POWER7.
5259
5260 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5261
5262         * math/gen-libm-test.pl (generate_testfile): Expect only function
5263         name as argument to AUTO_TESTS_* and pass results for all rounding
5264         modes to parse_args.
5265         (parse_auto_input): Separate inputs of automatic tests from
5266         outputs before storing in %auto_tests.
5267         * math/libm-test.inc (acos_test_data): Update call to
5268         AUTO_TESTS_f_f.
5269         (acos_test): Use ALL_RM_TEST.
5270         (acos_tonearest_test_data): Remove.
5271         (acos_test_tonearest): Likewise.
5272         (acos_towardzero_test_data): Likewise.
5273         (acos_test_towardzero): Likewise.
5274         (acos_downward_test_data): Likewise.
5275         (acos_test_downward): Likewise.
5276         (acos_upward_test_data): Likewise.
5277         (acos_test_upward): Likewise.
5278         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5279         (asin_test_data): Likewise.
5280         (asin_test): Use ALL_RM_TEST.
5281         (asin_tonearest_test_data): Remove.
5282         (asin_test_tonearest): Likewise.
5283         (asin_towardzero_test_data): Likewise.
5284         (asin_test_towardzero): Likewise.
5285         (asin_downward_test_data): Likewise.
5286         (asin_test_downward): Likewise.
5287         (asin_upward_test_data): Likewise.
5288         (asin_test_upward): Likewise.
5289         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5290         (atan_test_data): Likewise.
5291         (atanh_test_data): Likewise.
5292         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5293         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5294         (carg_test_data): Likewise.
5295         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5296         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5297         (ccosh_test_data): Likewise.
5298         (cexp_test_data): Likewise.
5299         (clog_test_data): Likewise.
5300         (clog10_test_data): Likewise.
5301         (cos_test_data): Update call to AUTO_TESTS_f_f.
5302         (cos_test): Use ALL_RM_TEST.
5303         (cos_tonearest_test_data): Remove.
5304         (cos_test_tonearest): Likewise.
5305         (cos_towardzero_test_data): Likewise.
5306         (cos_test_towardzero): Likewise.
5307         (cos_downward_test_data): Likewise.
5308         (cos_test_downward): Likewise.
5309         (cos_upward_test_data): Likewise.
5310         (cos_test_upward): Likewise.
5311         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5312         (cosh_test): Use ALL_RM_TEST.
5313         (cosh_tonearest_test_data): Remove.
5314         (cosh_test_tonearest): Likewise.
5315         (cosh_towardzero_test_data): Likewise.
5316         (cosh_test_towardzero): Likewise.
5317         (cosh_downward_test_data): Likewise.
5318         (cosh_test_downward): Likewise.
5319         (cosh_upward_test_data): Likewise.
5320         (cosh_test_upward): Likewise.
5321         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5322         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5323         (ctan_test_data): Likewise.
5324         (ctan_test): Use ALL_RM_TEST.
5325         (ctan_tonearest_test_data): Remove.
5326         (ctan_test_tonearest): Likewise.
5327         (ctan_towardzero_test_data): Likewise.
5328         (ctan_test_towardzero): Likewise.
5329         (ctan_downward_test_data): Likewise.
5330         (ctan_test_downward): Likewise.
5331         (ctan_upward_test_data): Likewise.
5332         (ctan_test_upward): Likewise.
5333         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5334         (ctanh_test): Use ALL_RM_TEST.
5335         (ctanh_tonearest_test_data): Remove.
5336         (ctanh_test_tonearest): Likewise.
5337         (ctanh_towardzero_test_data): Likewise.
5338         (ctanh_test_towardzero): Likewise.
5339         (ctanh_downward_test_data): Likewise.
5340         (ctanh_test_downward): Likewise.
5341         (ctanh_upward_test_data): Likewise.
5342         (ctanh_test_upward): Likewise.
5343         (erf_test_data): Update call to AUTO_TESTS_f_f.
5344         (erfc_test_data): Likewise.
5345         (exp_test_data): Likewise.
5346         (exp_test): Use ALL_RM_TEST.
5347         (exp_tonearest_test_data): Remove.
5348         (exp_test_tonearest): Likewise.
5349         (exp_towardzero_test_data): Likewise.
5350         (exp_test_towardzero): Likewise.
5351         (exp_downward_test_data): Likewise.
5352         (exp_test_downward): Likewise.
5353         (exp_upward_test_data): Likewise.
5354         (exp_test_upward): Likewise.
5355         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5356         (exp10_test): Use ALL_RM_TEST.
5357         (exp10_tonearest_test_data): Remove.
5358         (exp10_test_tonearest): Likewise.
5359         (exp10_towardzero_test_data): Likewise.
5360         (exp10_test_towardzero): Likewise.
5361         (exp10_downward_test_data): Likewise.
5362         (exp10_test_downward): Likewise.
5363         (exp10_upward_test_data): Likewise.
5364         (exp10_test_upward): Likewise.
5365         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5366         (expm1_test_data): Likewise.
5367         (expm1_test): Use ALL_RM_TEST.
5368         (expm1_tonearest_test_data): Remove.
5369         (expm1_test_tonearest): Likewise.
5370         (expm1_towardzero_test_data): Likewise.
5371         (expm1_test_towardzero): Likewise.
5372         (expm1_downward_test_data): Likewise.
5373         (expm1_test_downward): Likewise.
5374         (expm1_upward_test_data): Likewise.
5375         (expm1_test_upward): Likewise.
5376         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5377         (fma_test): Use ALL_RM_TEST.
5378         (fma_towardzero_test_data): Remove.
5379         (fma_test_towardzero): Likewise.
5380         (fma_downward_test_data): Likewise.
5381         (fma_test_downward): Likewise.
5382         (fma_upward_test_data): Likewise.
5383         (fma_test_upward): Likewise.
5384         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5385         (j0_test_data): Update call to AUTO_TESTS_f_f.
5386         (j1_test_data): Likewise.
5387         (jn_test_data): Update call to AUTO_TESTS_if_f.
5388         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5389         (log_test_data): Update call to AUTO_TESTS_f_f.
5390         (log10_test_data): Likewise.
5391         (log1p_test_data): Likewise.
5392         (log2_test_data): Likewise.
5393         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5394         (pow_tonearest_test_data): Likewise.
5395         (sin_test_data): Update call to AUTO_TESTS_f_f.
5396         (sin_test): Use ALL_RM_TEST.
5397         (sin_tonearest_test_data): Remove.
5398         (sin_test_tonearest): Likewise.
5399         (sin_towardzero_test_data): Likewise.
5400         (sin_test_towardzero): Likewise.
5401         (sin_downward_test_data): Likewise.
5402         (sin_test_downward): Likewise.
5403         (sin_upward_test_data): Likewise.
5404         (sin_test_upward): Likewise.
5405         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5406         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5407         (sinh_test): Use ALL_RM_TEST.
5408         (sinh_tonearest_test_data): Remove.
5409         (sinh_test_tonearest): Likewise.
5410         (sinh_towardzero_test_data): Likewise.
5411         (sinh_test_towardzero): Likewise.
5412         (sinh_downward_test_data): Likewise.
5413         (sinh_test_downward): Likewise.
5414         (sinh_upward_test_data): Likewise.
5415         (sinh_test_upward): Likewise.
5416         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5417         (sqrt_test): Use ALL_RM_TEST.
5418         (sqrt_tonearest_test_data): Remove.
5419         (sqrt_test_tonearest): Likewise.
5420         (sqrt_towardzero_test_data): Likewise.
5421         (sqrt_test_towardzero): Likewise.
5422         (sqrt_downward_test_data): Likewise.
5423         (sqrt_test_downward): Likewise.
5424         (sqrt_upward_test_data): Likewise.
5425         (sqrt_test_upward): Likewise.
5426         (tan_test_data): Update call to AUTO_TESTS_f_f.
5427         (tan_test): Use ALL_RM_TEST.
5428         (tan_tonearest_test_data): Remove.
5429         (tan_test_tonearest): Likewise.
5430         (tan_towardzero_test_data): Likewise.
5431         (tan_test_towardzero): Likewise.
5432         (tan_downward_test_data): Likewise.
5433         (tan_test_downward): Likewise.
5434         (tan_upward_test_data): Likewise.
5435         (tan_test_upward): Likewise.
5436         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5437         (tgamma_test_data): Likewise.
5438         (y0_test_data): Likewise.
5439         (y1_test_data): Likewise.
5440         (yn_test_data): Update call to AUTO_TESTS_if_f.
5441         (main): Do not call removed functions.
5442
5443 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5444
5445         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5446         (ldexp_test_data): Remove.
5447         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5448         scalbn_test_data.
5449         (scalb_test): Use ALL_RM_TEST.
5450
5451 2014-03-19  Andreas Schwab  <schwab@suse.de>
5452
5453         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5454
5455 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5456
5457         [BZ #16649]
5458         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5460         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5462         (__ASSUME_PREADV): Undefine.
5463         (__ASSUME_PWRITEV): Likewise.
5464
5465 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5466
5467         * bits/mman-linux.h: Add comment about non-Linux use.
5468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5469         bits/mman-linux.h resting place.
5470
5471         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5472         * bits/mman-linux.h: ... here.
5473
5474 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5475
5476         * conform/conformtest.pl: Add standard definition when calling C
5477         preprocessor on data files.
5478         (checknamespace): Remove unused variable.
5479
5480 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5481
5482         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5483         minus_oflow, plus_uflow and minus_uflow in expected results.
5484         * math/libm-test.inc (scalbn_test_data): Add more tests of
5485         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5486         minus_uflow.
5487         (scalbn_test): Use ALL_RM_TEST.
5488         (scalbln_test_data): Add more tests of negative arguments.  Use
5489         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5490         (scalbln_test): Use ALL_RM_TEST.
5491
5492 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5493
5494         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5495
5496 2014-03-18  Will Newton  <will.newton@linaro.org>
5497
5498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5499         inaccurate comment.
5500
5501 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5502
5503         * Makerules [!subdir] (check-abi): Exit with error status if a
5504         test failed.
5505
5506 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5507
5508         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5509         for rint.  Include results for all rounding modes.
5510         (nearbyint_test): Use ALL_RM_TEST.
5511         (rint_test_data): Include all tests used for nearbyint.
5512
5513 2014-03-17  Will Newton  <will.newton@linaro.org>
5514
5515         * nptl/sysdeps/pthread/pthread.h: Revert previous
5516         change.
5517
5518         * sysdeps/generic/ldsodefs.h: Revert previous
5519         change.
5520
5521         * libio/genops.c: Revert previous change.
5522         * libio/libioP.h: Likewise.
5523         * stdio-common/vfprintf.c: Likewise.
5524
5525         * sysdeps/generic/math_private.h: Revert previous
5526         change.
5527
5528         * sysdeps/generic/math_private.h: Check whether
5529         HAVE_RM_CTX is defined with #ifdef rather
5530         than #if.
5531
5532         * argp/argp-fmtstream.h: Check whether
5533         __STRICT_ANSI__ is defined with #ifdef rather
5534         than #if.
5535         * argp/argp.h: Likewise.
5536
5537         * libio/genops.c: Check whether
5538         _IO_JUMPS_OFFSET is defined with #ifdef rather
5539         than #if.
5540         * libio/libioP.h: Likewise.
5541         * stdio-common/vfprintf.c: Likewise.
5542
5543         * sysdeps/generic/ldsodefs.h: Check whether
5544         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5545         than #if.
5546
5547         * nptl/sysdeps/pthread/pthread.h: Check
5548         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5549         its value.
5550
5551 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5552
5553         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5554         setting O_APPEND.
5555         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5556         test case.
5557
5558         [BZ #16680]
5559         * libio/fileops.c (_IO_file_open): Seek to end of file but
5560         don't cache the offset.
5561         (get_file_offset): Remove function.
5562         (do_ftell): Use cached offset when available.
5563         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5564         don't cache the offset.
5565         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5566         case.
5567         (do_one_test): Call it.
5568         (do_ftell_test): Fix up expected old offset for a+ mode.
5569         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5570         available.
5571
5572         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5573         up test status with function return status.
5574         (do_write_test): Likewise.
5575         (do_append_test): Likewise.
5576
5577         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5578         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5579         Remove.
5580
5581 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5582
5583         * math/gen-libm-test.pl (parse_args): Handle results specified for
5584         each rounding mode separately.
5585         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5586         tests and results from lrint_tonearest_test_data,
5587         lrint_towardzero_test_data, lrint_downward_test_data and
5588         lrint_upward_test_data.
5589         (lrint_test): Use ALL_RM_TEST.
5590         (lrint_tonearest_test_data): Remove.
5591         (lrint_test_tonearest): Likewise.
5592         (lrint_towardzero_test_data): Likewise.
5593         (lrint_test_towardzero): Likewise.
5594         (lrint_downward_test_data): Likewise.
5595         (lrint_test_downward): Likewise.
5596         (lrint_upward_test_data): Likewise.
5597         (lrint_test_upward): Likewise.
5598         (llrint_test_data): Merge in per-rounding-mode tests and results
5599         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5600         llrint_downward_test_data and llrint_upward_test_data.
5601         (llrint_test): Use ALL_RM_TEST.
5602         (llrint_tonearest_test_data): Remove.
5603         (llrint_test_tonearest): Likewise.
5604         (llrint_towardzero_test_data): Likewise.
5605         (llrint_test_towardzero): Likewise.
5606         (llrint_downward_test_data): Likewise.
5607         (llrint_test_downward): Likewise.
5608         (llrint_upward_test_data): Likewise.
5609         (llrint_test_upward): Likewise.
5610         (rint_test_data): Merge in per-rounding-mode tests and results
5611         from rint_tonearest_test_data, rint_towardzero_test_data,
5612         rint_downward_test_data and rint_upward_test_data.  Add
5613         per-rounding-mode results for tests not in those arrays.
5614         (rint_test): Use ALL_RM_TEST.
5615         (rint_tonearest_test_data): Remove.
5616         (rint_test_tonearest): Likewise.
5617         (rint_towardzero_test_data): Likewise.
5618         (rint_test_towardzero): Likewise.
5619         (rint_downward_test_data): Likewise.
5620         (rint_test_downward): Likewise.
5621         (rint_upward_test_data): Likewise.
5622         (rint_test_upward): Likewise.
5623         (main): Don't call removed functions.
5624
5625 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5626
5627         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5628         "Compiled on ..." crapola.  It is anti-useful.
5629
5630 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5631
5632         * scripts/evaluate-test.sh: Handle fourth argument to determine
5633         whether test run should stop on failure.
5634         * Makeconfig (stop-on-test-failure): New variable.
5635         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5636         $(stop-on-test-failure).
5637         * Makefile (tests): Give a summary of results from testing and
5638         exit with failure status if they include an ERROR or FAIL.
5639         (xtests): Likewise.
5640         * manual/install.texi (Configuring and compiling): Mention
5641         stop-on-test-failure=y.
5642         * INSTALL: Regenerated.
5643
5644 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5645
5646         * scripts/versionlist.awk: New file.
5647         * Makerules [$(build-shared) = yes]
5648         (postclean-generated): Add Versions.def, not Versions.def.v and
5649         Versions.def.v.i.
5650         ($(common-objpfx)Versions.def.v.i): Target removed.
5651         ($(common-objpfx)Versions.def): New target.
5652         ($(common-objpfx)Versions.all): Depend on that rather that
5653         $(common-objpfx)Versions.def.v.
5654         * Versions.def: File removed.
5655
5656         * Makeconfig (+gccwarn): Add -Wundef.
5657         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5658         a dl-sysdep.h breaking its contract.
5659         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5660         * include/stackinfo.h: New file.
5661         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5662         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5663         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5664         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5665         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5666         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5667         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5668         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5669         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5670         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5671         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5672         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5673         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5674         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5675         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5676
5677 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5678
5679         [BZ #16707]
5680         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5681         implementation.
5682         * math/libm-test.inc (round_test_data): Add more tests.
5683
5684         [BZ #16706]
5685         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5686         implementation.
5687         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5688
5689         [BZ #16701]
5690         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5691         implementation.
5692         * math/libm-test.inc (ceil_test_data): Add more tests.
5693
5694         * math/libm-test.inc (trunc_test_data): Add more tests related to
5695         BZ#16414.
5696
5697 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5698
5699         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5700         with #if rather than #ifdef.
5701         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5702
5703 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5704
5705         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5706         first.  Disable AVX-512 GCC support if assembler doesn't support
5707         it.
5708         * sysdeps/x86_64/configure: Regenerated.
5709
5710 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5711
5712         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5713         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5714         (__old_pthread_attr_setstack): Likewise.
5715         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5716         [!_STACK_GROWS_DOWN]: Likewise.
5717
5718 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5719
5720         * config.make.in (have-bash2): Delete.
5721         * configure.ac (libc_cv_have_bash2): Delete.
5722         * configure: Regenerate.
5723         * elf/Makefile (common-ldd-rewrite): Rename to ...
5724         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5725         (sh-ldd-rewrite): Delete.
5726         (bash-ldd-rewrite): Delete.
5727         (have-bash2): Delete checks.
5728         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5729         ldd-rewrite.
5730
5731         * config.make.in (have-ksh): Delete.
5732         (KSH): Delete.
5733         * configure.ac (libc_cv_have_ksh): Delete.
5734         * configure: Regenerate.
5735
5736         * elf/Makefile: Delete $(have-ksh) check.
5737         ($(objpfx)sotruss): Change KSH to BASH.
5738         * elf/sotruss.ksh: Rename to ...
5739         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5740         function style to match POSIX.  Drop ksh vim mode setting.
5741
5742         * manual/time.texi (Specifying the Time Zone with TZ): Change
5743         Tuesday to Thursday.
5744
5745         * debug/tst-longjmp_chk2.c: Update header comment.
5746         (stackoverflow_handler): Add comment.  Call assert on pass value.
5747
5748 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5749
5750         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5751         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5752         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5753         (La_x86_64_vector): Add zmm.
5754         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5755         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5756         ($(objpfx)tst-audit10): New target.
5757         ($(objpfx)tst-audit10.out): Likewise.
5758         (tst-audit10-ENV): New.
5759         (AVX512-CFLAGS): Likewise.
5760         (CFLAGS-tst-audit10.c): Likewise.
5761         (CFLAGS-tst-auditmod10a.c): Likewise.
5762         (CFLAGS-tst-auditmod10b.c): Likewise.
5763         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5764         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5765         * sysdeps/x86_64/configure: Regenerated.
5766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5767         AVX-512 zmm register support.
5768         (_dl_x86_64_save_sse): Likewise.
5769         (_dl_x86_64_restore_sse): Likewise.
5770         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5771         size vector registers.
5772         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5773         (ZMM_SIZE): Likewise.
5774         * sysdeps/x86_64/tst-audit10.c: New file.
5775         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5776         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5777
5778 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5779
5780         * configure.ac (HAVE_EHDR_START): New check.
5781         * configure: Regenerated.
5782         * config.h.in (HAVE_EHDR_START): New #undef.
5783         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5784         assuming the lowest-addressed segment maps the start of the file.
5785
5786 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5787
5788         * INSTALL: Regenerated.
5789
5790 2014-03-13  Will Newton  <will.newton@linaro.org>
5791
5792         * manual/setjmp.texi (System V contexts): Improve
5793         clarity and grammar of documentation.
5794
5795 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5796
5797         [BZ #16381]
5798         * elf/Makefile (tests): Add tst-pie2.
5799         (tests-pie): Add tst-pie2.
5800         * elf/tst-pie2.c: New file.
5801         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5802         for ET_EXEC.
5803         * elf/rtld.c (map_doit): Load executable as lt_executable.
5804         (dl_main): Likewise.
5805
5806 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5807
5808         [BZ #16642]
5809         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5810         (__ASSUME_PSELECT): Undefine.
5811
5812 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5813
5814         [BZ #16689]
5815         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5816         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5817         static build.
5818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5819         selector for static builds.
5820
5821 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5822
5823         [BZ #16695]
5824         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5825         key in the buffer.
5826
5827 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5828
5829         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5830         IFUNC selector for static builds.
5831
5832 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5833
5834         * sysdeps/mips/math_private.h [__mips_hard_float]
5835         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5836         libc_feresetround_mips_ctx.
5837         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5838         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5839         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5840
5841         [BZ #16677]
5842         * math/s_nextafter.c (__nextafter): Do not return value from
5843         overflowing computation.
5844         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5845         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5846         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5847         Likewise.
5848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5849         Likewise.
5850         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5851         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5852
5853 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5854
5855         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5856         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5857         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5858         the new mov targetting sp.
5859
5860 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5861
5862         [BZ #16683]
5863         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5864         Define it for static builds as well.
5865         (NO_BZERO_IMPL): Likewise.
5866
5867 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5868
5869         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5870         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5871         multiarch strspn for PPC64.
5872         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5873         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5875         (__libc_ifunc_impl_list): Likewise.
5876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5877         multiarch optimizations
5878         * string/strspn.c (strspn): Using macro to redefine symbol name.
5879
5880 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5881             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5882
5883         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5884         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5885         multiarch strncat for PPC64.
5886         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5887         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5889         (__libc_ifunc_impl_list): Likewise.
5890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5891         multiarch optimizations
5892
5893 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5894
5895         [BZ #16639]
5896         * nscd/nscd.service: Make service type forking.
5897
5898 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5899
5900         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5901         sign in non default rounding modes.
5902         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5903
5904 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5905
5906         * math/libm-test.inc (ALL_RM_TEST): New macro.
5907         (ceil_test): Use ALL_RM_TEST.
5908         (cimag_test): Likewise.
5909         (conj_test): Likewise.
5910         (copysign_test): Likewise.
5911         (cproj_test): Likewise.
5912         (creal_test): Likewise.
5913         (fabs_test): Likewise.
5914         (floor_test): Likewise.
5915         (fmax_test): Likewise.
5916         (fmin_test): Likewise.
5917         (fmod_test): Likewise.
5918         (fpclassify_test): Likewise.
5919         (frexp_test): Likewise.
5920         (ilogb_test): Likewise.
5921         (isfinite_test): Likewise.
5922         (finite_test): Likewise.
5923         (isgreater_test): Likewise.
5924         (isgreaterequal_test): Likewise.
5925         (isinf_test): Likewise.
5926         (isless_test): Likewise.
5927         (islessequal_test): Likewise.
5928         (islessgreater_test): Likewise.
5929         (isnan_test): Likewise.
5930         (isnormal_test): Likewise.
5931         (issignaling_test): Likewise.
5932         (isunordered_test): Likewise.
5933         (logb_test): Likewise.
5934         (logb_downward_test_data): Remove.
5935         (logb_test_downward): Likewise.
5936         (lround_test): Use ALL_RM_TEST.
5937         (llround_test): Likewise.
5938         (modf_test): Likewise.
5939         (nexttoward_test): Likewise.
5940         (remainder_test): Likewise.
5941         (drem_test): Likewise.
5942         (remainder_tonearest_test_data): Likewise.
5943         (remainder_test_tonearest): Likewise.
5944         (drem_test_tonearest): Likewise.
5945         (remainder_towardzero_test_data): Likewise.
5946         (remainder_test_towardzero): Likewise.
5947         (drem_test_towardzero): Likewise.
5948         (remainder_downward_test_data): Likewise.
5949         (remainder_test_downward): Likewise.
5950         (drem_test_downward): Likewise.
5951         (remainder_upward_test_data): Likewise.
5952         (remainder_test_upward): Likewise.
5953         (drem_test_upward): Likewise.
5954         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5955         (round_test): Use ALL_RM_TEST.
5956         (signbit_test): Likewise.
5957         (trunc_test): Likewise.
5958         (significand_test): Likewise.
5959         (main): Don't call removed functions.
5960
5961 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5962
5963         [BZ #16674]
5964         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5965         || __USE_XOPEN2K8].
5966         (ILL_ILLOPN): Likewise.
5967         (ILL_ILLADR): Likewise.
5968         (ILL_ILLTRP): Likewise.
5969         (ILL_PRVOPC): Likewise.
5970         (ILL_PRVREG): Likewise.
5971         (ILL_COPROC): Likewise.
5972         (ILL_BADSTK): Likewise.
5973         (FPE_INTDIV): Likewise.
5974         (FPE_INTOVF): Likewise.
5975         (FPE_FLTDIV): Likewise.
5976         (FPE_FLTOVF): Likewise.
5977         (FPE_FLTUND): Likewise.
5978         (FPE_FLTRES): Likewise.
5979         (FPE_FLTINV): Likewise.
5980         (FPE_FLTSUB): Likewise.
5981         (SEGV_MAPERR): Likewise.
5982         (SEGV_ACCERR): Likewise.
5983         (BUS_ADRALN): Likewise.
5984         (BUS_ADRERR): Likewise.
5985         (BUS_OBJERR): Likewise.
5986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5987         (TRAP_TRACE): Likewise.
5988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5989         __USE_XOPEN2K8].
5990         (CLD_KILLED): Likewise.
5991         (CLD_DUMPED): Likewise.
5992         (CLD_TRAPPED): Likewise.
5993         (CLD_STOPPED): Likewise.
5994         (CLD_CONTINUED): Likewise.
5995         (POLL_IN): Likewise.
5996         (POLL_OUT): Likewise.
5997         (POLL_MSG): Likewise.
5998         (POLL_ERR): Likewise.
5999         (POLL_PRI): Likewise.
6000         (POLL_HUP): Likewise.
6001         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6002         Likewise.
6003         (ILL_ILLOPN): Likewise.
6004         (ILL_ILLADR): Likewise.
6005         (ILL_ILLTRP): Likewise.
6006         (ILL_PRVOPC): Likewise.
6007         (ILL_PRVREG): Likewise.
6008         (ILL_COPROC): Likewise.
6009         (ILL_BADSTK): Likewise.
6010         (FPE_INTDIV): Likewise.
6011         (FPE_INTOVF): Likewise.
6012         (FPE_FLTDIV): Likewise.
6013         (FPE_FLTOVF): Likewise.
6014         (FPE_FLTUND): Likewise.
6015         (FPE_FLTRES): Likewise.
6016         (FPE_FLTINV): Likewise.
6017         (FPE_FLTSUB): Likewise.
6018         (SEGV_MAPERR): Likewise.
6019         (SEGV_ACCERR): Likewise.
6020         (BUS_ADRALN): Likewise.
6021         (BUS_ADRERR): Likewise.
6022         (BUS_OBJERR): Likewise.
6023         (BUS_MCEERR_AR): Likewise.
6024         (BUS_MCEERR_AO): Likewise.
6025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6026         (TRAP_TRACE): Likewise.
6027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6028         __USE_XOPEN2K8].
6029         (CLD_KILLED): Likewise.
6030         (CLD_DUMPED): Likewise.
6031         (CLD_TRAPPED): Likewise.
6032         (CLD_STOPPED): Likewise.
6033         (CLD_CONTINUED): Likewise.
6034         (POLL_IN): Likewise.
6035         (POLL_OUT): Likewise.
6036         (POLL_MSG): Likewise.
6037         (POLL_ERR): Likewise.
6038         (POLL_PRI): Likewise.
6039         (POLL_HUP): Likewise.
6040         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6041         (ILL_ILLOPN): Likewise.
6042         (ILL_ILLADR): Likewise.
6043         (ILL_ILLTRP): Likewise.
6044         (ILL_PRVOPC): Likewise.
6045         (ILL_PRVREG): Likewise.
6046         (ILL_COPROC): Likewise.
6047         (ILL_BADSTK): Likewise.
6048         (FPE_INTDIV): Likewise.
6049         (FPE_INTOVF): Likewise.
6050         (FPE_FLTDIV): Likewise.
6051         (FPE_FLTOVF): Likewise.
6052         (FPE_FLTUND): Likewise.
6053         (FPE_FLTRES): Likewise.
6054         (FPE_FLTINV): Likewise.
6055         (FPE_FLTSUB): Likewise.
6056         (SEGV_MAPERR): Likewise.
6057         (SEGV_ACCERR): Likewise.
6058         (BUS_ADRALN): Likewise.
6059         (BUS_ADRERR): Likewise.
6060         (BUS_OBJERR): Likewise.
6061         (BUS_MCEERR_AR): Likewise.
6062         (BUS_MCEERR_AO): Likewise.
6063         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6064         (TRAP_TRACE): Likewise.
6065         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6066         __USE_XOPEN2K8].
6067         (CLD_KILLED): Likewise.
6068         (CLD_DUMPED): Likewise.
6069         (CLD_TRAPPED): Likewise.
6070         (CLD_STOPPED): Likewise.
6071         (CLD_CONTINUED): Likewise.
6072         (POLL_IN): Likewise.
6073         (POLL_OUT): Likewise.
6074         (POLL_MSG): Likewise.
6075         (POLL_ERR): Likewise.
6076         (POLL_PRI): Likewise.
6077         (POLL_HUP): Likewise.
6078         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6079         Likewise.
6080         (ILL_ILLOPN): Likewise.
6081         (ILL_ILLADR): Likewise.
6082         (ILL_ILLTRP): Likewise.
6083         (ILL_PRVOPC): Likewise.
6084         (ILL_PRVREG): Likewise.
6085         (ILL_COPROC): Likewise.
6086         (ILL_BADSTK): Likewise.
6087         (ILL_BADIADDR): Likewise.
6088         (ILL_BREAK): Likewise.
6089         (FPE_INTDIV): Likewise.
6090         (FPE_INTOVF): Likewise.
6091         (FPE_FLTDIV): Likewise.
6092         (FPE_FLTOVF): Likewise.
6093         (FPE_FLTUND): Likewise.
6094         (FPE_FLTRES): Likewise.
6095         (FPE_FLTINV): Likewise.
6096         (FPE_FLTSUB): Likewise.
6097         (FPE_DECOVF): Likewise.
6098         (FPE_DECDIV): Likewise.
6099         (FPE_DECERR): Likewise.
6100         (FPE_INVASC): Likewise.
6101         (FPE_INVDEC): Likewise.
6102         (SEGV_MAPERR): Likewise.
6103         (SEGV_ACCERR): Likewise.
6104         (SEGV_PSTKOVF): Likewise.
6105         (BUS_ADRALN): Likewise.
6106         (BUS_ADRERR): Likewise.
6107         (BUS_OBJERR): Likewise.
6108         (BUS_MCEERR_AR): Likewise.
6109         (BUS_MCEERR_AO): Likewise.
6110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6111         (TRAP_TRACE): Likewise.
6112         (TRAP_BRANCH): Likewise.
6113         (TRAP_HWBKPT): Likewise.
6114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6115         __USE_XOPEN2K8].
6116         (CLD_KILLED): Likewise.
6117         (CLD_DUMPED): Likewise.
6118         (CLD_TRAPPED): Likewise.
6119         (CLD_STOPPED): Likewise.
6120         (CLD_CONTINUED): Likewise.
6121         (POLL_IN): Likewise.
6122         (POLL_OUT): Likewise.
6123         (POLL_MSG): Likewise.
6124         (POLL_ERR): Likewise.
6125         (POLL_PRI): Likewise.
6126         (POLL_HUP): Likewise.
6127         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6128         (ILL_ILLOPN): Likewise.
6129         (ILL_ILLADR): Likewise.
6130         (ILL_ILLTRP): Likewise.
6131         (ILL_PRVOPC): Likewise.
6132         (ILL_PRVREG): Likewise.
6133         (ILL_COPROC): Likewise.
6134         (ILL_BADSTK): Likewise.
6135         (FPE_INTDIV): Likewise.
6136         (FPE_INTOVF): Likewise.
6137         (FPE_FLTDIV): Likewise.
6138         (FPE_FLTOVF): Likewise.
6139         (FPE_FLTUND): Likewise.
6140         (FPE_FLTRES): Likewise.
6141         (FPE_FLTINV): Likewise.
6142         (FPE_FLTSUB): Likewise.
6143         (SEGV_MAPERR): Likewise.
6144         (SEGV_ACCERR): Likewise.
6145         (BUS_ADRALN): Likewise.
6146         (BUS_ADRERR): Likewise.
6147         (BUS_OBJERR): Likewise.
6148         (BUS_MCEERR_AR): Likewise.
6149         (BUS_MCEERR_AO): Likewise.
6150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6151         (TRAP_TRACE): Likewise.
6152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6153         __USE_XOPEN2K8].
6154         (CLD_KILLED): Likewise.
6155         (CLD_DUMPED): Likewise.
6156         (CLD_TRAPPED): Likewise.
6157         (CLD_STOPPED): Likewise.
6158         (CLD_CONTINUED): Likewise.
6159         (POLL_IN): Likewise.
6160         (POLL_OUT): Likewise.
6161         (POLL_MSG): Likewise.
6162         (POLL_ERR): Likewise.
6163         (POLL_PRI): Likewise.
6164         (POLL_HUP): Likewise.
6165         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6166         (ILL_ILLOPN): Likewise.
6167         (ILL_ILLADR): Likewise.
6168         (ILL_ILLTRP): Likewise.
6169         (ILL_PRVOPC): Likewise.
6170         (ILL_PRVREG): Likewise.
6171         (ILL_COPROC): Likewise.
6172         (ILL_BADSTK): Likewise.
6173         (FPE_INTDIV): Likewise.
6174         (FPE_INTOVF): Likewise.
6175         (FPE_FLTDIV): Likewise.
6176         (FPE_FLTOVF): Likewise.
6177         (FPE_FLTUND): Likewise.
6178         (FPE_FLTRES): Likewise.
6179         (FPE_FLTINV): Likewise.
6180         (FPE_FLTSUB): Likewise.
6181         (SEGV_MAPERR): Likewise.
6182         (SEGV_ACCERR): Likewise.
6183         (BUS_ADRALN): Likewise.
6184         (BUS_ADRERR): Likewise.
6185         (BUS_OBJERR): Likewise.
6186         (BUS_MCEERR_AR): Likewise.
6187         (BUS_MCEERR_AO): Likewise.
6188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6189         (TRAP_TRACE): Likewise.
6190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6191         __USE_XOPEN2K8].
6192         (CLD_KILLED): Likewise.
6193         (CLD_DUMPED): Likewise.
6194         (CLD_TRAPPED): Likewise.
6195         (CLD_STOPPED): Likewise.
6196         (CLD_CONTINUED): Likewise.
6197         (POLL_IN): Likewise.
6198         (POLL_OUT): Likewise.
6199         (POLL_MSG): Likewise.
6200         (POLL_ERR): Likewise.
6201         (POLL_PRI): Likewise.
6202         (POLL_HUP): Likewise.
6203         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6204         (ILL_ILLOPN): Likewise.
6205         (ILL_ILLADR): Likewise.
6206         (ILL_ILLTRP): Likewise.
6207         (ILL_PRVOPC): Likewise.
6208         (ILL_PRVREG): Likewise.
6209         (ILL_COPROC): Likewise.
6210         (ILL_BADSTK): Likewise.
6211         (FPE_INTDIV): Likewise.
6212         (FPE_INTOVF): Likewise.
6213         (FPE_FLTDIV): Likewise.
6214         (FPE_FLTOVF): Likewise.
6215         (FPE_FLTUND): Likewise.
6216         (FPE_FLTRES): Likewise.
6217         (FPE_FLTINV): Likewise.
6218         (FPE_FLTSUB): Likewise.
6219         (SEGV_MAPERR): Likewise.
6220         (SEGV_ACCERR): Likewise.
6221         (BUS_ADRALN): Likewise.
6222         (BUS_ADRERR): Likewise.
6223         (BUS_OBJERR): Likewise.
6224         (BUS_MCEERR_AR): Likewise.
6225         (BUS_MCEERR_AO): Likewise.
6226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6227         (TRAP_TRACE): Likewise.
6228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6229         __USE_XOPEN2K8].
6230         (CLD_KILLED): Likewise.
6231         (CLD_DUMPED): Likewise.
6232         (CLD_TRAPPED): Likewise.
6233         (CLD_STOPPED): Likewise.
6234         (CLD_CONTINUED): Likewise.
6235         (POLL_IN): Likewise.
6236         (POLL_OUT): Likewise.
6237         (POLL_MSG): Likewise.
6238         (POLL_ERR): Likewise.
6239         (POLL_PRI): Likewise.
6240         (POLL_HUP): Likewise.
6241         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6242         (ILL_ILLOPN): Likewise.
6243         (ILL_ILLADR): Likewise.
6244         (ILL_ILLTRP): Likewise.
6245         (ILL_PRVOPC): Likewise.
6246         (ILL_PRVREG): Likewise.
6247         (ILL_COPROC): Likewise.
6248         (ILL_BADSTK): Likewise.
6249         (ILL_DBLFLT): Likewise.
6250         (ILL_HARDWALL): Likewise.
6251         (FPE_INTDIV): Likewise.
6252         (FPE_INTOVF): Likewise.
6253         (FPE_FLTDIV): Likewise.
6254         (FPE_FLTOVF): Likewise.
6255         (FPE_FLTUND): Likewise.
6256         (FPE_FLTRES): Likewise.
6257         (FPE_FLTINV): Likewise.
6258         (FPE_FLTSUB): Likewise.
6259         (SEGV_MAPERR): Likewise.
6260         (SEGV_ACCERR): Likewise.
6261         (BUS_ADRALN): Likewise.
6262         (BUS_ADRERR): Likewise.
6263         (BUS_OBJERR): Likewise.
6264         (BUS_MCEERR_AR): Likewise.
6265         (BUS_MCEERR_AO): Likewise.
6266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6267         (TRAP_TRACE): Likewise.
6268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6269         __USE_XOPEN2K8].
6270         (CLD_KILLED): Likewise.
6271         (CLD_DUMPED): Likewise.
6272         (CLD_TRAPPED): Likewise.
6273         (CLD_STOPPED): Likewise.
6274         (CLD_CONTINUED): Likewise.
6275         (POLL_IN): Likewise.
6276         (POLL_OUT): Likewise.
6277         (POLL_MSG): Likewise.
6278         (POLL_ERR): Likewise.
6279         (POLL_PRI): Likewise.
6280         (POLL_HUP): Likewise.
6281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6282         (ILL_ILLOPN): Likewise.
6283         (ILL_ILLADR): Likewise.
6284         (ILL_ILLTRP): Likewise.
6285         (ILL_PRVOPC): Likewise.
6286         (ILL_PRVREG): Likewise.
6287         (ILL_COPROC): Likewise.
6288         (ILL_BADSTK): Likewise.
6289         (FPE_INTDIV): Likewise.
6290         (FPE_INTOVF): Likewise.
6291         (FPE_FLTDIV): Likewise.
6292         (FPE_FLTOVF): Likewise.
6293         (FPE_FLTUND): Likewise.
6294         (FPE_FLTRES): Likewise.
6295         (FPE_FLTINV): Likewise.
6296         (FPE_FLTSUB): Likewise.
6297         (SEGV_MAPERR): Likewise.
6298         (SEGV_ACCERR): Likewise.
6299         (BUS_ADRALN): Likewise.
6300         (BUS_ADRERR): Likewise.
6301         (BUS_OBJERR): Likewise.
6302         (BUS_MCEERR_AR): Likewise.
6303         (BUS_MCEERR_AO): Likewise.
6304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6305         (TRAP_TRACE): Likewise.
6306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6307         __USE_XOPEN2K8].
6308         (CLD_KILLED): Likewise.
6309         (CLD_DUMPED): Likewise.
6310         (CLD_TRAPPED): Likewise.
6311         (CLD_STOPPED): Likewise.
6312         (CLD_CONTINUED): Likewise.
6313         (POLL_IN): Likewise.
6314         (POLL_OUT): Likewise.
6315         (POLL_MSG): Likewise.
6316         (POLL_ERR): Likewise.
6317         (POLL_PRI): Likewise.
6318         (POLL_HUP): Likewise.
6319         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6320         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6321
6322         [BZ #16670]
6323         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6324         before #include of <time.h>.
6325         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6326         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6327         (test-xfail-UNIX98/sched.h/conform): Likewise.
6328
6329 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6330
6331         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6332         error absence of trapping exception support.
6333         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6334
6335 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6336
6337         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6338         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6339         * timezone/Makefile (testdata): Move definition above include of
6340         Rules.
6341         (test-zones): New variable.
6342         (tests-special): Add zone files.
6343         (build-testdata): Use $(evaluate-test).
6344
6345         * elf/Makefile (tests-special): Rename tests to end with .out.
6346         ($(objpfx)noload-mem): Likewise.
6347         ($(objpfx)tst-leaks1-mem): Likewise.
6348         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6349         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6350         $(objpfx)test-iconvconfig.out.
6351         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6352         set -e inside subshell and redirect output to file.
6353         * iconvdata/Makefile (generated): Rename tests to end with .out.
6354         Correct type.
6355         (tests-special): Rename tests to end with .out.
6356         ($(objpfx)mtrace-tst-loading): Likewise.
6357         * intl/Makefile (generated): Likewise.
6358         (tests-special): Likewise.
6359         ($(objpfx)mtrace-tst-gettext): Likewise.
6360         * misc/Makefile (generated): Likewise.
6361         (tests-special): Likewise.
6362         ($(objpfx)tst-error1-mem): Likewise.
6363         * nptl/Makefile (tests-special): Likewise.
6364         ($(objpfx)tst-stack3-mem): Likewise.
6365         (generated): Likewise.
6366         * posix/Makefile (generated): Likewise.
6367         (tests-special): Likewise.
6368         (xtests-special): Likewise.
6369         ($(objpfx)tst-fnmatch-mem): Likewise.
6370         ($(objpfx)bug-regex2-mem): Likewise.
6371         ($(objpfx)bug-regex14-mem): Likewise.
6372         ($(objpfx)bug-regex21-mem): Likewise.
6373         ($(objpfx)bug-regex31-mem): Likewise.
6374         ($(objpfx)tst-vfork3-mem): Likewise.
6375         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6376         ($(objpfx)tst-pcre-mem): Likewise.
6377         ($(objpfx)tst-boost-mem): Likewise.
6378         ($(objpfx)bug-ga2-mem): Likewise.
6379         ($(objpfx)bug-glob2-mem): Likewise.
6380         * resolv/Makefile (generate): Likewise.
6381         (tests-special): Likewise.
6382         (xtests-special): Likewise.
6383         (generated): Likewise.
6384         ($(objpfx)mtrace-tst-leaks): Likewise.
6385         ($(objpfx)mtrace-tst-leaks2): Likewise.
6386
6387         * scripts/merge-test-results.sh: New file.
6388         * Makefile (tests-special-notdir): New variable.
6389         (tests): Run merge-test-results.sh.
6390         (xtests): Likewise.
6391         * Rules (tests-special-notdir): New variable.
6392         (xtests-special-notdir): Likewise.
6393         (tests): Run merge-test-results.sh
6394         (xtests): Likewise.
6395
6396         * Makeconfig (test-xfail-name): New variable.
6397         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6398         compute variable name for expected failures.
6399         * conform/Makefile (conformtest-headers-data): New variable.
6400         (conformtest-standards): Likewise.
6401         (conformtest-headers-ISO): Likewise.
6402         (conformtest-headers-ISO99): Likewise.
6403         (conformtest-headers-ISO11): Likewise.
6404         (conformtest-headers-POSIX): Likewise.
6405         (conformtest-headers-XPG3): Likewise.
6406         (conformtest-headers-XPG4): Likewise.
6407         (conformtest-headers-UNIX98): Likewise.
6408         (conformtest-headers-XOPEN2K): Likewise.
6409         (conformtest-headers-POSIX2008): Likewise.
6410         (conformtest-headers-XOPEN2K8): Likewise.
6411         (conformtest-header-list-base): Likewise.
6412         (conformtest-header-list-tests): Likewise.
6413         (conformtest-header-base): Likewise.
6414         (conformtest-header-tests): Likewise.
6415         (tests-special): Add $(conformtest-header-list-tests).  If
6416         [$(fast-check) && !$(cross-compiling)], add
6417         $(conformtest-header-tests) instead of
6418         $(objpfx)run-conformtest.out.
6419         (generated): Add $(conformtest-header-list-base).  If
6420         [$(fast-check) && !$(cross-compiling)], add
6421         $(conformtest-header-base).  Remove previous setting.
6422         ($(conformtest-header-list-tests)): New target.
6423         (test-xfail-run-conformtest): Remove variable.
6424         ($(objpfx)run-conformtest.out): Remove target.
6425         (test-xfail-ISO11/complex.h/conform): New variable.
6426         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6427         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6428         (test-xfail-XPG3/varargs.h/conform): Likewise.
6429         (test-xfail-XPG4/varargs.h/conform): Likewise.
6430         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6431         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6432         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6433         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6434         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6435         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6436         (test-xfail-XPG3/ftw.h/conform): Likewise.
6437         (test-xfail-XPG3/grp.h/conform): Likewise.
6438         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6439         (test-xfail-XPG3/limits.h/conform): Likewise.
6440         (test-xfail-XPG3/pwd.h/conform): Likewise.
6441         (test-xfail-XPG3/search.h/conform): Likewise.
6442         (test-xfail-XPG3/signal.h/conform): Likewise.
6443         (test-xfail-XPG3/stdio.h/conform): Likewise.
6444         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6445         (test-xfail-XPG3/string.h/conform): Likewise.
6446         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6447         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6448         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6449         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6450         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6451         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6452         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6453         (test-xfail-XPG3/termios.h/conform): Likewise.
6454         (test-xfail-XPG3/time.h/conform): Likewise.
6455         (test-xfail-XPG3/unistd.h/conform): Likewise.
6456         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6457         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6458         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6459         (test-xfail-XPG4/netdb.h/conform): Likewise.
6460         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6461         (test-xfail-XPG4/signal.h/conform): Likewise.
6462         (test-xfail-XPG4/stdio.h/conform): Likewise.
6463         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6464         (test-xfail-XPG4/stropts.h/conform): Likewise.
6465         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6466         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6467         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6468         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6469         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6470         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6471         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6472         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6473         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6474         (test-xfail-XPG4/termios.h/conform): Likewise.
6475         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6476         (test-xfail-XPG4/unistd.h/conform): Likewise.
6477         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6478         (test-xfail-POSIX/sched.h/conform): Likewise.
6479         (test-xfail-POSIX/signal.h/conform): Likewise.
6480         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6481         (test-xfail-POSIX/tar.h/conform): Likewise.
6482         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6483         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6484         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6485         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6486         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6487         (test-xfail-UNIX98/sched.h/conform): Likewise.
6488         (test-xfail-UNIX98/signal.h/conform): Likewise.
6489         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6490         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6491         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6492         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6493         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6494         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6495         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6496         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6497         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6498         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6499         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6500         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6501         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6502         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6503         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6504         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6505         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6506         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6507         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6508         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6509         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6510         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6511         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6512         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6513         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6514         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6515         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6516         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6517         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6518         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6519         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6520         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6521         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6522         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6523         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6524         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6525         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6526         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6527         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6528         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6529         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6530         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6531         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6532         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6533         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6534         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6535         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6536         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6537         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6538         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6539         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6540         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6541         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6542         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6543         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6544         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6545         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6546         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6547         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6548         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6549         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6550         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6551         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6552         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6553         (conformtest-cc-flags): Likewise.
6554         ($(conformtest-header-tests): New target.
6555         * conform/check-header-lists.sh: New file.
6556         * conform/run-conformtest.sh: Remove.
6557
6558         * conform/conformtest.pl: Allow ' and \ in values given for
6559         constants.
6560         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6561         inclusion.
6562         [POSIX] (sys/types.h): Likewise.
6563         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6564         inclusion.
6565         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6566         inclusion.
6567         * conform/data/signal.h-data (SIGIO): Remove expectation.
6568         [XPG3] (SIGBUS): Do not expect.
6569         [POSIX || XPG3] (SIGPOLL): Likewise.
6570         [POSIX || XPG3] (SIGPROF): Likewise.
6571         [POSIX || XPG3] (SIGSYS): Likewise.
6572         [XPG3] (SIGTRAP): Likewise.
6573         [POSIX || XPG3] (SIGURG): Likewise.
6574         [POSIX || XPG3] (SIGVTALRM): Likewise.
6575         [POSIX || XPG3] (SIGXCPU): Likewise.
6576         [POSIX || XPG3] (SIGXFSZ): Likewise.
6577         [POSIX] (SA_SIGINFO): Expect.
6578         [XPG3] (siginfo_t): Do not expect type or contents.
6579         [POSIX] (si_pid): Do not expect element.
6580         [POSIX] (si_uid): Likewise.
6581         [POSIX] (si_addr): Likewise.
6582         [POSIX] (si_status): Likewise.
6583         [POSIX] (si_band): Likewise.
6584         [XPG4] (si_value): Likewise.
6585         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6586         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6587         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6588         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6589         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6590         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6591         [POSIX || XPG3] (ILL_COPROC): Likewise.
6592         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6593         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6594         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6595         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6596         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6597         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6598         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6599         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6600         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6601         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6602         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6603         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6604         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6605         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6606         [POSIX || XPG3] (CLD_EXITED): Likewise.
6607         [POSIX || XPG3] (CLD_KILLED): Likewise.
6608         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6609         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6610         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6611         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6612         [POSIX || XPG3] (POLL_IN): Likewise.
6613         [POSIX || XPG3] (POLL_OUT): Likewise.
6614         [POSIX || XPG3] (POLL_MSG): Likewise.
6615         [POSIX || XPG3] (POLL_ERR): Likewise.
6616         [POSIX || XPG3] (POLL_PRI): Likewise.
6617         [POSIX || XPG3] (POLL_HUP): Likewise.
6618         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6619         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6620         (SIG*): Do not allow.
6621         [XPG3] (si_*): Likewise.
6622         [XPG3] (SI_*): Likewise.
6623         [XPG3 || XPG4] (sigev_*): Likewise.
6624         [XPG3 || XPG4] (SIGEV_*): Likewise.
6625         [XPG3 || XPG4] (sival_*): Likewise.
6626         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6627         [POSIX || XPG3] (BUS_*): Likewise.
6628         [POSIX || XPG3] (CLD_*): Likewise.
6629         [POSIX || XPG3] (FPE_*): Likewise.
6630         [POSIX || XPG3] (ILL_*): Likewise.
6631         [POSIX || XPG3] (POLL_*): Likewise.
6632         [POSIX || XPG3] (SEGV_*): Likewise.
6633         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6634         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6635         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6636         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6637         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6638         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6639         Specify type and value.
6640         (TVERSLEN): Likewise.
6641         (REGTYPE): Likewise.
6642         (AREGTYPE): Likewise.
6643         (LNKTYPE): Likewise.
6644         (SYMTYPE): Likewise.
6645         (CHRTYPE): Likewise.
6646         (BLKTYPE): Likewise.
6647         (DIRTYPE): Likewise.
6648         (FIFOTYPE): Likewise.
6649         (CONTTYPE): Likewise.
6650         (TSUID): Likewise.
6651         (TSGID): Likewise.
6652         (TSVTX): Likewise.
6653         (TUREAD): Likewise.
6654         (TUWRITE): Likewise.
6655         (TUEXEC): Likewise.
6656         (TGREAD): Likewise.
6657         (TGWRITE): Likewise.
6658         (TGEXEC): Likewise.
6659         (TOREAD): Likewise.
6660         (TOWRITE): Likewise.
6661         (TOEXEC): Likewise.
6662         [POSIX] (TSVTX): Expect constant.
6663
6664 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6665
6666         * Makefile (tests): Change dependencies to ....
6667         (tests-special): ... additions to this variable.
6668         (tests): Depend on $(tests-special).
6669         * Makerules (check-abi-list): New variable.
6670         (check-abi): Depend on $(check-abi-list).
6671         [$(subdir) = elf] (tests-special): Add
6672         $(objpfx)check-abi-libc.out.
6673         [$(build-shared) = yes && subdir] (tests-special): Add
6674         $(check-abi-list).
6675         [$(build-shared) = yes && subdir] (tests): Do not depend on
6676         check-abi.
6677         * Rules (tests): Depend on $(tests-special).
6678         (xtests): Depend on $(xtests-special).
6679         * catgets/Makefile (tests): Change dependencies to ....
6680         (tests-special): ... additions to this variable.
6681         * conform/Makefile (tests): Change dependencies to ....
6682         (tests-special): ... additions to this variable.
6683         * elf/Makefile (tests): Change dependencies to ....
6684         (tests-special): ... additions to this variable.
6685         * grp/Makefile (tests): Change dependencies to ....
6686         (tests-special): ... additions to this variable.
6687         * iconv/Makefile (xtests): Change dependencies to ....
6688         (xtests-special): ... additions to this variable.
6689         * iconvdata/Makefile (tests): Change dependencies to ....
6690         (tests-special): ... additions to this variable.
6691         * intl/Makefile (tests): Change dependencies to ....
6692         (tests-special): ... additions to this variable.  Also add
6693         $(objpfx)tst-gettext.out.
6694         * io/Makefile (tests): Change dependencies to ....
6695         (tests-special): ... additions to this variable.
6696         * libio/Makefile (tests): Change dependencies to ....
6697         (tests-special): ... additions to this variable.
6698         * malloc/Makefile (tests): Change dependencies to ....
6699         (tests-special): ... additions to this variable.
6700         * misc/Makefile (tests): Change dependencies to ....
6701         (tests-special): ... additions to this variable.
6702         * nptl/Makefile (tests): Change dependencies to ....
6703         (tests-special): ... additions to this variable.
6704         * nptl_db/Makefile (tests): Change dependencies to ....
6705         (tests-special): ... additions to this variable.
6706         * posix/Makefile (tests): Change dependencies to ....
6707         (tests-special): ... additions to this variable.
6708         (xtests): Change dependencies to ....
6709         (xtests-special): ... additions to this variable.
6710         * resolv/Makefile (tests): Change dependencies to ....
6711         (tests-special): ... additions to this variable.
6712         (xtests): Change dependencies to ....
6713         (xtests-special): ... additions to this variable.
6714         * stdio-common/Makefile (tests): Change dependencies to ....
6715         (tests-special): ... additions to this variable.
6716         (do-tst-unbputc): Remove target.
6717         (do-tst-printf): Likewise.
6718         * stdlib/Makefile (tests): Change dependencies to ....
6719         (tests-special): ... additions to this variable.
6720         * string/Makefile (tests): Change dependencies to ....
6721         (tests-special): ... additions to this variable.
6722         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6723         (tests-special): ... additions to this variable.
6724
6725         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6726         whole file.
6727         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6728         whole file.
6729         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6730         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6731
6732         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6733         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6734         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6735         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6736         * conform/data/libgen.h-data [XPG3]: Likewise.
6737         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6738         * conform/data/ndbm.h-data [XPG3]: Likewise.
6739         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6740         * conform/data/netdb.h-data [XPG3]: Likewise.
6741         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6742         * conform/data/poll.h-data [XPG3]: Likewise.
6743         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6744         * conform/data/strings.h-data [XPG3]: Likewise.
6745         * conform/data/stropts.h-data [XPG3]: Likewise.
6746         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6747         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6748         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6749         Likewise.
6750         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6751         * conform/data/sys/time.h-data [XPG3]: Likewise.
6752         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6753         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6754         * conform/data/sys/un.h-data [XPG3]: Likewise.
6755         * conform/data/syslog.h-data [XPG3]: Likewise.
6756         * conform/data/ucontext.h-data [XPG3]: Likewise.
6757         * conform/data/utmpx.h-data [XPG3]: Likewise.
6758         * conform/data/varargs.h-data [UNIX98]: Enable file.
6759
6760         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6761
6762         * math/libm-test.inc (struct test_f_f_data): Move expected results
6763         into structure for each rounding mode.
6764         (struct test_ff_f_data): Likewise.
6765         (struct test_ff_f_data_nexttoward): Likewise.
6766         (struct test_fi_f_data): Likewise.
6767         (struct test_fl_f_data): Likewise.
6768         (struct test_if_f_data): Likewise.
6769         (struct test_fff_f_data): Likewise.
6770         (struct test_c_f_data): Likewise.
6771         (struct test_f_f1_data): Likewise.
6772         (struct test_fF_f1_data): Likewise.
6773         (struct test_ffI_f1_data): Likewise.
6774         (struct test_c_c_data): Likewise.
6775         (struct test_cc_c_data): Likewise.
6776         (struct test_f_i_data): Likewise.
6777         (struct test_ff_i_data): Likewise.
6778         (struct test_f_l_data): Likewise.
6779         (struct test_f_L_data): Likewise.
6780         (struct test_fFF_11_data): Likewise.
6781         (RM_): New macro.
6782         (RM_FE_DOWNWARD): Likewise.
6783         (RM_FE_TONEAREST): Likewise.
6784         (RM_FE_TOWARDZERO): Likewise.
6785         (RM_FE_UPWARD): Likewise.
6786         (RUN_TEST_LOOP_f_f): Update references to expected results.
6787         (RUN_TEST_LOOP_2_f): Likewise.
6788         (RUN_TEST_LOOP_fff_f): Likewise.
6789         (RUN_TEST_LOOP_c_f): Likewise.
6790         (RUN_TEST_LOOP_f_f1): Likewise.
6791         (RUN_TEST_LOOP_fF_f1): Likewise.
6792         (RUN_TEST_LOOP_fI_f1): Likewise.
6793         (RUN_TEST_LOOP_ffI_f1): Likewise.
6794         (RUN_TEST_LOOP_c_c): Likewise.
6795         (RUN_TEST_LOOP_cc_c): Likewise.
6796         (RUN_TEST_LOOP_f_i): Likewise.
6797         (RUN_TEST_LOOP_f_i_tg): Likewise.
6798         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6799         (RUN_TEST_LOOP_f_b): Likewise.
6800         (RUN_TEST_LOOP_f_b_tg): Likewise.
6801         (RUN_TEST_LOOP_f_l): Likewise.
6802         (RUN_TEST_LOOP_f_L): Likewise.
6803         (RUN_TEST_LOOP_fFF_11): Likewise.
6804         * math/gen-libm-test.pl (parse_args): Output four copies of
6805         expected results for each test.
6806
6807         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6808         (__ASSUME_UTIMES): Remove.
6809         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6810         (__ASSUME_UTIMES): Likewise.
6811
6812         * math/gen-auto-libm-tests.c: Update comment on output format.
6813         (output_for_one_input_case): Generate before-rounding and
6814         after-rounding information as conditions on output flags not
6815         floating-point format.
6816         * math/auto-libm-test-out: Regenerated.
6817         * math/gen-libm-test.pl (cond_value): New function.
6818         (or_cond_value): Use cond_value.
6819         (generate_testfile): Handle conditional exceptions.
6820
6821 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6822
6823         * math/libm-test.inc (max_valid_error): New variable.
6824         (init_max_error): Take new argument specifying whether function
6825         results are exactly determined.  Set max_valid_error and bound
6826         other variables for errors based on this argument.
6827         (set_max_error): Do not record results above max_valid_error.
6828         (check_float_internal): Only accept errors of up to 0.5ulps if
6829         also at most max_valid_error.
6830         (START): Take new argument EXACT and pass it to init_max_error.
6831         (acos_test): Update call to START.
6832         (acos_test_tonearest): Likewise.
6833         (acos_test_towardzero): Likewise.
6834         (acos_test_downward): Likewise.
6835         (acos_test_upward): Likewise.
6836         (acosh_test): Likewise.
6837         (asin_test): Likewise.
6838         (asin_test_tonearest): Likewise.
6839         (asin_test_towardzero): Likewise.
6840         (asin_test_downward): Likewise.
6841         (asin_test_upward): Likewise.
6842         (asinh_test): Likewise.
6843         (atan_test): Likewise.
6844         (atanh_test): Likewise.
6845         (atan2_test): Likewise.
6846         (cabs_test): Likewise.
6847         (cacos_test): Likewise.
6848         (cacosh_test): Likewise.
6849         (carg_test): Likewise.
6850         (casin_test): Likewise.
6851         (casinh_test): Likewise.
6852         (catan_test): Likewise.
6853         (catanh_test): Likewise.
6854         (cbrt_test): Likewise.
6855         (ccos_test): Likewise.
6856         (ccosh_test): Likewise.
6857         (ceil_test): Likewise.
6858         (cexp_test): Likewise.
6859         (cimag_test): Likewise.
6860         (clog_test): Likewise.
6861         (clog10_test): Likewise.
6862         (conj_test): Likewise.
6863         (copysign_test): Likewise.
6864         (cos_test): Likewise.
6865         (cos_test_tonearest): Likewise.
6866         (cos_test_towardzero): Likewise.
6867         (cos_test_downward): Likewise.
6868         (cos_test_upward): Likewise.
6869         (cosh_test): Likewise.
6870         (cosh_test_tonearest): Likewise.
6871         (cosh_test_towardzero): Likewise.
6872         (cosh_test_downward): Likewise.
6873         (cosh_test_upward): Likewise.
6874         (cpow_test): Likewise.
6875         (cproj_test): Likewise.
6876         (creal_test): Likewise.
6877         (csin_test): Likewise.
6878         (csinh_test): Likewise.
6879         (csqrt_test): Likewise.
6880         (ctan_test): Likewise.
6881         (ctan_test_tonearest): Likewise.
6882         (ctan_test_towardzero): Likewise.
6883         (ctan_test_downward): Likewise.
6884         (ctan_test_upward): Likewise.
6885         (ctanh_test): Likewise.
6886         (ctanh_test_tonearest): Likewise.
6887         (ctanh_test_towardzero): Likewise.
6888         (ctanh_test_downward): Likewise.
6889         (ctanh_test_upward): Likewise.
6890         (erf_test): Likewise.
6891         (erfc_test): Likewise.
6892         (exp_test): Likewise.
6893         (exp_test_tonearest): Likewise.
6894         (exp_test_towardzero): Likewise.
6895         (exp_test_downward): Likewise.
6896         (exp_test_upward): Likewise.
6897         (exp10_test): Likewise.
6898         (exp10_test_tonearest): Likewise.
6899         (exp10_test_towardzero): Likewise.
6900         (exp10_test_downward): Likewise.
6901         (exp10_test_upward): Likewise.
6902         (pow10_test): Likewise.
6903         (exp2_test): Likewise.
6904         (expm1_test): Likewise.
6905         (expm1_test_tonearest): Likewise.
6906         (expm1_test_towardzero): Likewise.
6907         (expm1_test_downward): Likewise.
6908         (expm1_test_upward): Likewise.
6909         (fabs_test): Likewise.
6910         (fdim_test): Likewise.
6911         (floor_test): Likewise.
6912         (fma_test): Likewise.
6913         (fma_test_towardzero): Likewise.
6914         (fma_test_downward): Likewise.
6915         (fma_test_upward): Likewise.
6916         (fmax_test): Likewise.
6917         (fmin_test): Likewise.
6918         (fmod_test): Likewise.
6919         (fpclassify_test): Likewise.
6920         (frexp_test): Likewise.
6921         (hypot_test): Likewise.
6922         (ilogb_test): Likewise.
6923         (isfinite_test): Likewise.
6924         (finite_test): Likewise.
6925         (isgreater_test): Likewise.
6926         (isgreaterequal_test): Likewise.
6927         (isinf_test): Likewise.
6928         (isless_test): Likewise.
6929         (islessequal_test): Likewise.
6930         (islessgreater_test): Likewise.
6931         (isnan_test): Likewise.
6932         (isnormal_test): Likewise.
6933         (issignaling_test): Likewise.
6934         (isunordered_test): Likewise.
6935         (j0_test): Likewise.
6936         (j1_test): Likewise.
6937         (jn_test): Likewise.
6938         (ldexp_test): Likewise.
6939         (lgamma_test): Likewise.
6940         (gamma_test): Likewise.
6941         (lrint_test): Likewise.
6942         (lrint_test_tonearest): Likewise.
6943         (lrint_test_towardzero): Likewise.
6944         (lrint_test_downward): Likewise.
6945         (lrint_test_upward): Likewise.
6946         (llrint_test): Likewise.
6947         (llrint_test_tonearest): Likewise.
6948         (llrint_test_towardzero): Likewise.
6949         (llrint_test_downward): Likewise.
6950         (llrint_test_upward): Likewise.
6951         (log_test): Likewise.
6952         (log10_test): Likewise.
6953         (log1p_test): Likewise.
6954         (log2_test): Likewise.
6955         (logb_test): Likewise.
6956         (logb_test_downward): Likewise.
6957         (lround_test): Likewise.
6958         (llround_test): Likewise.
6959         (modf_test): Likewise.
6960         (nearbyint_test): Likewise.
6961         (nextafter_test): Likewise.
6962         (nexttoward_test): Likewise.
6963         (pow_test): Likewise.
6964         (pow_test_tonearest): Likewise.
6965         (pow_test_towardzero): Likewise.
6966         (pow_test_downward): Likewise.
6967         (pow_test_upward): Likewise.
6968         (remainder_test): Likewise.
6969         (drem_test): Likewise.
6970         (remainder_test_tonearest): Likewise.
6971         (drem_test_tonearest): Likewise.
6972         (remainder_test_towardzero): Likewise.
6973         (drem_test_towardzero): Likewise.
6974         (remainder_test_downward): Likewise.
6975         (drem_test_downward): Likewise.
6976         (remainder_test_upward): Likewise.
6977         (drem_test_upward): Likewise.
6978         (remquo_test): Likewise.
6979         (rint_test): Likewise.
6980         (rint_test_tonearest): Likewise.
6981         (rint_test_towardzero): Likewise.
6982         (rint_test_downward): Likewise.
6983         (rint_test_upward): Likewise.
6984         (round_test): Likewise.
6985         (scalb_test): Likewise.
6986         (scalbn_test): Likewise.
6987         (scalbln_test): Likewise.
6988         (signbit_test): Likewise.
6989         (sin_test): Likewise.
6990         (sin_test_tonearest): Likewise.
6991         (sin_test_towardzero): Likewise.
6992         (sin_test_downward): Likewise.
6993         (sin_test_upward): Likewise.
6994         (sincos_test): Likewise.
6995         (sinh_test): Likewise.
6996         (sinh_test_tonearest): Likewise.
6997         (sinh_test_towardzero): Likewise.
6998         (sinh_test_downward): Likewise.
6999         (sinh_test_upward): Likewise.
7000         (sqrt_test): Likewise.
7001         (sqrt_test_tonearest): Likewise.
7002         (sqrt_test_towardzero): Likewise.
7003         (sqrt_test_downward): Likewise.
7004         (sqrt_test_upward): Likewise.
7005         (tan_test): Likewise.
7006         (tan_test_tonearest): Likewise.
7007         (tan_test_towardzero): Likewise.
7008         (tan_test_downward): Likewise.
7009         (tan_test_upward): Likewise.
7010         (tanh_test): Likewise.
7011         (tgamma_test): Likewise.
7012         (trunc_test): Likewise.
7013         (y0_test): Likewise.
7014         (y1_test): Likewise.
7015         (yn_test): Likewise.
7016         (significand_test): Likewise.
7017
7018         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7019         individual tests in comment.
7020         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7021         (prev_max_error): New variable.
7022         (prev_real_max_error): Likewise.
7023         (prev_imag_max_error): Likewise.
7024         (compare_ulp_data): Don't refer to test names in comment.
7025         (find_test_ulps): Remove function.
7026         (find_function_ulps): Likewise.
7027         (find_complex_function_ulps): Likewise.
7028         (init_max_error): Take function name as argument.  Look up ulps
7029         for that function.
7030         (print_ulps): Remove function.
7031         (print_max_error): Use prev_max_error instead of calling
7032         find_function_ulps.
7033         (print_complex_max_error): Use prev_real_max_error and
7034         prev_imag_max_error instead of calling find_complex_function_ulps.
7035         (check_float_internal): Take max_ulp parameter instead of calling
7036         find_test_ulps.  Don't call print_ulps.
7037         (check_float): Update call to check_float_internal.
7038         (check_complex): Update calls to check_float_internal.
7039         (START): Pass argument to init_max_error.
7040         * math/gen-libm-test.pl (%results): Don't include "kind"
7041         information.
7042         (parse_ulps): Don't handle ulps of individual tests.
7043         (print_ulps_file): Likewise.
7044         (output_ulps): Likewise.
7045         * math/README.libm-test: Update.
7046         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7047         individual tests.
7048         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7049         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7050         * sysdeps/arm/libm-test-ulps: Likewise.
7051         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7052         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7053         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7054         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7055         * sysdeps/microblaze/libm-test-ulps: Likewise.
7056         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7057         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7058         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7059         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7060         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7061         * sysdeps/sh/libm-test-ulps: Likewise.
7062         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7063         * sysdeps/tile/libm-test-ulps: Likewise.
7064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7065
7066 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7067
7068         * math/libm-test.inc (print_complex_max_error): Check separately
7069         whether real and imaginary errors are within allowed range and
7070         pass 0 to print_complex_function_ulps instead of value within
7071         allowed range.
7072
7073 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7074
7075         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7076         formatting.
7077         (get_handles_fopen): Likewise.
7078         (do_write_test): Likewise.
7079
7080         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7081
7082         * libio/fileops.c (do_ftell): Use cached offset when
7083         available.
7084         * libio/iofwide.c (do_ftell_wide): Likewise.
7085         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7086         _IO_file_attach.
7087         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7088
7089         [BZ #16532]
7090         * libio/libioP.h (get_file_offset): New function.
7091         * libio/fileops.c (get_file_offset): Likewise.
7092         (do_ftell): Likewise.
7093         (_IO_new_file_seekoff): Split out ftell logic.
7094         * libio/wfileops.c (do_ftell_wide): Likewise.
7095         (_IO_wfile_seekoff): Split out ftell logic.
7096         * libio/tst-ftell-active-handler.c: New test case.
7097         * libio/Makefile (tests): Add it.
7098
7099 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7100
7101         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7102         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7103
7104 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7105
7106         [BZ #16639]
7107         * nscd/connections.c (nscd_init): Call do_exit.
7108         (start_threads): Call do_exit and notify_parent.
7109         (begin_drop_privileges): Call do_exit.
7110         (finish_drop_privileges): Likewise.
7111         * nscd/selinux.c (preserve_capabilities): Likewise.
7112         (install_real_capabilities): Likewise.
7113         (nscd_selinux_enabled): Likewise.
7114         (avc_create_thread): Likewise.
7115         (avc_alloc_lock): Likewise.
7116         (nscd_avc_init): Likewise.
7117         * nscd/nscd.c (parent_fd): New static variable.
7118         (main): Create a pipe between parent and child processes.
7119         Skip closing parent_fd.
7120         (monitor_child): New function.
7121         (do_exit): Likewise.
7122         (notify_parent): Likewise.
7123         * nscd/nscd.h (notify_parent): Likewise.
7124         (do_exit): Likewise.
7125
7126 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7127
7128         * malloc/malloc.c (__libc_calloc): Revert last change.
7129
7130 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7131
7132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7133
7134 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7135
7136         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7138         implementation.
7139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7140         (__libc_ifunc_impl_list): Likewise.
7141         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7142         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7143         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7144         * string/strrchr.c: Define STRRCHR.
7145
7146 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7147
7148         * benchtest/bench-strtok.c (simple_strtok): Delete.
7149         (strtok_string): Use as benchmark.
7150         * string/strtok (STRTOK): New macro.
7151
7152 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7153
7154         * manual/threads.texi: Add header and standard comments to all
7155         functions.
7156
7157         * elf/dl-lookup.c (check_match): New function.
7158         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7159         (do_lookup_x): Remove nested function check_match. Use non-nested
7160         function check_match.
7161
7162 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7163
7164         * csu/Makefile (generated, before-compile): Use += rather than =.
7165         * catgets/Makefile (generated, generated-dirs): Likewise.
7166         * debug/Makefile (generated): Likewise.
7167         * dlfcn/Makefile (generated): Likewise.
7168         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7169         * iconvdata/Makefile (before-compile, generated): Likewise.
7170         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7171         * libio/Makefile (generated): Likewise.
7172         * malloc/Makefile (generated): Likewise.
7173         * manual/Makefile (generated, generated-dirs): Likewise.
7174         * misc/Makefile (generated): Likewise.
7175         * posix/Makefile (generated): Likewise.
7176         * resolv/Makefile (generated): Likewise.
7177         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7178         * timezone/Makefile (generated, generated-dirs): Likewise.
7179
7180         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7181
7182 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7183
7184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7185         power8 implementation.
7186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7187         file: POWER8 llround ifunc implementation.
7188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7189         (__lllround): Add POWER8 implementation.
7190         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7191         POWER8 llround implementation.
7192
7193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7194         power8 implementation.
7195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7196         file: POWER8 llrint ifunc implementation.
7197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7198         Add POWER8 implementation.
7199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7200         POWER8 llrint implementation.
7201
7202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7203         power8 implementation.
7204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7205         file: POWER8 finite ifunc implementation.
7206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7207         Add POWER8 implementation.
7208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7209         Likewise.
7210         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7211         POWER8 finite implementation.
7212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7213
7214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7215         power8 implementation.
7216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7217         file: POWER8 isinf ifunc implementation.
7218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7219         POWER8 implementation.
7220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7221         Likewise.
7222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7223         isinf implementation.
7224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7225
7226         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7227         (INIT_ARCH): Add hwcap2 initialization.
7228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7229         power8 implementation.
7230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7231         file: POWER8 isnan ifunc implementation.
7232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7233         POWER8 implementation.
7234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7235         Likewise.
7236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7237         isnan implementation.
7238         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7239
7240 2014-02-27  Joey Ye  <joey.ye@arm.com>
7241
7242         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7243         (_FP_NANFRAC_Q): Set to zero.
7244
7245 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7246
7247         [BZ #16623]
7248         * math/auto-libm-test-in: New test inputs.
7249         * math/auto-libm-test-out: Regenerate.
7250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7251         and DA.
7252         (__cos): Likewise.
7253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7254
7255 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7256
7257         * scripts/evaluate-test.sh: Take new argument indicating whether
7258         failure is expected.
7259         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7260         indicating whether failure is expected.
7261         * conform/Makefile (test-xfail-run-conformtest): New variable.
7262         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7263         level.
7264         * posix/Makefile (test-xfail-annexc): New variable.
7265         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7266
7267 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7268
7269         * argp/Makefile: Include Makeconfig immediately after defining
7270         subdir.
7271         * assert/Makefile: Likewise.
7272         * benchtests/Makefile: Likewise.
7273         * catgets/Makefile: Likewise.
7274         * conform/Makefile: Likewise.
7275         * crypt/Makefile: Likewise.
7276         * csu/Makefile: Likewise.
7277         (all): Remove target.
7278         * ctype/Makefile: Include Makeconfig immediately after defining
7279         subdir.
7280         * debug/Makefile: Likewise.
7281         * dirent/Makefile: Likewise.
7282         * dlfcn/Makefile: Likewise.
7283         * gmon/Makefile: Likewise.
7284         * gnulib/Makefile: Likewise.
7285         * grp/Makefile: Likewise.
7286         * gshadow/Makefile: Likewise.
7287         * hesiod/Makefile: Likewise.
7288         * hurd/Makefile: Likewise.
7289         (all): Remove target.
7290         * iconvdata/Makefile: Include Makeconfig immediately after
7291         defining subdir.
7292         * inet/Makefile: Likewise.
7293         * intl/Makefile: Likewise.
7294         * io/Makefile: Likewise.
7295         * libio/Makefile: Likewise.
7296         (all): Remove target.
7297         * locale/Makefile: Include Makeconfig immediately after defining
7298         subdir.
7299         * login/Makefile: Likewise.
7300         * mach/Makefile: Likewise.
7301         (all): Remove target.
7302         * malloc/Makefile: Include Makeconfig immediately after defining
7303         subdir.
7304         (all): Remove target.
7305         * manual/Makefile: Include Makeconfig immediately after defining
7306         subdir.
7307         * math/Makefile: Likewise.
7308         * misc/Makefile: Likewise.
7309         * nis/Makefile: Likewise.
7310         * nss/Makefile: Likewise.
7311         * po/Makefile: Likewise.
7312         (all): Remove target.
7313         * posix/Makefile: Include Makeconfig immediately after defining
7314         subdir.
7315         * pwd/Makefile: Likewise.
7316         * resolv/Makefile: Likewise.
7317         * resource/Makefile: Likewise.
7318         * rt/Makefile: Likewise.
7319         * setjmp/Makefile: Likewise.
7320         * shadow/Makefile: Likewise.
7321         * signal/Makefile: Likewise.
7322         * socket/Makefile: Likewise.
7323         * soft-fp/Makefile: Likewise.
7324         * stdio-common/Makefile: Likewise.
7325         * stdlib/Makefile: Likewise.
7326         * streams/Makefile: Likewise.
7327         * string/Makefile: Likewise.
7328         * sunrpc/Makefile: Likewise.
7329         (all): Remove target.
7330         * sysvipc/Makefile: Include Makeconfig immediately after defining
7331         subdir.
7332         * termios/Makefile: Likewise.
7333         * time/Makefile: Likewise.
7334         * timezone/Makefile: Likewise.
7335         (all): Remove target.
7336         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7337         subdir.
7338         * wctype/Makefile: Likewise.
7339
7340 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7341
7342         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7343         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7344         (libc_feholdexcept_setround_mips): Ditto.
7345         (libc_feholdsetround): New.
7346         (libc_feholdsetroundf): New.
7347         (libc_feholdsetroundl): New.
7348         (libc_feupdateenv_test_mips): New.
7349         (libc_feupdateenv_test): New.
7350         (libc_feupdateenv_testf): New.
7351         (libc_feupdateenv_testl): New.
7352         (libc_feresetround): New.
7353         (libc_feresetroundf): New.
7354         (libc_feresetroundl): New.
7355         (libc_fetestexcept_mips): New.
7356         (libc_fetestexcept): New.
7357         (libc_fetestexceptf): New.
7358         (libc_fetestexceptl): New.
7359         (HAVE_RM_CTX): New.
7360         (libc_feholdexcept_setround_mips_ctx): New.
7361         (libc_feholdexcept_setround_ctx): New.
7362         (libc_feholdexcept_setroundf_ctx): New.
7363         (libc_feholdexcept_setroundl_ctx): New.
7364         (libc_fesetenv_mips_ctx): New.
7365         (libc_fesetenv_ctx): New.
7366         (libc_fesetenv_ctxf): New.
7367         (libc_fesetenv_ctxl): New.
7368         (libc_feupdateenv_mips_ctx): New.
7369         (libc_feupdateenv_ctx): New.
7370         (libc_feupdateenvf_ctx): New.
7371         (libc_feupdateenvl_ctx): New.
7372         (libc_feholdsetround_mips_ctx): New.
7373         (libc_feholdsetround_ctx): New.
7374         (libc_feholdsetroundf_ctx): New.
7375         (libc_feholdsetroundl_ctx): New.
7376         (libc_feresetround_mips_ctx): New.
7377         (libc_feresetround_ctx): New.
7378         (libc_feresetroundf_ctx): New.
7379         (libc_feresetroundl_ctx): New.
7380
7381 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7382
7383         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7384
7385         * manual/ipc.texi: New file.
7386         * manual/Makefile (chapters): Add ipc.
7387         * manual/job.texi: Add "Inter-Process Communication" to next.
7388         * manual/process.texi: Add "Inter-Process Communication" to prev.
7389
7390 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7391
7392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7393
7394 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7395
7396         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7397
7398         * manual/arith.texi: Fix spaces after sentences.
7399         * manual/charset.texi: Likewise.
7400         * manual/errno.texi: Likewise.
7401         * manual/install.texi: Likewise.
7402         * manual/llio.texi: Likewise.
7403         * manual/locale.texi: Likewise.
7404         * manual/maint.texi: Likewise.
7405         * manual/math.texi: Likewise.
7406         * manual/memory.texi: Likewise.
7407         * manual/message.texi: Likewise.
7408         * manual/probes.texi: Likewise.
7409         * manual/resource.texi: Likewise.
7410         * manual/signal.texi: Likewise.
7411         * manual/socket.texi: Likewise.
7412         * manual/stdio.texi: Likewise.
7413         * manual/string.texi: Likewise.
7414         * manual/time.texi: Likewise.
7415         * manual/users.texi: Likewise.
7416
7417 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7418
7419         [BZ #16632]
7420         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7421         _DEFAULT_SOURCE is defined.
7422
7423 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7424             Carlos O'Donell  <carlos@redhat.com>
7425
7426         [BZ #16613]
7427         * elf/dl-tls.c (_dl_count_modids): New function.
7428         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7429         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7430         audit library and increment generation counter.
7431         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7432         * elf/tst-audit9.c: New file.
7433         * elf/tst-auditmod9a.c: New file.
7434         * elf/tst-auditmod9b.c: New file.
7435         * elf/Makefile: Add rules to build and run tst-audit9.
7436
7437 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7438
7439         [BZ #15347]
7440         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7441
7442 2014-02-25  Will Newton  <will.newton@linaro.org>
7443
7444         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7445         (__longjmp): Restore sp and lr before restoring callee
7446         saved registers.  Add longjmp and longjmp_target
7447         SystemTap probe point.
7448         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7449         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7450         Define to zero to match jmpbuf layout.
7451         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7452         (__sigsetjmp): Save sp and lr before saving callee
7453         saved registers.  Add setjmp SystemTap probe point.
7454
7455 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7456
7457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7458
7459 2014-02-24  Andreas Schwab  <schwab@suse.de>
7460
7461         [BZ #15804]
7462         * elf/pldd.c (wait_for_ptrace_stop): New function.
7463         (main): Call it after attaching.
7464
7465 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7466
7467         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7468         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7469         Versions files is now verboten.
7470         * hurd/Versions (libc: GLIBC_2.0):
7471         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7472         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7473         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7474         * mach/Versions: Likewise.
7475
7476         * csu/Versions: Remove unused %include.
7477         * resolv/Versions: Likewise.
7478
7479 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7480
7481         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7482         ($(objpfx)check-local-headers.out): Likewise.
7483         ($(objpfx)begin-end-check.out): Likewise.
7484         * Makerules (check-abi-%.out): Likewise.
7485         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7486         ($(objpfx)test2.cat): Likewise.
7487         ($(objpfx)de/libc.cat): Likewise.
7488         ($(objpfx)test-gencat.out): Likewise.
7489         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7490         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7491         ($(objpfx)noload-mem): Likewise.
7492         ($(objpfx)tst-pathopt.out): Likewise.
7493         ($(objpfx)tst-rtld-load-self.out): Likewise.
7494         ($(objpfx)tst-array1-cmp.out): Likewise.
7495         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7496         ($(objpfx)tst-array2-cmp.out): Likewise.
7497         ($(objpfx)tst-array3-cmp.out): Likewise.
7498         ($(objpfx)tst-array4-cmp.out): Likewise.
7499         ($(objpfx)tst-array5-cmp.out): Likewise.
7500         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7501         ($(objpfx)check-textrel.out): Likewise.
7502         ($(objpfx)check-execstack.out): Likewise.
7503         ($(objpfx)check-localplt.out): Likewise.
7504         ($(objpfx)order2-cmp.out): Likewise.
7505         ($(objpfx)tst-leaks1-mem): Likewise.
7506         ($(objpfx)tst-leaks1-static-mem): Likewise.
7507         ($(objpfx)tst-initorder-cmp.out): Likewise.
7508         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7509         ($(objpfx)tst-unused-dep.out): Likewise.
7510         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7511         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7512         * iconv/Makefile (test-iconvconfig): Likewise.
7513         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7514         ($(objpfx)iconv-test.out): Likewise.
7515         ($(objpfx)tst-tables.out): Likewise.
7516         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7517         ($(objpfx)tst-gettext.out): Likewise.
7518         ($(objpfx)tst-translit.out): Likewise.
7519         ($(objpfx)tst-gettext2.out): Likewise.
7520         ($(objpfx)tst-gettext4.out): Likewise.
7521         ($(objpfx)tst-gettext6.out): Likewise.
7522         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7523         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7524         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7525         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7526         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7527         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7528         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7529         ($(objpfx)wordexp-tst.out): Likewise.
7530         ($(objpfx)annexc.out): Likewise.
7531         ($(objpfx)tst-fnmatch-mem): Likewise.
7532         ($(objpfx)bug-regex2-mem): Likewise.
7533         ($(objpfx)bug-regex14-mem): Likewise.
7534         ($(objpfx)bug-regex21-mem): Likewise.
7535         ($(objpfx)bug-regex31-mem): Likewise.
7536         ($(objpfx)tst-vfork3-mem): Likewise.
7537         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7538         ($(objpfx)tst-pcre-mem): Likewise.
7539         ($(objpfx)tst-boost-mem): Likewise.
7540         ($(objpfx)tst-getconf.out): Likewise.
7541         ($(objpfx)bug-ga2-mem): Likewise.
7542         ($(objpfx)bug-glob2-mem): Likewise.
7543         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7544         ($(objpfx)mtrace-tst-leaks2): Likewise.
7545         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7546         ($(objpfx)tst-printf.out): Likewise.
7547         ($(objpfx)tst-setvbuf1.out): Likewise.
7548         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7549         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7550         ($(objpfx)tst-fmtmsg.out): Likewise.
7551         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7552         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7553
7554         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7555         * bits/sigaction.h [__USE_MISC]: Likewise.
7556         * bits/waitstatus.h: Update #endif comments.
7557         * ctype/ctype.h: Likewise.
7558         * dirent/dirent.h: Likewise.
7559         [__USE_MISC]: Remove redundant conditionals.
7560         * grp/grp.h: Update #endif comments.
7561         [__USE_GNU]: Remove redundant conditionals.
7562         [__USE_MISC]: Likewise.
7563         * inet/netinet/in.h [__USE_GNU]: Likewise.
7564         * io/sys/stat.h [__USE_MISC]: Likewise.
7565         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7566         * libio/bits/stdio.h: Update #endif comments.
7567         [__USE_MISC]: Remove redundant conditionals.
7568         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7569         * libio/stdio.h: Update #endif comments.
7570         [__USE_MISC]: Remove redundant conditionals.
7571         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7572         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7573         * math/math.h: Update #else and #endif comments.
7574         [__USE_MISC]: Remove redundant conditionals.
7575         * misc/sys/uio.h: Update #endif comments.
7576         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7577         * posix/glob.h [__USE_MISC]: Likewise.
7578         * posix/sys/types.h: Update #endif comments.
7579         [__USE_MISC]: Remove redundant conditionals.
7580         * posix/sys/wait.h: Update #endif comments.
7581         [__USE_MISC]: Remove redundant conditionals.
7582         * posix/unistd.h: Update #endif comments.
7583         [__USE_MISC]: Remove redundant conditionals.
7584         * pwd/pwd.h [__USE_GNU]: Likewise.
7585         [__USE_MISC]: Likewise.
7586         * resolv/netdb.h [__USE_GNU]: Likewise.
7587         * signal/signal.h: Update #endif comments.
7588         [__USE_MISC]: Remove redundant conditionals.
7589         * stdlib/stdlib.h: Update #else and #endif comments.
7590         [__USE_MISC]: Remove redundant conditionals.
7591         [__USE_GNU]: Likewise.
7592         * string/bits/string2.h [__USE_MISC]: Likewise.
7593         * string/string.h: Update #endif comments.
7594         [__USE_MISC]: Remove redundant conditionals.
7595         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7596         Likewise.
7597         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7598         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7599         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7600         Likewise.
7601         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7602         Likewise.
7603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7604         comments.
7605         [__USE_MISC]: Remove redundant conditionals.
7606         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7607         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7608         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7609         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7610         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7611         Likewise.
7612         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7613         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7614         Likewise.
7615         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7616         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7617         Likewise.
7618         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7619         Likewise.
7620         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7621         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7622         Likewise.
7623         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7624         Likewise.
7625         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7626         * sysdeps/x86/bits/string.h: Update #endif comments.
7627         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7628         conditionals.
7629         * time/sys/time.h: Update #endif comments.
7630         * time/time.h: Likewise.
7631         [__USE_MISC]: Remove redundant conditionals.
7632
7633 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7634
7635         [BZ #16600]
7636         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7637
7638 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7639
7640         * Versions.def (librt): Add GLIBC_2.17.
7641
7642 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7643
7644         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7645         synonym for _SYS_AUXV_H to allow direct inclusion.
7646         * sysdeps/sparc/bits/hwcap.h: Likewise.
7647         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7648         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7649         * sysdeps/sparc/sysdep.h: Likewise.
7650
7651 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7652
7653         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7654
7655 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7656
7657         * benchtests/bench-strrchr.c: Print length instead of position.
7658
7659 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7660
7661         [BZ #16611]
7662         * sysdeps/unix/sysv/linux/kernel-features.h
7663         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7664         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7665         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7666         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7667         Likewise.
7668         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7669         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7670         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7671         (__ASSUME_SENDMMSG): Define instead of using previous
7672         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7674         (__ASSUME_SENDMMSG_SYSCALL): Define.
7675         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7676         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7677         Likewise.
7678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7679         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7680         Likewise.
7681         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7682         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7683         Likewise.
7684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7685         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7686         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7687         [__ASSUME_SENDMMSG]: Change conditionals to
7688         [__ASSUME_SENDMMSG_SOCKETCALL].
7689         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7690         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7691         Define.
7692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7693         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7694         Likewise.
7695         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7696         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7697         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7698         [!__ASSUME_SENDMMSG]: Change conditional to
7699         [!__ASSUME_SENDMMSG_SOCKETCALL].
7700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7701         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7702         Define.
7703
7704         [BZ #16610]
7705         * sysdeps/unix/sysv/linux/kernel-features.h
7706         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7707         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7708         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7709         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7710         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7711         [__i386__ || __sparc__]
7712         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7713         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7714         (__ASSUME_RECVMMSG): Define instead of using previous
7715         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7717         (__ASSUME_RECVMMSG_SYSCALL): Define.
7718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7720         Likewise.
7721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7723         Likewise.
7724         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7725         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7726         Likewise.
7727         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7728         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7729         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7730         [__ASSUME_RECVMMSG]: Change condition to
7731         [__ASSUME_RECVMMSG_SOCKETCALL].
7732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7734         Define.
7735         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7738         Likewise.
7739         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7740         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7741         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7742         [!__ASSUME_RECVMMSG]: Change condition to
7743         [!__ASSUME_RECVMMSG_SOCKETCALL].
7744         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7745         (__ASSUME_RECVMMSG_SYSCALL): Define.
7746
7747         [BZ #16609]
7748         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7749         __powerpc__ || __s390__ || __sh__ || __sparc__]
7750         (__ASSUME_SOCKETCALL): Define.
7751         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7752         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7753         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7754         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7755         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7756         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7757         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7758         (__ASSUME_ACCEPT4): Define instead of using previous
7759         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7760         __powerpc__ || __sparc__ || __s390__)] condition.
7761         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7762         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7763         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7764         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7765         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7766         [!__ASSUME_ACCEPT4]: Change condition to
7767         [!__ASSUME_ACCEPT4_SOCKETCALL].
7768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7769         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7770         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7772         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7773         __ASSUME_ACCEPT4_SYSCALL.
7774         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7775         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7776         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7777         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7778         __ASSUME_ACCEPT4_SYSCALL.
7779         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7780         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7781         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7782         [__ASSUME_ACCEPT4]: Change condition to
7783         [__ASSUME_ACCEPT4_SOCKETCALL].
7784         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7785         (__ASSUME_SOCKETCALL): Define.
7786         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7788         (__ASSUME_SOCKETCALL): Define.
7789         (__ASSUME_ACCEPT4): Remove.
7790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7791         Define.
7792         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7793         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7794         Likewise.
7795         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7796         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7797
7798         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7799         macro.
7800         (HWCAP_ARM_LPAE): Likewise.
7801         (HWCAP_ARM_EVTSTRM): Likewise.
7802         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7803         Add vpfd32, lpae and evtstrm.
7804         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7805         Increase to 22.
7806
7807 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7808
7809         * math/auto-libm-test-in: Add tests of clog10.
7810         * math/auto-libm-test-out: Regenerated.
7811         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7812         * sysdeps/i386/fpu/libm-test-ulps: Update.
7813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7814
7815 2014-02-18  Andreas Schwab  <schwab@suse.de>
7816
7817         [BZ #16574]
7818         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7819         Store non-zero if the second buffer was newly allocated.
7820         (send_dg): Likewise.
7821         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7822         to send_vc and send_dg.
7823         (res_nsend): Pass NULL for ansp2_malloced.
7824         * resolv/res_query.c (__libc_res_nquery): Add parameter
7825         answerp2_malloced and pass it down to __libc_res_nsend.
7826         (res_nquery): Pass additional NULL to __libc_res_nquery.
7827         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7828         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7829         second answer buffer if answerp2_malloced was set.
7830         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7831         (__libc_res_nquerydomain): Add parameter
7832         answerp2_malloced and pass it down to __libc_res_nquery.
7833         (res_nquerydomain): Pass additional NULL to
7834         __libc_res_nquerydomain.
7835         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7836         additional NULL to __libc_res_nsend and __libc_res_nquery.
7837         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7838         additional NULL to __libc_res_nsearch.
7839         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7840         parameter of __libc_res_nsearch to check for separately allocated
7841         second buffer.
7842         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7843         __libc_res_nquery.
7844         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7845         additional NULL to __libc_res_nquery.
7846         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7847         __libc_res_nsearch.
7848         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7849         * include/resolv.h: Update prototypes of __libc_res_nquery,
7850         __libc_res_nsearch, __libc_res_nsend.
7851
7852 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7853
7854         * math/auto-libm-test-in: Add tests of fma.
7855         * math/auto-libm-test-out: Regenerated.
7856         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7857         (fma_towardzero_test_data): Likewise.
7858         (fma_downward_test_data): Likewise.
7859         (fma_upward_test_data): Likewise.
7860         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7861         mpc_mode.
7862         (rounding_modes): Add values for new field.
7863         (func_calc_method): Add value mpfr_fff_f.
7864         (func_calc_desc): Add mpfr_fff_f union field.
7865         (test_function): Add field exact_args.
7866         (FUNC): Add macro argument EXACT_ARGS.
7867         (FUNC_mpfr_f_f): Update call to FUNC.
7868         (FUNC_mpfr_f_f): Likewise.
7869         (FUNC_mpfr_ff_f): Likewise.
7870         (FUNC_mpfr_if_f): Likewise.
7871         (FUNC_mpc_c_f): Likewise.
7872         (FUNC_mpc_c_c): Likewise.
7873         (test_functions): Add fma.  Update calls to FUNC.
7874         (handle_input_arg): Add argument exact_args.
7875         (add_test): Update call to handle_input_arg.
7876         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7877         (output_for_one_input_case): Update call to calc_generic_results.
7878         Recalculate exact zero results in each rounding mode.
7879
7880         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7881         non-negative before setting low bit.
7882         * math/auto-libm-test-in: Mark one asin test possibly having
7883         spurious underflow.
7884         * math/auto-libm-test-out: Regenerated.
7885         * sysdeps/i386/fpu/libm-test-ulps: Update.
7886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7887
7888 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7889
7890         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7891         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7892         ports/sysdeps/unix/sysv/linux/microblaze.
7893         * README: Add missing listing for microblaze*-*-linux-gnu.
7894
7895 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7896
7897         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7898         * sysdeps/unix/sysv/linux/ia64: Move directory from
7899         ports/sysdeps/unix/sysv/linux/ia64.
7900         * README: Update listing for ia64-*-linux-gnu.
7901
7902 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7903             Joseph Myers  <joseph@codesourcery.com>
7904
7905         * Makeconfig (test-name): New variable.
7906         (evaluate-test): Likewise.
7907         * Makerules (do-test-clean): Remove .test-result files.
7908         (common-mostlyclean): Likewise.
7909         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7910         * scripts/evaluate-test.sh: New file.
7911
7912 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7913
7914         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7915         separate $(objpfx)tst-fopenloc-cmp.out and
7916         $(objpfx)tst-fopenloc-mem.out targets.
7917         (tests): Update dependencies.
7918         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7919         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7920         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7921         (tst-rxspencer-no-utf8-ARGS): New variable.
7922         (tst-rxspencer-no-utf8-ENV): Likewise.
7923         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7924         instead of $(objpfx)tst-rxspencer-mem.
7925         ($(objpfx)tst-rxspencer-mem): Change target to
7926         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7927         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7928         * posix/tst-rxspencer-no-utf8.c: New file.
7929
7930         * elf/Makefile ($(objpfx)order.out): Remove rule.
7931         [$(run-built-tests) = yes] (tests): Depend on
7932         $(objpfx)order-cmp.out.
7933         ($(objpfx)order-cmp.out): New rule.
7934         [$(run-built-tests) = yes] (tests): Depend on
7935         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7936         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7937         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7938         $(objpfx)tst-array5-static-cmp.out.
7939         ($(objpfx)tst-array1.out): Remove rule.
7940         ($(objpfx)tst-array1-cmp.out): New rule.
7941         ($(objpfx)tst-array1-static.out): Remove rule.
7942         ($(objpfx)tst-array1-static-cmp.out): New rule.
7943         ($(objpfx)tst-array2.out): Remove rule.
7944         ($(objpfx)tst-array2-cmp.out): New rule.
7945         ($(objpfx)tst-array3.out): Remove rule.
7946         ($(objpfx)tst-array3-cmp.out): New rule.
7947         ($(objpfx)tst-array4.out): Remove rule.
7948         ($(objpfx)tst-array4-cmp.out): New rule.
7949         ($(objpfx)tst-array5.out): Remove rule.
7950         ($(objpfx)tst-array5-cmp.out): New rule.
7951         ($(objpfx)tst-array5-static.out): Remove rule.
7952         ($(objpfx)tst-array5-static-cmp.out): New rule.
7953         [$(run-built-tests) = yes] (tests): Depend on
7954         $(objpfx)order2-cmp.out.
7955         ($(objpfx)order2.out): Remove rule.
7956         ($(objpfx)order2-cmp.out): New rule.
7957         ($(objpfx)tst-initorder.out): Remove rule.
7958         [$(run-built-tests) = yes] (tests): Depend on
7959         $(objpfx)tst-initorder-cmp.out.
7960         ($(objpfx)tst-initorder-cmp.out): New rule.
7961         ($(objpfx)tst-initorder2.out): Remove rule.
7962         [$(run-built-tests) = yes] (tests): Depend on
7963         $(objpfx)tst-initorder2-cmp.out.
7964         ($(objpfx)tst-initorder2-cmp.out): New rule.
7965         [$(run-built-tests) = yes] (tests): Depend on
7966         $(objpfx)tst-unused-dep-cmp.out.
7967         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7968         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7969         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7970         on $(objpfx)tst-setvbuf1-cmp.out.
7971         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7972         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7973         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7974         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7975         ($(objpfx)tst-svc.out): Remove rule.
7976         ($(objpfx)tst-svc-cmp.out): New rule.
7977
7978 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7979
7980         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7981         * ctype/ctype.h [__USE_MISC]: Likewise.
7982         * dirent/dirent.h [__USE_MISC]: Likewise.
7983         * grp/grp.h [__USE_MISC]: Likewise.
7984         * io/fcntl.h [__USE_MISC]: Likewise.
7985         * io/sys/stat.h [__USE_MISC]: Likewise.
7986         * libio/stdio.h [__USE_MISC]: Likewise.
7987         * posix/unistd.h [__USE_MISC]: Likewise.
7988         * pwd/pwd.h [__USE_MISC]: Likewise.
7989         * stdlib.h [__USE_MISC]: Likewise.
7990         * string/bits/string2.h [__USE_MISC]: Likewise.
7991         * string/string.h [__USE_MISC]: Likewise.
7992         * time/time.h [__USE_MISC]: Likewise.
7993
7994 2014-02-13  Andreas Schwab  <schwab@suse.de>
7995
7996         [BZ #16574]
7997         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7998         second answer buffer if it was separately allocated.
7999
8000 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8001
8002         * sysdeps/mips/math-tests.h: Include <features.h>.
8003         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8004         (ROUNDING_TESTS_long_double): Do not define.
8005         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8006         (EXCEPTION_TESTS_long_double): Likewise.
8007         * sysdeps/mips/mips64/libm-test-ulps: Update.
8008
8009         * include/features.h (__USE_BSD): Remove macro definitions.
8010         (__USE_SVID): Likewise.
8011         (_BSD_SOURCE): Likewise.
8012         (_SVID_SOURCE): Likewise.
8013         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8014         from definition of _DEFAULT_SOURCE.
8015         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8016         [_DEFAULT_SOURCE].
8017         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8018         * bits/mman.h [__USE_BSD]: Likewise.
8019         * bits/termios.h [__USE_BSD]: Likewise.
8020         * bits/waitstatus.h [__USE_BSD]: Likewise.
8021         * ctype/ctype.h [__USE_SVID]: Likewise.
8022         * dirent/dirent.h [__USE_BSD]: Likewise.
8023         * grp/grp.h [__USE_SVID]: Likewise.
8024         [__USE_BSD]: Likewise.
8025         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8026         * io/fcntl.h [__USE_BSD]: Likewise.
8027         * io/ftw.h [__USE_BSD]: Likewise.
8028         * io/sys/stat.h [__USE_BSD]: Likewise.
8029         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8030         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8031         * libio/stdio.h [__USE_SVID]: Likewise.
8032         [__USE_BSD]: Likewise.
8033         * math/math.h [__USE_SVID]: Likewise.
8034         [__USE_BSD]: Likewise.
8035         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8036         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8037         * misc/search.h [__USE_SVID]: Likewise.
8038         * misc/sys/mman.h [__USE_BSD]: Likewise.
8039         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8040         * misc/sys/uio.h [__USE_BSD]: Likewise.
8041         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8042         * posix/glob.h [__USE_BSD]: Likewise.
8043         * posix/regex.h [__USE_BSD]: Likewise.
8044         * posix/sys/types.h [__USE_BSD]: Likewise.
8045         [__USE_SVID]: Likewise.
8046         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8047         * posix/sys/wait.h [__USE_BSD]: Likewise.
8048         [__USE_SVID]: Likewise.
8049         * posix/unistd.h [__USE_BSD]: Likewise.
8050         [__USE_SVID]: Likewise.
8051         * pwd/pwd.h [__USE_SVID]: Likewise.
8052         * resolv/netdb.h [__USE_BSD]: Likewise.
8053         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8054         * signal/signal.h [__USE_BSD]: Likewise.
8055         [__USE_SVID]: Likewise.
8056         * socket/sys/socket.h [__USE_BSD]: Likewise.
8057         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8058         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8059         [__USE_SVID]: Likewise.
8060         * string/bits/string2.h [__USE_BSD]: Likewise.
8061         [__USE_SVID]: Likewise.
8062         * string/bits/string3.h [__USE_BSD]: Likewise.
8063         * string/endian.h [__USE_BSD]: Likewise.
8064         * string/string.h [__USE_SVID]: Likewise.
8065         [__USE_BSD]: Likewise.
8066         * string/strings.h [__USE_BSD]: Likewise.
8067         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8068         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8069         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8070         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8071         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8072         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8073         Likewise.
8074         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8075         Likewise.
8076         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8077         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8078         Likewise.
8079         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8080         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8081         Likewise.
8082         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8083         Likewise.
8084         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8085         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8086         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8087         Likewise.
8088         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8089         Likewise.
8090         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8091         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8092         * termios/termios.h [__USE_BSD]: Likewise.
8093         * time/sys/time.h [__USE_BSD]: Likewise.
8094         * time/time.h [__USE_BSD]: Likewise.
8095         [__USE_SVID]: Likewise.
8096
8097         * Makefile (subdir_targets): Remove subdir_lint.out.
8098
8099         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8100         (do-tst-printf): Likewise.
8101         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8102         $(objpfx)tst-printf.out.
8103
8104         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8105
8106         * Makerules (check-abi-%): Change target to
8107         $(objpfx)check-abi-%.out.
8108         (check-abi target): Update dependencies.
8109         (check-abi-pattern variable): Redirect output of diff to $@.
8110         (check-abi variable): Likewise.
8111         * elf/Makefile (check-abi): Update dependencies.
8112
8113         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8114         unused.
8115         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8116         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8117         subnormal range.
8118         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8119         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8120         value has largest subnormal exponent.
8121         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8122         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8123         * sysdeps/aarch64/soft-fp/sfp-machine.h
8124         (_FP_TININESS_AFTER_ROUNDING): New macro.
8125         * sysdeps/alpha/soft-fp/sfp-machine.h
8126         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8127         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8128         Likewise.
8129         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8130         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8131         * sysdeps/mips/soft-fp/sfp-machine.h
8132         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8133         * sysdeps/powerpc/soft-fp/sfp-machine.h
8134         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8135         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8136         Likewise.
8137         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8139         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8140         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8141         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8142         Likewise.
8143
8144 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8145
8146         [BZ #16545]
8147         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8148         model 1.
8149
8150 2014-02-12  Richard Henderson  <rth@redhat.com>
8151
8152         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8153         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8154         * sysdeps/unix/sysv/linux/alpha: Move directory from
8155         ports/sysdeps/unix/sysv/linux/alpha.
8156         * README: Update listing for alpha-*-linux-gnu.
8157
8158 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8159
8160         * include/features.h: Update comment documenting feature test
8161         macros.
8162         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8163         _DEFAULT_SOURCE.
8164         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8165         (_SVID_SOURCE): Likewise.
8166         (_DEFAULT_SOURCE): Update description of default features.
8167         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8168         with _GNU_SOURCE.
8169         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8170         (S_ISVTX): Likewise.
8171         * manual/math.texi (Mathematical Constants): Likewise.
8172         * manual/signal.texi (Interrupted Primitives): Likewise.
8173         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8174         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8175         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8176         Don't refer to _SVID_SOURCE in warning text.
8177
8178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8179
8180         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8181         already defined.
8182         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8183         * sysdeps/mips/dl-lookup.c: Remove.
8184         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8185
8186 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8187
8188         [BZ #16447]
8189         * math/auto-libm-test-in: Add testcase for expl.
8190         * math/auto-libm-test-out: Regenerate.
8191         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8192         calculation of unsafe.
8193         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8194
8195 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8196
8197         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8198         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8199         ports/sysdeps/unix/sysv/linux/aarch64.
8200         * README: Update listing for aarch64*-*-linux-gnu.
8201
8202 2014-02-11  Will Newton  <will.newton@linaro.org>
8203
8204         * manual/probes.texi (Mathematical Function Probes): Use
8205         "triggered" instead of "hit".
8206
8207         * manual/probes.texi (Internal Probes): Add documentation
8208         of setjmp, longjmp and longjmp_target probes.
8209
8210         * include/stap-probe.h: Add comment about probe argument
8211         format.
8212
8213         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8214         definition.  (tr_where, tr_freehook, tr_mallochook,
8215         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8216
8217 2014-02-11  David S. Miller  <davem@davemloft.net>
8218
8219         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8220         processing int_tests.
8221
8222 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8223
8224         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8225         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8226         * sysdeps/unix/sysv/linux/mips: Move directory from
8227         ports/sysdeps/unix/sysv/linux/mips.
8228         * README: Update listing for mips-*-linux-gnu and
8229         mips64-*-linux-gnu.
8230
8231 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8232
8233         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8234         * sysdeps/unix/sysv/linux/m68k: Move directory from
8235         ports/sysdeps/unix/sysv/linux/m68k.
8236         * README: Update listing for m68k-*-linux-gnu.
8237
8238 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8239
8240         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8241         * sysdeps/unix/sysv/linux/generic: Move directory from
8242         ports/sysdeps/unix/sysv/linux/generic.
8243         * sysdeps/unix/sysv/linux/tile: Move directory from
8244         ports/sysdeps/unix/sysv/linux/tile.
8245         * README: Update listing for tile*-*-linux-gnu.
8246
8247 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8248
8249         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8250         __builtin_expect.
8251         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8252         * catgets/open_catalog.c (__open_catalog): Likewise.
8253         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8254         * debug/confstr_chk.c: Likewise.
8255         * debug/fread_chk.c (__fread_chk): Likewise.
8256         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8257         * debug/getgroups_chk.c: Likewise.
8258         * debug/mbsnrtowcs_chk.c: Likewise.
8259         * debug/mbsrtowcs_chk.c: Likewise.
8260         * debug/mbstowcs_chk.c: Likewise.
8261         * debug/memcpy_chk.c: Likewise.
8262         * debug/memmove_chk.c: Likewise.
8263         * debug/mempcpy_chk.c: Likewise.
8264         * debug/memset_chk.c: Likewise.
8265         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8266         * debug/strcat_chk.c (__strcat_chk): Likewise.
8267         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8268         * debug/strncat_chk.c (__strncat_chk): Likewise.
8269         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8270         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8271         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8272         * debug/wcpncpy_chk.c: Likewise.
8273         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8274         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8275         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8276         * debug/wcsncpy_chk.c: Likewise.
8277         * debug/wcsnrtombs_chk.c: Likewise.
8278         * debug/wcsrtombs_chk.c: Likewise.
8279         * debug/wcstombs_chk.c: Likewise.
8280         * debug/wmemcpy_chk.c: Likewise.
8281         * debug/wmemmove_chk.c: Likewise.
8282         * debug/wmempcpy_chk.c: Likewise.
8283         * debug/wmemset_chk.c: Likewise.
8284         * dirent/scandirat.c (SCANDIRAT): Likewise.
8285         * dlfcn/dladdr1.c (dladdr1): Likewise.
8286         * dlfcn/dladdr.c (dladdr): Likewise.
8287         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8288         * dlfcn/dlerror.c (__dlerror): Likewise.
8289         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8290         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8291         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8292         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8293         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8294         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8295         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8296         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8297         Likewise.
8298         * elf/dl-conflict.c: Likewise.
8299         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8300         * elf/dl-dst.h: Likewise.
8301         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8302         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8303         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8304         * elf/dl-init.c (call_init, _dl_init): Likewise.
8305         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8306         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8307         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8308         Likewise.
8309         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8310         Likewise.
8311         * elf/dl-minimal.c (__libc_memalign): Likewise.
8312         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8313         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8314         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8315         * elf/dl-sym.c (do_sym): Likewise.
8316         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8317         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8318         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8319         * elf/dl-writev.h (_dl_writev): Likewise.
8320         * elf/ldconfig.c (search_dir): Likewise.
8321         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8322         (dl_main): Likewise.
8323         * elf/setup-vdso.h (setup_vdso): Likewise.
8324         * grp/compat-initgroups.c (compat_call): Likewise.
8325         * grp/fgetgrent.c (fgetgrent): Likewise.
8326         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8327         * grp/putgrent.c (putgrent): Likewise.
8328         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8329         Likewise.
8330         * hurd/hurdinit.c: Likewise.
8331         * iconvdata/8bit-gap.c (struct): Likewise.
8332         * iconvdata/ansi_x3.110.c : Likewise.
8333         * iconvdata/big5.c : Likewise.
8334         * iconvdata/big5hkscs.c : Likewise.
8335         * iconvdata/cp1255.c: Likewise.
8336         * iconvdata/cp1258.c : Likewise.
8337         * iconvdata/cp932.c : Likewise.
8338         * iconvdata/euc-cn.c: Likewise.
8339         * iconvdata/euc-jisx0213.c : Likewise.
8340         * iconvdata/euc-jp.c: Likewise.
8341         * iconvdata/euc-jp-ms.c : Likewise.
8342         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8343         * iconvdata/gb18030.c : Likewise.
8344         * iconvdata/gbbig5.c (const): Likewise.
8345         * iconvdata/gbgbk.c: Likewise.
8346         * iconvdata/gbk.c : Likewise.
8347         * iconvdata/ibm1364.c : Likewise.
8348         * iconvdata/ibm930.c : Likewise.
8349         * iconvdata/ibm932.c: Likewise.
8350         * iconvdata/ibm933.c : Likewise.
8351         * iconvdata/ibm935.c : Likewise.
8352         * iconvdata/ibm937.c : Likewise.
8353         * iconvdata/ibm939.c : Likewise.
8354         * iconvdata/ibm943.c: Likewise.
8355         * iconvdata/iso_11548-1.c: Likewise.
8356         * iconvdata/iso-2022-cn.c : Likewise.
8357         * iconvdata/iso-2022-cn-ext.c : Likewise.
8358         * iconvdata/iso-2022-jp-3.c: Likewise.
8359         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8360         * iconvdata/iso-2022-kr.c : Likewise.
8361         * iconvdata/iso646.c (gconv_end): Likewise.
8362         * iconvdata/iso_6937-2.c : Likewise.
8363         * iconvdata/iso_6937.c : Likewise.
8364         * iconvdata/iso8859-1.c: Likewise.
8365         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8366         * iconvdata/shift_jisx0213.c : Likewise.
8367         * iconvdata/sjis.c : Likewise.
8368         * iconvdata/t.61.c : Likewise.
8369         * iconvdata/tcvn5712-1.c : Likewise.
8370         * iconvdata/tscii.c: Likewise.
8371         * iconvdata/uhc.c : Likewise.
8372         * iconvdata/unicode.c (gconv_end): Likewise.
8373         * iconvdata/utf-16.c (gconv_end): Likewise.
8374         * iconvdata/utf-32.c (gconv_end): Likewise.
8375         * iconvdata/utf-7.c (base64): Likewise.
8376         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8377         * iconv/gconv_close.c (__gconv_close): Likewise.
8378         * iconv/gconv_open.c (__gconv_open): Likewise.
8379         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8380         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8381         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8382         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8383         (ucs4le_internal_loop_single): Likewise.
8384         * iconv/iconv.c (iconv): Likewise.
8385         * iconv/iconv_close.c: Likewise.
8386         * iconv/loop.c (SINGLE): Likewise.
8387         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8388         * include/atomic.h: Likewise.
8389         * inet/inet6_option.c (option_alloc): Likewise.
8390         * intl/bindtextdom.c (set_binding_values): Likewise.
8391         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8392         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8393         * intl/localealias.c (read_alias_file): Likewise.
8394         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8395         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8396         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8397         * libio/fmemopen.c (fmemopen): Likewise.
8398         * libio/iofgets.c (_IO_fgets): Likewise.
8399         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8400         * libio/iofgetws.c (fgetws): Likewise.
8401         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8402         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8403         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8404         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8405         * locale/findlocale.c (_nl_find_locale): Likewise.
8406         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8407         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8408         Likewise.
8409         * locale/setlocale.c (setlocale): Likewise.
8410         * login/programs/pt_chown.c (main): Likewise.
8411         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8412         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8413         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8414         (mmap, mmap64, mremap, munmap): Likewise.
8415         * math/e_exp2l.c: Likewise.
8416         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8417         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8418         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8419         * math/s_catan.c (__catan): Likewise.
8420         * math/s_catanf.c (__catanf): Likewise.
8421         * math/s_catanh.c (__catanh): Likewise.
8422         * math/s_catanhf.c (__catanhf): Likewise.
8423         * math/s_catanhl.c (__catanhl): Likewise.
8424         * math/s_catanl.c (__catanl): Likewise.
8425         * math/s_ccosh.c (__ccosh): Likewise.
8426         * math/s_ccoshf.c (__ccoshf): Likewise.
8427         * math/s_ccoshl.c (__ccoshl): Likewise.
8428         * math/s_cexp.c (__cexp): Likewise.
8429         * math/s_cexpf.c (__cexpf): Likewise.
8430         * math/s_cexpl.c (__cexpl): Likewise.
8431         * math/s_clog10.c (__clog10): Likewise.
8432         * math/s_clog10f.c (__clog10f): Likewise.
8433         * math/s_clog10l.c (__clog10l): Likewise.
8434         * math/s_clog.c (__clog): Likewise.
8435         * math/s_clogf.c (__clogf): Likewise.
8436         * math/s_clogl.c (__clogl): Likewise.
8437         * math/s_csin.c (__csin): Likewise.
8438         * math/s_csinf.c (__csinf): Likewise.
8439         * math/s_csinh.c (__csinh): Likewise.
8440         * math/s_csinhf.c (__csinhf): Likewise.
8441         * math/s_csinhl.c (__csinhl): Likewise.
8442         * math/s_csinl.c (__csinl): Likewise.
8443         * math/s_csqrt.c (__csqrt): Likewise.
8444         * math/s_csqrtf.c (__csqrtf): Likewise.
8445         * math/s_csqrtl.c (__csqrtl): Likewise.
8446         * math/s_ctan.c (__ctan): Likewise.
8447         * math/s_ctanf.c (__ctanf): Likewise.
8448         * math/s_ctanh.c (__ctanh): Likewise.
8449         * math/s_ctanhf.c (__ctanhf): Likewise.
8450         * math/s_ctanhl.c (__ctanhl): Likewise.
8451         * math/s_ctanl.c (__ctanl): Likewise.
8452         * math/w_pow.c: Likewise.
8453         * math/w_powf.c: Likewise.
8454         * math/w_powl.c: Likewise.
8455         * math/w_scalb.c (sysv_scalb): Likewise.
8456         * math/w_scalbf.c (sysv_scalbf): Likewise.
8457         * math/w_scalbl.c (sysv_scalbl): Likewise.
8458         * misc/error.c (error_tail): Likewise.
8459         * misc/pselect.c (__pselect): Likewise.
8460         * nis/nis_callback.c (__nis_create_callback): Likewise.
8461         * nis/nis_call.c (__nisfind_server): Likewise.
8462         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8463         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8464         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8465         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8466         * nis/nis_lookup.c (nis_lookup): Likewise.
8467         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8468         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8469         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8470         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8471         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8472         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8473         * nis/nss_compat/compat-initgroups.c (add_group)
8474         (internal_getgrent_r): Likewise.
8475         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8476         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8477         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8478         (internal_getspnam_r): Likewise.
8479         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8480         (_nss_nis_getaliasbyname_r): Likewise.
8481         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8482         (_nss_nis_getntohost_r): Likewise.
8483         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8484         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8485         (_nss_nis_getgrgid_r): Likewise.
8486         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8487         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8488         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8489         (_nss_nis_gethostbyname4_r): Likewise.
8490         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8491         (initgroups_netid): Likewise.
8492         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8493         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8494         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8495         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8496         (_nss_nis_getprotobynumber_r): Likewise.
8497         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8498         (_nss_nis_getsecretkey): Likewise.
8499         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8500         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8501         (_nss_nis_getpwuid_r): Likewise.
8502         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8503         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8504         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8505         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8506         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8507         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8508         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8509         Likewise.
8510         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8511         (_nss_nisplus_getntohost_r): Likewise.
8512         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8513         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8514         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8515         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8516         Likewise.
8517         * nis/nss_nisplus/nisplus-initgroups.c
8518         (_nss_nisplus_initgroups_dyn): Likewise.
8519         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8520         (_nss_nisplus_getnetbyaddr_r): Likewise.
8521         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8522         (_nss_nisplus_getprotobynumber_r): Likewise.
8523         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8524         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8525         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8526         Likewise.
8527         * nis/nss_nisplus/nisplus-service.c
8528         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8529         (_nss_nisplus_getservbyport_r): Likewise.
8530         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8531         (_nss_nisplus_getspnam_r): Likewise.
8532         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8533         Likewise.
8534         * nscd/aicache.c (addhstaiX): Likewise.
8535         * nscd/cache.c (cache_search, prune_cache): Likewise.
8536         * nscd/connections.c (register_traced_file, send_ro_fd)
8537         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8538         (main_loop_epoll): Likewise.
8539         * nscd/grpcache.c (addgrbyX): Likewise.
8540         * nscd/hstcache.c (addhstbyX): Likewise.
8541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8542         * nscd/mem.c (gc, mempool_alloc): Likewise.
8543         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8544         (addinnetgrX): Likewise.
8545         * nscd/nscd-client.h (__nscd_acquire_maplock)
8546         (__nscd_drop_map_ref): Likewise.
8547         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8548         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8549         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8550         Likewise.
8551         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8552         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8553         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8554         (__nscd_get_map_ref): Likewise.
8555         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8556         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8557         Likewise.
8558         * nscd/pwdcache.c (addpwbyX): Likewise.
8559         * nscd/selinux.c (preserve_capabilities): Likewise.
8560         * nscd/servicescache.c (addservbyX): Likewise.
8561         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8562         * posix/fnmatch.c (fnmatch): Likewise.
8563         * posix/getopt.c (_getopt_internal_r): Likewise.
8564         * posix/glob.c (glob, glob_in_dir): Likewise.
8565         * posix/wordexp.c (exec_comm_child): Likewise.
8566         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8567         (getanswer_r, gaih_getanswer_slice): Likewise.
8568         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8569         * resolv/res_init.c: Likewise.
8570         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8571         * resolv/res_query.c (__libc_res_nquery): Likewise.
8572         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8573         Likewise.
8574         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8575         * stdio-common/perror.c (perror): Likewise.
8576         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8577         * stdio-common/tmpnam.c (tmpnam): Likewise.
8578         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8579         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8580         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8581         Likewise.
8582         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8583         * stdlib/putenv.c (putenv): Likewise.
8584         * stdlib/setenv.c (__add_to_environ): Likewise.
8585         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8586         * stdlib/strtol_l.c (INTERNAL): Likewise.
8587         * string/memmem.c (memmem): Likewise.
8588         * string/strerror.c (strerror): Likewise.
8589         * string/strnlen.c (__strnlen): Likewise.
8590         * string/test-memmem.c (simple_memmem): Likewise.
8591         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8592         * sunrpc/pm_getport.c (__get_socket): Likewise.
8593         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8594         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8595         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8596         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8597         Likewise.
8598         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8599         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8600         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8601         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8602         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8603         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8604         Likewise.
8605         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8606         Likewise.
8607         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8608         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8609         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8610         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8611         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8613         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8614         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8615         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8616         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8617         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8618         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8619         Likewise.
8620         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8621         Likewise.
8622         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8623         Likewise.
8624         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8625         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8626         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8627         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8628         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8629         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8630         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8631         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8632         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8633         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8634         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8635         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8636         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8637         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8639         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8640         Likewise.
8641         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8642         Likewise.
8643         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8644         Likewise.
8645         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8646         Likewise.
8647         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8649         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8650         Likewise.
8651         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8652         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8653         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8654         * sysdeps/posix/sleep.c: Likewise.
8655         * sysdeps/posix/tempname.c: Likewise.
8656         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8657         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8658         Likewise.
8659         * sysdeps/powerpc/powerpc32/dl-machine.h
8660         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8661         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8662         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8663         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8664         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8665         Likewise.
8666         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8667         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8668         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8669         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8670         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8671         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8672         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8673         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8674         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8675         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8676         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8677         (elf_machine_lazy_rel): Likewise.
8678         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8679         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8680         (elf_machine_lazy_rel): Likewise.
8681         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8682         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8683         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8684         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8685         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8686         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8687         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8688         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8689         Likewise.
8690         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8691         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8692         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8693         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8694         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8695         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8696         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8697         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8698         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8699         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8700         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8703         (__posix_fallocate64_l64): Likewise.
8704         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8705         (posix_fallocate): Likewise.
8706         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8707         Likewise.
8708         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8709         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8710         (getifaddrs_internal): Likewise.
8711         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8712         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8713         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8714         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8715         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8716         (__posix_fallocate64_l64): Likewise.
8717         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8718         Likewise.
8719         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8720         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8721         (__get_clockfreq): Likewise.
8722         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8723         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8724         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8727         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8728         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8729         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8730         Likewise.
8731         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8732         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8733         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8734         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8735         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8736         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8737         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8738         Likewise.
8739         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8740         (posix_fallocate): Likewise.
8741         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8742         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8743         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8744         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8745         (elf_machine_rela, elf_machine_rela_relative)
8746         (elf_machine_lazy_rel): Likewise.
8747         * time/asctime.c (asctime_internal): Likewise.
8748         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8749         * time/tzset.c (__tzset_parse_tz): Likewise.
8750         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8751         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8752         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8753         * wcsmbs/wcsmbsload.h: Likewise.
8754
8755         [BZ #15894]
8756         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8757
8758         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8759         (arena_get2): Remove THREAD_STATS conditionals.
8760         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8761         (__malloc_stats, int): Likewise.
8762
8763 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8764
8765         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8766         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8767
8768         * manual/setjmp.texi: Fix typos/grammar errors.
8769
8770         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8771         Only return early when n is <= 0.  Delete unused return statement.
8772
8773         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8774         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8775         * debug/tst-longjmp_chk3.c: New file.
8776
8777         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8778         (test_main): Replace code with set_fortify_handler call.
8779         * debug/test-strcpy_chk.c: Likewise.
8780         * debug/tst-chk1.c: Likewise.
8781         * debug/tst-longjmp_chk.c: Likewise.
8782         * test-skeleton.c: Include fcntl.h & paths.h
8783         (set_fortify_handler): Define.
8784
8785         * debug/tst-longjmp_chk.c: Add header comment and include
8786         ../test-skeleton.c.
8787         (do_test): Mark static.
8788         (TEST_FUNCTION): Define.
8789
8790         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8791         (IP_PMTUDISC_INTERFACE): Likewise.
8792         (IP_MULTICAST_IF): Likewise.
8793         (IP_MULTICAST_TTL): Likewise.
8794         (IP_MULTICAST_LOOP): Likewise.
8795         (IP_ADD_MEMBERSHIP): Likewise.
8796         (IP_DROP_MEMBERSHIP): Likewise.
8797         (IP_UNBLOCK_SOURCE): Likewise.
8798         (IP_BLOCK_SOURCE): Likewise.
8799         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8800         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8801         (IP_MSFILTER): Likewise.
8802         (MCAST_JOIN_GROUP): Likewise.
8803         (MCAST_BLOCK_SOURCE): Likewise.
8804         (MCAST_UNBLOCK_SOURCE): Likewise.
8805         (MCAST_LEAVE_GROUP): Likewise.
8806         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8807         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8808         (MCAST_MSFILTER): Likewise.
8809         (IP_MULTICAST_ALL): Likewise.
8810         (IP_UNICAST_IF): Likewise.
8811
8812         * timezone/Makefile: Delete $(have-ksh) check.
8813         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8814         * timezone/tzselect.ksh: Add +x mode bits.
8815
8816         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8817         (ANON_INODE_FS_MAGIC): Likewise.
8818         (BDEVFS_MAGIC): Likewise.
8819         (BINFMTFS_MAGIC): Likewise.
8820         (BTRFS_TEST_MAGIC): Likewise.
8821         (CRAMFS_MAGIC_WEND): Likewise.
8822         (DEBUGFS_MAGIC): Likewise.
8823         (ECRYPTFS_SUPER_MAGIC): Likewise.
8824         (EXT3_SUPER_MAGIC): Likewise.
8825         (EXT4_SUPER_MAGIC): Likewise.
8826         (FUTEXFS_SUPER_MAGIC): Likewise.
8827         (HOSTFS_SUPER_MAGIC): Likewise.
8828         (HUGETLBFS_MAGIC): Likewise.
8829         (MINIX3_SUPER_MAGIC): Likewise.
8830         (MTD_INODE_FS_MAGIC): Likewise.
8831         (NILFS_SUPER_MAGIC): Likewise.
8832         (OPENPROM_SUPER_MAGIC): Likewise.
8833         (PIPEFS_MAGIC): Likewise.
8834         (PSTOREFS_MAGIC): Likewise.
8835         (QNX6_SUPER_MAGIC): Likewise.
8836         (RAMFS_MAGIC): Likewise.
8837         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8838         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8839         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8840         (SECURITYFS_MAGIC): Likewise.
8841         (SELINUX_MAGIC): Likewise.
8842         (SMACK_MAGIC): Likewise.
8843         (SOCKFS_MAGIC): Likewise.
8844         (SQUASHFS_MAGIC): Likewise.
8845         (STACK_END_MAGIC): Likewise.
8846         (TMPFS_MAGIC): Likewise.
8847         (USBDEVICE_SUPER_MAGIC): Likewise.
8848         (V9FS_MAGIC): Likewise.
8849         (XENFS_SUPER_MAGIC): Likewise.
8850         (CRAMFS_MAGIC): Fix typo in comment.
8851         (EXT2_SUPER_MAGIC): Update comment.
8852         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8853
8854 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8855
8856         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8857         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8858         * sysdeps/unix/sysv/linux/arm: Move directory from
8859         ports/sysdeps/unix/sysv/linux/arm.
8860         * README: Update listing for arm-*-linux-gnueabi.
8861
8862         * README: Remove mention of am33.
8863
8864 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8865
8866         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8867         than the comma operator, to avoid "rhs of comma has no effect"
8868         compiler warnings.
8869         (__sigfillset, __sigandset, __sigorset): Likewise.
8870         * include/signal.h (__sigemptyset): Likewise.
8871         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8872
8873 2014-02-07  Allan McRae  <allan@archlinux.org>
8874
8875         * version.h (RELEASE): Set to "development".
8876         (VERSION): Set to "2.19.90"
8877         * NEWS: Add 2.20 section.
8878
8879 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8880
8881         [BZ #16529]
8882         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8883
8884 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8885
8886         * manual/contrib.texi: Update entry for Carlos O'Donell,
8887         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8888
8889 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8890
8891         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8892
8893         * sysdeps/unix/sysv/linux/kernel-features.h
8894         [__LINUX_KERNEL_VERSION >= 0x020621]
8895         (__ASSUME_PROC_PID_TASK_COMM): Define.
8896
8897 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8898
8899         [BZ #16398]
8900         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8901         conversion when destination buffer does not have enough space.
8902         * libio/tst-ftell-partial-wide.c: New test case.
8903         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8904
8905         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8906         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8907         Leonard and Allan McRae.
8908
8909 2014-02-04  David S. Miller  <davem@davemloft.net>
8910
8911         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8912         32-bit.
8913
8914 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8915
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8917         New file
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8919         New file
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8921         New file.
8922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8923         New file.
8924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8925         New file.
8926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8927         New file.
8928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8929         New file.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8931         New file.
8932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8933         New file.
8934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8935         New file.
8936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8937         New file.
8938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8939         New file.
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8941         New file.
8942
8943 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8944
8945         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8946         * shlib-versions: Likewise.
8947
8948 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8949             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8950
8951         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8952         (abilist-pattern): New variable, set to %-le.abilist.
8953
8954         * Makerules (abilist-pattern): New variable.
8955         (vpath): Use $(abilist-pattern) in place of %.abilist.
8956         (check-abi-% pattern rule): Likewise.
8957         (check-abi, update-abi): Likewise.
8958
8959 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8960
8961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8962
8963 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8964
8965         * manual/startup.texi: Add next, previous, and top entries for
8966         the `Program Arguments' and `Environment Variables' nodes.
8967
8968 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8969
8970         * manual/macros.texi: Add comments before MTASC-safety macros.
8971
8972         * manual/users.texi: Document MTASC-safety properties.
8973
8974         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8975         (pthread_getspecific, pthread_setspecific): Format with
8976         @deftypefun, and add @safety note.
8977         * manual/signal.texi: Move comments that analyze the above
8978         functions to their home place.
8979
8980 2014-02-03  Allan McRae  <allan@archlinux.org>
8981
8982         * po/sl.po: Update Slovenian translation from translation project.
8983
8984 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8985
8986         * manual/time.texi (timegm): Add missing blank after @c.
8987         Reported by Joseph Myers <joseph@codesourcery.com>.
8988
8989 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8990
8991         * manual/check-safety.sh: New.
8992         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8993
8994         * manual/terminal.texi: Document MTASC-safety properties.
8995
8996         * manual/filesys.texi: Document MTASC-safety properties.
8997
8998         * manual/errno.texi: Document MTASC-safety properties.
8999
9000         * manual/intro.texi: Document safety identifiers and
9001         conditionals.
9002
9003         * manual/string.texi (wcstok): Fix prototype.
9004         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9005
9006         * manual/time.texi: Document MTASC-safety properties.
9007
9008         * manual/string.texi: Document MTASC-safety properties.
9009
9010         * manual/threads.texi: Document MTASC-safety properties.
9011
9012         * manual/stdio.texi: Document MTASC-safety properties.
9013
9014         * manual/syslog.texi: Document MTASC-safety properties.
9015
9016         * manual/sysinfo.texi: Document MTASC-safety properties.
9017
9018         * manual/startup.texi: Document MTASC-safety properties.
9019
9020         * manual/socket.texi: Document MTASC-safety properties.
9021
9022         * manual/signal.texi: Document MTASC-safety properties.
9023
9024 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9025
9026         * manual/setjmp.texi: Document MTASC-safety properties.
9027
9028         * manual/search.texi: Document MTASC-safety properties.
9029
9030         * manual/resource.texi: Document MTASC-safety properties.
9031
9032         * manual/process.texi: Document MTASC-safety properties.
9033
9034         * manual/platform.texi: Document MTASC-safety properties.
9035
9036         * manual/pipe.texi: Document MTASC-safety properties.
9037
9038         * manual/pattern.texi: Document MTASC-safety properties.
9039
9040         * manual/message.texi: Document MTASC-safety properties.
9041
9042         [BZ #12751]
9043         * manual/memory.texi: Document MTASC-safety properties.
9044
9045         * manual/math.texi: Document MTASC-safety properties.
9046
9047         * manual/locale.texi: Document MTASC-safety properties.
9048
9049         * manual/llio.texi: Document MTASC-safety properties.
9050
9051         * manual/libdl.texi: New.
9052
9053         * manual/lang.texi: Document MTASC-safety properties.
9054
9055         * manual/job.texi: Document MTASC-safety properties.
9056
9057         * manual/getopt.texi: Document MTASC-safety properties.
9058
9059         * manual/ctype.texi: Document MTASC-safety properties.
9060
9061 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9062
9063         [BZ #16046]
9064         * csu/libc-tls.c (static_map): Remove variable.
9065         (__libc_setup_tls): Use main executable's link map for TLS data.
9066         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9067         casing for LM_ID_BASE and GL(dl_nns).
9068         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9069         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9070         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9071         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9072         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9073         member.
9074         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9075         l_phnum members.
9076
9077 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9078
9079         * manual/debug.texi: Document MTASC-safety properties.
9080
9081 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9082
9083         [BZ #16510]
9084         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9085         of __x86_64__ when disabling x87 inline functions.
9086
9087 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9088
9089         * manual/charset.texi: Document MTASC-safety properties.
9090
9091         * manual/crypt.texi: Document MTASC-safety properties.
9092
9093         * manual/conf.texi: Document MTASC-safety properties.
9094
9095         * manual/arith.texi: Document MTASC-safety properties.
9096
9097         * manual/argp.texi: Document MTASC-safety properties.
9098
9099         * manual/macros.texi: Introduce macros to document multi
9100         thread, asynchronous signal and asynchronous cancellation
9101         safety properties.
9102         * manual/intro.texi: Introduce the properties themselves.
9103
9104 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9105
9106         * sysdeps/sh/sh4/Makefile: New file.
9107
9108 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9109
9110         * math/gen-libm-test.pl ($srcdir): New variable.
9111         ($auto_input): Use it.
9112
9113 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9114
9115         [BZ #16506]
9116         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9117         access beyond array bounds when parsing netgroups file.
9118
9119         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9120         the old buffer before realloc.
9121
9122 2014-01-27  Allan McRae  <allan@archlinux.org>
9123
9124         * po/fr.po: Update French translation from translation project.
9125
9126 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9127
9128         * sysdeps/sh/libm-test-ulps: Regenerate.
9129
9130 2014-01-24  David S. Miller  <davem@davemloft.net>
9131
9132         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9133
9134 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9135
9136         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9137         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9138
9139 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9140
9141         [BZ #16474]
9142         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9143         string pointers after reallocation.
9144
9145 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9146
9147         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9148         __SH4A__ instead of __SH_FPU_ANY__.
9149
9150 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9151
9152         * sysdeps/sh/fpu_control.h: New file.
9153         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9154         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9155         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9156         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9157         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9158         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9159         * sysdeps/sh/sys/ucontext.h: Remove.
9160         * sysdeps/sh/sys: Remove directory.
9161
9162 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9163
9164         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9165         s390/sys/ucontext.h.
9166         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9167         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9168
9169 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9170
9171         [BZ #15605]
9172         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9173
9174 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9175
9176         [BZ#16431]
9177         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9178         Adjust the vDSO correctly for internal calls.
9179         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9180
9181 2014-01-20  Allan McRae  <allan@archlinux.org>
9182
9183         * po/ca.po: Update Catalan translation from translation project.
9184
9185 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9186
9187         * sysdeps/s390/sotruss-lib.c: New file.
9188
9189 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9190
9191         [BZ#16430]
9192         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9193         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9194         local calls issues by not having a PLT stub required for IFUNC calls.
9195         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9196
9197 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9198
9199         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9200         * math/test-fpucw-static.c: Likewise.
9201
9202 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9203
9204         [BZ #16453]
9205         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9206
9207 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9208
9209         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9210         implementation for powerpc.
9211
9212 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9213
9214         [BZ #14782]
9215         * sysdeps/posix/system.c (__libc_system): Do not enable
9216         asynchronous cancellation.
9217
9218 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9219
9220         [BZ #16427]
9221         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9222         handling only for numbers special also in the IEEE case.
9223
9224 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9225
9226         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9227
9228 2014-01-11  Allan McRae  <allan@archlinux.org>
9229
9230         * po/bg.po: Update Bulgarian translation from translation project.
9231
9232         * po/de.po: Update German translation from translation project.
9233
9234 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9235
9236         * sysdeps/generic/gcc-compat.h: New file.
9237
9238 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9239
9240         * benchtests/asin-inputs: Correct slow inputs.
9241         * benchtests/acos-inputs: Likewise.
9242
9243 2014-01-10  Allan McRae  <allan@archlinux.org>
9244
9245         * po:sv.po: Update Swedish translation from translation project.
9246
9247         * po/vi.po: Update Vietnamese translation from translation project.
9248
9249         * po/eo.po: Update Esperanto translation from translation project.
9250
9251         * po/cs.po: Update Czech translation from translation project.
9252
9253         * po/nl.po: Update Dutch translation from translation project.
9254
9255         * po/pl.po: Update Polish translation from translation project.
9256
9257         * po/ru.po: Update Russian translation from translation project.
9258
9259         * po/uk.po: Update Ukrainian translation from translation project.
9260
9261 2014-01-08  Brooks Moses  <bmoses@google.com>
9262
9263         * elf/dl-load.c: Fix comment typo.
9264
9265 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9266
9267         * po/header.pot: Rename to...
9268         * po/pot.header: ... this.
9269         * po/Makefile: Use pot.header.
9270
9271 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9272             Maxim Kuvyrkov  <maxim@kugelworks.com>
9273
9274         [BZ #16394]
9275         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9276         SRC and DEST against LEN.
9277
9278 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9279
9280         [BZ #16414]
9281         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9282         implementation.
9283         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9284
9285 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9286
9287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9288
9289 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9290
9291         [BZ #16408]
9292         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9293         for large positive arguments.
9294
9295 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9296
9297         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9298
9299         * math/auto-libm-test-in: Mark various tests with
9300         xfail-rounding:ldbl-128ibm.
9301         * math/auto-libm-test-out: Regenerated.
9302
9303         [BZ #16407]
9304         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9305         Increase overflow threshold.
9306
9307 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9308
9309         [BZ #14286]
9310         * stdio-common/vfprintf.c: Check for integer overflow.
9311
9312 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9313
9314         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9315         the first argument and return value of __tls_get_addr_internal.
9316
9317 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9318
9319         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9320         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9321
9322 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9323
9324         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9325         * sysdeps/s390/rtld-global-offsets.sym: New file.
9326         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9327         GLIBC_2.19 symbol.
9328         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9329         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9330         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9331         ... this.
9332         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9333         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9334         ... this.
9335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9336         Regenerate.
9337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9338         Regenerate.
9339         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9340         halfs of GPRs for high_gprs contexts.
9341         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9342         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9343         field.
9344         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9345         uc_flags field.
9346         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9347         64 bit versions:
9348         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9349         for high GPRs (uc_high_gprs) and for future extensions
9350         (__reserved).
9351         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9352         for future extensions (__reserved).
9353         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9354         64 bit versions:
9355         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9356         SC_HIGHGPRS offset definition.
9357         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9358         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9359
9360         * Versions.def: Add GLIBC_2.19 for libpthread.
9361         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9362         siglongjmp for libpthread with GLIBC_2.19 symver.
9363         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9364         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9365         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9366         * sysdeps/s390/__longjmp.c: New file.
9367         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9368         * sysdeps/s390/longjmp.c: New file.
9369         * sysdeps/s390/setjmp.S: New file.
9370         * sysdeps/s390/sigjmp.S: New file.
9371         * sysdeps/s390/v1-longjmp.c: New file.
9372         * sysdeps/s390/v1-setjmp.h: New file.
9373         * sysdeps/s390/v1-sigjmp.c: New file.
9374         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9375         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9376         GLIBC_2.19 version.
9377         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9378         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9379         versioned symbols for ____longjmp_chk.
9380         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9381         Likewise.
9382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9383         Regenerate.
9384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9385         Regenerate.
9386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9387         Regenerate.
9388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9389         Regenerate.
9390         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9391         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9392         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9393         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9394         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9395         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9396         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9397         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9398         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9399         * sysdeps/s390/rtld-__longjmp.c: New file.
9400         * sysdeps/s390/rtld-setjmp.S: New file.
9401
9402 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9403
9404         [BZ #16400]
9405         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9406         Return -__logl (x) for small positive arguments without evaluating
9407         a polynomial.
9408
9409 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9410
9411         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9412         Rename to ...
9413         (__ptrace_peeksiginfo_args): ... this.
9414         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9415         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9417
9418 2014-01-06  Allan McRae  <allan@archlinux.org>
9419
9420         * inet/netinet/in.h: Fix typo in comment.
9421
9422 2014-01-05  Andreas Jaeger  <aj@suse.de>
9423
9424         * sysdeps/i386/fpu/libm-test-ulps: Update.
9425
9426 2014-01-05  Allan McRae  <allan@archlinux.org>
9427
9428         * po/libc.pot: Regenerated.
9429
9430         * malloc/memusagestat.c: Fix gettext call formatting.
9431
9432 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9433
9434         * nscd/nscd.c: Improve usage() output.
9435
9436 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9437
9438         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9439         * sysdeps/unix/sysv/linux/configure: Regenerated.
9440         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9441         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9442
9443 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9444
9445         [BZ #16390]
9446         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9447         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9448
9449 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9450
9451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9452         extra tokens at end of #undef directive.
9453         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9454         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9455         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9456
9457 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9458
9459         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9460
9461         * math/auto-libm-test-in: Mark various tests with
9462         xfail-rounding:ldbl-128ibm.
9463         * math/auto-libm-test-out: Regenerated.
9464
9465 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9466
9467         [BZ #16386]
9468         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9469         numbers with subnormal high part when calculating exponent.
9470
9471         [BZ #16385]
9472         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9473         fabs.
9474
9475         [BZ #16384]
9476         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9477         M_LN2l.
9478         (__ieee754_acoshl): Use __log1pl not __log1p.
9479
9480 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9481
9482         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9483         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9484         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9485         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9486         (reused_arena, arena_get2): Convert to GNU style.
9487         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9488         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9489         (memalign_check, __malloc_set_state): Likewise.
9490         * malloc/mallocbug.c (main): Likewise.
9491         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9492         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9493         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9494         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9495         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9496         (__posix_memalign, malloc_info): Likewise.
9497         * malloc/malloc.h: Likewise.
9498         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9499         (mallochook, memalignhook, reallochook, mabort): Likewise.
9500         * malloc/mcheck.h: Likewise.
9501         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9502         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9503         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9504         * malloc/morecore.c (__default_morecore): Likewise.
9505         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9506         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9507         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9508         (print_and_abort): Likewise.
9509         * malloc/obstack.h: Likewise.
9510         * malloc/set-freeres.c (__libc_freeres): Likewise.
9511         * malloc/tst-mallocstate.c (main): Likewise.
9512         * malloc/tst-mtrace.c (main): Likewise.
9513         * malloc/tst-realloc.c (do_test): Likewise.
9514
9515 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9516
9517         [BZ #16366]
9518         * nscd/netgroupcache.c (do_notfound): New function.
9519         (addgetnetgrentX): Use it.
9520
9521         [BZ # 16365]
9522         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9523         NSS_STATUS_NOTFOUND.
9524
9525 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9526
9527         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9529
9530 2014-01-01  Allan McRae  <allan@archlinux.org>
9531
9532         * scripts/update-copyrights: Update configure input file suffix.
9533
9534         * NEWS: Update copyright year.
9535         * catgets/gencat.c: Likewise.
9536         * csu/version.c: Likewise.
9537         * debug/catchsegv.sh: Likewise.
9538         * debug/pcprofiledump.c: Likewise.
9539         * debug/xtrace.sh: Likewise.
9540         * elf/ldconfig.c: Likewise.
9541         * elf/ldd.bash.in: Likewise.
9542         * elf/pldd.c: Likewise.
9543         * elf/sotruss.ksh: Likewise.
9544         * elf/sprof.c: Likewise.
9545         * iconv/iconv_prog.c: Likewise.
9546         * iconv/iconvconfig.c: Likewise.
9547         * locale/programs/locale.c: Likewise.
9548         * locale/programs/localedef.c: Likewise.
9549         * login/programs/pt_chown.c: Likewise.
9550         * malloc/memusage.sh: Likewise.
9551         * malloc/memusagestat.c: Likewise.
9552         * malloc/mtrace.pl: Likewise.
9553         * manual/libc.texinfo: Likewise.
9554         * nscd/nscd.c: Likewise.
9555         * nss/getent.c: Likewise.
9556         * nss/makedb.c: Likewise.
9557         * posix/getconf.c: Likewise.
9558         * scripts/test-installation.pl: Likewise.
9559
9560         * All files with FSF copyright notices: Update copyright dates
9561         using scripts/update-copyrights.
9562         * intl/plural.c: Regenerated.
9563         * locale/programs/charmap-kw.h: Likewise.
9564         * locale/programs/locfile-kw.h: Likewise.
9565
9566 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9567
9568         * sysdeps/unix/sysv/linux/configure: Regenerated.
9569         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9570         the linux/fanotify.h header.
9571         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9572         HAVE_LINUX_FANOTIFY_H is defined.
9573
9574 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9575
9576         * benchtests/cos-inputs: New inputs.
9577         * benchtests/sin-inputs: Likewise.
9578
9579         * benchtests/atan-inputs: New inputs. Fix name of multiple
9580         precision fallback inputs.
9581
9582         * benchtests/atanh-inputs: New inputs.
9583         * benchtests/tanh-inputs: Likewise.
9584
9585         * benchtests/acosh-inputs: New inputs.
9586         * benchtests/asinh-inputs: Likewise.
9587
9588         * benchtests/cosh-inputs: New inputs.
9589         * benchtests/sinh-inputs: Likewise.
9590
9591         * benchtests/acos-inputs: Add more inputs.
9592         * benchtests/asin-inputs: Likewise.
9593
9594 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9595
9596         [BZ #16375]
9597         * manual/arith.texi: Fix spelling.
9598         * manual/charset.texi: Likewise.
9599         * manual/errno.texi: Likewise.
9600         * manual/filesys.texi: Likewise.
9601         * manual/lang.texi: Likewise.
9602         * manual/llio.texi: Likewise.
9603         * manual/locale.texi: Likewise.
9604         * manual/message.texi: Likewise.
9605         * manual/resource.texi: Likewise.
9606         * manual/search.texi: Likewise.
9607         * manual/setjmp.texi: Likewise.
9608         * manual/stdio.texi: Likewise.
9609         * manual/string.texi: Likewise.
9610         * manual/sysinfo.texi: Likewise.
9611         * manual/time.texi: Likewise.
9612
9613 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9614
9615         * po/sl.po: New file.
9616
9617 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9618
9619         * .gitignore: Add core/.gdbinit/.gdb_history.
9620
9621 2013-12-27  Allan McRae  <allan@archlinux.org>
9622
9623         [BZ #16369]
9624         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9625         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9626
9627 2013-12-24  Brooks Moses  <bmoses@google.com>
9628
9629         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9630         all compilers that claim C++98 compliance, not just GCC.
9631         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9632         Likewise.
9633
9634 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9635
9636         * NEWS: Restore accidentally deleted bug-fix entries.
9637
9638 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9639             Ondřej Bílka  <neleai@seznam.cz>
9640
9641         [BZ #15073]
9642         * malloc/malloc.c (_int_free): Perform sanity check only if we
9643         have_lock.
9644
9645 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9646
9647         [BZ #12986]
9648         * manual/stdio.texi (String Input Conversions): Clarify that character
9649         classes are not supported.
9650
9651 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9652
9653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9654
9655 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9656
9657         [BZ #16337]
9658         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9659         Calculate results for small negative arguments directly rather
9660         than using reflection formula with special underflow handling.
9661
9662         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9663         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9664         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9665         (fchflags): Likewise.
9666         (revoke): Likewise.
9667         (setlogin): Likewise.
9668         (sigaltstack): Likewise.
9669         (wait4): Likewise.
9670         (sigblock): Remove.
9671         (sigsetmask): Likewise.
9672         (wait3): Likewise.
9673         (waitpid): Likewise.
9674         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9675         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9676         file.
9677         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9678         * sysdeps/unix/bsd/Makefile: ... here.
9679         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9680         * sysdeps/unix/bsd/Versions: ... here.
9681         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9682         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9683         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9684         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9685         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9686         * sysdeps/unix/bsd/sigblock.c: ... here.
9687         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9688         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9689         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9690         * sysdeps/unix/bsd/sigvec.c: ... here.
9691         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9692         * sysdeps/unix/bsd/tcdrain.c: ... here.
9693         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9694         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9695         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9696         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9697         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9698         * sysdeps/unix/bsd/wait.c: ... here.
9699         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9700         * sysdeps/unix/bsd/wait3.c: ... here.
9701         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9702         * sysdeps/unix/bsd/waitpid.c: ... here.
9703
9704 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9705
9706         [BZ #16356]
9707         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9708         round-to-nearest for [!USE_AS_EXPM1L].
9709         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9710         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9711         more tests of exp and exp10.  Expect some exp10 tests to miss
9712         exceptions or fail in directed rounding modes.
9713         * math/auto-libm-test-out: Regenerated.
9714         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9715         (exp10_test_tonearest): New function.
9716         (exp10_towardzero_test_data): New array.
9717         (exp10_test_towardzero): New function.
9718         (exp10_downward_test_data): New array.
9719         (exp10_test_downward): New function.
9720         (exp10_upward_test_data): New array.
9721         (exp10_test_upward): New function.
9722         (main): Call the new functions.
9723         * sysdeps/i386/fpu/libm-test-ulps: Update.
9724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9725
9726 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9727
9728         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9729         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9730         * math/auto-libm-test-out: Regenerated.
9731         * math/libm-test.inc (acosh_test_data): Add more tests.
9732         (atanh_test_data): Likewise.
9733         (ceil_test_data): Likewise.
9734         (copysign_test_data): Likewise.
9735         * sysdeps/i386/fpu/libm-test-ulps: Update.
9736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9737
9738         * timezone/checktab.awk: Update from tzcode 2013i.
9739         * timezone/private.h: Likewise.
9740         * timezone/scheck.c: Likewise.
9741         * timezone/tzfile.h: Likewise.
9742         * timezone/tzselect.ksh: Likewise.
9743         * timezone/zdump.c: Likewise.
9744         * timezone/zic.c: Likewise.
9745
9746         * math/auto-libm-test-in: Add tests of cpow.
9747         * math/auto-libm-test-out: Regenerated.
9748         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9749         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9750         mpc_cc_c.
9751         (func_calc_desc): Add mpc_cc_c union field.
9752         (test_functions): Add cpow.
9753         (special_fill_2pi): New function.
9754         (special_real_inputs): Add 2pi.
9755         (calc_generic_results): Handle mpc_cc_c.
9756         * sysdeps/i386/fpu/libm-test-ulps: Update.
9757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9758
9759         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9760         csqrt, ctan and ctanh.
9761         * math/auto-libm-test-out: Regenerated.
9762         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9763         (TEST_COND_x86): Likewise.
9764         (ccos_test_data): Use AUTO_TESTS_c_c.
9765         (ccosh_test_data): Likewise.
9766         (cexp_test_data): Likewise.
9767         (clog_test_data): Likewise.
9768         (csqrt_test_data): Likewise.
9769         (ctan_test_data): Likewise.
9770         (ctan_tonearest_test_data): Likewise.
9771         (ctan_towardzero_test_data): Likewise.
9772         (ctan_downward_test_data): Likewise.
9773         (ctan_upward_test_data): Likewise.
9774         (ctanh_test_data): Likewise.
9775         (ctanh_tonearest_test_data): Likewise.
9776         (ctanh_towardzero_test_data): Likewise.
9777         (ctanh_downward_test_data): Likewise.
9778         (ctanh_upward_test_data): Likewise.
9779         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9780         mpc_c_c.
9781         (func_calc_desc): Add mpc_c_c union field.
9782         (FUNC_mpc_c_c): New macro.
9783         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9784         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9785         ctanh.
9786         (special_fill_min_subnorm_p120): New function.
9787         (special_real_inputs): Add min_subnorm_p120.
9788         (calc_generic_results): Handle mpc_c_c.
9789         * sysdeps/i386/fpu/libm-test-ulps: Update.
9790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9791
9792 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9793
9794         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9795         (do_sin_slow): New functions.
9796         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9797         (cslow2, csloww1, csloww2): Use the new functions.
9798
9799         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9800         Use M to change sign of result instead of X.  Assume X is
9801         positive.
9802         (csloww1): Likewise.
9803         (__sin): Adjust.
9804         (__cos): Adjust.
9805
9806         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9807         arguments A and DA.
9808         (__sin): Adjust.
9809         (__cos): Likewise.
9810
9811         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9812         (__cos): Likewise.
9813         (sloww1): Don't adjust sign of DX.
9814         (csloww1): Likewise.
9815         (sloww2): Use X directly and don't adjust sign of DX.
9816         (csloww2): Likewise.
9817
9818 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9819
9820         * math/auto-libm-test-in: Add tests of cabs and carg.
9821         * math/auto-libm-test-out: Regenerated.
9822         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9823         (carg_test_data): Likewise.
9824         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9825         mpc_c_f.
9826         (func_calc_desc): Add mpc_c_f union field.
9827         (test_functions): Add cabs and carg.
9828         (calc_generic_results): Handle mpc_c_f.
9829
9830         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9831         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9832         as a macro and a compat symbol.
9833         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9834         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9835         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9836         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9837         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9838         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9839         not use .hidden.
9840         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9841         Likewise.
9842         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9843         Likewise.
9844         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9845         Likewise.
9846         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9847         Likewise.
9848         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9849         Likewise.
9850         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9851         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9852         from GLIBC_2.3.2.
9853
9854 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9855
9856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9857
9858 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9859
9860         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9861         trailing whitespace removed.
9862         * scripts/config.guess: Update to version 2013-11-29.
9863         * scripts/config.sub: Update to version 2013-10-01.
9864
9865         * math/auto-libm-test-in: Add tests of sincos.
9866         * math/auto-libm-test-out: Regenerated.
9867         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9868         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9869         mpfr_f_11.
9870         (func_calc_desc): Add mpfr_f_11 union field.
9871         (test_functions): Add sincos.
9872         (calc_generic_results): Handle mpfr_f_11.
9873         * sysdeps/i386/fpu/libm-test-ulps: Update.
9874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9875
9876 2013-12-19  Andreas Schwab  <schwab@suse.de>
9877
9878         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9879         CALL_MCOUNT.
9880         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9881         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9882         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9883
9884 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9885
9886         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9887         * sysdeps/i386/fpu/libm-test-ulps: Update.
9888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9889
9890         [BZ #16293]
9891         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9892         round-to-nearest mode when using frndint.
9893         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9894         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9896         Likewise.
9897         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9898         sinh test to fail.
9899         * math/auto-libm-test-out: Regenerated.
9900         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9901         (TEST_COND_x86): Likewise.
9902         (expm1_tonearest_test_data): New array.
9903         (expm1_test_tonearest): New function.
9904         (expm1_towardzero_test_data): New array.
9905         (expm1_test_towardzero): New function.
9906         (expm1_downward_test_data): New array.
9907         (expm1_test_downward): New function.
9908         (expm1_upward_test_data): New array.
9909         (expm1_test_upward): New function.
9910         (main): Run the new test functions.
9911         * sysdeps/i386/fpu/libm-test-ulps: Update.
9912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9913
9914         * include/features.h: Update comment documenting feature test
9915         macros.  Mention _DEFAULT_SOURCE in comment.
9916         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9917         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9918         _BSD_SOURCE and _SVID_SOURCE.
9919         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9920         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9921         !_SVID_SOURCE]: Likewise.
9922         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9923         (__USE_POSIX_IMPLICITLY): Define.
9924         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9925         (_POSIX_SOURCE): Undefine and redefine.
9926         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9927         (_POSIX_C_SOURCE): Likewise.
9928         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9929         (Feature Test Macros): Update documentation of default features.
9930
9931 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9932
9933         * benchtests/Makefile: Add bench-strtok.
9934         * benchtests/bench-strtok.c: New file: strtok benchtest.
9935
9936 2013-12-19  Allan McRae  <allan@archlinux.org>
9937
9938         * manual/install.texi: Suppress menu for plain text output.
9939         * INSTALL: Regenerated.
9940
9941 2013-12-18  Brooks Moses  <bmoses@google.com>
9942
9943         [BZ #15846]
9944         * misc/getauxval.c: Include errno.h.
9945         (__getauxval): Set errno to ENOENT if the requested type is not
9946         found.
9947         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9948         don't declare with __attribute_const__.
9949         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9950         * manual/startup.texi: Document that getauxval sets errno.
9951
9952 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9953
9954         * math/auto-libm-test-in: Add tests of jn and yn.
9955         * math/auto-libm-test-out: Regenerated.
9956         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9957         (yn_test_data): Likewise.
9958         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9959         mpfr_if_f.
9960         (func_calc_desc): Add mpfr_if_f union field.
9961         (FUNC_mpfr_if_f): New macro.
9962         (test_functions): Add jn and yn.
9963         (calc_generic_results): Assert type of second input for
9964         mpfr_ff_f.  Handle mpfr_if_f.
9965         (output_for_one_input_case): Disable all checking for arguments
9966         fitting floating-point types in case of an integer argument.
9967         * sysdeps/i386/fpu/libm-test-ulps: Update.
9968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9969
9970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9971         Don't expect fegetround reference in libm.so.
9972
9973 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9974
9975         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9976         $(config-cflags-nofma).
9977
9978 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9979
9980         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9981         * math/auto-libm-test-out: Regenerated.
9982
9983         [BZ #16338]
9984         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9985         to determine exponent and adjust argument to have exponent of -1.
9986         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9987         log2.
9988         * math/auto-libm-test-out: Regenerated.
9989         * sysdeps/i386/fpu/libm-test-ulps: Update.
9990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9991
9992 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9993
9994         * manual/probes.texi: Remove cases when per-thread arenas are
9995         disabled.
9996
9997 2013-12-18  Andreas Schwab  <schwab@suse.de>
9998
9999         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10000         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10001         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10002         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10003         * sysdeps/i386/i686/multiarch/Makefile: Update.
10004         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10005
10006 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10007
10008         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10009         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10010
10011 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10012
10013         [BZ #15968]
10014         Support TZ transition times < 00:00:00.
10015         This is needed for version-3 tz-format files; it supports time
10016         stamps past 2037 for America/Godthab (the only entry in the tz
10017         database for which this change is relevant).
10018         * manual/time.texi (TZ Variable): Document transition times
10019         from -167:59:59 through -00:00:01.
10020         * time/tzset.c (tz_rule): Time of day is now signed.
10021         (__tzset_parse_tz): Parse negative time of day.
10022
10023         Document TZ transition times >= 25:00:00.
10024         * manual/time.texi (TZ Variable): Document transition times from
10025         25:00:00 through 167:59:59.  These are already supported, and this
10026         support will help with version-3 tz-format files.
10027
10028         * manual/time.texi (TZ Variable): Modernize North America example
10029         to reflect current (i.e., 2007-and-later) daylight saving rules.
10030
10031         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10032
10033 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10034
10035         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10036         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10037         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10038         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10039         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10040         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10041         * sysdeps/unix/bsd/clock.c: Likewise.
10042         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10043         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10044         * sysdeps/unix/bsd/init-posix.c: Likewise.
10045         * sysdeps/unix/bsd/poll.c: Likewise.
10046         * sysdeps/unix/bsd/ptsname.c: Likewise.
10047         * sysdeps/unix/bsd/seekdir.c: Likewise.
10048         * sysdeps/unix/bsd/setegid.c: Likewise.
10049         * sysdeps/unix/bsd/seteuid.c: Likewise.
10050         * sysdeps/unix/bsd/setgid.c: Likewise.
10051         * sysdeps/unix/bsd/setrgid.c: Likewise.
10052         * sysdeps/unix/bsd/setruid.c: Likewise.
10053         * sysdeps/unix/bsd/setsid.c: Likewise.
10054         * sysdeps/unix/bsd/setuid.c: Likewise.
10055         * sysdeps/unix/bsd/sigaction.c: Likewise.
10056         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10057         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10058         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10059         * sysdeps/unix/bsd/telldir.c: Likewise.
10060         * sysdeps/unix/bsd/times.c: Likewise.
10061         * sysdeps/unix/bsd/usleep.c: Likewise.
10062
10063         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10064         ($(objpfx)libbsd-compat.a): Remove rule.
10065
10066         * include/features.h (__FAVOR_BSD): Do not define.
10067         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10068         features conflicting with POSIX.
10069         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10070         (_BSD_SOURCE): Remove description of not being a subset of other
10071         feature test macros.
10072         * manual/job.texi (getpgrp): Do not document BSD version.
10073         (getpgid): Do not document by reference to BSD getpgrp.
10074         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10075         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10076         * signal/signal.h [__FAVOR_BSD]: Likewise.
10077         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10078         instead of making contents conditional on [__FAVOR_BSD].
10079         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10080
10081 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10082
10083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10084
10085 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10086
10087         [BZ #16314]
10088         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10089         values below 2**-450, not 2**-500.
10090         * math/auto-libm-test-in: Don't allow spurious underflow from
10091         hypot.
10092         * math/auto-libm-test-out: Regenerated.
10093
10094         [BZ #16316]
10095         [BZ #16330]
10096         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10097         values of ha and hb and sort them after adjusting subnormal
10098         arguments.
10099         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10100         Likewise.
10101         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10102         values of ea and eb and sort them after adjusting subnormal
10103         arguments.
10104         * math/auto-libm-test-in: Do not expect some hypot tests of
10105         subnormals to fail.  Add more hypot tests.
10106         * math/auto-libm-test-out: Regenerated.
10107
10108 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10109
10110         [BZ #13304]
10111         * sysdeps/sh/s_fma.c: New file.
10112         * sysdeps/sh/s_fmaf.c: New file.
10113         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10114         version.
10115         * sysdeps/sh/Implies: Add sh/soft-fp.
10116
10117 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10118
10119         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10120         level of indirection to members `objname', `errstring', `malloced'.
10121         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10122         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10123         it as the __longjmp argument (just pass 1 instead).
10124         (_dl_catch_error): Initialize C with argument pointers and address of
10125         volatile local ERRCODE rather than copying values out of C at return.
10126
10127 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10128
10129         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10130         * math/auto-libm-test-out: Regenerated.
10131         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10132         (hypot_test_data): Likewise.
10133         (pow_test_data): Likewise.
10134         (pow_tonearest_test_data): Likewise.
10135         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10136         mpfr_ff_f.
10137         (func_calc_desc): Add mpfr_ff_f union field.
10138         (FUNC_mpfr_ff_f): New macro.
10139         (test_functions): Add atan2, hypot and pow.
10140         (special_fill_min): New function.
10141         (special_fill_minus_min): Likewise.
10142         (special_fill_min_subnorm): Likewise.
10143         (special_fill_minus_min_subnorm): Likewise.
10144         (special_real_inputs): Add min, -min, min_subnorm and
10145         -min_subnorm.
10146         (calc_generic_results): Handle mpfr_ff_f.
10147         * sysdeps/i386/fpu/libm-test-ulps: Update.
10148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10149
10150 2013-12-16  Will Newton  <will.newton@linaro.org>
10151
10152         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10153         (Aligned Memory Blocks): Add documentation for aligned_alloc
10154         and suggest it as an alternative to posix_memalign.
10155         (Hooks for Malloc): Document __memalign_hook is also called
10156         for aligned_alloc.  (Summary of Malloc): Add summary for
10157         aligned alloc.  Document __memalign_hook is also called
10158         for aligned_alloc.
10159
10160 2013-12-16  Will Newton  <will.newton@linaro.org>
10161
10162         * manual/memory.texi (Malloc Examples): Clarify default
10163         alignment documentation.  Suggest posix_memalign rather
10164         than memalign or valloc.
10165         (Aligned Memory Blocks): Remove suggestion to use memalign
10166         or valloc.  Remove obsolete comment about BSD.
10167         Document memalign errno values and mark the function obsolete.
10168         Document posix_memalign returned error codes.  Mark valloc
10169         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10170         called for posix_memalign and valloc.
10171         (Summary of Malloc): Add posix_memalign to function summary.
10172         __memalign_hook is also called for posix_memalign and valloc.
10173
10174 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10175
10176         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10177         TAYLOR_SIN.
10178         (__sin): Adjust.
10179         (__cos): Likewise.
10180         (sloww): Use mynumber union.  Expand ternary operator into
10181         if-else statements.
10182         (cslow): use mynumber union.
10183
10184 2013-12-16  Allan McRae  <allan@archlinux.org>
10185
10186         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10187         * configure: Regenerated.
10188
10189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10190
10191         [BZ #14120]
10192         * configure.ac: Added --enable-maintainer-mode. Check for
10193         autoconf when enabled.
10194         * configure: Regenerated.
10195
10196         * nscd/nscd.service: New file.
10197         * nscd/nscd.tmpfiles: New file.
10198
10199 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10200
10201         [BZ #12100]
10202         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10203         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10204         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10205         (strstr): Add __strstr_sse2_unaligned ifunc.
10206         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10207         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10208         (strcasestr): Remove __strcasestr_sse42 ifunc.
10209         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10212
10213 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10214
10215         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10216         * sysdeps/sh/bits/fenv.h: ... here.
10217         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10218
10219 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10220
10221         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10222
10223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10224         hypotf multiarch implementations.
10225         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10226         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10227         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10228         multiarch hypot for PPC64.
10229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10232         multiarch hypotf for PPC64.
10233
10234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10235         modff multiarch implementations.
10236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10239         multiarch modf for PPC64.
10240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10243         multiarch modff for PPC64.
10244
10245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10246         and logl multiarch implementations.
10247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10250         multiarch logb for PPC64.
10251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10254         multiarch logb for PPC64.
10255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10258         multiarch logb for PPC64.
10259
10260         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10261         isinff multiarch implementation.
10262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10263         file.
10264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10266         multiarch isinf for PPC64.
10267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10268         file.
10269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10270         multiarch isinff for PPC64.
10271
10272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10273         finitef multiarch implementation.
10274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10275         file.
10276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10278         multiarch finite for PPC64.
10279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10280         file.
10281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10282         multiarch finitef for PPC64.
10283
10284         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10285         lrint multiarch implementation.
10286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10287         file.
10288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10290         multiarch llrint for PPC64.
10291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10292         multiarch lrint for PPC64.
10293
10294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10295         copysignf multiarch implementation.
10296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10297         file.
10298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10299         file.
10300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10301         multiarch copysign for PPC64.
10302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10303         multiarch copysignf for PPC64.
10304
10305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10306         multiarch implementation.
10307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10308         file.
10309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10310         file.
10311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10312         file.
10313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10314         file.
10315         multiarch llround for PPC64.
10316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10317         multiarch trunc for PPC64.
10318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10319         multiarch truncf for PPC64.
10320
10321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10322         multiarch implementation.
10323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10324         file.
10325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10326         file.
10327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10328         file.
10329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10330         file.
10331         multiarch llround for PPC64.
10332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10333         multiarch round for PPC64.
10334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10335         multiarch roundf for PPC64.
10336
10337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10338         multiarch implementation.
10339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10340         file.
10341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10342         file.
10343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10344         file.
10345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10346         file.
10347         multiarch llround for PPC64.
10348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10349         multiarch floor for PPC64.
10350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10351         multiarch floorf for PPC64.
10352
10353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10354         multiarch implementation.
10355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10356         file.
10357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10358         file.
10359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10360         file.
10361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10362         file.
10363         multiarch llround for PPC64.
10364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10365         multiarch ceil for PPC64.
10366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10367         multiarch ceilf for PPC64.
10368
10369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10370         multiarch implementation.
10371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10372         file.
10373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10374         file.
10375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10376         file.
10377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10378         multiarch llround for PPC64.
10379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10380         multiarch lround for PPC64.
10381
10382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10383         multiarch implementation.
10384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10387         file.
10388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10391         multiarch isnan for PPC64.
10392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10393         multiarch isnanf for PPC64.
10394
10395         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10396         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10397         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10398         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10399         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10401
10402         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10403         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10404         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10405         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10406
10407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10408         multiarch implementations.
10409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10410         (__libc_ifunc_impl_list): Likewise.
10411         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10412         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10414         multiarch stpcpy for PPC64.
10415
10416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10417         multiarch implementations.
10418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10419         (__libc_ifunc_impl_list): Likewise.
10420         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10421         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10422         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10423         multiarch strcpy for PPC64.
10424
10425         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10426         redefine function name.
10427         (_wordcopy_fwd_dest_aligned): Likewise.
10428         (_wordcopy_bwd_aligned): Likewise.
10429         (_wordcopy_bwd_dest_aligned): Likewise.
10430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10431         multiarch implementations.
10432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10433         (__libc_ifunc_impl_list): Likewise.
10434         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10436         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10437         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10438         multiarch wcscpy for PPC64.
10439
10440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10441         multiarch implementations.
10442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10443         (__libc_ifunc_impl_list): Likewise.
10444         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10445         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10446         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10447         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10448         multiarch wcscpy for PPC64.
10449
10450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10451         multiarch implementations.
10452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10453         (__libc_ifunc_impl_list): Likewise.
10454         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10455         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10456         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10457         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10458         multiarch wcsrchr for PPC64.
10459
10460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10461         multiarch implementations.
10462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10463         (__libc_ifunc_impl_list): Likewise.
10464         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10465         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10466         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10467         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10468         multiarch wcschr for PPC64.
10469
10470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10471         multiarch implementations.
10472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10473         (__libc_ifunc_impl_list): Likewise.
10474         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10475         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10476         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10477         multiarch strchrnul for PPC64.
10478
10479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10480         implementations.
10481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10482         (__libc_ifunc_impl_list): Likewise.
10483         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10484         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10485         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10486         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10487         strchr for PPC64.
10488
10489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10490         implementations.
10491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10492         (__libc_ifunc_impl_list): Likewise.
10493         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10494         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10495         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10496         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10497         strncmp for PPC64.
10498
10499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10500         multiarch implementations.
10501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10502         (__libc_ifunc_impl_list): Likewise.
10503         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10504         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10505         strncasecmp for PPC64.
10506         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10507         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10508         multiarch strncasecmp_l for PPC64.
10509
10510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10511         multiarch implementations.
10512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10513         (__libc_ifunc_impl_list): Likewise.
10514         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10515         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10516         multiarch strcasecmp for PPC64.
10517         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10518         file.
10519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10520         multiarch strcasecmp_l for PPC64.
10521
10522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10523         implementations.
10524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10525         (__libc_ifunc_impl_list): Likewise.
10526         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10527         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10528         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10529         strnlen for PPC64.
10530
10531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10532         implementations.
10533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10534         (__libc_ifunc_impl_list): Likewise.
10535         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10536         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10537         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10538         strlen for PPC64.
10539
10540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10541         implementations.
10542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10543         (__libc_ifunc_impl_list): Likewise.
10544         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10545         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10546         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10547         rawmemrchr for PPC64.
10548
10549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10550         implementation.
10551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10552         (__libc_ifunc_impl_list): Likewise.
10553         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10554         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10555         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10556         memrchr for PPC64.
10557
10558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10559         implementation.
10560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10561         (__libc_ifunc_impl_list): Likewise.
10562         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10563         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10564         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10565         memchr for PPC64.
10566
10567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10568         implementation.
10569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10570         (__libc_ifunc_impl_list): Likewise.
10571         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10572         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10573         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10574         mempcpy for PPC64.
10575
10576         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10577         avoid cretion of __bzero symbol.
10578         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10579         Likewise.
10580         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10581         Likewise.
10582         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10583         Likewise.
10584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10585         multiarch implementations.
10586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10587         (__libc_ifunc_impl_list): Likewise.
10588         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10589         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10590         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10591         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10592         bzero for PPC32.
10593         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10594         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10595         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10596         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10597         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10598         memset for PPC64.
10599         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10600
10601         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10603         implementations.
10604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10605         (__libc_ifunc_impl_list): Likewise.
10606         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10607         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10608         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10609         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10610         memcmp for PPC64.
10611
10612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10613         multiarch for POWER/PPC64.
10614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10615         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10616         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10617         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10618         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10619         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10620         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10622         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10623         memcpy for PPC64.
10624
10625         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10626         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10627         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10628         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10629         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10630         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10631         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10632         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10633         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10634         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10635         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10636         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10637         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10638         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10639         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10647
10648 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10649
10650         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10651
10652 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10653
10654         * benchtests/Makefile (bench): Add exp2 and log2.
10655         (LDLIBS-bench-exp2): Add -lm.
10656         (LDLIBS-bench-log2): Likewise.
10657         * benchtests/exp2-inputs: New inputs file.
10658         * benchtests/log2-inputs: New inputs file.
10659         * benchtests/log-inputs: Add new inputs.
10660         * benchtests/tan-inputs: Likewise.
10661
10662 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10663
10664         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10665         definition...
10666         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10667         (csloww2): ... from here.
10668
10669         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10670         instead of structures.
10671         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10672         (POLYNOMIAL): Likewise.
10673         (TAYLOR_SLOW): Likewise.
10674         (__sin): Likewise.
10675         (__cos): Likewise.
10676         (slow1): Likewise.
10677         (slow2): Likewise.
10678         (sloww): Likewise.
10679         (sloww1); Likewise.
10680         (sloww2): Likewise.
10681         (bsloww1): Likewise.
10682         (bsloww2): Likewise.
10683         (cslow2): Likewise.
10684         (csloww): Likewise.
10685         (csloww1): Likewise.
10686         (csloww2): Likewise.
10687
10688 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10689
10690         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10691         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10692         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10693         * malloc/hooks.c (realloc_check): Likewise.
10694
10695         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10696         * malloc/arena.c: Remove PER_THREAD conditional.
10697         [!PER_THREAD]: Remove code.
10698         (ptmalloc_unlock_all2): Likewise.
10699         (ptmalloc_init): Likewise.
10700         (_int_new_arena): Likewise.
10701         (arena_get2): Likewise.
10702         * malloc/hooks.c (__malloc_get_state): Likewise.
10703         (__malloc_set_state): Likewise.
10704         * malloc/malloc.c: Likewise.
10705         (struct malloc_state): Likewise.
10706         (struct malloc_par): Likewise.
10707         (__libc_realloc): Likewise.
10708         (__libc_mallopt): Likewise.
10709
10710 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10711
10712         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10713
10714 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10715
10716         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10717         macro to a function.  Check for zero perturb_byte.
10718         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10719
10720         * malloc/malloc.c: (force_reg): Remove.
10721         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10722         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10723         force_reg by atomic_forced_read.
10724         * malloc/arena.c (ptmalloc_init): Likewise.
10725         * malloc/hooks.c (top_check): Likewise.
10726
10727 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10728
10729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10730
10731 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10732
10733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10734
10735 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10736
10737         * math/auto-libm-test-in: Add tests of lgamma.
10738         * math/auto-libm-test-out: Regenerated.
10739         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10740         (M_LOG_2_SQRT_PIl): Likewise.
10741         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10742         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10743         mpfr_f_f1.
10744         (func_calc_desc): Add mpfr_f_f1 union field.
10745         (ARGS1): New macro.
10746         (ARGS2): Likewise.
10747         (ARGS3): Likewise.
10748         (ARGS4): Likewise.
10749         (RET1): Likewise.
10750         (RET2): Likewise.
10751         (CALC): Likewise.
10752         (FUNC): Likewise.
10753         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10754         (test_functions): Add lgamma.
10755         (calc_generic_results): Handle mpfr_f_f1.
10756         * sysdeps/i386/fpu/libm-test-ulps: Update.
10757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10758
10759 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10760
10761         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10762         __mpn_add_n for PowerPC64/POWER7.
10763         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10764         __mpn_sub_n for PowerPC64/POWER7.
10765
10766         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10767         __mpn_addmul_1 for PowerPC64.
10768         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10769         __mpn_submul_1 for PowerPC64.
10770         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10771         for PowerPC64.
10772         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10773         for PowerPC64.
10774
10775 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10776
10777         [BZ #15089]
10778         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10779
10780 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10781
10782         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10783
10784         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10785         add multiarch folders.
10786         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10787         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10788         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10789         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10790         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10791         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10792         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10793         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10794         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10795         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10796         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10803
10804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10805         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10807         New file.
10808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10809         New file.
10810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10811         multiarch __ieee754_hypot for PowerPC32.
10812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10813         New file.
10814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10815         New file.
10816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10817         multiarch __ieee754_hypotf for PowerPC32.
10818
10819         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10820         long_double_symbol only if __logbl is defined.
10821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10822         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10824         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10826         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10827         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10828         path for implementation.
10829         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10830         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10832         logb, and logbl multiarch implementations for PowerPC32.
10833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10834         file.
10835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10836         file.
10837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10838         multiarch logb for PowerPC32.
10839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10840         file.
10841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10842         file.
10843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10844         multiarch logbf for PowerPC32.
10845         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10847         file.
10848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10849         multiarch logbl implementation for PowerPC32.
10850
10851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10852         and modff multiarch implementations.
10853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10854         New file.
10855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10856         New file.
10857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10858         multiarch modf for PowerPC32.
10859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10860         New file.
10861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10862         New file.
10863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10864         multiarch modff for PowerPC32.
10865
10866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10867         and lrintf multiarch implementations.
10868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10869         New file.
10870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10871         New file.
10872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10873         multiarch lrint for PowerPC32.
10874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10875         file: multiarch lrintf for PowerPC32.
10876
10877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10878         and lroundf multiarch implementations.
10879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10880         New file.
10881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10882         New file.
10883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10884         New file.
10885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10886         multiarch lround for PowerPC32.
10887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10888         file: multiarch lroundf for PowerPC32.
10889
10890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10891         copysign and copysignf multiarch implementations.
10892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10893         New file.
10894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10895         New file.
10896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10897         file: multiarch copysign for PowerPC32.
10898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10899         file: multiarch copysignf for PowerPC32.
10900
10901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10902         and truncf multiarch implementations.
10903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10904         New file.
10905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10906         file.
10907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10908         multiarch trunc for PowerPC32.
10909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10910         New file.
10911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10912         New file.
10913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10914         multiarch truncf for PowerPC32.
10915
10916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10917         and roundf multiarch implementations.
10918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10919         New file.
10920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10921         file.
10922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10923         multiarch round for PowerPC32.
10924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10925         New file.
10926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10927         New file.
10928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10929         multiarch roundf for PowerPC32.
10930
10931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10932         and floorf multiarch implementations.
10933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10934         New file.
10935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10936         file.
10937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10938         multiarch floor for PowerPC32.
10939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10940         New file.
10941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10942         New file.
10943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10944         multiarch floorf for PowerPC32.
10945
10946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10947         and ceilf multiarch implementations.
10948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10949         New file.
10950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10951         file.
10952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10953         multiarch ceil for PowerPC32.
10954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10955         New file.
10956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10957         file.
10958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10959         multiarch ceilf for PowerPC32.
10960
10961         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10962         is defined.
10963         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10964         FINITEF is defined.
10965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10966         and finitef multiarch implementations.
10967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10968         New file.
10969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10970         file.
10971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10972         multiarch finite for PowerPC32.
10973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10974         New file.
10975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10976         file: multiarch finitef for PowerPC32.
10977
10978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10979         and isinff multiarch implementations.
10980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10981         file.
10982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10983         file.
10984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10985         multiarch isinf for PowerPC32.
10986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10987         New file.
10988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10989         multiarch isinff for PowerPC32.
10990
10991         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10992         alias when __isnan is defined.
10993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10994         and isnanf multiarch implementations.
10995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10996         file.
10997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10998         file.
10999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11000         file.
11001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11002         file.
11003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11004         multiarch isnan for PowerPC32.
11005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11006         New file.
11007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11008         New file.
11009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11010         multiarch isnanf for PowerPC32.
11011
11012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11013         and sqrtf multiarch implementations.
11014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11015         file.
11016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11017         file.
11018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11019         multiarch sqrt for PowerPC32.
11020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11021         file.
11022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11023         file.
11024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11025         multiarch sqrtf for PowerPC32.
11026
11027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11028         and llroundf multiarch implementations.
11029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11030         New file.
11031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11032         New file.
11033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11034         New file.
11035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11036         file: multiarch llround for PowerPC32.
11037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11038         file: multiarch llroundf for PowerPC32.
11039
11040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11041         multiarch PowerPC32 fpu implementations.
11042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11043         New file.
11044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11045         New file.
11046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11047         multiarch llrint for PowerPC32.
11048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11049         New file.
11050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11051         New file.
11052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11053         file.
11054
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11056
11057         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11058         file.
11059         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11060         file.
11061         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11062         file.
11063         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11064         multiarch wordcopy for PPC32.
11065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11066         wordcopy objects.
11067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11068         (__libc_ifunc_impl_list): Likewise.
11069         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11070         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11071         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11072         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11073         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11074         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11075
11076         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11078         file.
11079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11080         file.
11081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11082         file.
11083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11084         multiarch wcscpy for PPC32.
11085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11086         multiarch objects.
11087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11088         (__libc_ifunc_impl_list): Likewise.
11089         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11090         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11091         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11092         sysdeps/powerpc/power6/wcscpy.c.
11093
11094         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11096         file.
11097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11098         file.
11099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11100         file.
11101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11102         multiarch wcsrchr for PPC32.
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11104         multiarch objects.
11105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11106         (__libc_ifunc_impl_list): Likewise.
11107         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11108         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11109         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11110         sysdeps/powerpc/power6/wcsrchr.c.
11111
11112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11113         file.
11114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11115         file.
11116         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11118         multiarch wcschr for PPc32.
11119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11120         multiarch objects.
11121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11122         (__libc_ifunc_impl_list): Likewise.
11123         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11124         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11125         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11126         sysdeps/powerpc/power6/wcschr.c.
11127
11128         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11129         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11130         file.
11131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11132         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11133         file: multiarch strchr for PPC32.
11134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11135         multiarch objects.
11136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11137         (__libc_ifunc_impl_list): Likewise.
11138
11139         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11140         name.
11141         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11142         file.
11143         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11144         file.
11145         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11146         multiarch strchrnul for PPC32.
11147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11148         multiarch objects.
11149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11150         (__libc_ifunc_impl_list): Likewise.
11151
11152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11153         file.
11154         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11155         multiarch strncasecmp for PPC32.
11156         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11157         file.
11158         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11159         multiarch strncasecmp_l for PPC32.
11160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11161         strncasecmp multiarch objects.
11162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11163         (__libc_ifunc_impl_list): Likewise.
11164
11165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11166         file.
11167         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11168         multiarch strncasecmp for PPC32.
11169         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11170         New file.
11171         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11172         multiarch strcasecmp_l for PPC32.
11173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11174         multiarch objects.
11175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11176         (__libc_ifunc_impl_list): Likewise.
11177
11178         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11179         file.
11180         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11181         file.
11182         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11183         multiarch strncmp for PPC32.
11184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11185         multiarch objects.
11186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11187         (__libc_ifunc_impl_list): Likewise.
11188
11189         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11190         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11191         file.
11192         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11193         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11195         multiarch objects.
11196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11197         (__libc_ifunc_impl_list): Likewise.
11198
11199         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11200         file.
11201         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11202         file.
11203         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11205         multiarch objects.
11206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11207         (__libc_ifunc_impl_list): Likewise.
11208
11209         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11210         file.
11211         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11212         file.
11213         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11214         multiarch rawmemchr for PPC32.
11215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11216         multiarch objects.
11217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11218         (__libc_ifunc_impl_list): Likewise.
11219
11220         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11221         file.
11222         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11223         file.
11224         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11225         file: memrchr multiarch for PPC32.
11226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11227         multiarch objects.
11228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11229         (__libc_ifunc_impl_list): Likewise.
11230
11231         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11232         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11233         file.
11234         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11235         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11236         multiarch memchr for PPC32.
11237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11238         multiarch objects.
11239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11240         (__libc_ifunc_impl_list): Likewise.
11241
11242         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11243         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11244         file.
11245         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11246         file.
11247         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11248         file: multiarch mempcpy for PPC32.
11249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11250         multiarch objects.
11251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11252         (__libc_ifunc_impl_list): Likewise.
11253
11254         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11255         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11256         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11257         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11258         multiarch bzero for PPC32.
11259         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11260         file.
11261         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11262         file.
11263         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11264         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11265         file: multiarch memset for PPC32.
11266         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11268         memset multiarch objects.
11269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11270         (__libc_ifunc_impl_list): Likewise.
11271
11272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11273         file.
11274         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11275         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11276         memcmp for PPC32.
11277         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11279         multiarch objects.
11280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11281         (__libc_ifunc_impl_list): Likewise.
11282
11283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11284         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11286         file.
11287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11288         file.
11289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11290         file.
11291         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11292         multiarch memcpy for PPC32.
11293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11294         multiarch objects.
11295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11296         (__libc_ifunc_impl_list): Likewise.
11297
11298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11299         support multiarch for POWER/PPC32.
11300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11301         Likewise.
11302         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11304         Implies file to make multiarch folder appers before the fpu and
11305         default folder for power4 configuration.
11306
11307 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11308
11309         * scripts/bench.pl: Append volatile keyword to type.
11310
11311 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11312
11313         * sysdeps/sh/sotruss-lib.c: New file.
11314         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11315
11316 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11317
11318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11319
11320 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11321
11322         [BZ #6810]
11323         * math/w_tgamma.c: Include <errno.h>.
11324         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11325         * math/w_tgammaf.c: Include <errno.h>.
11326         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11327         * math/w_tgammal.c: Include <errno.h>.
11328         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11329         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11330         underflow.  Add more tgamma tests.
11331         * math/auto-libm-test-out: Regenerated.
11332         * sysdeps/i386/fpu/libm-test-ulps: Update.
11333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11334
11335         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11336         sin, sinh, tan, tanh, tgamma, y0 and y1.
11337         * math/auto-libm-test-out: Regenerated.
11338         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11339         (TEST_COND_x86): Likewise.
11340         (M_E2l): Remove macro.
11341         (M_E3l): Likewise.
11342         (M_2_SQRT_PIl): Likewise.
11343         (M_SQRT_PIl): Likewise.
11344         (M_1_DIV_El): Likewise.
11345         (log_test_data): Use AUTO_TESTS_f_f.
11346         (log10_test_data): Likewise.
11347         (log1p_test_data): Likewise.
11348         (log2_test_data): Likewise.
11349         (sin_test_data): Likewise.
11350         (sin_tonearest_test_data): Likewise.
11351         (sin_towardzero_test_data): Likewise.
11352         (sin_downward_test_data): Likewise.
11353         (sin_upward_test_data): Likewise.
11354         (sinh_test_data): Likewise.
11355         (sinh_tonearest_test_data): Likewise.
11356         (sinh_towardzero_test_data): Likewise.
11357         (sinh_downward_test_data): Likewise.
11358         (sinh_upward_test_data): Likewise.
11359         (tan_test_data): Likewise.
11360         (tan_tonearest_test_data): Likewise.
11361         (tan_towardzero_test_data): Likewise.
11362         (tan_downward_test_data): Likewise.
11363         (tan_upward_test_data): Likewise.
11364         (tanh_test_data): Likewise.
11365         (tgamma_test_data): Likewise.
11366         (y0_test_data): Likewise.
11367         (y1_test_data): Likewise.
11368         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11369         (special_real_inputs): Add pi/4.
11370         * sysdeps/i386/fpu/libm-test-ulps: Update.
11371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11372
11373 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11374
11375         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11376         "longjmp_target" static probes.
11377         (__longjmp): Rename to __longjmp_symbol.
11378         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11379         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11380         on which longjmp to generate.
11381         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11382         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11383         probe.
11384         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11385         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11386         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11387         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11388         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11389         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11391         __longjmp_symbol based on which __longjmp to generate.
11392         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11393         probe.
11394         (setjmp): Rename to setjmp_symbol.
11395         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11396         (_setjmp): Rename to _setjmp_symbol.
11397         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11398         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11399         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11400         which setjmp to generate.
11401         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11402         "longjmp_target" static probes.
11403
11404 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11405
11406         * benchtests/README: Add note about output arguments.
11407         * benchtests/bench-sincos.c: Remove file.
11408         * benchtests/sincos-inputs: New file.
11409         * scripts/bench.pl: Identify output arguments and define
11410         static variables for them.
11411
11412         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11413
11414         [BZ #15941]
11415         * Makefile (INSTALL): Add install-plain.texi as the primary
11416         dependency.
11417         * manual/install-plain.texi: New file.
11418         * manual/install.texi: Include node directive only for
11419         non-plaintext output.
11420
11421 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11422
11423         * stdlib/longlong.h: Update from GCC.
11424
11425         [BZ #6807]
11426         [BZ #15901]
11427         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11428         * math/w_j0f.c (y0f): Likewise.
11429         * math/w_j0l.c (__y0l): Likewise.
11430         * math/w_j1.c (y1): Likewise.
11431         * math/w_j1f.c (y1f): Likewise.
11432         * math/w_j1l.c (__y1l): Likewise
11433         * math/w_jn.c (yn): Likewise.
11434         * math/w_jnf.c (ynf): Likewise.
11435         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11436         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11437         value for Bessel function domain errors outside _SVID_ mode.
11438         Adjust sign of return value for yn (negative integer, 0).
11439         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11440         by zero in return for negative x and set sign appropriately for
11441         negative n.
11442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11443         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11444         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11445         expectations in error cases.
11446         (y1_test_data): Likewise.
11447         (yn_test_data): Likewise.
11448         * sysdeps/i386/fpu/libm-test-ulps: Update.
11449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11450
11451 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11452
11453         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11454         "64" to "64-v1".  Add "64-v2".
11455         (abi-64-options): Rename to ...
11456         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11457         (abi-64-condition): Rename to ...
11458         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11459         (abi-64-ld-soname): Rename to ...
11460         (abi-64-v1-ld-soname): ... this.
11461         (abi-64-v2-options): Define.
11462         (abi-64-v2-condition): Likewise.
11463         (abi-64-v2-ld-soname): Likewise.
11464         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11465         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11469
11470 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11471             Alan Modra  <amodra@gmail.com>
11472
11473         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11474         New versions for use with the ELFv2 ABI.
11475         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11476         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11477         declaration.
11478         (struct La_ppc64v2_retval): Likewise.
11479         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11480         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11481         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11482         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11483         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11484         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11485         Do not save or restore CR.
11486         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11487         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11488         return values for ELFv2 ABI.  Fix location of FPR return registers.
11489         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11490         updated values for _CALL_ELF == 2.
11491         (La_regs, La_retval, int_retval): Likewise.
11492
11493 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11494
11495         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11496         (FRAME_MIN_SIZE_PARM): Likewise.
11497         (FRAME_BACKCHAIN): Likewise.
11498         (FRAME_CR_SAVE): Likewise.
11499         (FRAME_LR_SAVE): Likewise.
11500         (FRAME_TOC_SAVE): Likewise.
11501         (FRAME_PARM_SAVE): Likewise.
11502         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11503         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11504         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11505         (call_mcount_parm_offset): New macro.
11506         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11507         (PROF): Use symbolic stack frame offsets.
11508         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11509         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11510         Redefine in terms of FRAME_MIN_SIZE.
11511         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11512         (_dl_profile_resolve): Likewise.  Update comment.
11513         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11514         symbols stack frame offsets.
11515         (__sigsetjmp): Likewise.
11516         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11517         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11518         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11519         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11520
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11522         (FRAME_BACKCHAIN): Remove.
11523         (FRAME_CR_SAVE): Likewise.
11524         (FRAME_LR_SAVE): Likewise.
11525         (FRAME_COMPILER_DW): Likewise.
11526         (FRAME_LINKER_DW): Likewise.
11527         (FRAME_TOC_SAVE): Likewise.
11528         (FRAME_PARM_SAVE): Likewise.
11529         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11530         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11531         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11533         (CHECK_SP): Use symbolic stack frame offsets.
11534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11535         zone" instead of caller's parameter save area for temp storage.
11536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11537         Likewise.  Also, use symbolic stack frame offsets.
11538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11539         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11540         our own stack frame instead of the caller's.
11541         (__socket): Use symbolic stack frame offsets.
11542
11543 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11544             Alan Modra  <amodra@gmail.com>
11545
11546         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11547         Define.
11548         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11549         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11550         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11551         New function.
11552         (elf_machine_fixup_plt): Call it.
11553         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11554         reloc arguments.
11555         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11556         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11557         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11558         r2 before calling target.
11559
11560 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11561             Alan Modra  <amodra@gmail.com>
11562
11563         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11564         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11565         versions of macros to support ELFv2 ABI.
11566         (LOCALENTRY): New macro.
11567         (ENTRY, EALIGN): Use it.
11568         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11569         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11570         fall through into ENTRY entry point.
11571         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11572         Only define if _CALL_ELF != 2.
11573
11574         (elf_machine_matches_host): Verify ABI version matches.
11575         (RTLD_START): Use LOCALENTRY.
11576         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11577         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11578         (PLT_ENTRY_WORDS): New macro.
11579         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11580         (elf_machine_runtime_setup): Support ELFv2 ABI.
11581         (elf_machine_fixup_plt): Likewise.
11582         (elf_machine_plt_conflict): Likewise.
11583         (resolve_ifunc): Likewise.
11584         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11585         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11586         Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11588         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11590         (makecontext): Support ELFv2 ABI.
11591         * elf/elf.h (EF_PPC64_ABI): Define.
11592
11593 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11594
11595         * sysdeps/powerpc/powerpc64/sysdep.h
11596         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11597         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11598         (ENTRY) [ASSEMBLER]: ... but instead here ...
11599         (EALIGN) [ASSEMBLER]: ... and here.
11600         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11601         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11602         (ENTRY_2) [!ASSEMBLER]: Use it.
11603         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11604         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11605         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11606         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11607         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11609         Use PPC64_LOAD_FUNCPTR.
11610
11611         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11612
11613 2013-12-04  Alan Modra  <amodra@gmail.com>
11614
11615         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11616         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11617         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11618         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11619
11620         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11621         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11622         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11623         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11624         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11625         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11626
11627 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11628
11629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11630         (__makecontext): Fix incorrect CFI when backtracing out of
11631         context created via makecontext.
11632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11633         (__setcontext): Fix incorrect CFI during switch to new context.
11634         (__novec_setcontext): Likewise.
11635
11636 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11637
11638         [BZ #4772]
11639         * time/strptime_l.c (__strptime_internal): Allow modifiers
11640         in strptime.
11641         * time/tst-strptime.c (day_tests): Add testcase.
11642
11643 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11644
11645         * scripts/bench.pl: Skip over blank lines.
11646
11647 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11648
11649         [BZ #926]
11650         * manual/time.texi (Calendar Time): Clarify what timezone functions
11651         use.
11652
11653 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11654
11655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11656
11657 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11658
11659         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11660         implementation.
11661         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11662         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11663         * debug/memset_chk.c (__memset_chk): Likewise.
11664         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11665         * debug/strncpy_chk.c: Likewise.
11666
11667 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11668
11669         [BZ #15268]
11670         [BZ #15425]
11671         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11672         (__ieee754_exp): For possibly underflowing results, check size of
11673         result and force underflow exception if required.
11674         * math/auto-libm-test-in: Add more tests of exp.
11675         * math/auto-libm-test-out: Regenerated.
11676         * sysdeps/i386/fpu/libm-test-ulps: Update.
11677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11678
11679         [BZ #16283]
11680         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11681         * math/w_exp2f.c (__exp2f): Likewise.
11682         * math/w_exp2l.c (__exp2l): Likewise.
11683         * math/auto-libm-test-in: Do not allow missing errno on exp2
11684         underflow.
11685         * math/auto-libm-test-out: Regenerated.
11686
11687 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11688
11689         [BZ #16274]
11690         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11691         handle filename validation.
11692         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11693         (do_open): Delete.
11694
11695 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11696
11697         [BZ #6786]
11698         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11699         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11700         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11701         <float.h>.
11702         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11703         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11704         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11705         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11706         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11707         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11708         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11709         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11710         Add more erfc tests.
11711         * math/auto-libm-test-out: Regenerated.
11712         * sysdeps/i386/fpu/libm-test-ulps: Update.
11713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11714
11715         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11716         exp2, expm1, j0 and j1.
11717         * math/auto-libm-test-out: Regenerated.
11718         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11719         (erfc_test_data): Likewise.
11720         (exp_test_data): Likewise.
11721         (exp_tonearest_test_data): Likewise.
11722         (exp_towardzero_test_data): Likewise.
11723         (exp_downward_test_data): Likewise.
11724         (exp_upward_test_data): Likewise.
11725         (exp10_test_data): Likewise.
11726         (exp2_test_data): Likewise.
11727         (expm1_test_data): Likewise.
11728         (j0_test_data): Likewise.
11729         (j1_test_data): Likewise.
11730         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11731         (input_flag_type): Add flag_xfail_rounding.
11732         (input_flags): Add xfail-rounding.
11733         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11734         (output_for_one_input_case): Handle flag_xfail_rounding.
11735         * sysdeps/i386/fpu/libm-test-ulps: Update.
11736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11737
11738 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11739
11740         [BZ #16289]
11741         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11742         division by 0.
11743
11744 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11745
11746         [BZ #16195]
11747         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11748         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11749         (STAP_PROBE0): New macro.
11750         (STAP_PROBE1): Likewise.
11751         (STAP_PROBE2): Likewise.
11752         (STAP_PROBE3): Likewise.
11753         (STAP_PROBE4): Likewise.
11754
11755 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11756
11757         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11758
11759 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11760
11761         * benchtests/Makefile (bench): Add sqrt.
11762         (LDLIBS-bench-sqrt): New.
11763         * benchtests/sqrt-input: New.
11764
11765 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11766
11767         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11768         (GAIH_EAI): Likewise.
11769         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11770         (gaih_inet): Likewise.
11771         (getaddrinfo): Don't use GAIH_EAI.
11772
11773         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11774         (struct gaih): Remove definition.
11775
11776 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11777
11778         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11779         Use HERRNOP directly.
11780
11781 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11782
11783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11784
11785 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11786
11787         * math/gen-auto-libm-tests.c (test_functions): Add more
11788         single-argument functions.
11789         (special_fill_pi_2): New function.
11790         (special_fill_minus_pi_2): Likewise.
11791         (special_fill_pi_6): Likewise.
11792         (special_fill_minus_pi_6): Likewise.
11793         (special_fill_pi_3): Likewise.
11794         (special_fill_2pi_3): Likewise.
11795         (special_fill_e): Likewise.
11796         (special_fill_1_e): Likewise.
11797         (special_fill_e_minus_1): Likewise.
11798         (special_real_inputs): Add more special inputs.
11799         (output_for_one_input_case): Do not require ERANGE on underflow to
11800         zero if round-to-nearest result does not underflow to zero, unless
11801         exact results required.
11802         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11803         atan, atanh, cbrt, cos and cosh.
11804         * math/auto-libm-test-out: Regenerated.
11805         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11806         (acos_tonearest_test_data): Likewise.
11807         (acos_towardzero_test_data): Likewise.
11808         (acos_downward_test_data): Likewise.
11809         (acos_upward_test_data): Likewise.
11810         (acosh_test_data): Likewise.
11811         (asin_test_data): Likewise.
11812         (asin_tonearest_test_data): Likewise.
11813         (asin_towardzero_test_data): Likewise.
11814         (asin_upward_test_data): Likewise.
11815         (asinh_test_data): Likewise.
11816         (atan_test_data): Likewise.
11817         (atanh_test_data): Likewise.
11818         (cbrt_test_data): Likewise.
11819         (cos_test_data): Likewise.
11820         (cos_tonearest_test_data): Likewise.
11821         (cos_towardzero_test_data): Likewise.
11822         (cos_downward_test_data): Likewise.
11823         (cos_upward_test_data): Likewise.
11824         (cosh_test_data): Likewise.
11825         (cosh_tonearest_test_data): Likewise.
11826         (cosh_towardzero_test_data): Likewise.
11827         (cosh_downward_test_data): Likewise.
11828         (cosh_upward_test_data): Likewise.
11829         * sysdeps/i386/fpu/libm-test-ulps: Update.
11830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11831
11832 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11833
11834         [BZ #6787]
11835         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11836         * math/w_exp10f.c (__exp10f): Likewise.
11837         * math/w_exp10l.c (__exp10l): Likewise.
11838         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11839         errno settings in existing tests.
11840
11841         [BZ #14032]
11842         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11843         precision control set to double precision.
11844         * sysdeps/i386/fpu/w_sqrt.c: New file.
11845         * math/auto-libm-test-in: Add more tests.
11846         * math/auto-libm-test-out: Update.
11847
11848         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11849         (sqrt_test_tonearest): New function.
11850         (sqrt_towardzero_test_data): New variable.
11851         (sqrt_test_towardzero): New function.
11852         (sqrt_downward_test_data): New variable.
11853         (sqrt_test_downward): New function.
11854         (sqrt_upward_test_data): New variable.
11855         (sqrt_test_upward): New function.
11856         (main): Call the new functions.
11857
11858         * math/gen-auto-libm-tests.c: New file.
11859         * math/auto-libm-test-in: Likewise.
11860         * math/auto-libm-test-out: New generated file.
11861         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11862         variables.
11863         (%beautify): Add generated representations of zero.
11864         (top level): Set $auto_input and call parse_auto_input.
11865         (beautify): Remove trailing "f" from hex float constants.
11866         (parse_args): Handle XFAIL_TEST.
11867         (convert_condition): New function.
11868         (or_value): Likewise.
11869         (or_cond_value): Likewise.
11870         (generate_testfile): Handle AUTO_TESTS_* lines.
11871         (parse_auto_input): New function.
11872         * math/libm-test.inc (XFAIL_TEST): New macro.
11873         (ERRNO_UNCHANGED): Update value.
11874         (ERRNO_EDOM): Likewise.
11875         (ERRNO_ERANGE): Likewise.
11876         (IGNORE_RESULT): Likewise.
11877         (TEST_COND_flt_32): New macro.
11878         (TEST_COND_dbl_64): Likewise.
11879         (TEST_COND_ldbl_96_intel): Likewise.
11880         (TEST_COND_ldbl_96_m68k): Likewise.
11881         (TEST_COND_ldbl_128): Likewise.
11882         (TEST_COND_ldbl_128ibm): Likewise.
11883         (TEST_COND_long32): Likewise.
11884         (TEST_COND_long64): Likewise.
11885         (TEST_COND_before_rounding): Likewise.
11886         (TEST_COND_after_rounding): Likewise.
11887         (enable_test): Handle XFAIL_TEST flag.
11888         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11889         with finite results.
11890         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11891         auto-libm-test-out.
11892
11893 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11894             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11895
11896         [BZ #16214]
11897         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11898         __tls_get_addr_internal instead of __tls_get_offset in order to
11899         avoid GOT pointer dependency.  Make rtld export
11900         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11901         __tls_get_addr since we are a __tls_get_offset platform.
11902         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11903         GOT pointer being set up before.
11904         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11905
11906 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11907
11908         * manual/math.texi (Errors in Math Functions): Document accuracy
11909         goals.
11910
11911         [BZ #15004]
11912         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11913         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11914         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11915         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11916         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11917         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11918         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11919         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11920         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11921         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11922         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11923         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11924         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11925         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11926         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11927         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11928
11929         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11930         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11931         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11932         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11933         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11934         Likewise.
11935         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11936         Likewise.
11937         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11938         Likewise.
11939         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11940         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11941         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11942         atomic-feupdateenv and flt-rounds.
11943         * sysdeps/powerpc/nofpu/Versions (libc): Add
11944         __atomic_feholdexcept, __atomic_feclearexcept,
11945         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11946         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11947         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11948         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11949         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11950         here.
11951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11952         Update.
11953
11954         * manual/arith.texi (FP Exceptions): Document that exceptions may
11955         not be raised when matherr is used.
11956         (Math Error Reporting): Document overflow in directed rounding
11957         modes.  Document that errno may not be set when finite values are
11958         returned on overflow.  Document intent to set errno on underflow
11959         only for underflow to zero.
11960
11961         [BZ #16271]
11962         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11963         round-to-nearest then adjust result for other rounding modes.
11964         * include/fenv.h (fegetround): Use libm_hidden_proto.
11965         * math/fegetround.c (fegetround): Use libm_hidden_def.
11966         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11967         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11968         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11969         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11970         Likewise.
11971         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11972         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11973         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11974         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11975
11976 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11977
11978         [BZ #16077]
11979         * nss/Versions (libnss_files): Add
11980         _nss_files_gethostbyname3_r.
11981         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11982         New function.
11983         (HOST_DB_LOOKUP): Remove macro.
11984         (_nss_files_gethostbyname_r): Implement function without the
11985         HOST_DB_LOOKUP macro.
11986         (_nss_files_gethostbyname2_r): Likewise.
11987
11988 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11989
11990         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11991
11992 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11993
11994         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11995         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11996         warning.
11997
11998 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11999
12000         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12001         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12002         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12003         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12004         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12005         __fe_nomask_env_priv and attribute_hidden.
12006         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12007         (libc_feupdateenv_test_ppc): Likewise.
12008         (libc_feresetround_ppc): Likewise.
12009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12010         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12011         compat_symbol macro.
12012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12013         (__fe_nomask_env): Likewise.
12014         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12015
12016 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12017
12018         * string/Makefile: Remove ifunc tests.
12019         * string/test-string.h: Define TEST_IFUNC.
12020         * string/test-bcopy-ifunc.c: Remove.
12021         * string/test-bzero-ifunc.c: Likewise.
12022         * string/test-memccpy-ifunc.c: Likewise.
12023         * string/test-memchr-ifunc.c: Likewise.
12024         * string/test-memcmp-ifunc.c: Likewise.
12025         * string/test-memcpy-ifunc.c: Likewise.
12026         * string/test-memmem-ifunc.c: Likewise.
12027         * string/test-memmove-ifunc.c: Likewise.
12028         * string/test-mempcpy-ifunc.c: Likewise.
12029         * string/test-memrchr-ifunc.c: Likewise.
12030         * string/test-memset-ifunc.c: Likewise.
12031         * string/test-rawmemchr-ifunc.c: Likewise.
12032         * string/test-stpcpy-ifunc.c: Likewise.
12033         * string/test-stpncpy-ifunc.c: Likewise.
12034         * string/test-strcasecmp-ifunc.c: Likewise.
12035         * string/test-strcasestr-ifunc.c: Likewise.
12036         * string/test-strcat-ifunc.c: Likewise.
12037         * string/test-strchr-ifunc.c: Likewise.
12038         * string/test-strchrnul-ifunc.c: Likewise.
12039         * string/test-strcmp-ifunc.c: Likewise.
12040         * string/test-strcpy-ifunc.c: Likewise.
12041         * string/test-strcspn-ifunc.c: Likewise.
12042         * string/test-strlen-ifunc.c: Likewise.
12043         * string/test-strncasecmp-ifunc.c: Likewise.
12044         * string/test-strncat-ifunc.c: Likewise.
12045         * string/test-strncmp-ifunc.c: Likewise.
12046         * string/test-strncpy-ifunc.c: Likewise.
12047         * string/test-strnlen-ifunc.c: Likewise.
12048         * string/test-strpbrk-ifunc.c: Likewise.
12049         * string/test-strrchr-ifunc.c: Likewise.
12050         * string/test-strspn-ifunc.c: Likewise.
12051         * string/test-strstr-ifunc.c: Likewise.
12052
12053 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12054
12055         * benchtests/Makefile: Remove ifunc tests.
12056         * benchtests/bench-string.h: Define TEST_IFUNC.
12057         * benchtests/bench-bcopy-ifunc.c: Remove.
12058         * benchtests/bench-bzero-ifunc.c: Likewise.
12059         * benchtests/bench-memccpy-ifunc.c: Likewise.
12060         * benchtests/bench-memchr-ifunc.c: Likewise.
12061         * benchtests/bench-memcmp-ifunc.c: Likewise.
12062         * benchtests/bench-memcpy-ifunc.c: Likewise.
12063         * benchtests/bench-memmem-ifunc.c: Likewise.
12064         * benchtests/bench-memmove-ifunc.c: Likewise.
12065         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12066         * benchtests/bench-memrchr-ifunc.c: Likewise.
12067         * benchtests/bench-memset-ifunc.c: Likewise.
12068         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12069         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12070         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12071         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12072         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12073         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12074         * benchtests/bench-strcat-ifunc.c: Likewise.
12075         * benchtests/bench-strchr-ifunc.c: Likewise.
12076         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12077         * benchtests/bench-strcmp-ifunc.c: Likewise.
12078         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12079         * benchtests/bench-strcpy-ifunc.c: Likewise.
12080         * benchtests/bench-strcspn-ifunc.c: Likewise.
12081         * benchtests/bench-strlen-ifunc.c: Likewise.
12082         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12083         * benchtests/bench-strncat-ifunc.c: Likewise.
12084         * benchtests/bench-strncmp-ifunc.c: Likewise.
12085         * benchtests/bench-strncpy-ifunc.c: Likewise.
12086         * benchtests/bench-strnlen-ifunc.c: Likewise.
12087         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12088         * benchtests/bench-strrchr-ifunc.c: Likewise.
12089         * benchtests/bench-strsep-ifunc.c: Likewise.
12090         * benchtests/bench-strspn-ifunc.c: Likewise.
12091         * benchtests/bench-strstr-ifunc.c: Likewise.
12092
12093 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12094
12095         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12096
12097 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12098
12099         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12100         * rt/aio.h: Likewise.
12101         * sysdeps/gnu/bits/utmp.h: Likewise.
12102         * sysdeps/gnu/bits/utmpx.h: Likewise.
12103         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12104         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12105         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12106         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12107         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12108         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12109         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12110         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12111         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12112         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12113         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12114         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12115         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12117         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12118         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12119         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12120         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12121         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12122         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12123         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12124         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12125         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12126         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12127         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12129         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12130         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12131         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12132         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12133         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12134         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12135         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12136         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12137         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12138         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12139         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12140         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12141         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12142         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12143         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12144         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12145
12146 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12147
12148         [BZ #16245]
12149         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12150         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12151
12152 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12153
12154         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12155         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12156         Likewise.
12157
12158 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12159
12160         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12161         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12162         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12163         (__fesetround): Remove define.
12164         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12165         rounding and exceptions handling.
12166         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12167         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12168         (__fe_nomask_env): Likewise.
12169         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12170         __fegetround instead of fegetround.
12171         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12172         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12173
12174 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12175
12176         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12177         it's there.
12178
12179         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12180
12181 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12182
12183         [BZ #11157]
12184         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12185         (encrypt_r): Likewise.
12186         * malloc/obstack.h (obstack_free): Likewise.
12187         * posix/unistd.h (encrypt): Likewise.
12188
12189 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12190
12191         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12192         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12193         DL_CALL_DT_FINI() that call the functions directly.
12194         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12195         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12196         * elf/dl-fini.c: Likewise.
12197
12198 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12199
12200         * malloc/hooks.c (memalign_check): Add alignment rounding.
12201         * malloc/malloc.c (_mid_memalign): New function.
12202         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12203         Implement by calling _mid_memalign.
12204         * manual/probes.texi (Memory Allocation Probes): Remove
12205         memory_valloc_retry and memory_pvalloc_retry.
12206
12207 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12208
12209         * locale/programs/locarchive.c (open_archive): Add const
12210         qualifier to ARCHIVEFNAME and copy default fname to
12211         DEFAULT_FNAME.
12212
12213         [BZ #15601]
12214         * libio/tst-widetext.input: Rename Oriya to Odia.
12215         * locale/iso-639.def: Likewise.
12216
12217         * manual/probes.texi (Mathematical Function Probes): Add
12218         documentation for sin, cos, asin and acos probes.
12219         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12220         (__sin32): Add slowasin probe.
12221         (__cos32): Add slowacos probe.
12222         (__mpsin): Add slowsin probe.
12223         (__mpcos): Add slowcos probe.
12224
12225 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12226
12227         [BZ #15483]
12228         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12229         thread-local __sim_exceptions_thread and global
12230         __sim_exceptions_global.
12231         (__sim_disabled_exceptions): Change to thread-local
12232         __sim_disabled_exceptions_thread and global
12233         __sim_disabled_exceptions_global.
12234         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12235         and global __sim_round_mode_global.
12236         (__simulate_exceptions): Use thread-local floating-point state and
12237         set global state from it as needed.
12238         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12239         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12240         __sim_round_mode_thread.
12241         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12242         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12243         and global __sim_exceptions_global.
12244         (__sim_disabled_exceptions): Change to thread-local
12245         __sim_disabled_exceptions_thread and global
12246         __sim_disabled_exceptions_global.
12247         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12248         and global __sim_round_mode_global.
12249         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12250         (SIM_SET_GLOBAL): Likewise.
12251         * sysdeps/powerpc/soft-fp/sfp-machine.h
12252         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12253         __sim_round_mode_thread.
12254         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12255         __sim_disabled_exceptions_thread.
12256         (__sim_exceptions): Change to __sim_exceptions_thread.
12257         (__sim_disabled_exceptions): Change to
12258         __sim_disabled_exceptions_thread.
12259         (__sim_round_mode): Change to __sim_round_mode_thread.
12260         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12261         thread-local floating-point state and set global state from it as
12262         needed.
12263         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12264         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12265         (__sim_disabled_exceptions): Remove extern declaration.
12266         (feenableexcept): Use thread-local floating-point state and set
12267         global state from it as needed.
12268         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12269         extern declaration.
12270         (__sim_disabled_exceptions): Likewise.
12271         (__sim_round_mode): Likewise.
12272         (__fegetenv): Use thread-local floating-point state.
12273         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12274         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12275         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12276         floating-point state and set global state from it as needed.
12277         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12278         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12279         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12280         Likewise.
12281         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12282         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12283         Likewise.
12284         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12285         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12286         Use __sim_round_mode_thread.
12287         * math/test-fenv-tls.c: New file.
12288         * math/Makefile (tests): Add test-fenv-tls.
12289         ($(objpfx)test-fenv-tls): Depend on
12290         $(common-objpfx)nptl/libpthread.so.
12291
12292 2013-11-19  Andreas Schwab  <schwab@suse.de>
12293
12294         * locale/programs/locale.c (show_info): Decode wordarray elements.
12295         * locale/categories.def (LC_MONETARY): Add element for
12296         _NL_MONETARY_CRNCYSTR.
12297         * locale/C-monetary.c (conversion_rate): New variable.
12298         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12299         element.
12300
12301 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12302
12303         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12304         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12305
12306 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12307
12308         * elf/Makefile (tst-auxv): New test.
12309         * elf/tst-auxv.c: New
12310         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12311
12312 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12313
12314         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12315         (hidden_proto): Caller changed.
12316         (hidden_tls_proto): New macro.
12317         (libc_hidden_tls_proto): Likewise.
12318         (rtld_hidden_tls_proto): Likewise.
12319         (libm_hidden_tls_proto): Likewise.
12320         (libresolv_hidden_tls_proto): Likewise.
12321         (librt_hidden_tls_proto): Likewise.
12322         (libdl_hidden_tls_proto): Likewise.
12323         (libnss_files_hidden_tls_proto): Likewise.
12324         (libnsl_hidden_tls_proto): Likewise.
12325         (libnss_nisplus_hidden_tls_proto): Likewise.
12326         (libutil_hidden_tls_proto): Likewise.
12327
12328 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12329
12330         [BZ #10253]
12331         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12332         (decompose_rpath): Defer expansion to fillin_rpath.
12333         (_dl_init_paths): Pass linkmap to fillin_rpath.
12334
12335 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12336
12337         * benchtests/Makefile: Add strsep.
12338         * benchtests/bench-strsep.c: New file: strsep benchtest.
12339         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12340
12341 2013-11-18  Andreas Schwab  <schwab@suse.de>
12342
12343         * locale/programs/locale.c (show_info) [case byte]: Check for
12344         '\377' instead of '\177'.
12345         * locale/C-monetary.c (not_available): Always use "\377".
12346         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12347         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12348         detect unavailable sign_posn locale elements.
12349         * locale/localeconv.c (__localeconv): For grouping and
12350         mon_grouping handle "\177" and "\377" like no grouping.
12351         (INT_ELEM): New macro.  Use it to set all numeric members.
12352         * locale/programs/ld-monetary.c (monetary_read)
12353         <tok_mon_grouping>: Normalize single -1 to the empty string.
12354         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12355         Likewise.
12356
12357 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12358
12359         [BZ #16055]
12360         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12361         when we match (nil).
12362         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12363
12364 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12365
12366         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12367         (NO_TEST_INLINE): Update value.
12368         (ERRNO_UNCHANGED): Likewise.
12369         (ERRNO_EDOM): Likewise.
12370         (ERRNO_ERANGE): Likewise.
12371         (IGNORE_RESULT): Likewise.
12372         (check_float_internal): Check signs of NaN results if
12373         TEST_NAN_SIGN used.
12374         (check_complex): Pass TEST_NAN_SIGN flag through to second
12375         check_float_internal call.
12376         (copysign_test_data): Add tests with quiet NaNs as second
12377         argument.  Use TEST_NAN_SIGN.
12378         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12379         TEST_NAN_SIGN.
12380         (signbit_test_data): Add tests of quiet NaN argument.
12381         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12382
12383         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12384         $ignore_result.
12385         (parse_args): Handle function results specified as IGNORE.
12386         * math/libm-test.inc (IGNORE_RESULT): New macro.
12387         (check_float_internal): Do not check numerical result if flag
12388         IGNORE_RESULT set.
12389         (check_complex): Pass through IGNORE_RESULT to second
12390         check_float_internal call.
12391         (check_int): Do not check numerical result if flag IGNORE_RESULT
12392         set.
12393         (check_long): Likewise.
12394         (check_bool): Likewise.
12395         (check_longlong): Likewise.
12396         (lrint_test_data): Add tests of infinite and NaN arguments.
12397         (lrint_tonearest_test_data): Likewise.
12398         (lrint_towardzero_test_data): Likewise.
12399         (lrint_downward_test_data): Likewise.
12400         (lrint_upward_test_data): Likewise.
12401         (llrint_test_data): Likewise.
12402         (llrint_tonearest_test_data): Likewise.
12403         (llrint_towardzero_test_data): Likewise.
12404         (llrint_downward_test_data): Likewise.
12405         (llrint_upward_test_data): Likewise.
12406         (lround_test_data): Likewise.
12407         (llround_test_data): Likewise.
12408
12409         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12410         (ERRNO_UNCHANGED): Update value.
12411         (ERRNO_EDOM): Likewise.
12412         (ERRNO_ERANGE): Likewise.
12413         (NO_TEST_INLINE_FLOAT): New macro.
12414         (NO_TEST_INLINE_DOUBLE): Likewise.
12415         (enable_test): New function.
12416         (RUN_TEST_f_f): Check enable_test before running test.
12417         (RUN_TEST_2_f): Likewise.
12418         (RUN_TEST_fff_f): Likewise.
12419         (RUN_TEST_c_f): Likewise.
12420         (RUN_TEST_f_f1): Likewise.
12421         (RUN_TEST_fF_f1): Likewise.
12422         (RUN_TEST_fI_f1): Likewise.
12423         (RUN_TEST_ffI_f1): Likewise.
12424         (RUN_TEST_c_c): Likewise.
12425         (RUN_TEST_cc_c): Likewise.
12426         (RUN_TEST_f_i): Likewise.
12427         (RUN_TEST_f_i_tg): Likewise.
12428         (RUN_TEST_ff_i_tg): Likewise.
12429         (RUN_TEST_f_b): Likewise.
12430         (RUN_TEST_f_b_tg): Likewise.
12431         (RUN_TEST_f_l): Likewise.
12432         (RUN_TEST_f_L): Likewise.
12433         (RUN_TEST_fFF_11): Likewise.
12434         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12435         conditionals.
12436         (cosh_test_data): Likewise.
12437         (exp_test_data): Likewise.
12438         (expm1_test_data): Likewise.
12439         (hypot_test_data): Likewise.
12440         (pow_test_data): Likewise.
12441         (sinh_test_data): Likewise.
12442         (tanh_test_data): Likewise.
12443         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12444         flags argument.
12445
12446         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12447         tests with quiet NaN input and output.
12448         (acosh_test_data): Likewise.
12449         (asin_test_data): Likewise.
12450         (asinh_test_data): Likewise.
12451         (atan_test_data): Likewise.
12452         (atanh_test_data): Likewise.
12453         (atan2_test_data): Likewise.
12454         (cbrt_test_data): Likewise.
12455         (cos_test_data): Likewise.
12456         (cosh_test_data): Likewise.
12457         (erf_test_data): Likewise.
12458         (erfc_test_data): Likewise.
12459         (exp_test_data): Likewise.
12460         (exp10_test_data): Likewise.
12461         (exp2_test_data): Likewise.
12462         (expm1_test_data): Likewise.
12463         (hypot_test_data): Likewise.
12464         (j0_test_data): Likewise.
12465         (j1_test_data): Likewise.
12466         (jn_test_data): Likewise.
12467         (lgamma_test_data): Likewise.
12468         (log_test_data): Likewise.
12469         (log10_test_data): Likewise.
12470         (log1p_test_data): Likewise.
12471         (log2_test_data): Likewise.
12472         (pow_test_data): Likewise.
12473         (scalb_test_data): Likewise.
12474         (sin_test_data): Likewise.
12475         (sincos_test_data): Likewise.
12476         (sinh_test_data): Likewise.
12477         (tan_test_data): Likewise.
12478         (tanh_test_data): Likewise.
12479         (tgamma_test_data): Likewise.
12480         (y0_test_data): Likewise.
12481         (y1_test_data): Likewise.
12482         (yn_test_data): Likewise.
12483
12484         [BZ #16167]
12485         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12486         argument being NaN and avoid computations with second argument in
12487         that case.
12488         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12489         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12490         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12491
12492 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12493
12494         * locale/iso-639.def: Add Chitwani Tharu (the).
12495
12496 2013-11-14  Andreas Schwab  <schwab@suse.de>
12497
12498         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12499         word instead of empty string.
12500
12501 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12502
12503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12504         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12506         (__fe_nomask_env): Likewise.
12507
12508 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12509
12510         * benchtests/bench-timing.h: Include time.h.
12511
12512 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12513
12514         [BZ #15997]
12515         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12516         to 3.4.0 for x32.
12517         * sysdeps/unix/sysv/linux/configure: Regenerated.
12518
12519 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12520
12521         [BZ #16151]
12522         * stdlib/strtod_l.c (round_and_return): Do not consider
12523         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12524         exponent one less than half the least subnormal exponent.
12525         * stdlib/test-strtod-round-data: Add more tests.
12526         * stdlib/tst-strtod-round.c (tests): Regenerated.
12527
12528 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12529
12530         [BZ #14143]
12531         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12532         (__fe_mask_env): Likewise.
12533         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12534         libm_hidden_proto and add function prototype.
12535         (__fe_mask_env): Add function prototype.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12537         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12539         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12541         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12542
12543 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12544
12545         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12546         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12547
12548 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12549
12550         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12551         of htab_find_slot().
12552
12553 2013-11-11  David S. Miller  <davem@davemloft.net>
12554
12555         [BZ #16150]
12556         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12557         symbol in the non-vis3 case in static builds.
12558         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12559         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12560         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12561         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12562
12563 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12564
12565         [BZ #387]
12566         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12567         it is empty.
12568
12569 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12570
12571         * benchtests/Makefile: Add bench-strtod.
12572         * benchtests/bench-strtod.c: New file: strtod benchtest
12573
12574 2013-11-11  Andreas Schwab  <schwab@suse.de>
12575
12576         [BZ #16153]
12577         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12578         terminating NUL in key length.
12579
12580 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12581
12582         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12583         Add artificial ODP entry for vDSO symbol for PPC64.
12584         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12585         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12586
12587 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12588
12589         [BZ #15374]
12590         * nss/getent.c (services_keys): Recognize services starting with digit.
12591
12592 2013-11-06  David S. Miller  <davem@davemloft.net>
12593
12594         [BZ #15985]
12595         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12596         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12597
12598 2013-11-06  Will Newton  <will.newton@linaro.org>
12599
12600         * manual/memory.texi (Malloc Examples): Remove register
12601         keyword from examples.
12602
12603 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12604
12605         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12606
12607 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12608
12609         [BZ #6981]
12610         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12611         depending on [__GCC_IEC_559 > 0].
12612         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12613         depending on [__GCC_IEC_559_COMPLEX > 0].
12614
12615 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12616
12617         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12618         to iso-639.def.
12619
12620 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12621
12622         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12623
12624 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12625
12626         [BZ #16112]
12627         * malloc/malloc (malloc_info): Do not handle first bin as
12628         special case.
12629
12630 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12631
12632         * locale/iso-639.def: Add Central Nahuatl (nhn).
12633
12634 2013-11-01  Bruno Haible  <bruno@clisp.org>
12635
12636         [BZ #7003]
12637         * manual/math.texi (BSD Random): Specify range upper bound as
12638         in POSIX.
12639
12640 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12641
12642         * locale/iso-639.def: Add Meadow Mari (mhr).
12643
12644 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12645
12646         [BZ #14752], [BZ #15763]
12647         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12648         Validate name.
12649         * rt/tst_shm.c: Add test for escaping directory.
12650
12651 2013-10-31  Andreas Schwab  <schwab@suse.de>
12652
12653         [BZ #15917]
12654         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12655         followed by 'x' as part of digit sequence.
12656         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12657
12658 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12659
12660         [BZ #16037]
12661         * configure.ac: allow GNU Make 4.0 and greater.
12662         * configure: Regenerated.
12663
12664 2013-10-30  Will Newton  <will.newton@linaro.org>
12665
12666         [BZ #16038]
12667         * malloc/hooks.c (memalign_check): Limit alignment to the
12668         maximum representable power of two.
12669         * malloc/malloc.c (__libc_memalign): Likewise.
12670         * malloc/tst-memalign.c (do_test): Add test for very
12671         large alignment values.
12672         * malloc/tst-posix_memalign.c (do_test): Likewise.
12673
12674 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12675
12676         [BZ #11087]
12677         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12678         (munmap_chunk): Likewise.
12679         (mremap_chunk): Likewise.
12680
12681 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12682
12683         [BZ #15799]
12684         * stdlib/div.c (div): Remove obsolete code.
12685         * stdlib/ldiv.c (ldiv): Likewise.
12686         * stdlib/lldiv.c (lldiv): Likewise.
12687
12688 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12689
12690         [BZ #16071]
12691         * nss/nss_files/files-XXX.c (get_contents_ret): New
12692         enumerator.
12693         (get_contents): New function.
12694         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12695
12696 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12697
12698         * configure.in: Moved to ...
12699         * configure.ac: ... here. Change reference to configure.in
12700         to configure.ac.
12701         * sysdeps/arm/preconfigure.ac: ... here.
12702         configure.in to configure.ac.
12703         * sysdeps/gnu/configure.in: Moved to ...
12704         * sysdeps/gnu/configure.ac: ... here.
12705         * sysdeps/i386/configure.in: Moved to ...
12706         * sysdeps/i386/configure.ac: ... here.
12707         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12708         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12709         * sysdeps/mach/configure.in: Moved to ...
12710         * sysdeps/mach/configure.ac: ... here.
12711         * sysdeps/mach/hurd/configure.in: Moved to ...
12712         * sysdeps/mach/hurd/configure.ac: ... here.
12713         * sysdeps/powerpc/configure.in: Moved to ...
12714         * sysdeps/powerpc/configure.ac: ... here.
12715         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12716         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12717         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12718         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12719         * sysdeps/s390/s390-32/configure.in: Moved to ...
12720         * sysdeps/s390/s390-32/configure.ac: ... here.
12721         * sysdeps/s390/s390-64/configure.in: Moved to ...
12722         * sysdeps/s390/s390-64/configure.ac: ... here.
12723         * sysdeps/sh/configure.in: Moved to ...
12724         * sysdeps/sh/configure.ac: ... here.
12725         * sysdeps/sparc/configure.in: Moved to ...
12726         * sysdeps/sparc/configure.ac: ... here.
12727         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12728         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12729         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12730         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12731         * sysdeps/x86_64/configure.in: Moved to ...
12732         * sysdeps/x86_64/configure.ac: ... here.
12733         * sysdeps/x86_64/preconfigure.in: Moved to ...
12734         * sysdeps/x86_64/preconfigure.ac: ... here.
12735         * aclocal.m4: Change reference to configure.in to configure.ac.
12736         * config.h.in: Likewise.
12737         * manual/install.texi: Likewise.
12738         * manual/maint.texi: Likewise.
12739         * Makefile: Likewise.
12740         * malloc/Makefile: Likewise.
12741         * nscd/Makefile: Likewise.
12742         * Makeconfig: Change reference to configure.in and
12743         preconfigure.in to configure.ac and preconfigure.ac
12744         respectively.
12745         * INSTALL: Regenerated.
12746         * configure: Likewise.
12747         * sysdeps/gnu/configure: Likewise.
12748         * sysdeps/i386/configure: Likewise.
12749         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12750         * sysdeps/mach/configure: Likewise.
12751         * sysdeps/mach/hurd/configure: Likewise.
12752         * sysdeps/powerpc/configure: Likewise.
12753         * sysdeps/powerpc/powerpc32/configure: Likewise.
12754         * sysdeps/powerpc/powerpc64/configure: Likewise.
12755         * sysdeps/s390/s390-32/configure: Likewise.
12756         * sysdeps/s390/s390-64/configure: Likewise.
12757         * sysdeps/sh/configure: Likewise.
12758         * sysdeps/sparc/configure: Likewise.
12759         * sysdeps/unix/sysv/linux/configure: Likewise.
12760         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12761         * sysdeps/x86_64/configure: Likewise.
12762         * sysdeps/x86_64/preconfigure: Likewise.
12763
12764 2013-10-29  Andreas Schwab  <schwab@suse.de>
12765
12766         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12767
12768 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12769
12770         * benchtests/pow-inputs: Add new inputs.
12771
12772         * benchtests/exp-inputs: Add new inputs.
12773
12774         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12775         conditional check for return value.
12776         (__cos32): Likewise.
12777
12778 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12779
12780         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12781         to provide a boost for large inputs with word alignment.
12782         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12783         implementation based on optimized PPC64 strcpy.
12784         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12785         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12786         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12787         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12788
12789 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12790
12791         [BZ #2801]
12792         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12793
12794 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12795
12796         [BZ #14876]
12797         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12798         * time/tst-strptime.c (day_tests): Add testcase.
12799
12800 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12801
12802         [BZ #14029]
12803         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12804
12805 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12806
12807         [BZ #16074]
12808         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12809         MAP_FAILED on error.
12810
12811 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12812
12813         [BZ #16072]
12814         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12815         heap for large requests.
12816
12817 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12818
12819         [BZ #9954]
12820         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12821         result if the result has no associated interface.
12822         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12823         interface for all 127.X.Y.Z addresses.
12824
12825 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12826
12827         * locale/iso-639.def: Add Ligurian (lij)
12828
12829 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12830
12831         [BZ #15825]
12832         * sunrpc/rpc_main.c: Document rpcgen -5.
12833
12834 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12835
12836         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12837
12838 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12839
12840         [BZ #10278]
12841         * posix/glob.c: Match only directories when trailing slash is present.
12842         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12843         (main): Add testcase.
12844
12845 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12846
12847         [BZ #15670]
12848         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12849
12850 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12851
12852         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12853         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12854         AUTH_DES and cindex for FIPS 140-2.
12855         (DES Encryption): Add cindex FIPS 46-3.
12856
12857         * locale/locarchive.h (struct locarhandle): Add fname.
12858         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12859         if an optional argument was specified to --list-archive,
12860         otherwise NULL.
12861         * locale/programs/locarchive.c (show_archive_content): Take new
12862         argument fname and pass it via ah.fname to open_archive.
12863         * locale/programs/localedef.h: Update decl.
12864         (open_archive): If AH->fname is non-null, open that file
12865         rather than the default file name, and don't ignore ENOENT.
12866         (create_archive): Set AH.fname to NULL.
12867         (delete_locales_from_archive): Likewise.
12868         (add_locales_to_archive): Likewise.
12869         * locale/programs/locfile.c (write_all_categories): Likewise.
12870
12871 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12872             Aldy Hernandez  <aldyh@redhat.com>
12873
12874         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12875         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12876         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12877         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12878         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12879         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12880         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12881         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12882         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12883         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12884         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12885         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12886         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12887         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12888         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12889         Likewise.
12890         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12891         Likewise.
12892         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12893         Likewise.
12894         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12895         Likewise.
12896         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12897         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12898         Likewise.
12899         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12900         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12901         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12902         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12903         Likewise.
12904         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12905         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12906         * sysdeps/powerpc/preconfigure: Likewise.
12907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12908         Likewise.
12909         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12910         Replace contents of file by #include of <fenv_libc.h>.
12911         * sysdeps/powerpc/soft-fp/sfp-machine.h
12912         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12913         and <sys/prctl.h>.
12914         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12915         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12916         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12917         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12918         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12919         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12927         Allow copysignl PLT reference to be missing.
12928
12929 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12930             Joseph Myers  <joseph@codesourcery.com
12931
12932         [BZ #15948]
12933         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12934         single character.
12935         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12936
12937 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12938
12939         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12940         * elf/tst-tls1.c: Likewise.
12941         * elf/tst-tls10.h: Likewise.
12942         * elf/tst-tls14.c: Likewise.
12943         * elf/tst-tls2.c: Likewise.
12944         * elf/tst-tls3.c: Likewise.
12945         * elf/tst-tls4.c: Likewise.
12946         * elf/tst-tls5.c: Likewise.
12947         * elf/tst-tls6.c: Likewise.
12948         * elf/tst-tls7.c: Likewise.
12949         * elf/tst-tls8.c: Likewise.
12950         * elf/tst-tls9.c: Likewise.
12951         * elf/tst-tlsmod1.c: Likewise.
12952         * elf/tst-tlsmod13.c: Likewise.
12953         * elf/tst-tlsmod13a.c: Likewise.
12954         * elf/tst-tlsmod14a.c: Likewise.
12955         * elf/tst-tlsmod16a.c: Likewise.
12956         * elf/tst-tlsmod16b.c: Likewise.
12957         * elf/tst-tlsmod2.c: Likewise.
12958         * elf/tst-tlsmod3.c: Likewise.
12959         * elf/tst-tlsmod4.c: Likewise.
12960         * elf/tst-tlsmod5.c: Likewise.
12961         * elf/tst-tlsmod6.c: Likewise.
12962
12963 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12964
12965         [BZ #12486]
12966         * malloc/malloc.c: remove checks for statistics.
12967
12968 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12969
12970         [BZ #15277]
12971         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12972         * inet/tst-network.c: Add testcase.
12973
12974 2013-10-17  Andreas Schwab  <schwab@suse.de>
12975
12976         [BZ #15218]
12977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12978         to determine canonical name.
12979
12980 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12981
12982         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12983         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12984         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12985         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12987         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12988         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12989         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12990         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12991         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12992         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12993         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12994         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12995         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12996         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12997         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12999         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13000         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13001         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13002         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13004         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13005         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13006         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13007         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13008         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13009         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13010         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13011         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13012         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13013         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13014         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13015         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13016         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13017         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13018         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13019         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13020         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13021         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13022         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13023         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13024         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13025         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13026         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13027         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13028         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13029         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13030         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13031         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13032         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13033         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13034         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13035         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13036         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13037         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13038         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13039         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13040
13041 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13042
13043         [BZ #16041]
13044         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13045         make result into a quiet NaN.
13046
13047 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13048
13049         * soft-fp/adddf3.c: Fix horizontal whitespace.
13050         * soft-fp/addsf3.c: Likewise.
13051         * soft-fp/addtf3.c: Likewise.
13052         * soft-fp/divdf3.c: Likewise.
13053         * soft-fp/divsf3.c: Likewise.
13054         * soft-fp/divtf3.c: Likewise.
13055         * soft-fp/double.h: Likewise.
13056         * soft-fp/eqdf2.c: Likewise.
13057         * soft-fp/eqsf2.c: Likewise.
13058         * soft-fp/eqtf2.c: Likewise.
13059         * soft-fp/extenddftf2.c: Likewise.
13060         * soft-fp/extended.h: Likewise.
13061         * soft-fp/extendsfdf2.c: Likewise.
13062         * soft-fp/extendsftf2.c: Likewise.
13063         * soft-fp/extendxftf2.c: Likewise.
13064         * soft-fp/fixdfdi.c: Likewise.
13065         * soft-fp/fixdfsi.c: Likewise.
13066         * soft-fp/fixdfti.c: Likewise.
13067         * soft-fp/fixsfdi.c: Likewise.
13068         * soft-fp/fixsfsi.c: Likewise.
13069         * soft-fp/fixsfti.c: Likewise.
13070         * soft-fp/fixtfdi.c: Likewise.
13071         * soft-fp/fixtfsi.c: Likewise.
13072         * soft-fp/fixtfti.c: Likewise.
13073         * soft-fp/fixunsdfdi.c: Likewise.
13074         * soft-fp/fixunsdfsi.c: Likewise.
13075         * soft-fp/fixunsdfti.c: Likewise.
13076         * soft-fp/fixunssfdi.c: Likewise.
13077         * soft-fp/fixunssfsi.c: Likewise.
13078         * soft-fp/fixunssfti.c: Likewise.
13079         * soft-fp/fixunstfdi.c: Likewise.
13080         * soft-fp/fixunstfsi.c: Likewise.
13081         * soft-fp/fixunstfti.c: Likewise.
13082         * soft-fp/floatdidf.c: Likewise.
13083         * soft-fp/floatdisf.c: Likewise.
13084         * soft-fp/floatditf.c: Likewise.
13085         * soft-fp/floatsidf.c: Likewise.
13086         * soft-fp/floatsisf.c: Likewise.
13087         * soft-fp/floatsitf.c: Likewise.
13088         * soft-fp/floattidf.c: Likewise.
13089         * soft-fp/floattisf.c: Likewise.
13090         * soft-fp/floattitf.c: Likewise.
13091         * soft-fp/floatundidf.c: Likewise.
13092         * soft-fp/floatundisf.c: Likewise.
13093         * soft-fp/floatunditf.c: Likewise.
13094         * soft-fp/floatunsidf.c: Likewise.
13095         * soft-fp/floatunsisf.c: Likewise.
13096         * soft-fp/floatunsitf.c: Likewise.
13097         * soft-fp/floatuntidf.c: Likewise.
13098         * soft-fp/floatuntisf.c: Likewise.
13099         * soft-fp/floatuntitf.c: Likewise.
13100         * soft-fp/fmadf4.c: Likewise.
13101         * soft-fp/fmasf4.c: Likewise.
13102         * soft-fp/fmatf4.c: Likewise.
13103         * soft-fp/gedf2.c: Likewise.
13104         * soft-fp/gesf2.c: Likewise.
13105         * soft-fp/getf2.c: Likewise.
13106         * soft-fp/ledf2.c: Likewise.
13107         * soft-fp/lesf2.c: Likewise.
13108         * soft-fp/letf2.c: Likewise.
13109         * soft-fp/muldf3.c: Likewise.
13110         * soft-fp/mulsf3.c: Likewise.
13111         * soft-fp/multf3.c: Likewise.
13112         * soft-fp/negdf2.c: Likewise.
13113         * soft-fp/negsf2.c: Likewise.
13114         * soft-fp/negtf2.c: Likewise.
13115         * soft-fp/op-1.h: Likewise.
13116         * soft-fp/op-2.h: Likewise.
13117         * soft-fp/op-4.h: Likewise.
13118         * soft-fp/op-8.h: Likewise.
13119         * soft-fp/op-common.h: Likewise.
13120         * soft-fp/quad.h: Likewise.
13121         * soft-fp/single.h: Likewise.
13122         * soft-fp/soft-fp.h: Likewise.
13123         * soft-fp/sqrtdf2.c: Likewise.
13124         * soft-fp/sqrtsf2.c: Likewise.
13125         * soft-fp/sqrttf2.c: Likewise.
13126         * soft-fp/subdf3.c: Likewise.
13127         * soft-fp/subsf3.c: Likewise.
13128         * soft-fp/subtf3.c: Likewise.
13129         * soft-fp/truncdfsf2.c: Likewise.
13130         * soft-fp/trunctfdf2.c: Likewise.
13131         * soft-fp/trunctfsf2.c: Likewise.
13132         * soft-fp/trunctfxf2.c: Likewise.
13133         * soft-fp/unorddf2.c: Likewise.
13134         * soft-fp/unordsf2.c: Likewise.
13135         * soft-fp/unordtf2.c: Likewise.
13136
13137 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13138
13139         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13140         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13141
13142 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13143
13144         * elf/dl-libc.c: Clear initfini list after freeing.
13145
13146 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13147
13148         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13149         * soft-fp/addsf3.c: Likewise.
13150         * soft-fp/addtf3.c: Likewise.
13151         * soft-fp/divdf3.c: Likewise.
13152         * soft-fp/divsf3.c: Likewise.
13153         * soft-fp/divtf3.c: Likewise.
13154         * soft-fp/double.h: Likewise.
13155         * soft-fp/eqdf2.c: Likewise.
13156         * soft-fp/eqsf2.c: Likewise.
13157         * soft-fp/eqtf2.c: Likewise.
13158         * soft-fp/extenddftf2.c: Likewise.
13159         * soft-fp/extended.h: Likewise.
13160         * soft-fp/extendsfdf2.c: Likewise.
13161         * soft-fp/extendsftf2.c: Likewise.
13162         * soft-fp/extendxftf2.c: Likewise.
13163         * soft-fp/fixdfdi.c: Likewise.
13164         * soft-fp/fixdfsi.c: Likewise.
13165         * soft-fp/fixdfti.c: Likewise.
13166         * soft-fp/fixsfdi.c: Likewise.
13167         * soft-fp/fixsfsi.c: Likewise.
13168         * soft-fp/fixsfti.c: Likewise.
13169         * soft-fp/fixtfdi.c: Likewise.
13170         * soft-fp/fixtfsi.c: Likewise.
13171         * soft-fp/fixtfti.c: Likewise.
13172         * soft-fp/fixunsdfdi.c: Likewise.
13173         * soft-fp/fixunsdfsi.c: Likewise.
13174         * soft-fp/fixunsdfti.c: Likewise.
13175         * soft-fp/fixunssfdi.c: Likewise.
13176         * soft-fp/fixunssfsi.c: Likewise.
13177         * soft-fp/fixunssfti.c: Likewise.
13178         * soft-fp/fixunstfdi.c: Likewise.
13179         * soft-fp/fixunstfsi.c: Likewise.
13180         * soft-fp/fixunstfti.c: Likewise.
13181         * soft-fp/floatdidf.c: Likewise.
13182         * soft-fp/floatdisf.c: Likewise.
13183         * soft-fp/floatditf.c: Likewise.
13184         * soft-fp/floatsidf.c: Likewise.
13185         * soft-fp/floatsisf.c: Likewise.
13186         * soft-fp/floatsitf.c: Likewise.
13187         * soft-fp/floattidf.c: Likewise.
13188         * soft-fp/floattisf.c: Likewise.
13189         * soft-fp/floattitf.c: Likewise.
13190         * soft-fp/floatundidf.c: Likewise.
13191         * soft-fp/floatundisf.c: Likewise.
13192         * soft-fp/floatunsidf.c: Likewise.
13193         * soft-fp/floatunsisf.c: Likewise.
13194         * soft-fp/floatuntidf.c: Likewise.
13195         * soft-fp/floatuntisf.c: Likewise.
13196         * soft-fp/floatuntitf.c: Likewise.
13197         * soft-fp/fmadf4.c: Likewise.
13198         * soft-fp/fmasf4.c: Likewise.
13199         * soft-fp/fmatf4.c: Likewise.
13200         * soft-fp/gedf2.c: Likewise.
13201         * soft-fp/gesf2.c: Likewise.
13202         * soft-fp/getf2.c: Likewise.
13203         * soft-fp/ledf2.c: Likewise.
13204         * soft-fp/lesf2.c: Likewise.
13205         * soft-fp/letf2.c: Likewise.
13206         * soft-fp/muldf3.c: Likewise.
13207         * soft-fp/mulsf3.c: Likewise.
13208         * soft-fp/multf3.c: Likewise.
13209         * soft-fp/negdf2.c: Likewise.
13210         * soft-fp/negsf2.c: Likewise.
13211         * soft-fp/negtf2.c: Likewise.
13212         * soft-fp/op-1.h: Likewise.
13213         * soft-fp/op-2.h: Likewise.
13214         * soft-fp/op-4.h: Likewise.
13215         * soft-fp/op-8.h: Likewise.
13216         * soft-fp/op-common.h: Likewise.
13217         * soft-fp/quad.h: Likewise.
13218         * soft-fp/single.h: Likewise.
13219         * soft-fp/soft-fp.h: Likewise.
13220         * soft-fp/sqrtdf2.c: Likewise.
13221         * soft-fp/sqrtsf2.c: Likewise.
13222         * soft-fp/sqrttf2.c: Likewise.
13223         * soft-fp/subdf3.c: Likewise.
13224         * soft-fp/subsf3.c: Likewise.
13225         * soft-fp/subtf3.c: Likewise.
13226         * soft-fp/truncdfsf2.c: Likewise.
13227         * soft-fp/trunctfdf2.c: Likewise.
13228         * soft-fp/trunctfsf2.c: Likewise.
13229         * soft-fp/trunctfxf2.c: Likewise.
13230         * soft-fp/unorddf2.c: Likewise.
13231         * soft-fp/unordsf2.c: Likewise.
13232         * soft-fp/unordtf2.c: Likewise.
13233
13234 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13235
13236         [BZ #15672]
13237         * misc/error.c (error_tail): Fix possible buffer overflow.
13238
13239 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13240
13241         [BZ #13028]
13242         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13243         address.
13244
13245 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13246
13247         [BZ #832]
13248         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13249         testing pipefail option.
13250
13251 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13252
13253         * soft-fp/double.h: Indent preprocessor directives inside #if.
13254         * soft-fp/extended.h: Likewise.
13255         * soft-fp/op-2.h: Likewise.
13256         * soft-fp/op-4.h: Likewise.
13257         * soft-fp/op-common.h: Likewise.
13258         * soft-fp/quad.h: Likewise.
13259         * soft-fp/single.h: Likewise.
13260         * soft-fp/soft-fp.h: Likewise.
13261
13262 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13263
13264         * iconv/iconv_prog.c: Fix typos.
13265         * stdio-common/psiginfo-data.h: Likewise.
13266
13267 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13268
13269         [BZ #15764]
13270         * locale/setlocale.c: Fix typo.
13271
13272 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13273
13274         [BZ #16036]
13275         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13276         signaling NaN arguments.
13277         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13278         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13279
13280         [BZ #14910]
13281         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13282         unordered operands.
13283         * soft-fp/gesf2.c (__gesf2): Likewise.
13284         * soft-fp/getf2.c (__getf2): Likewise.
13285         * soft-fp/ledf2.c (__ledf2): Likewise.
13286         * soft-fp/lesf2.c (__lesf2): Likewise.
13287         * soft-fp/letf2.c (__letf2): Likewise.
13288
13289         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13290         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13291         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13292         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13293         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13294         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13295         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13296         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13297         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13298         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13299         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13300         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13301         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13302         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13303         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13304         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13305         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13306         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13307         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13308         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13309         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13310         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13311         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13312         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13313         * soft-fp/floattidf.c (__floattidf): Likewise.
13314         * soft-fp/floattisf.c (__floattisf): Likewise.
13315         * soft-fp/floattitf.c (__floattitf): Likewise.
13316         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13317         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13318         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13319         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13320         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13321         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13322         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13323         * soft-fp/gesf2.c (__gesf2): Likewise.
13324         * soft-fp/getf2.c (__getf2): Likewise.
13325         * soft-fp/ledf2.c (__ledf2): Likewise.
13326         * soft-fp/lesf2.c (__lesf2): Likewise.
13327         * soft-fp/letf2.c (__letf2): Likewise.
13328
13329         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13330         Undefine and redefine.
13331         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13332         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13333         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13334         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13335         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13336         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13337         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13338         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13339         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13340         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13341         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13342         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13343         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13344         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13345         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13346
13347         [BZ #16032]
13348         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13349         without decrementing exponent if mantissa >= that for the
13350         denominator, not >.
13351         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13352         denominator, not >.  Decrement exponent in < case instead of
13353         incrementing in >= case.
13354         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13355         without decrementing exponent if mantissa >= that for the
13356         denominator, not >.
13357
13358         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13359         computing saturated result for unsigned overflow.
13360
13361 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13362             Jeff Law  <law@redhat.com>
13363
13364         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13365         (atan2Mp): Add systemtap probe marker.
13366         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13367         (__ieee754_log): Add systemtap probe marker.
13368         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13369         (atanMp): Add systemtap probe marker.
13370         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13371         (tanMp): Add systemtap probe marker.
13372         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13373         (__slowexp): Add systemtap probe marker.
13374         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13375         (__slowpow): Add systemtap probe marker.
13376         * manual/probes.texi: Document probes.
13377
13378 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13379
13380         [BZ #15362]
13381         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13382         written.
13383         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13384         written.
13385         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13386         written to buffer but not flushed.
13387         * libio/iofwrite_u.c:  Likewise.
13388         * libio/iopadn.c:  Return bytes returned even if EOF was
13389         encountered.
13390         * libio/iowpadn.c:  Likewise.
13391         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13392         if _IO_padn does not write the whole buffer.
13393         [!COMPILE_WPRINTF] (PAD): Likewise.
13394
13395 2013-10-10  David S. Miller  <davem@davemloft.net>
13396
13397         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13398         directory block.
13399
13400 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13401
13402         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13403         instead of FSF address.
13404         * soft-fp/fixdfti.c: Likewise.
13405         * soft-fp/fixsfti.c: Likewise.
13406         * soft-fp/fixtfti.c: Likewise.
13407         * soft-fp/fixunsdfti.c: Likewise.
13408         * soft-fp/fixunssfti.c: Likewise.
13409         * soft-fp/fixunstfti.c: Likewise.
13410         * soft-fp/floattidf.c: Likewise.
13411         * soft-fp/floattisf.c: Likewise.
13412         * soft-fp/floattitf.c: Likewise.
13413         * soft-fp/floatuntidf.c: Likewise.
13414         * soft-fp/floatuntisf.c: Likewise.
13415         * soft-fp/floatuntitf.c: Likewise.
13416         * soft-fp/trunctfxf2.c: Likewise.
13417
13418         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13419         * soft-fp/fixdfti.c: Likewise.
13420         * soft-fp/fixsfti.c: Likewise.
13421         * soft-fp/fixtfti.c: Likewise.
13422         * soft-fp/fixunsdfti.c: Likewise.
13423         * soft-fp/fixunssfti.c: Likewise.
13424         * soft-fp/fixunstfti.c: Likewise.
13425         * soft-fp/floattidf.c: Likewise.
13426         * soft-fp/floattisf.c: Likewise.
13427         * soft-fp/floattitf.c: Likewise.
13428         * soft-fp/floatuntidf.c: Likewise.
13429         * soft-fp/floatuntisf.c: Likewise.
13430         * soft-fp/floatuntitf.c: Likewise.
13431         * soft-fp/trunctfxf2.c: Likewise.
13432
13433 2013-10-10  David S. Miller  <davem@davemloft.net>
13434
13435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13436
13437 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13438
13439         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13440         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13441         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13442         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13443         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13444         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13445         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13446
13447         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13448         for NaNs before doing comparisons on argument.
13449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13450         Likewise.
13451
13452 2013-10-10  Will Newton  <will.newton@linaro.org>
13453
13454         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13455         passed to _int_memalign does not overflow.
13456
13457 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13458
13459         * scripts/bench.pl: Add include-sources directive.
13460         * benchtests/README: Update documentation.
13461
13462 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13463
13464         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13465         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13466         instead of FP_INIT_ROUNDMODE.
13467         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13468         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13469
13470         [BZ #16034]
13471         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13472         copy class of input value.
13473         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13474         not handle exceptions.
13475         * soft-fp/negsf2.c (__negsf2): Likewise.
13476         * soft-fp/negtf2.c (__negtf2): Likewise.
13477         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13478
13479 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13480
13481         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13482         semicolon.  From Linux kernel.
13483
13484 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13485
13486         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13487
13488 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13489
13490         [BZ #156]
13491         * manual/socket.texi: Added statement about buffer
13492         for gethostbyname2_r.
13493
13494 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13495
13496         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13497         Use .p2align directive instead, throughout.
13498         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13499         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13500         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13501         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13502         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13503         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13504         * sysdeps/x86_64/strchr.S: Likewise.
13505         * sysdeps/x86_64/strrchr.S: Likewise.
13506
13507 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13508
13509         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13510
13511         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13512
13513         * sysdeps/generic/math_private.h (__mpsin1): Remove
13514         declaration.
13515         (__mpcos1): Likewise.
13516         (__mpsin): New argument __range_reduce.
13517         (__mpcos): Likewise.
13518         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13519         (slow): Use __mpsin and __mpcos.
13520         (slow1): Likewise.
13521         (slow2): Likewise.
13522         (sloww): Likewise.
13523         (sloww1): Likewise.
13524         (sloww2): Likewise.
13525         (bsloww): Likewise.
13526         (bsloww1): Likewise.
13527         (bsloww2): Likewise.
13528         (cslow2): Likewise.
13529         (csloww): Likewise.
13530         (csloww1): Likewise.
13531         (csloww2): Likewise.
13532         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13533         range_reduce.  Merge in __mpsin1.
13534         (__mpcos): Likewise.
13535         (__mpsin1): Remove.
13536         (__mpcos1): Likewise.
13537
13538 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13539
13540         * locale/loadlocale.c (_nl_intern_locale_data): Use
13541         LOCFILE_ALIGNED_P.
13542         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13543         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13544         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13545         obstack data is appropriately aligned.
13546         (obstack_int32_grow_fast): Likewise.
13547         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13548         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13549         (add_locale_uint32_array): Likewise.
13550
13551 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13552
13553         * benchtests/Makefile: Remove ARGLIST and RET variables.
13554         ($(objpfx)bench-%.c): Pass only function name to the script.
13555         * benchtests/README: Update documentation.
13556         * benchtests/acos-inputs: Add new directives.
13557         * benchtests/acosh-inputs: Likewise.
13558         * benchtests/asin-inputs: Likewise.
13559         * benchtests/asinh-inputs: Likewise.
13560         * benchtests/atan-inputs: Likewise.
13561         * benchtests/atanh-inputs: Likewise.
13562         * benchtests/cos-inputs: Likewise.
13563         * benchtests/cosh-inputs: Likewise.
13564         * benchtests/exp-inputs: Likewise.
13565         * benchtests/log-inputs: Likewise.
13566         * benchtests/pow-inputs: Likewise.
13567         * benchtests/rint-inputs: Likewise.
13568         * benchtests/sin-inputs: Likewise.
13569         * benchtests/sinh-inputs: Likewise.
13570         * benchtests/tan-inputs: Likewise.
13571         * benchtests/tanh-inputs: Likewise.
13572         * scripts/bench.pl: Add support for new directives.
13573
13574 2013-10-07  Alan Modra  <amodra@gmail.com>
13575
13576         * README: Fix careless merge.
13577
13578 2013-10-05  Alan Modra  <amodra@gmail.com>
13579
13580         * NEWS: Mention powerpc64le support and bugs fixed.
13581         * README: Both big-endian and little-endian powerpc64 supported.
13582
13583 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13584
13585         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13586         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13587         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13588         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13589
13590 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13591
13592         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13593         match prototype.
13594
13595 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13596
13597         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13598         Move -mhard-float appending from
13599         ports/sysdeps/powerpc/powerpc32/Makefile.
13600         [$(with-fp) = yes] (ASFLAGS): Likewise.
13601         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13602         * sysdeps/powerpc/nofpu: Move directory from
13603         ports/sysdeps/powerpc/nofpu.
13604         * sysdeps/powerpc/soft-fp: Move directory from
13605         ports/sysdeps/powerpc/soft-fp.
13606         * sysdeps/powerpc/powerpc32/405: Move directory from
13607         ports/sysdeps/powerpc/powerpc32/405.
13608         * sysdeps/powerpc/powerpc32/440: Move directory from
13609         ports/sysdeps/powerpc/powerpc32/440.
13610         * sysdeps/powerpc/powerpc32/464: Move directory from
13611         ports/sysdeps/powerpc/powerpc32/464.
13612         * sysdeps/powerpc/powerpc32/476: Move directory from
13613         ports/sysdeps/powerpc/powerpc32/476.
13614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13615         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13617         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13619         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13621         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13623         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13624         * README: Update for powerpc-*-linux-gnu software floating point
13625         support in libc.
13626
13627         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13628         case to powerpc/powerpc32*.
13629         * sysdeps/unix/sysv/linux/configure: Regenerated.
13630
13631         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13632         (_FPU_MASK_OM): Define as 0x04.
13633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13635         0x00c10080.
13636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13637         0x0000003c.
13638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13639
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13641         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13642         getcontext_e500.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13644         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13645         setcontext_e500.
13646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13647         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13648         and setcontext_e500.
13649
13650 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13651
13652         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13653
13654 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13655
13656         * manual/threads.texi (Default Thread Attributes): Fix typo.
13657
13658 2013-10-04  Will Newton  <will.newton@linaro.org>
13659
13660         * malloc/Makefile: Add tst-memalign.
13661         * malloc/tst-memalign.c: New file.
13662
13663         * malloc/tst-posix_memalign.c: Add comments.
13664         (do_test): Add comments and call free on all potentially
13665         allocated pointers. Add space after cast.
13666
13667         * malloc/tst-pvalloc.c: Add comments.
13668         (do_test): Add comments and call free on all potentially
13669         allocated pointers. Remove duplicate check for NULL pointer.
13670         Add space after cast.
13671
13672         * malloc/tst-valloc.c: Add comments.
13673         (do_test): Add comments and call free on all potentially
13674         allocated pointers. Remove duplicate check for NULL pointer.
13675         Add space after cast.
13676
13677 2013-10-04  Alan Modra  <amodra@gmail.com>
13678
13679         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13680         Use stdint types in rather than __attribute__((mode())).
13681         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13682
13683 2013-10-04  Alan Modra  <amodra@gmail.com>
13684
13685         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13686         Correct handling of unaligned relocs for little-endian.
13687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13688
13689 2013-10-04  Alan Modra  <amodra@gmail.com>
13690
13691         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13692         * configure: Regenerate.
13693         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13694         * shlib-versions: Likewise.
13695
13696 2013-10-04  Alan Modra  <amodra@gmail.com>
13697
13698         * string/tester.c (test_memrchr): Increment reported test cycle.
13699
13700 2013-10-04  Alan Modra  <amodra@gmail.com>
13701
13702         * string/test-memcpy.c (do_one_test): When reporting errors, print
13703         string address and don't overrun end of string.
13704
13705 2013-10-04  Alan Modra  <amodra@gmail.com>
13706
13707         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13708         insrdi.  Make better use of reg selection to speed exit slightly.
13709         Schedule entry path a little better.  Remove useless "are we done"
13710         checks on entry to main loop.  Handle wrapping around zero address.
13711         Correct main loop count.  Handle single left-over word from main
13712         loop inline rather than by using loop_small.  Remove extra word
13713         case in loop_small caused by wrong loop count.  Add little-endian
13714         support.
13715         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13716         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13717         cache hint.
13718         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13719         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13720         support.  Avoid rlwimi.
13721         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13722
13723 2013-10-04  Alan Modra  <amodra@gmail.com>
13724
13725         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13726         insrdi.  Formatting.
13727         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13728         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13729         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13730         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13731         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13732         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13733
13734 2013-10-04  Alan Modra  <amodra@gmail.com>
13735
13736         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13737         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13738         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13739         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13740         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13741         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13742         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13743         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13744         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13745         use of regs.  Use power7 mtocrf.  Tidy function tails.
13746
13747 2013-10-04  Alan Modra  <amodra@gmail.com>
13748
13749         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13750         Formatting.  Consistently use rXXX register defines or rN defines.
13751         Use early exit labels that avoid restoring unused non-volatile regs.
13752         Make cr field use more consistent with rWORDn compares.  Rename
13753         regs used as shift registers for unaligned loop, using rN defines
13754         for short lifetime/multiple use regs.
13755         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13756         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13757         addi 1,1,64 to pop stack frame.  Simplify return value code.
13758         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13759
13760 2013-10-04  Alan Modra  <amodra@gmail.com>
13761
13762         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13763         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13764         rather than rlwimi.
13765         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13766         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13767         little-endian support.  Correct typos.
13768         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13769         rather than rlwimi.
13770         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13771         in loop and entry code to keep "and." results.
13772         (strchr): Add little-endian support.  Comment.  Move cntlzd
13773         earlier in tail.
13774         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13775
13776 2013-10-04  Alan Modra  <amodra@gmail.com>
13777
13778         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13779         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13780         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13781         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13782
13783 2013-10-04  Alan Modra  <amodra@gmail.com>
13784
13785         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13786         (rTMP): Define as r11.
13787         (strcmp): Add little-endian support.  Optimise tail.
13788         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13789         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13790         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13791         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13792         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13793         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13794         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13795
13796 2013-10-04  Alan Modra  <amodra@gmail.com>
13797
13798         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13799         little-endian support.  Remove unnecessary "are we done" tests.
13800         Handle "s" wrapping around zero and extremely large "size".
13801         Correct main loop count.  Handle single left-over word from main
13802         loop inline rather than by using small_loop.  Correct comments.
13803         Delete "zero" tail, use "end_max" instead.
13804         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13805
13806 2013-10-04  Alan Modra  <amodra@gmail.com>
13807
13808         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13809         support.  Don't branch over align.
13810         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13811         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13812         support.  Rearrange tmp reg use to suit.  Comment.
13813         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13814
13815 2013-10-04  Alan Modra  <amodra@gmail.com>
13816
13817         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13818
13819 2013-10-04  Alan Modra  <amodra@gmail.com>
13820
13821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13822         conditional form of branch and link when obtaining pc.
13823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13824
13825 2013-10-04  Alan Modra  <amodra@gmail.com>
13826
13827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13828         HIWORD/LOWORD.
13829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13831
13832 2013-10-04  Alan Modra  <amodra@gmail.com>
13833
13834         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13835         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13836         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13837         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13838         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13839         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13840         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13841         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13842         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13843         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13844
13845 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13846             Alistair Popple <alistair@ozlabs.au.ibm.com>
13847             Alan Modra <amodra@gmail.com>
13848
13849         [BZ #15723]
13850         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13851         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13852         _dl_hwcap access for little-endian.
13853         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13854         destroy vmx regs when saving unaligned.
13855         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13856         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13857         destroy vmx regs when saving unaligned.
13858
13859 2013-10-04  Alan Modra  <amodra@gmail.com>
13860
13861         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13862         Don't use a union to pack hi/low value.
13863
13864 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13865
13866         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13867         for little-endian.
13868         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13869         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13870         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13871         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13872         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13873
13874 2013-10-04  Alan Modra  <amodra@gmail.com>
13875
13876         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13877         constants to usual value for .cst8 section, and remove redundant
13878         high address load.
13879         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13880         constant for 0x1p52.  Load little-endian words of double from
13881         correct stack offsets.
13882
13883 2013-10-04  Alan Modra  <amodra@gmail.com>
13884
13885         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13886         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13887         words of double from correct stack offsets.
13888         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13889         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13890         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13891         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13892         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13893         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13894         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13895         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13896         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13897         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13898         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13899         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13900         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13901         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13902         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13903         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13904         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13905
13906 2013-10-04  Alan Modra  <amodra@gmail.com>
13907
13908         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13909         64-bit int/double union.
13910         (_FPU_SETCW): Likewise.
13911         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13912         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13913
13914 2013-10-04  Alan Modra  <amodra@gmail.com>
13915
13916         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13917         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13918
13919 2013-10-04  Alan Modra  <amodra@gmail.com>
13920
13921         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13922         use vector int constants.
13923         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13924
13925 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13926
13927         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13928         array with long long.
13929         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13930         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13931         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13932         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13933         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13934         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13935         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13936         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13937         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13938         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13939         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13940         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13941         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13942
13943 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13944
13945         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13946         (__signbit): Likewise.  Correct for little-endian.
13947         (__signbitl): Call __signbit.
13948         (lrint): Correct for little-endian.
13949         (lrintf): Call lrint.
13950
13951 2013-10-04  Alan Modra  <amodra@gmail.com>
13952
13953         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13954         union 32-bit int array member with 64-bit int array.
13955         (t515, tm256): Double rather than long double.
13956         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13957
13958 2013-10-04  Alan Modra  <amodra@gmail.com>
13959
13960         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13961         Delete.
13962         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13964         version of math_ldbl.h.
13965
13966 2013-10-04  Alan Modra  <amodra@gmail.com>
13967
13968         [BZ #15734], [BZ #15735]
13969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13970         all uses of ieee875 long double macros and unions.  Simplify test
13971         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13972         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13973         normalize after ldbl_extract_mantissa, and don't add hidden bit
13974         already handled.  Don't treat low word of ieee854 mantissa like
13975         low word of IBM long double and mask off bit when testing for
13976         zero.
13977         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13978         all uses of ieee875 long double macros and unions.  Simplify tests
13979         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13980         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13981         two1022, instead use their values.  Recognise that tests for large
13982         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13983         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13984         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13985         test for 0.0L and nan.  Correct negation.
13986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13987         ieee875 long double macros and unions.  Correct output for large
13988         magnitude x.  Correct absolute value calculation.
13989         (__erfcl): Likewise.
13990         * math/libm-test.inc: Add tests for errors discovered in IBM long
13991         double versions of fmodl, remainderl, erfl and erfcl.
13992
13993 2013-10-04  Alan Modra  <amodra@gmail.com>
13994
13995         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13996         all uses of ieee854 long double macros and unions.  Simplify tests
13997         for long doubles that are fully specified by the high double.
13998         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13999         Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14001         Remove dead code too.
14002         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14003         (__ieee754_ynl): Likewise.
14004         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14005         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14006         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14007         Remove dead code too.
14008         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14009         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14010         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14011         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14012         Simplify.
14013         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14014         Simplify.
14015         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14016         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14017         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14018         Comment on variable precision.
14019         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14020         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14021         Likewise.
14022         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14023         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14024         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14025         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14026         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14027
14028 2013-10-04  Alan Modra  <amodra@gmail.com>
14029
14030         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14031         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14032         all uses of ieee854 long double macros and unions.
14033         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14034         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14035         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14036         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14037         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14038         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14039         Likewise.
14040         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14041         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14042         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14043         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14044         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14045         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14046         Simplify sign and nan test too.
14047         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14048         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14049         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14050         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14051         Likewise.
14052         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14053         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14054         Likewise.
14055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14056         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14057         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14058         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14059         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14061
14062 2013-10-04  Alan Modra  <amodra@gmail.com>
14063
14064         * stdio-common/printf_size.c (__printf_size): Don't use
14065         union ieee854_long_double in fpnum union.
14066         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14067         signbit macro to retrieve sign from long double.
14068         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14069         retrieve sign from long double.
14070         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14071         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14072         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14073         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14074         * math/test-misc.c (main): Don't use union ieee854_long_double.
14075
14076 2013-10-04  Alan Modra  <amodra@gmail.com>
14077
14078         [BZ #15680]
14079         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14080         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14081         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14082         calculation.  Remove unnecessary test for denormal exponent.
14083         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14084         Correct handling of denormals.  Avoid undefined shift behaviour.
14085         Correct normalisation of low mantissa when low double is denormal.
14086         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14087         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14088         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14089         Correct normalisation of low mantissa.  Test for overflow of high
14090         mantissa and normalise.
14091         (ldbl_nearbyint): Use more readable constant for two52.
14092         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14093         (__mpn_construct_long_double): Fix test for overflow of high
14094         mantissa and correct normalisation.  Avoid undefined shift.
14095
14096 2013-10-04  Alan Modra  <amodra@gmail.com>
14097
14098         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14099         (union ibm_extended_long_double): Define as an array of ieee754_double.
14100         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14101         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14102         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14103         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14104         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14105         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14106         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14107         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14108         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14110         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14111
14112 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14113
14114         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14115         page size instead of calling getpagesize.
14116
14117         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14118         (LOCFILE_ALIGN_MASK): Likewise.
14119         (LOCFILE_ALIGN_UP): Likewise.
14120         (LOCFILE_ALIGNED_P): Likewise.
14121         * locale/programs/ld-collate.c (collate_output): Use the new
14122         macros instead of __alignof__ (int32_t).
14123         * locale/weight.h (findidx): Likewise.
14124
14125 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14126
14127         [BZ #431]
14128         * manual/string.texi: Fix strncat and wcsncat.
14129
14130 2013-10-03  Brooks Moses  <bmoses@google.com>
14131
14132         [BZ #15915]
14133         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14134         * Makerules: ...here, and adjust associated comments.
14135
14136 2013-10-02  Will Newton  <will.newton@linaro.org>
14137
14138         * malloc/Makefile: Add tst-pvalloc.
14139         * malloc/tst-pvalloc.c: New file.
14140
14141 2013-10-02  Will Newton  <will.newton@linaro.org>
14142
14143         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14144         improve test coverage.
14145
14146 2013-10-02  Will Newton  <will.newton@linaro.org>
14147
14148         * malloc/Makefile: Add tst-posix_memalign.
14149         * malloc/tst-posix_memalign.c: New file.
14150
14151 2013-10-01  Eric Blake  <eblake@redhat.com>
14152
14153         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14154         Use __THROWNL rather than __THROW on static functions.
14155
14156 2013-09-30  Petr Machata  <pmachata@redhat.com>
14157
14158         * elf/elf.h (R_AARCH64_ABS16): New macro.
14159         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14160         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14161         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14162         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14163         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14164         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14165         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14166         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14167         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14168         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14169         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14170         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14171         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14172         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14173         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14174         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14175         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14176         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14177         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14178         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14179         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14180         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14181         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14182         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14183         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14184         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14185         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14186         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14187         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14188         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14189         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14190         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14191         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14192         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14193         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14194         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14195         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14196         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14197         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14198         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14199         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14200         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14201         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14202         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14203         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14204         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14205         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14206         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14207         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14208         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14209         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14210         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14211         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14212         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14213         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14214         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14215         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14216         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14217         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14218         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14219         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14220         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14221         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14222         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14223         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14224         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14225         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14226         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14227         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14228         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14229         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14230         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14231         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14232         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14233         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14234         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14235         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14236         (R_AARCH64_TLSDESC_LDR): Likewise.
14237         (R_AARCH64_TLSDESC_ADD): Likewise.
14238         (R_AARCH64_TLSDESC_CALL): Likewise.
14239
14240 2013-09-30  Andreas Schwab  <schwab@suse.de>
14241
14242         [BZ #15048]
14243         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14244         the nss database lookup.
14245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14247
14248 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14249
14250         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14251
14252 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14253
14254         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14255         ${Bash-specific parameter/pattern/string} parameter expansion.
14256         * sysdeps/unix/make-syscalls.sh: Likewise.
14257
14258 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14259
14260         * sysdeps/sh/stackguard-macros.h: New file.
14261
14262 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14263
14264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14266         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14267         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14268         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14269         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14270
14271 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14272
14273         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14274         Fix thread ID register.
14275
14276 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14277
14278         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14279         [POSIX || UNIX98]: Require rather than permitting all symbols from
14280         <time.h>.
14281         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14282         element of struct sched_param.
14283         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14284         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14285         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14286         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14287         constant.
14288
14289 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14290
14291         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14292         argument calculation.
14293
14294 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14295
14296         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14297         Expect macro.
14298         [POSIX] (pthread_attr_t): Do not require type.
14299         [POSIX] (pthread_cond_t): Likewise.
14300         [POSIX] (pthread_condattr_t): Likewise.
14301         [POSIX] (pthread_key_t): Likewise.
14302         [POSIX] (pthread_mutex_t): Likewise.
14303         [POSIX] (pthread_mutexattr_t): Likewise.
14304         [POSIX] (pthread_once_t): Likewise.
14305         [POSIX] (pthread_t): Likewise.
14306         [POSIX-based standards] (pthread_atfork): Expect function.
14307
14308 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14309             Richard Sandiford  <richard@codesourcery.com>
14310
14311         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14312         (swap_endianness_p): New extern variable.
14313         (set_big_endian): New inline function.
14314         (maybe_swap_uint32): Likewise.
14315         (maybe_swap_uint32_array): Likewise.
14316         (maybe_swap_uint32_obstack): Likewise.
14317         * locale/programs/locfile.c: Include <stdbool.h>.
14318         (swap_endianness_p): New variable.
14319         (add_locale_uint32): Call maybe_swap_uint32.
14320         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14321         (write_locale_data): Call maybe_swap_uint32_array.
14322         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14323         maybe_swap_uint32.
14324         (obstack_int32_grow_fast): Likewise.
14325         (output_weightwc): Call maybe_swap_uint32_obstack.
14326         (collate_output): Likewise.
14327         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14328         (OPT_LITTLE_ENDIAN): Likewise.
14329         (options): Add --little-endian and --big-endian options.
14330         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14331         * locale/programs/locarchive.c: Include "locfile.h".
14332         (GET): New macro.
14333         (SET): Likewise.
14334         (INC): Likewise.
14335         (create_archive): Use the new macros to access fields of
14336         structures directly mapped from or written to locale archives.
14337         (oldlocrecentcmp): Likewise.
14338         (enlarge_archive): Likewise.
14339         (insert_name): Likewise.
14340         (add_alias): Likewise.
14341         (add_locale): Likewise.
14342         (delete_locales_from_archive): Likewise.
14343         (show_archive_content): Likewise.
14344         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14345         locale data.
14346
14347 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14348
14349         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14350         http://www.gnu.org/doc/freemanuals.texi.
14351         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14352
14353 2013-09-24  Will Newton  <will.newton@linaro.org>
14354
14355         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14356         macro.
14357
14358 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14359
14360         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14361         unsigned char.
14362
14363 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14364
14365         * manual/threads.texi (POSIX Threads): Fix a typo.
14366
14367 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14368
14369         [BZ #14547]
14370         * string/tst-strcoll-overflow.c: New test case.
14371         * string/Makefile (xtests): Add tst-strcoll-overflow.
14372         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14373         cache if string sizes may cause integer overflow.
14374
14375         [BZ #14547]
14376         * string/strcoll_l.c (coll_seq): New members rule, idx,
14377         save_idx and back_us.
14378         (get_next_seq_nocache): New function.
14379         (do_compare_nocache): New function.
14380         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14381         when malloc fails.
14382
14383 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14384
14385         [BZ #15754]
14386         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14387         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14388         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14389
14390         [BZ #15754]
14391         * elf/Makefile (tests): Add tst-ptrguard1.
14392         (tests-static): Add tst-ptrguard1-static.
14393         (tst-ptrguard1-ARGS): Define.
14394         (tst-ptrguard1-static-ARGS): Define.
14395         * elf/tst-ptrguard1.c: New file.
14396         * elf/tst-ptrguard1-static.c: New file.
14397         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14398         * sysdeps/i386/stackguard-macros.h: Likewise.
14399         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14400         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14401         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14402         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14403         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14404         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14405
14406 2013-09-23  Hector Marco  <hecmargi@upv.es>
14407             Ismael Ripoll  <iripoll@disca.upv.es>
14408             Carlos O'Donell  <carlos@redhat.com>
14409
14410         [BZ #15754]
14411         * sysdeps/generic/stackguard-macros.h: Define
14412         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14413         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14414         Define __pointer_chk_guard_local.
14415         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14416         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14417
14418 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14419
14420         [BZ #15859]
14421         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14422
14423 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14424
14425         * include/string.h (__ffs): Declare as hidden.
14426         * string/ffs.c (__ffs): Define as hidden.
14427         * sysdeps/i386/ffs.c (__ffs): Likewise.
14428         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14429         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14430         * sysdeps/s390/ffs.c (__ffs): Likewise.
14431         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14432
14433 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14434
14435         * NEWS: Mention malloc probes.
14436
14437         * malloc/arena.c (new_heap): New memory_heap_new probe.
14438         (grow_heap): New memory_heap_more probe.
14439         (shrink_heap): New memory_heap_less probe.
14440         (heap_trim): New memory_heap_free probe.
14441         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14442         (systrim): New memory_sbrk_less probe.
14443         * manual/probes.texi: Document them.
14444
14445         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14446         * manual/probes.texi: Document it.
14447
14448         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14449         (__libc_realloc): Add memory_realloc_retry probe.
14450         (__libc_memalign): Add memory_memalign_retry probe.
14451         (__libc_valloc): Add memory_valloc_retry probe.
14452         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14453         (__libc_calloc): Add memory_calloc_retry probe.
14454         * manual/probes.texi: Document them.
14455
14456         * malloc/arena.c (get_free_list): Add probe
14457         memory_arena_reuse_free_list.
14458         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14459         and memory_arena_reuse.
14460         (arena_get2) [!PER_THREAD]: Likewise.
14461         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14462         memory_arena_reuse_realloc.
14463         * manual/probes.texi: Document them.
14464
14465         * malloc/malloc.c (__libc_free): Add
14466         memory_mallopt_free_dyn_thresholds probe.
14467         (__libc_mallopt): Add multiple memory_mallopt probes.
14468         * manual/probes.texi: Document them.
14469
14470         * malloc/malloc.c: Include stap-probe.h.
14471         (__libc_mallopt): Add memory_mallopt probe.
14472         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14473         * manual/probes.texi: New.
14474         * manual/Makefile (chapters): Add probes.
14475         * manual/threads.texi: Set next node.
14476
14477 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14478
14479         [BZ #15963, #13985]
14480         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14481         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14482         Add `Chinese' to `nan' entry name.
14483
14484 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14485
14486         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14487         (POLYNOMIAL): Likewise.
14488         (TAYLOR_SINCOS): Likewise.
14489         (TAYLOR_SLOW): Likewise.
14490         (__sin): Use TAYLOR_SINCOS.
14491         (__cos): Likewise.
14492         (slow): Use TAYLOR_SLOW.
14493         (sloww): Likewise.
14494         (bsloww): Likewise.
14495         (csloww): Likewise.
14496
14497 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14498
14499         * stdlib/strtod_l.c: Fix buffer overrun.
14500
14501 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14502
14503         * benchtests/Makefile (bench): Add sincos.
14504         * benchtests/bench-sincos.c: New file.
14505
14506         * math/libm-test.inc (cos_test_data): New test inputs.
14507         (sin_test_data): Likewise.
14508
14509         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14510         macro.
14511         (__sin): Use it.
14512         (__cos): Likewise.
14513         (slow1): Likewise.
14514         (slow2): Likewise.
14515         (sloww1): Likewise.
14516         (sloww2): Likewise.
14517         (bsloww1): Likewise.
14518         (bsloww2): Likewise.
14519         (cslow2): Likewise.
14520         (csloww1): Likewise.
14521         (csloww2): Likewise.
14522
14523         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14524         function.
14525         (__sin): Use it.
14526         (__cos): Likewise.
14527
14528         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14529         gotos.
14530         (__cos): Likewise.
14531
14532 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14533
14534         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14535         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14536         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14537         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14538         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14539         * elf/cache.c (print_entry): Handle the new cache flags.
14540
14541 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14542             Aldy Hernandez  <aldyh@redhat.com>
14543
14544         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14545         Change condition to [_SOFT_FLOAT].
14546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14558         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14561         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14562         declaration.
14563
14564 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14565
14566         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14567         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14568         (__longjmp): Use LOAD_GP to load saved GPRs.
14569         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14570         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14571         (__sigsetjmp): Use SAVE_GP to save GPRs.
14572
14573         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14574         Do not append -msoft-float.
14575         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14576
14577 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14578
14579         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14580
14581 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14582
14583         [BZ #15966]
14584         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14585         (_FPU_GETCW): Use initial "__" on variable and field names but not
14586         on macro parameter name.
14587         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14588         parentheses around reference to macro parameter.
14589
14590 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14591
14592         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14593         prototype.
14594         (ctype_startup): Use uint32_t in cast and sizeof for
14595         ctype->charnames.
14596
14597 2013-09-11  Jia Liu  <proljc@gmail.com>
14598
14599         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14600         __daddr_t_defined.
14601         [__FreeBSD__]: Likewise.
14602
14603 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14604
14605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14606         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14607         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14608         (strchr): Remove __strchr_sse42 ifunc selection.
14609         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14610         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14611
14612 2013-09-11  Will Newton  <will.newton@linaro.org>
14613
14614         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14615         parameter to RES. Remove hardcoded 1000 value.
14616         * benchtests/bench-skeleton.c (main): Pass RES parameter
14617         to TIMING_INIT and multiply result by 1000.
14618
14619 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14620
14621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14622
14623 2013-09-11  Andreas Schwab  <schwab@suse.de>
14624
14625         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14626         if not defined.
14627         (O_TMPFILE) [__USE_GNU]: Define.
14628         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14629         Define.
14630
14631 2013-09-11  Will Newton  <will.newton@linaro.org>
14632
14633         [BZ #15857]
14634         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14635         does not overflow.
14636
14637 2013-09-11  Will Newton  <will.newton@linaro.org>
14638
14639         [BZ #15856]
14640         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14641         does not overflow.
14642
14643 2013-09-11  Will Newton  <will.newton@linaro.org>
14644
14645         [BZ #15855]
14646         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14647         does not overflow.
14648
14649 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14650
14651         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14652         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14653         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14654         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14655         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14656
14657 2013-09-10  Allan McRae  <allan@archlinux.org>
14658
14659         [BZ #15748]
14660         * manual/arith.texi (Parsing of Floats): Clarify
14661         cross-reference.
14662
14663         [BZ #15849]
14664         * manual/install.texi (Running make install): Mention
14665         --enable-pt-chown.
14666         * INSTALL: Regenerated.
14667
14668 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14669
14670         * csu/init-first.c (_init): Remove the !SHARED condition around
14671         FPU control word initialization.
14672         * elf/dl-support.c (_dl_fpu_control): New variable.
14673         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14674         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14675         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14676         * math/test-fpucw-static.c: New file.
14677         * math/test-fpucw-ieee.c: New file.
14678         * math/test-fpucw-ieee-static.c: New file.
14679         * math/Makefile (tests): Add `test-fpucw-ieee' and
14680         `$(tests-static)'.
14681         (tests-static): New variable.
14682         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14683         dependency to...
14684         [($(build-shared),yes)]
14685         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14686         ... this.
14687         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14688         New dependency.
14689
14690 2013-09-09  Allan McRae  <allan@archlinux.org>
14691
14692         [BZ #15939]
14693         * manual/string.texi (Collation Functions): Fix typo in
14694         strcoll example.
14695         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14696
14697         [BZ #15893]
14698         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14699
14700         [BZ #15892]
14701         * libio/memstream.c (open_memstream): Fix memory leak.
14702         * libio/wmemstream.c (open_wmemstream): Likewise.
14703
14704         [BZ #15895]
14705         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14706
14707 2013-09-09  Will Newton  <will.newton@linaro.org>
14708
14709         * malloc/Makefile: Add tst-realloc to tests.
14710         * malloc/tst-realloc.c: New file.
14711
14712 2013-09-09  Allan McRae  <allan@archlinux.org>
14713
14714         [BZ #15844]
14715         * COPYING: Update from GNU website to fix FSF address.
14716         * COPYING.LIB: Likewise.
14717
14718 2013-09-06  David S. Miller  <davem@davemloft.net>
14719
14720         * po/zh_TW.po: Update Chinese (traditional) translation from
14721         translation project.
14722
14723 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14724             Joseph Myers  <joseph@codesourcery.com>
14725
14726         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14727         "localeinfo.h".
14728         (obstack_chunk_alloc): New macro.
14729         (obstack_chunk_free): Likewise.
14730         (record_offset): New function.
14731         (init_locale_data): Likewise.
14732         (align_locale_data): Likewise.
14733         (add_locale_empty): Likewise.
14734         (add_locale_raw_data): Likewise.
14735         (add_locale_raw_obstack): Likewise.
14736         (add_locale_string): Likewise.
14737         (add_locale_wstring): Likewise.
14738         (add_locale_uint32): Likewise.
14739         (add_locale_uint32_array): Likewise.
14740         (add_locale_char): Likewise.
14741         (start_locale_structure): Likewise.
14742         (end_locale_structure): Likewise.
14743         (start_locale_prelude): Likewise.
14744         (end_locale_prelude): Likewise.
14745         (write_locale_data): Take locale_file structure rather than an
14746         iovec.
14747         * locale/programs/locfile.h: Include "obstack.h".
14748         (struct locale_file): Change to store locale file contents instead
14749         of header.
14750         (init_locale_data): New prototype.
14751         (align_locale_data): Likewise.
14752         (add_locale_empty): Likewise.
14753         (add_locale_raw_data): Likewise.
14754         (add_locale_raw_obstack): Likewise.
14755         (add_locale_string): Likewise.
14756         (add_locale_wstring): Likewise.
14757         (add_locale_uint32): Likewise.
14758         (add_locale_uint32_array): Likewise.
14759         (add_locale_char): Likewise.
14760         (start_locale_structure): Likewise.
14761         (end_locale_structure): Likewise.
14762         (start_locale_prelude): Likewise.
14763         (end_locale_prelude): Likewise.
14764         (write_locale_data): Update prototype.
14765         * locale/programs/3level.h (struct TABLE): Remove result field.
14766         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14767         Use new locale_file interface.
14768         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14769         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14770         * locale/programs/ld-address.c (address_output): Use new
14771         locale_file interface.
14772         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14773         NO_ADD_LOCALE.
14774         (collate_finish): Don't call collseq_table_finalize.
14775         (collate_output): Use new locale_file interface.
14776         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14777         in file.
14778         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14779         (TABLE): Move defines earlier in file.
14780         (ELEMENT): Likewise.
14781         (DEFAULT): Likewise.
14782         (wctrans_table_add): Move macro and inline function earlier in
14783         file.
14784         (struct wctype_table): Move type earlier in file.
14785         (add_locale_wctype_table): New static prototype.
14786         (struct locale_ctype_t): Use logical types instead of struct iovec
14787         pointers for members.
14788         (ctype_output): Use new locale_file interface.
14789         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14790         new locale_file interface.
14791         (allocate_arrays): Update for use of new locale_file interface.
14792         * locale/programs/ld-identification.c (identification_output): Use
14793         new locale_file interface.
14794         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14795         * locale/programs/ld-messages.c (messages_output): Likewise.
14796         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14797         * locale/programs/ld-name.c (name_output): Likewise.
14798         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14799         * locale/programs/ld-paper.c (paper_output): Likewise.
14800         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14801         * locale/programs/ld-time.c (time_output): Likewise.
14802
14803 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14804
14805         * benchtests/Makefile: Add memrchr benchmark.
14806         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14807         benchmark as memrchr.
14808         * benchtests/bench-memrchr-ifunc.c: New file.
14809         * benchtests/bench-memrchr.c: New file.
14810
14811 2013-09-06   Will Newton  <will.newton@linaro.org>
14812
14813         * benchtests/Makefile (string-bench): Add memcpy.
14814
14815 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14816             Cong Wang  <amwang@redhat.com>
14817
14818         [BZ #15850]
14819         * sysdeps/unix/sysv/linux/bits/in.h
14820         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14821         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14822         before __USE_KERNEL_IPV6_DEFS uses.
14823         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14824         IPPROTO_BEETPH.
14825         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14826         sockaddr_in6, or ipv6_mreq.
14827
14828 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14829
14830         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14831         memory access for final bytes in some large inputs.
14832         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14833
14834 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14835
14836         * string/test-memrchr.c: New file.
14837         * string/test-memrchr-ifunc.c: New file.
14838         * string/Makefile: Add new memrchr testcase.
14839
14840 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14841
14842         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14843         fanotify_init returns EPERM.
14844
14845 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14846
14847         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14848         errors.
14849         (top level): Treat second token from macro or constant entries for
14850         allowed headers as allowed.
14851         * include/complex.h: Condition internal declarations on
14852         [!_ISOMAC].
14853         * include/fenv.h: Condition include of <stdbool.h> and internal
14854         declarations on [!_ISOMAC].
14855
14856 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14857
14858         [BZ #15923]
14859         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14860
14861 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14862
14863         * configure.in (--enable-versioning): Remove configure option.
14864         (libc_cv_asm_symver_directive): Remove configure test.
14865         (libc_cv_ld_version_script_option): Likewise.
14866         (VERSIONING): Remove variable and AC_SUBST.
14867         (DO_VERSIONING): Remove AC_DEFINE.
14868         * configure: Regenerated.
14869         * config.h.in (DO_VERSIONING): Remove macro.
14870         * Makerules [$(versioning) = yes]: Change conditionals to
14871         [$(build-shared) = yes].
14872         * config.make.in (versioning): Remove variable.
14873         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14874         [$(build-shared) = yes].
14875         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14876         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14877         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14878         [$(build-shared) = yes].
14879         * extra-lib.mk [$(versioning) = yes]: Likewise.
14880         * hurd/Makefile [$(versioning) = yes]: Likewise.
14881         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14882         [SHARED].
14883         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14884         [SHARED].
14885         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14886         [SHARED && !NO_HIDDEN].
14887         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14888         [SHARED].
14889         [SHARED && DO_VERSIONING]: Likewise..
14890         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14891         [$(build-shared) = yes].
14892         * manual/install.texi (--disable-versioning): Remove
14893         documentation.
14894         * INSTALL: Regenerated.
14895         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14896         to [SHARED].
14897         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14898         [$(build-shared) = yes].
14899         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14900         * sysdeps/i386/i686/multiarch/strstr-c.c
14901         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14902         [SHARED && !NO_HIDDEN].
14903         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14904         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14905         * sysdeps/powerpc/powerpc32/dl-machine.c
14906         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14907         * sysdeps/powerpc/powerpc32/sysdep.h
14908         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14909         to [SHARED && PIC && !NO_HIDDEN].
14910         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14911         conditional to [SHARED].
14912
14913 2013-09-04   Will Newton  <will.newton@linaro.org>
14914
14915         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14916         * benchtests/bench-string.h: Include bench-timing.h instead
14917         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14918         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14919         call to HP_TIMING_DIFF_INIT.
14920         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14921         instead of hp-timing.h macros.
14922         * benchtests/bench-memchr.c: Likewise.
14923         * benchtests/bench-memcmp.c: Likewise.
14924         * benchtests/bench-memcpy.c: Likewise.
14925         * benchtests/bench-memmem.c: Likewise.
14926         * benchtests/bench-memmove.c: Likewise.
14927         * benchtests/bench-memset.c: Likewise.
14928         * benchtests/bench-rawmemchr.c: Likewise.
14929         * benchtests/bench-strcasecmp.c: Likewise.
14930         * benchtests/bench-strcasestr.c: Likewise.
14931         * benchtests/bench-strcat.c: Likewise.
14932         * benchtests/bench-strchr.c: Likewise.
14933         * benchtests/bench-strcmp.c: Likewise.
14934         * benchtests/bench-strcpy.c: Likewise.
14935         * benchtests/bench-strcpy_chk.c: Likewise.
14936         * benchtests/bench-strlen.c: Likewise.
14937         * benchtests/bench-strncasecmp.c: Likewise.
14938         * benchtests/bench-strncat.c: Likewise.
14939         * benchtests/bench-strncmp.c: Likewise.
14940         * benchtests/bench-strncpy.c: Likewise.
14941         * benchtests/bench-strnlen.c: Likewise.
14942         * benchtests/bench-strpbrk.c: Likewise.
14943         * benchtests/bench-strrchr.c: Likewise.
14944         * benchtests/bench-strspn.c: Likewise.
14945         * benchtests/bench-strstr.c: Likewise.
14946
14947 2013-09-04  Will Newton  <will.newton@linaro.org>
14948
14949         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14950
14951 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14952
14953         [BZ #15427]
14954         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14955         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14956         * math/libm-test.inc (lgamma_test_data): Add more tests.
14957         * sysdeps/i386/fpu/libm-test-ulps: Update.
14958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14959
14960 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14961
14962         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14964         Add ifunc.
14965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14966         Add strcmp-sse2-unaligned
14967         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14968
14969 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14970
14971         * Versions.def (libc): Add GLIBC_2.19.
14972
14973 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14974
14975         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14976         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14977
14978 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14979
14980         [BZ #14155]
14981         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14982         intermediate calculations in recurrence.
14983         (__ieee754_ynf): Likewise.
14984         * math/libm-test.inc (jn_test_data): Do not allow spurious
14985         underflow exception.  Add more tests.
14986         (yn_test_data): Add more tests.
14987         * sysdeps/i386/fpu/libm-test-ulps: Update.
14988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14989
14990 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14991
14992         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14993
14994 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14995
14996         * csu/init-first.c: Fix then/than typos.
14997         * locale/programs/ld-collate.c: Likewise.
14998         * locale/programs/linereader.h: Likewise.
14999         * manual/charset.texi: Likewise.
15000         * manual/filesys.texi: Likewise.
15001         * manual/stdio.texi: Likewise.
15002         * manual/string.texi: Likewise.
15003         * stdlib/fmtmsg.c: Likewise.
15004         * sysdeps/i386/stpncpy.S: Likewise.
15005         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15006         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15007         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15008         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15009
15010 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15011
15012         * elf/dl-open.c: Fix typos.
15013         * iconvdata/gbbig5.c: Likewise.
15014         * iconvdata/iso-2022-jp.c: Likewise.
15015         * iconv/gconv_int.h: Likewise.
15016         * iconv/loop.c: Likewise.
15017         * nis/rpcsvc/nis.h: Likewise.
15018         * resolv/ns_name.c: Likewise.
15019         * stdio-common/vfscanf.c: Likewise.
15020         * streams/stropts.h: Likewise.
15021         * sunrpc/rpc_thread.c: Likewise.
15022         * sysdeps/i386/strpbrk.S: Likewise.
15023         * sysdeps/ieee754/k_standard.c: Likewise.
15024         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15025         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15026         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15027         * sysdeps/mach/hurd/profil.c: Likewise.
15028         * sysdeps/s390/dl-procinfo.h: Likewise.
15029         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15030         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15031         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15032         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15033         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15034
15035 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15036
15037         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15039
15040 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15041
15042         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15043         aix specific files.
15044         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15045         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15046         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15047         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15050         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15051         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15052
15053 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15054             Roland McGrath  <roland@hack.frob.com>
15055
15056         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15057         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15058
15059 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15060
15061         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15062         __executable_start symbol instead of _start.
15063
15064 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15065
15066         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15067         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15068         Move macros to...
15069         * sysdeps/gnu/ldsodefs.h: ... this new file.
15070
15071         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15072         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15073         instead of ELFOSABI_LINUX.
15074
15075         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15076         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15077         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15078         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15079         Likewise.
15080         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15081         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15082         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15083         Likewise.
15084         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15085         (ibm_extended_long_double): Add ieee_nan member.
15086         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15087         (do_test): New function.
15088
15089         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15090         TEST_TRUNC.
15091         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15092         functions, renamed from truncdfsf_test, trunctfsf_test,
15093         trunctfdf_test.
15094         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15095         functions.
15096         (do_test): Run all these.
15097
15098 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15099
15100         * argp/argp-help.c: Fix typos.
15101         * argp/argp-parse.c: Likewise.
15102         * debug/backtracesyms.c: Likewise.
15103         * elf/elf.h: Likewise.
15104         * malloc/malloc.c: Likewise.
15105         * nis/nis_print.c: Likewise.
15106         * resolv/res_comp.c: Likewise.
15107         * stdlib/stdlib.h: Likewise.
15108         * sunrpc/clnt_tcp.c: Likewise.
15109         * sunrpc/clnt_udp.c: Likewise.
15110         * sunrpc/clnt_unix.c: Likewise.
15111         * sysdeps/unix/bsd/ptsname.c: Likewise.
15112         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15113         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15115         Likewise.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15117         Likewise.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15119         Likewise.
15120         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15121
15122 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15123
15124         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15126
15127 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15128
15129         [BZ #15897]
15130         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15131         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15132         ($(objpfx)bug-dl-leaf): New rule.
15133         ($(objpfx)bug-dl-leaf.so): Likewise.
15134         ($(objpfx)bug-dl-leaf.out): Likewise.
15135         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15136         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15137         * dlfcn/bug-dl-leaf.c: New test.
15138         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15139         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15140         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15141         (dlclose): Likewise.
15142         (dlmopen): Likewise.
15143
15144 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15145
15146         * include/netdb.h [!_ISOMAC]:
15147         Don't include <tls.h>.
15148         (h_errno, __libc_h_errno): Move declaration and macros out of
15149         [_LIBC_REENTRANT].
15150
15151         * include/resolv.h [_RESOLV_H_]:
15152         Don't include <tls.h>.
15153         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15154         * resolv/res_libc.c: Don't include <tls.h>.
15155         (_res): Use __attribute__ ((nocommon)) in place of
15156         __attribute__ ((section (".bss"))).
15157
15158         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15159         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15160
15161         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15162
15163         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15164         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15165
15166         * resolv/res_mkquery.c: Include <sys/time.h>.
15167
15168         * inet/ifreq.c: Moved to ...
15169         * sysdeps/unix/ifreq.c: ... here.
15170         * inet/ifreq.c: New file, true stub version.
15171
15172         * socket/sa_len.c: New file.
15173         * socket/Makefile (aux): Add it.
15174         * sysdeps/unix/sysv/linux/Makefile
15175         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15176         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15177         and #include <socket/sa_len.c>.
15178         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15179         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15180
15181         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15182         * bits/socket.h: ... here.
15183
15184         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15185         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15186         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15187
15188 2013-08-27  Andreas Schwab  <schwab@suse.de>
15189
15190         [BZ #15736]
15191         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15192         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15193         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15194         * string/test-strcasecmp.c (test_main): Run tests in several
15195         locales.
15196         * string/test-strncasecmp.c (test_main): Likewise.
15197
15198         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15199         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15200         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15201         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15202         (__strncasecmp_ssse3) [PIC]: Likewise.
15203
15204 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15205
15206         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15207
15208         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15209         instead of explicitly declaring xdecrypt.
15210         * nis/nss_nis/nis-publickey.c: Likewise.
15211
15212 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15213
15214         [BZ #15890]
15215         * nscd/aicache.c: Include res_hconf.h.
15216         (addhstaiX): Initialize res_hconf.
15217
15218 2013-08-26  Andreas Schwab  <schwab@suse.de>
15219
15220         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15221         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15222
15223 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15224
15225         * nscd/aicache.c (addhstaiX): Fix indentation.
15226
15227 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15228
15229         * configure.ac: Quote $build_pt_chown test.
15230         * configure: Regenerated.
15231
15232 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15233
15234         [BZ #15532]
15235         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15236         * math/s_cexpf.c (__cexpf): Likewise.
15237         * math/s_cexpl.c (__cexpl): Likewise.
15238         * math/libm-test.inc (cexp_test_data): Correct expected return
15239         value for NaN + i0.  Add another test.
15240
15241 2013-08-22  David S. Miller  <davem@davemloft.net>
15242
15243         * po/ca.po: Update Catalan translation from translation project.
15244         * po/uk.po: Add Ukrainian translations from translation project.
15245
15246 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15247
15248         [BZ #15797]
15249         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15250         is infinite, not alongside NaN test.
15251         * math/s_fdimf.c (__fdimf): Likewise.
15252         * math/s_fdiml.c (__fdiml): Likewise.
15253         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15254         errno is unchanged.
15255
15256 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15257
15258         * argp/argp-help.c: Fix typos.
15259         * crypt/speeds.c: Likewise.
15260         * csu/check_fds.c: Likewise.
15261         * elf/dl-load.c: Likewise.
15262         * elf/dl-open.c: Likewise.
15263         * elf/reldep3.c: Likewise.
15264         * elf/reldep.c: Likewise.
15265         * elf/sprof.c: Likewise.
15266         * iconv/iconv_charmap.c: Likewise.
15267         * iconv/skeleton.c: Likewise.
15268         * iconv/strtab.c: Likewise.
15269         * io/lockf64.c: Likewise.
15270         * libio/libioP.h: Likewise.
15271         * resolv/gai_notify.c: Likewise.
15272         * resolv/ns_name.c: Likewise.
15273         * resolv/ns_samedomain.c: Likewise.
15274         * resolv/res_send.c: Likewise.
15275         * stdlib/random.c: Likewise.
15276         * sunrpc/rpc/xdr.h: Likewise.
15277         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15278         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15279         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15280         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15281         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15282         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15284         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15285         * sysdeps/mach/hurd/check_fds.c: Likewise.
15286         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15287         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15288         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15289         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15290         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15291         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15292         * sysdeps/pthread/aio_notify.c: Likewise.
15293         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15294         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15295         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15296         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15297         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15298
15299 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15300
15301         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15302         version if bit_Slow_SSE4_2 is set.
15303         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15304         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15305
15306 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15307
15308         [BZ #15867]
15309         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15310         trampoline stack frame information.
15311         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15312         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15313         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15314         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15315         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15316         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15317         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15318         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15319         sa_flags value.
15320         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15321         interrupting a syscall and set with option SA_SIGINFO.
15322
15323 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15324
15325         [BZ #15531]
15326         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15327         argument is infinite.
15328         * math/s_cprojf.c (__cprojf): Likewise.
15329         * math/s_cprojl.c (__cprojl): Likewise.
15330         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15331         * math/libm-test.inc (cproj_test_data): Add more tests.
15332
15333         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15334
15335         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15336         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15337         size.  Use __ffs to determine corresponding shift.
15338
15339 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15340             Roland McGrath  <roland@hack.frob.com>
15341
15342         * Makefile (INSTALL): Remove trailing blank lines from output of
15343         makeinfo.
15344
15345 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15346
15347         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15348         Align 32 bit compat elf_greg to 8 bytes.
15349
15350 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15351
15352         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15353
15354 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15355
15356         * string/strcoll_l.c (coll_seq): New structure.
15357         (get_next_seq_cached): New function.
15358         (get_next_seq): New function.
15359         (do_compare): New function.
15360         (STRCOLL): Use GNU style definition.  Simplify implementation
15361         by using get_next_seq, get_next_seq_cached and do_compare.
15362
15363 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15364
15365         [BZ #14699]
15366         CVE-2013-4237
15367         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15368         member.
15369         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15370         member.
15371         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15372         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15373         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15374         conditional.
15375         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15376         GETDENTS_64BIT_ALIGNED.
15377         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15378         * manual/filesys.texi (Reading/Closing Directory): Document
15379         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15380         strongly.
15381         * manual/conf.texi (Limits for Files): Add portability note to
15382         NAME_MAX, PATH_MAX.
15383         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15384
15385 2013-08-13  Andreas Schwab  <schwab@suse.de>
15386
15387         [BZ #15749]
15388         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15389         of fabs.
15390         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15391         LDBL_MAX_EXP >= 16384]: Add tests for it.
15392
15393 2013-08-12  David S. Miller  <davem@davemloft.net>
15394
15395         * version.h (RELEASE): Set to "development".
15396         (VERSION): Set to "2.18.90".
15397         * NEWS: Add 2.19 section.
15398
15399 2013-08-03  David S. Miller  <davem@davemloft.net>
15400
15401         * po/ko.po: Update Korean translation from translation project.
15402
15403 2013-08-01  David S. Miller  <davem@davemloft.net>
15404
15405         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15406         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15407         Bilka.
15408
15409 2013-07-30  David S. Miller  <davem@davemloft.net>
15410
15411         * po/fr.po: Update French translation from translation project.
15412
15413 2013-07-28  David S. Miller  <davem@davemloft.net>
15414
15415         * po/cs.po: Update Czech translation from translation project.
15416
15417         * po/sv.po: Update Swedish translation from translation project.
15418
15419 2013-07-27  David S. Miller  <davem@davemloft.net>
15420
15421         * po/eo.po: Update Esperanto translation from translation project.
15422
15423         * po/vi.po: Update Vietnamese translation from translation project.
15424
15425         * po/de.po: Update German translation from translation project.
15426
15427 2013-07-26  David S. Miller  <davem@davemloft.net>
15428
15429         * po/bg.po: Update Bulgarian translation from translation project.
15430
15431         * po/nl.po: Update Dutch translation from translation project.
15432         * po/pl.po: Update Polish translation from translation project.
15433         * po/ru.po: Update Russian translation from translation project.
15434
15435 2013-07-24  David S. Miller  <davem@davemloft.net>
15436
15437         * po/libc.pot: Update.
15438
15439 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15440
15441         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15442         variable page size.
15443         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15444         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15445         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15446
15447 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15448
15449         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15450
15451 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15452             Andreas Schwab  <schwab@suse.de>
15453             Roland McGrath  <roland@hack.frob.com>
15454             Joseph Myers  <joseph@codesourcery.com>
15455             Carlos O'Donell  <carlos@redhat.com>
15456
15457         [BZ #15755]
15458         * config.h.in: Define HAVE_PT_CHOWN.
15459         * config.make.in (build-pt-chown): New variable.
15460         * configure.in (--enable-pt_chown): New configure option.
15461         * configure: Regenerate.
15462         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15463         build-pt-chown is enabled.
15464         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15465         pt_chown to fix pty ownership.
15466         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15467         CLOSE_ALL_FDS.
15468         * manual/install.texi (Configuring and compiling): Mention
15469         --enable-pt_chown. Add @findex for grantpt.
15470         * INSTALL: Regenerate.
15471
15472 2013-07-20  David S. Miller  <davem@davemloft.net>
15473
15474         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15475         difference between 32-bit and 64-bit.
15476
15477 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15478
15479         [BZ #15711]
15480         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15481         Avoid system header dependency with -ffreestanding.
15482         ($(objpfx)bits/syscall%d): Likewise.
15483
15484 2013-07-13  David S. Miller  <davem@davemloft.net>
15485
15486         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15487         underflows from atanl/atan2l due to bug 15319.
15488         (casinh_test_data): Likewise.
15489
15490 2013-07-07  David S. Miller  <davem@davemloft.net>
15491
15492         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15493
15494 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15495
15496         * sysdeps/i386/fpu/libm-test-ulps: Update.
15497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15498
15499 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15500
15501         * configure.in (--enable-lock-elision): Fix message text.
15502         * INSTALL: Regenerate.
15503         * configure: Regenerate.
15504
15505 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15506
15507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15508
15509 2013-07-03  Andreas Jaeger  <aj@suse.de>
15510
15511         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15512         define.
15513         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15514         (ptrace_peeksiginfo_args): Add.
15515         (__ptrace_peeksiginfo_flags): Add.
15516         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15517         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15518         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15519
15520 2013-07-03  Allan McRae  <allan@archlinux.org>
15521
15522         * sysdeps/i386/fpu/libm-test-ulps: Update.
15523
15524 2013-07-02  David S. Miller  <davem@davemloft.net>
15525
15526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15527
15528 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15529
15530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15531
15532 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15533
15534         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15536
15537 2013-07-02  Andi Kleen <ak@linux.intel.com>
15538
15539         * config.h.in (ENABLE_LOCK_ELISION): Add.
15540         * configure.in (--enable-lock-elision): Add option.
15541         * manual/install.texi: Document --enable lock elision.
15542         * configure: Regenerate
15543         * INSTALL: Regenerate.
15544
15545 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15546
15547         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15548         SSE4.2 strcasecmp for libc.a.
15549         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15550
15551 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15552
15553         [BZ #13304]
15554         * soft-fp/op-common.h (_FP_FMA): New macro.
15555         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15556         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15557         (_FP_MUL_MEAT_1_imm): ... here.
15558         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15559         (_FP_MUL_MEAT_1_wide): ... here.
15560         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15561         (_FP_MUL_MEAT_1_hard): ... here.
15562         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15563         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15564         (_FP_MUL_MEAT_2_wide): ... here.
15565         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15566         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15567         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15568         (_FP_MUL_MEAT_2_gmp): ... here.
15569         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15570         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15571         (_FP_MUL_MEAT_4_wide): ... here.
15572         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15573         (_FP_MUL_MEAT_4_gmp): ... here.
15574         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15575         (_FP_WFRACBITS_DW_S): Likewise.
15576         (_FP_WFRACXBITS_DW_S): Likewise.
15577         (_FP_HIGHBIT_DW_S): Likewise.
15578         (FP_FMA_S): Likewise.
15579         (_FP_FRAC_HIGH_DW_S): Likewise.
15580         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15581         (_FP_WFRACBITS_DW_D): Likewise.
15582         (_FP_WFRACXBITS_DW_D): Likewise.
15583         (_FP_HIGHBIT_DW_D): Likewise.
15584         (FP_FMA_D): Likewise.
15585         (_FP_FRAC_HIGH_DW_D): Likewise.
15586         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15587         (_FP_WFRACBITS_DW_E): Likewise.
15588         (_FP_WFRACXBITS_DW_E): Likewise.
15589         (_FP_HIGHBIT_DW_E): Likewise.
15590         (FP_FMA_E): Likewise.
15591         (_FP_FRAC_HIGH_DW_E): Likewise.
15592         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15593         (_FP_WFRACBITS_DW_Q): Likewise.
15594         (_FP_WFRACXBITS_DW_Q): Likewise.
15595         (_FP_HIGHBIT_DW_Q): Likewise.
15596         (FP_FMA_Q): Likewise.
15597         (_FP_FRAC_HIGH_DW_Q): Likewise.
15598         * soft-fp/fmasf4.c: New file.
15599         * soft-fp/fmadf4.c: Likewise.
15600         * soft-fp/fmatf4.c: Likewise.
15601
15602 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15603
15604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15605         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15606         Silvermont.
15607         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15608         macro.
15609         (index_Slow_SSE4_2): Likewise.
15610         (index_Prefer_PMINUB_for_stringop): Likewise.
15611         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15612         bit_Slow_SSE4_2 is set.
15613         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15614         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15615
15616 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15617
15618         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15619         rtld_global._dl_hwcap2.
15620         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15621         POWER8.
15622         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15623         POWER8 feature descriptions defined in _dl_hwcap2.
15624         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15625         string handling for POWER8 feature bits.
15626         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15627         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15628         _dl_powerpc_cap_flags.
15629         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15630         * sysdeps/powerpc/rtld-global-offsets.sym
15631         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15632         _dl_hwcap2 in the rtld_global_ro structure.
15633
15634 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15635
15636         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15637         hardware capabilities in support of AT_HWCAP2.
15638         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15639         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15640         GLRO(dl_hwcap2).
15641         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15642         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15643         explicitly the unknown a_type display mechanism is used.
15644         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15645         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15646         struct member.
15647         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15648         to macro prototype for AT_HWCAP2 support.
15649         * sysdeps/i386/dl-procinfo.h: Likewise.
15650         * sysdeps/s390/dl-procinfo.h: Likewise.
15651         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15652         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15653         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15654         return -1 for unknown a_type display fallback.
15655         * sysdeps/sparc/dl-procinfo.h: Likewise.
15656         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15657         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15658
15659 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15660
15661         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15662         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15663
15664 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15665
15666         [BZ #12492]
15667         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15668         mprotect making __stack_prot writable.
15669
15670 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15671             Joseph Myers  <joseph@codesourcery.com>
15672
15673         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15674         as being properly aligned.
15675
15676 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15677
15678         * dlfcn/modstatic5.c: New file.
15679         * dlfcn/tststatic5.c: New file.
15680         * dlfcn/Makefile (tests): Add tststatic5.
15681         (tests-static): Likewise.
15682         (modules-names): Add modstatic5.
15683         (tststatic5-ENV): New variable.
15684         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15685
15686         [BZ #15022]
15687         * elf/dl-support.c (_dl_main_map): New variable.
15688         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15689         (_dl_nns, _dl_load_adds): Set to 1.
15690         (_dl_initial_searchlist): Refer to _dl_main_map.
15691         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15692         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15693         call to _dl_get_origin.
15694         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15695         around call_map.
15696         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15697         * dlfcn/modstatic3.c: New file.
15698         * dlfcn/tststatic3.c: New file.
15699         * dlfcn/tststatic4.c: New file.
15700         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15701         (tests-static): Likewise.
15702         (modules-names): Add modstatic3.
15703         (tststatic3-ENV, tststatic4-ENV): New variables.
15704         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15705         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15706
15707 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15708
15709         * configure.in (CC): Require GCC version 4.4 or later.
15710         * configure: Regenerated.
15711         * manual/install.texi (Tools for Compilation): Update GCC version
15712         requirement.
15713         * INSTALL: Regenerated.
15714
15715 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15716
15717         [BZ #15674]
15718         * string/test-memcmp.c (check2): New.
15719         (main): Call check2.
15720
15721         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15722
15723 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15724
15725         [BZ #15022]
15726         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15727         over to...
15728         (dl_open_worker) [!SHARED]: ... here.
15729
15730 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15731
15732         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15733
15734 2013-06-25  Richard Henderson  <rth@redhat.com>
15735
15736         * locale/programs/locarchive.c: Include <libc-internal.h>
15737
15738 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15739
15740         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15741         trailing whitespace removed.
15742
15743 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15744
15745         [BZ #10283]
15746         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15747         * locale/programs/locarchive.c: Include libc-mmap.h.
15748         (prepare_address_space): Take two new outputs (the mmap base and len).
15749         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15750         values.
15751         (create_archive): Declare new mmap base and len values for
15752         prepare_address_space, and store the result in ah.
15753         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15754         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15755         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15756         Declare new mmap base and len values for
15757         prepare_address_space, and store the result in new_ah.
15758         (open_archive): Declare new mmap base and len values for
15759         prepare_address_space, and store the result in ah.
15760         (close_archive): If ah->mmap_base is not NULL, use that and
15761         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15762         * sysdeps/generic/libc-mmap.h: New file.
15763
15764 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15765
15766         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15767         (ALIGN_UP): Likewise.
15768         (PTR_ALIGN_DOWN): Likewise.
15769         (PTR_ALIGN_UP): Likewise.
15770
15771 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15772
15773         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15774         entry mapped to PPC_PLATFORM_POWER8.
15775         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15776         POWER8.
15777         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15778         (_dl_string_platform): Add case for exporting platform position for
15779         POWER8.
15780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15781         search path to sysdeps/powerpc/powerpc32/power8 directory.
15782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15783         search path to sysdeps/powerpc/powerpc64/power8 directory.
15784         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15785         power7 directories.
15786         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15787         power7 directories.
15788
15789 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15790
15791         * INSTALL: Regenerate.
15792
15793         * nscd/connections.c (nscd_init): Fix comment.
15794
15795 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15796
15797         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15798
15799         [BZ #15667]
15800         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15801         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15802
15803 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15804
15805         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15806         DL_DST_REQ_STATIC.
15807         (DL_DST_REQ_STATIC): Remove macro.
15808
15809 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15810
15811         [BZ #7006]
15812         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15813         with a shift of 0 bits.
15814
15815 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15816
15817         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15818         $(tststatic-ENV).
15819
15820 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15821
15822         [BZ #15655]
15823         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15824
15825 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15826
15827         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15828         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15829         accepts -fno-tree-loop-distribute-patterns.
15830         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15831         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15832         recursive call.
15833         * string/memset.c (memset): Likewise.
15834         * string/test-memmove.c (simple_memmove): Disable loop transformation
15835         to library calls.
15836         * string/test-memset.c (simple_memset): Likewise.
15837         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15838         * benchtests/bench-memset.c (simple_memset): Likewise.
15839         * configure: Regenerated.
15840
15841 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15842
15843         * math/test-misc.c (main): Ignore fesetround failure when failures
15844         of subsequent rounding tests would be ignored.
15845
15846         [BZ #15654]
15847         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15848         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15849         * math/fegetenv.c (__fegetenv): Return 0.
15850         * math/fegetexcept.c (fegetexcept): Return 0.
15851         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15852         FE_TONEAREST.
15853         * math/feholdexcpt.c (feholdexcept): Return 0.
15854         * math/fesetenv.c (__fesetenv): Return 0.
15855         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15856         argument FE_TONEAREST.
15857         * math/feupdateenv.c (__feupdateenv): Return 0.
15858         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15859
15860 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15861
15862         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15863         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15864         ($(objpfx)rtld-%.os rules): Use them.
15865
15866 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15867
15868         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15869         fields.
15870
15871 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15872
15873         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15874         length of target pattern, then descending length of dependency pattern.
15875         * configure.in (AWK): Require gawk 3.1.2 or newer.
15876         * manual/install.texi (Tools for Compilation): Say that we do.
15877         * configure: Regenerated.
15878
15879         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15880         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15881         * scripts/sysd-rules.awk: ... this new script.
15882         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15883         than a glob-style pattern.
15884
15885 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15886
15887         * math/test-misc.c (main): Do not treat incorrectly rounded
15888         conversions as failure unless ROUNDING_TESTS passes.
15889
15890 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15891
15892         [BZ #15631]
15893         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15894         restore exception state around main square root computation, then
15895         check for inexactness explicitly.
15896
15897         * math/libm-test.inc (fma_test_data): Add another test.
15898
15899 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15900
15901         * manual/threads.texi (Non-POSIX Extensions): New document
15902         node.  Document pthread_getattr_default_np and
15903         pthread_setattr_default_np.
15904
15905         * Versions.def (libpthread): Add GLIBC_2.18.
15906         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15908         Likewise.
15909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15910         Likewise.
15911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15912         Likewise.
15913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15914         Likewise.
15915         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15916         Likewise.
15917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15918         Likewise.
15919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15920         Likewise.
15921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15922         Likewise.
15923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15924         Likewise.
15925
15926 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15927
15928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15929         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15930
15931 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15932             H.J. Lu  <hjl.tools@gmail.com>
15933
15934         [BZ #15627]
15935         * sysdeps/x86_64/rtld-memset.c: Remove file.
15936         * sysdeps/x86_64/rtld-memset.S: New file.
15937
15938 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15939
15940         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15941         (test_in_one_mode): Take arguments for whether the rounding mode
15942         is supported for each floating-point type.
15943         (do_test): Pass new arguments to test_in_one_mode using
15944         ROUNDING_TESTS.
15945
15946 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15947
15948         * posix/tst-waitid.c (do_test): Distinguish different instances of
15949         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15950         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15951         before entering the kernel for waitpid.
15952
15953 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15954
15955         * NEWS: Fix note on clock function precision.  Text by Roland
15956         McGrath.
15957
15958 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15959
15960         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15961         it into place only when and if the sanity check passes.
15962
15963 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15964
15965         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15966         output for whether conversion result is exact.  Take argument
15967         indicating whether type is IBM long double.
15968         (round_for_all): Change need_exact field to ibm_ld.
15969         * stdlib/tst-strtod-round.c (struct exactness): New type.
15970         (struct test): Change bool ld_ok field to struct exactness exact.
15971         (TEST): Update all definitions for change to field.
15972         (tests): Regenerate array contents.
15973         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15974         field value.  Check for IBM long double here.
15975         (do_test): Update calls to test_in_one_mode.
15976
15977 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15978
15979         [BZ #12515]
15980         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15981         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15982
15983 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15984
15985         [BZ #15605]
15986         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15987         generated by the compiler on loop optimizations.
15988         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15989         general definitions.
15990
15991 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15992
15993         * math/bug-nextafter.c: Include <math-tests.h>.
15994         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15995         the relevant type.
15996         * math/bug-nexttoward.c: Include <math-tests.h>.
15997         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15998         the relevant type.
15999         * math/test-misc.c: Include <math-tests.h>.
16000         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16001         the relevant type.
16002
16003 2013-06-12  Andreas Jaeger  <aj@suse.de>
16004
16005         * po/ia.po: Update Interlingua translation from translation
16006         project.
16007
16008 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16009
16010         * include/fenv.h: Include stdbool.h.
16011         (struct rm_ctx): New structure.
16012         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16013         Define macro.
16014         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16015         (SET_RESTORE_ROUNDF): Likewise.
16016         (SET_RESTORE_ROUNDL): Likewise.
16017         (SET_RESTORE_ROUND_NOEX): Likewise.
16018         (SET_RESTORE_ROUND_NOEXF): Likewise.
16019         (SET_RESTORE_ROUND_NOEXL): Likewise.
16020         (SET_RESTORE_ROUND_53BIT): Likewise.
16021         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16022         (libc_feresetround_noexf_ctx): Likewise.
16023         (libc_feresetround_noexl_ctx): Likewise.
16024         (libc_feholdsetround_53bit_ctx): Likewise.
16025         (libc_feresetround_53bit_ctx): Likewise.
16026         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16027         (libc_feholdexcept_setround_sse_ctx): New function.
16028         (libc_fesetenv_sse_ctx): Likewise.
16029         (libc_feupdateenv_sse_ctx): Likewise.
16030         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16031         (libc_feholdexcept_setround_387_ctx): Likewise.
16032         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16033         (libc_feholdsetround_387_prec_ctx): Likewise.
16034         (libc_feholdsetround_387_ctx): Likewise.
16035         (libc_feholdsetround_387_53bit_ctx): Likewise.
16036         (libc_feholdsetround_sse_ctx): Likewise.
16037         (libc_feresetround_sse_ctx): Likewise.
16038         (libc_feresetround_387_ctx): Likewise.
16039         (libc_feupdateenv_387_ctx): Likewise.
16040         (libc_feholdexcept_setroundf_ctx): Define macro.
16041         (libc_fesetenvf_ctx): Likewise.
16042         (libc_feupdateenvf_ctx): Likewise.
16043         (libc_feholdsetroundf_ctx): Likewise.
16044         (libc_feresetroundf_ctx): Likewise.
16045         (libc_feholdexcept_setround_ctx): Likewise.
16046         (libc_fesetenv_ctx): Likewise.
16047         (libc_feupdateenv_ctx): Likewise.
16048         (libc_feholdsetround_ctx): Likewise.
16049         (libc_feresetround_ctx): Likewise.
16050         (libc_feholdexcept_setroundl_ctx): Likewise.
16051         (libc_feupdateenvl_ctx): Likewise.
16052         (libc_feholdsetroundl_ctx): Likewise.
16053         (libc_feresetroundl_ctx): Likewise.
16054         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16055         (libc_feresetround_53bit_ctx): Likewise.
16056
16057 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16058
16059         * locale/iso-639.def: Convert to UTF-8.
16060
16061 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16062
16063         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16064         (EXCEPTION_TESTS_double): Likewise.
16065         (EXCEPTION_TESTS_long_double): Likewise.
16066         (EXCEPTION_TESTS): Likewise.
16067         * math/libm-test.inc (test_exceptions): Only test exceptions if
16068         EXCEPTION_TESTS (FLOAT).
16069
16070 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16071
16072         * benchtests/Makefile (string-bench): Add strcpy_chk and
16073         stpcpy_chk.
16074         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16075         * benchtests/bench-stpcpy_chk.c: New file.
16076         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16077         * benchtests/bench-strcpy_chk.c: New file.
16078         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16079         code.
16080         (do_test): Likewise.
16081
16082 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16083
16084         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16085         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16086         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16087         with tabs where appropriate.
16088         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16089         dl-procinfo.h.
16090         [PPC_PLATFORM_PPC440]: Likewise.
16091         [PPC_PLATFORM_PPC464]: Likewise.
16092         [PPC_PLATFORM_PPC476]: Likewise.
16093         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16094         ppc464, and ppc476 platform strings merging from ports/
16095         dl-procinfo.h.
16096
16097 2013-06-11  Andreas Schwab  <schwab@suse.de>
16098
16099         [BZ #14991]
16100         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16101         (from_ucs4_idx): Regenerate.
16102         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16103         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16104         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16105         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16106         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16107         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16108         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16109         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16110         from FROM_LOOP and TO_LOOP specific macros.
16111         (BODY): Handle combining characters.
16112         * iconvdata/BIG5HKSCS.irreversible: Update.
16113         * iconvdata/BIG5HKSCS.precomposed: New file.
16114         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16115         characters.
16116         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16117
16118 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16119
16120         * include/sys/time.h: Fix indentation and add copyright header.
16121
16122         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16123         (do_test): Likewise.
16124         * string/test-memchr.c (do_one_test): Likewise.
16125         (do_test): Likewise.
16126         * string/test-memcmp.c (do_one_test): Likewise.
16127         (do_test): Likewise.
16128         * string/test-memcpy.c (do_one_test): Likewise.
16129         (do_test): Likewise.
16130         * string/test-memmem.c (do_one_test): Likewise.
16131         (do_test): Likewise.
16132         (do_random_tests): Likewise.
16133         * string/test-memmove.c (do_one_test): Likewise.
16134         (do_test): Likewise.
16135         * string/test-memset.c (do_one_test): Likewise.
16136         (do_test): Likewise.
16137         * string/test-rawmemchr.c (do_one_test): Likewise.
16138         (do_test): Likewise.
16139         * string/test-strcasecmp.c (do_one_test): Likewise.
16140         (do_test): Likewise.
16141         * string/test-strcasestr.c (do_one_test): Likewise.
16142         (do_test): Likewise.
16143         * string/test-strcat.c (do_one_test): Likewise.
16144         (do_test): Likewise.
16145         * string/test-strchr.c (do_one_test): Likewise.
16146         (do_test): Likewise.
16147         * string/test-strcmp.c (do_one_test): Likewise.
16148         (do_test): Likewise.
16149         * string/test-strcpy.c (do_one_test): Likewise.
16150         (do_test): Likewise.
16151         * string/test-string.h: Likewise.
16152         (test_init): Likewise.
16153         * string/test-strlen.c (do_one_test): Likewise.
16154         (do_test): Likewise.
16155         * string/test-strncasecmp.c (do_one_test): Likewise.
16156         (do_test): Likewise.
16157         * string/test-strncat.c (do_one_test): Likewise.
16158         (do_test): Likewise.
16159         * string/test-strncmp.c (do_one_test): Likewise.
16160         (do_test_limit): Likewise.
16161         (do_test): Likewise.
16162         * string/test-strncpy.c (do_one_test): Likewise.
16163         (do_test): Likewise.
16164         * string/test-strnlen.c (do_one_test): Likewise.
16165         (do_test): Likewise.
16166         * string/test-strpbrk.c (do_one_test): Likewise.
16167         (do_test): Likewise.
16168         * string/test-strrchr.c (do_one_test): Likewise.
16169         (do_test): Likewise.
16170         * string/test-strspn.c (do_one_test): Likewise.
16171         (do_test): Likewise.
16172         * string/test-strstr.c (do_one_test): Likewise.
16173         (do_test): Likewise.
16174
16175         * benchtests/Makefile (string-bench): Add string benchmarks.
16176         * benchtests/bench-bcopy-ifunc.c: New file.
16177         * benchtests/bench-bcopy.c: New file.
16178         * benchtests/bench-bzero-ifunc.c: New file.
16179         * benchtests/bench-bzero.c: New file.
16180         * benchtests/bench-memccpy-ifunc.c: New file.
16181         * benchtests/bench-memccpy.c: New file.
16182         * benchtests/bench-memchr-ifunc.c: New file.
16183         * benchtests/bench-memchr.c: New file.
16184         * benchtests/bench-memcmp-ifunc.c: New file.
16185         * benchtests/bench-memcmp.c: New file.
16186         * benchtests/bench-memmem-ifunc.c: New file.
16187         * benchtests/bench-memmem.c: New file.
16188         * benchtests/bench-memmove-ifunc.c: New file.
16189         * benchtests/bench-memmove.c: New file.
16190         * benchtests/bench-mempcpy-ifunc.c: New file.
16191         * benchtests/bench-mempcpy.c: New file.
16192         * benchtests/bench-memset-ifunc.c: New file.
16193         * benchtests/bench-memset.c: New file.
16194         * benchtests/bench-rawmemchr-ifunc.c: New file.
16195         * benchtests/bench-rawmemchr.c: New file.
16196         * benchtests/bench-stpcpy-ifunc.c: New file.
16197         * benchtests/bench-stpcpy.c: New file.
16198         * benchtests/bench-stpncpy-ifunc.c: New file.
16199         * benchtests/bench-stpncpy.c: New file.
16200         * benchtests/bench-strcasecmp-ifunc.c: New file.
16201         * benchtests/bench-strcasecmp.c: New file.
16202         * benchtests/bench-strcasestr-ifunc.c: New file.
16203         * benchtests/bench-strcasestr.c: New file.
16204         * benchtests/bench-strcat-ifunc.c: New file.
16205         * benchtests/bench-strcat.c: New file.
16206         * benchtests/bench-strchr-ifunc.c: New file.
16207         * benchtests/bench-strchr.c: New file.
16208         * benchtests/bench-strchrnul-ifunc.c: New file.
16209         * benchtests/bench-strchrnul.c: New file.
16210         * benchtests/bench-strcmp-ifunc.c: New file.
16211         * benchtests/bench-strcmp.c: New file.
16212         * benchtests/bench-strcpy-ifunc.c: New file.
16213         * benchtests/bench-strcpy.c: New file.
16214         * benchtests/bench-strcspn-ifunc.c: New file.
16215         * benchtests/bench-strcspn.c: New file.
16216         * benchtests/bench-strlen-ifunc.c: New file.
16217         * benchtests/bench-strlen.c: New file.
16218         * benchtests/bench-strncasecmp-ifunc.c: New file.
16219         * benchtests/bench-strncasecmp.c: New file.
16220         * benchtests/bench-strncat-ifunc.c: New file.
16221         * benchtests/bench-strncat.c: New file.
16222         * benchtests/bench-strncmp-ifunc.c: New file.
16223         * benchtests/bench-strncmp.c: New file.
16224         * benchtests/bench-strncpy-ifunc.c: New file.
16225         * benchtests/bench-strncpy.c: New file.
16226         * benchtests/bench-strnlen-ifunc.c: New file.
16227         * benchtests/bench-strnlen.c: New file.
16228         * benchtests/bench-strpbrk-ifunc.c: New file.
16229         * benchtests/bench-strpbrk.c: New file.
16230         * benchtests/bench-strrchr-ifunc.c: New file.
16231         * benchtests/bench-strrchr.c: New file.
16232         * benchtests/bench-strspn-ifunc.c: New file.
16233         * benchtests/bench-strspn.c: New file.
16234         * benchtests/bench-strstr-ifunc.c: New file.
16235         * benchtests/bench-strstr.c: New file.
16236
16237         * benchtests/Makefile: Disable parallel execution of targets.
16238         (string-bench): Add memcpy.
16239         (benchset): New variable to store a list of benchmark sets.
16240         (bench-func): Renamed from bench.
16241         (bench-set): New target.
16242         (bench): Depend on bench-func and bench-set.
16243         * benchtests/README: Add section on benchmark sets.
16244         * benchtests/bench-memcpy-ifunc.c: New file.
16245         * benchtests/bench-memcpy.c: New file.
16246         * benchtests/bench-string.h: New file.
16247
16248 2013-06-11  Andreas Schwab  <schwab@suse.de>
16249
16250         [BZ #15577]
16251         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16252         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16253         values in the triple.
16254         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16255         terminator in the group key.
16256
16257 2013-06-11  Andreas Jaeger  <aj@suse.de>
16258
16259         * po/zh_TW.po: Update Chinese (traditional) translation from
16260         translation project.
16261
16262 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16263
16264         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16265         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16266         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16267         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16268         (clock_getcpuclockid): Likewise.
16269         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16270         Add weak_alias and libc_hidden_def.
16271         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16272         * rt/clock_gettime.c (clock_gettime): Rename to
16273         __clock_gettime.  Add weak_alias and libc_hidden_def.
16274         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16275         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16276         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16277         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16278         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16279         Likewise.
16280         * rt/clock_settime.c (clock_settime): Rename to
16281         __clock_settime.  Add weak_alias and libc_hidden_def.
16282         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16283
16284 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16285
16286         * mach/err_boot.sub: Remove trailing whitespace.
16287         * mach/err_ipc.sub: Likewise.
16288         * mach/err_mach.sub: Likewise.
16289
16290         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16291         (ROUNDING_TESTS_double): Likewise.
16292         (ROUNDING_TESTS_long_double): Likewise.
16293         (ROUNDING_TESTS): Likewise.
16294         * math/libm-test.inc: Include <math-tests.h>.
16295         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16296         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16297         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16298         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16299
16300 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16301
16302         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16303         of assigning.
16304
16305 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16306
16307         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16308         otherwise empty TRANS lines.
16309         * sysdeps/gnu/errlist.c: Regenerated.
16310
16311         * catgets/gencat.c (error_print): Use (void) in function
16312         definition.
16313         * crypt/crypt_util.c (__init_des): Likewise.
16314         * crypt/speeds.c (Stop): Likewise.
16315         (main): Likewise.
16316         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16317         * inet/ruserpass.c (token): Likewise.
16318         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16319         * intl/localealias.c (extend_alias_table): Likewise.
16320         * intl/plural-exp.c (init_germanic_plural): Likewise.
16321         * libio/fcloseall.c (__fcloseall): Likewise.
16322         * libio/genops.c (_IO_flush_all): Likewise.
16323         (_IO_flush_all_linebuffered): Likewise.
16324         (_IO_cleanup): Likewise.
16325         (_IO_iter_begin): Likewise.
16326         (_IO_iter_end): Likewise.
16327         (_IO_list_lock): Likewise.
16328         (_IO_list_unlock): Likewise.
16329         (_IO_list_resetlock): Likewise.
16330         * libio/getchar.c (getchar): Likewise.
16331         * libio/getchar_u.c (getchar_unlocked): Likewise.
16332         * libio/getwchar.c (getwchar): Likewise.
16333         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16334         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16335         * login/getpt.c (__getpt): Likewise.
16336         * login/tst-utmp.c (main): Likewise.
16337         * malloc/hooks.c (__malloc_check_init): Likewise.
16338         * malloc/malloc.c (__malloc_stats): Likewise.
16339         * malloc/mtrace.c (tr_break): Likewise.
16340         (mtrace): Likewise.
16341         (muntrace): Likewise.
16342         * misc/fstab.c (endfsent): Likewise.
16343         * misc/getclktck.c (__getclktck): Likewise.
16344         * misc/getdtsz.c (__getdtablesize): Likewise.
16345         * misc/gethostid.c (gethostid): Likewise.
16346         * misc/getpagesize.c (__getpagesize): Likewise.
16347         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16348         (__get_nprocs): Likewise.
16349         (__get_phys_pages): Likewise.
16350         (__get_avphys_pages): Likewise.
16351         * misc/getttyent.c (getttyent): Likewise.
16352         (setttyent): Likewise.
16353         (endttyent): Likewise.
16354         * misc/getusershell.c (getusershell): Likewise.
16355         (endusershell): Likewise.
16356         (setusershell): Likewise.
16357         (initshells): Likewise.
16358         * misc/hsearch.c (__hdestroy): Likewise.
16359         * misc/sync.c (sync): Likewise.
16360         * misc/syslog.c (closelog_internal): Likewise.
16361         (closelog): Likewise.
16362         * misc/ttyslot.c (ttyslot): Likewise.
16363         * misc/vhangup.c (vhangup): Likewise.
16364         * posix/fork.c (__fork): Likewise.
16365         * posix/getegid.c (__getegid): Likewise.
16366         * posix/geteuid.c (__geteuid): Likewise.
16367         * posix/getgid.c (__getgid): Likewise.
16368         * posix/getpid.c (__getpid): Likewise.
16369         * posix/getppid.c (__getppid): Likewise.
16370         * posix/getuid.c (__getuid): Likewise.
16371         * posix/pause.c (pause): Likewise.
16372         * posix/setpgrp.c (setpgrp): Likewise.
16373         * posix/setsid.c (__setsid): Likewise.
16374         * posix/test-vfork.c (noop): Likewise.
16375         * resolv/gethnamaddr.c (_endhtent): Likewise.
16376         (_gethtent): Likewise.
16377         (ht_endhostent): Likewise.
16378         (gethostent): Likewise.
16379         (dns_service): Likewise.
16380         * stdlib/drand48.c (drand48): Likewise.
16381         * stdlib/lrand48.c (lrand48): Likewise.
16382         * stdlib/mrand48.c (mrand48): Likewise.
16383         * stdlib/rand.c (rand): Likewise.
16384         * stdlib/random.c (__random): Likewise.
16385         * stdlib/setenv.c (clearenv): Likewise.
16386         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16387         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16388         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16389         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16390         (__get_nprocs): Likewise.
16391         (__get_phys_pages): Likewise.
16392         (__get_avphys_pages): Likewise.
16393         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16394         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16395         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16396         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16397         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16398         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16399         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16400         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16401         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16402         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16403         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16404         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16405         * sysdeps/posix/clock.c (clock): Likewise.
16406         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16407         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16408         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16409         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16410         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16412         (__get_nprocs_conf): Likewise.
16413         (__get_phys_pages): Likewise.
16414         (__get_avphys_pages): Likewise.
16415         * time/clock.c (clock): Likewise.
16416         * time/tzset.c (__tzname_max): Likewise.
16417
16418 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16419
16420         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16421         (__bswap_32): Do not use "register".
16422         * crypt/crypt.c (_ufc_doit_r): Likewise.
16423         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16424         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16425         * gmon/gmon.c (__monstartup): Likewise.
16426         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16427         * hurd/hurdmalloc.c (more_memory): Likewise.
16428         (malloc): Likewise.
16429         (free): Likewise.
16430         (realloc): Likewise.
16431         (malloc_fork_prepare): Likewise.
16432         (malloc_fork_parent): Likewise.
16433         (malloc_fork_child): Likewise.
16434         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16435         (_svcauth_des): Likewise.
16436         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16437         * inet/inet_net.c (inet_network): Likewise.
16438         * inet/inet_netof.c (inet_netof): Likewise.
16439         * inet/rcmd.c (__validuser2_sa): Likewise.
16440         * io/fts.c (fts_open): Likewise.
16441         (fts_load): Likewise.
16442         (fts_close): Likewise.
16443         (fts_read): Likewise.
16444         (fts_children): Likewise.
16445         (fts_build): Likewise.
16446         (fts_stat): Likewise.
16447         (fts_sort): Likewise.
16448         (fts_alloc): Likewise.
16449         (fts_lfree): Likewise.
16450         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16451         (_IO_file_xsgetn): Likewise.
16452         (_IO_file_xsgetn_mmap): Likewise.
16453         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16454         (_IO_cookie_write): Likewise.
16455         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16456         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16457         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16458         * malloc/obstack.c (_obstack_begin): Likewise.
16459         (_obstack_begin_1): Likewise.
16460         (_obstack_newchunk): Likewise.
16461         (_obstack_allocated_p): Likewise.
16462         (obstack_free): Likewise.
16463         (_obstack_memory_used): Likewise.
16464         * misc/getttyent.c (getttynam): Likewise.
16465         (getttyent): Likewise.
16466         (skip): Likewise.
16467         (value): Likewise.
16468         * misc/getusershell.c (initshells): Likewise.
16469         * misc/syslog.c (__vsyslog_chk): Likewise.
16470         * misc/ttyslot.c (ttyslot): Likewise.
16471         * nis/nis_hash.c (__nis_hash): Likewise.
16472         * posix/fnmatch_loop.c (FCT): Likewise.
16473         * posix/getconf.c (print_all): Likewise.
16474         (main): Likewise.
16475         * posix/getopt.c (exchange): Likewise.
16476         * posix/glob.c (globfree): Likewise.
16477         (prefix_array): Likewise.
16478         (__glob_pattern_type): Likewise.
16479         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16480         (NS_GET32): Likewise.
16481         (NS_PUT16): Likewise.
16482         (NS_PUT32): Likewise.
16483         * resolv/gethnamaddr.c (getanswer): Likewise.
16484         (gethostbyname2): Likewise.
16485         (gethostbyaddr): Likewise.
16486         (_gethtent): Likewise.
16487         (_gethtbyname2): Likewise.
16488         (_gethtbyaddr): Likewise.
16489         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16490         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16491         * resolv/res_init.c (__res_vinit): Likewise.
16492         (net_mask): Likewise.
16493         * resolv/res_mkquery.c (outchar): Likewise.
16494         (PRINT): Likewise.
16495         * stdio-common/printf_fp.c (outchar): Likewise.
16496         (PRINT): Likewise.
16497         * stdio-common/printf_fphex.c (outchar): Likewise.
16498         (PRINT): Likewise.
16499         * stdio-common/printf_size.c (outchar): Likewise.
16500         (PRINT): Likewise.
16501         * stdio-common/test_rdwr.c (main): Likewise.
16502         * stdio-common/tfformat.c (matches): Likewise.
16503         * stdio-common/vfprintf.c (outchar): Likewise.
16504         (printf_unknown): Likewise.
16505         (buffered_vfprintf): Likewise.
16506         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16507         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16508         (ReadFile): Likewise.
16509         * stdlib/qsort.c (SWAP): Likewise.
16510         (_quicksort): Likewise.
16511         * stdlib/setenv.c (__add_to_environ): Likewise.
16512         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16513         * stdlib/strtol_l.c (__strtol_l): Likewise.
16514         * stdlib/tst-strtod.c (main): Likewise.
16515         * stdlib/tst-strtol.c (main): Likewise.
16516         * stdlib/tst-strtoll.c (main): Likewise.
16517         * string/bits/string2.h (__strcmp_cc): Likewise.
16518         (__strcmp_cg): Likewise.
16519         (__strcspn_c1): Likewise.
16520         (__strcspn_c2): Likewise.
16521         (__strcspn_c3): Likewise.
16522         (__strspn_c1): Likewise.
16523         (__strspn_c2): Likewise.
16524         (__strspn_c3): Likewise.
16525         (__strsep_1c): Likewise.
16526         (__strsep_2c): Likewise.
16527         (__strsep_3c): Likewise.
16528         * string/memccpy.c (__memccpy): Likewise.
16529         * string/stpcpy.c (__stpcpy): Likewise.
16530         * string/strcmp.c (strcmp): Likewise.
16531         * string/strrchr.c (strrchr): Likewise.
16532         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16533         Likewise.
16534         * sysdeps/mach/hurd/getcwd.c
16535         (_hurd_canonicalize_directory_name_internal): Likewise.
16536         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16537         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16538         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16539         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16540         Likewise, in both definitions.
16541         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16542         definitions.
16543         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16544         64] (__bswap_64): Likewise.
16545         * time/test_time.c (main): Likewise.
16546         * time/tzfile.c (__tzfile_read): Likewise.
16547         (__tzfile_compute): Likewise.
16548         * time/tzset.c (__tzset_parse_tz): Likewise.
16549         (tzset_internal): Likewise.
16550         (compute_change): Likewise.
16551         * wcsmbs/wcscat.c (__wcscat): Likewise.
16552         * wcsmbs/wcschr.c (wcschr): Likewise.
16553         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16554         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16555         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16556         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16557         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16558         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16559         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16560         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16561         * wcsmbs/wmemset.c (wmemset): Likewise.
16562
16563 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16564
16565         * scripts/config.guess: Update to version 2013-05-16.
16566         * scripts/config.sub: Update to version 2013-04-24.
16567         * scripts/install-sh: Update to version 2011-11-20.07.
16568         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16569         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16570
16571 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16572
16573         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16574         * elf/sln.c: Likewise.
16575         * hurd/hurd/ioctl.h: Likewise.
16576         * hurd/hurdmalloc.c: Likewise.
16577         * hurd/xattr.c: Likewise.
16578         * include/shlib-compat.h: Likewise.
16579         * inet/ruserpass.c: Likewise.
16580         * libio/iofgets_u.c: Likewise.
16581         * libio/iofgetws_u.c: Likewise.
16582         * locale/programs/ld-identification.c: Likewise.
16583         * locale/programs/ld-time.c: Likewise.
16584         * mach/msg-destroy.c: Likewise.
16585         * nss/nss_files/files-netgrp.c: Likewise.
16586         * resolv/res_data.c: Likewise.
16587         * soft-fp/op-1.h: Likewise.
16588         * soft-fp/op-2.h: Likewise.
16589         * soft-fp/op-4.h: Likewise.
16590         * soft-fp/op-common.h: Likewise.
16591         * stdio-common/printf_fphex.c: Likewise.
16592         * stdlib/strtod_l.c: Likewise.
16593         * sunrpc/rpc/clnt.h: Likewise.
16594         * sysdeps/generic/framestate.c: Likewise.
16595         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16596         * sysdeps/i386/bsd-setjmp.S: Likewise.
16597         * sysdeps/i386/__longjmp.S: Likewise.
16598         * sysdeps/i386/setjmp.S: Likewise.
16599         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16600         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16601         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16602         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16603         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16604         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16605         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16606         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16607         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16608         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16609         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16610         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16611         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16612         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16613         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16614         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16615         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16616         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16617         * sysdeps/ieee754/support.c: Likewise.
16618         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16619         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16620         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16621         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16622         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16623         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16624         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16625         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16626         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16627         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16628         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16629         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16630         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16631         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16632         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16633         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16634         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16636
16637 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16638
16639         * posix/transbug.c: Remove executable mode.
16640
16641 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16642
16643         * crypt/speeds.c: Remove trailing whitespace.
16644         * dlfcn/default.c: Likewise.
16645         * elf/ifuncdep2.c: Likewise.
16646         * elf/ifuncmain1.c: Likewise.
16647         * elf/ifuncmain1vis.c: Likewise.
16648         * elf/testobj.h: Likewise.
16649         * elf/tst-stackguard1.c: Likewise.
16650         * gmon/sys/gmon.h: Likewise.
16651         * hurd/hurdmsg.c: Likewise.
16652         * hurd/new-fd.c: Likewise.
16653         * hurd/ports-get.c: Likewise.
16654         * iconvdata/ibm1008_420.c: Likewise.
16655         * inet/tst-getni1.c: Likewise.
16656         * inet/tst-getni2.c: Likewise.
16657         * libio/ioungetc.c: Likewise.
16658         * libio/wfiledoalloc.c: Likewise.
16659         * manual/libm-err-tab.pl: Likewise.
16660         * math/w_dremf.c: Likewise.
16661         * misc/ftruncate.c: Likewise.
16662         * posix/bug-glob2.c: Likewise.
16663         * posix/tst-pcre.c: Likewise.
16664         * posix/wait4.c: Likewise.
16665         * resolv/README: Likewise.
16666         * resolv/res_debug.h: Likewise.
16667         * resolv/tst-inet_ntop.c: Likewise.
16668         * setjmp/bug269-setjmp.c: Likewise.
16669         * soft-fp/extended.h: Likewise.
16670         * soft-fp/op-1.h: Likewise.
16671         * soft-fp/op-2.h: Likewise.
16672         * soft-fp/op-4.h: Likewise.
16673         * soft-fp/op-8.h: Likewise.
16674         * soft-fp/testit.c: Likewise.
16675         * stdio-common/bug16.c: Likewise.
16676         * stdlib/random.c: Likewise.
16677         * sunrpc/rpcsvc/rquota.x: Likewise.
16678         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16679         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16680         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16681         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16682         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16683         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16684         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16685         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16686         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16687         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16688         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16689         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16690         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16691         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16692         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16693         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16694         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16695         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16696         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16697         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16698         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16699         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16700         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16701         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16702         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16703         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16704         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16705         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16706         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16707         * sysdeps/ieee754/s_lib_version.c: Likewise.
16708         * sysdeps/mach/hurd/check_fds.c: Likewise.
16709         * sysdeps/mach/hurd/getsockname.c: Likewise.
16710         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16711         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16712         * sysdeps/powerpc/bits/link.h: Likewise.
16713         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16714         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16715         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16716         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16717         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16718         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16719         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16720         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16721         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16722         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16723         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16724         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16725         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16726         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16727         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16728         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16729         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16730         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16731         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16732         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16733         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16734         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16735         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16736         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16737         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16738         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16739         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16740         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16741         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16742         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16743         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16744         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16745         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16746         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16747         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16748         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16749         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16750         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16751         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16752         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16753         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16754         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16755         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16756         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16757         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16758         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16759         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16760         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16761         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16762         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16763         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16765         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16766         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16767         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16768         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16769         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16770         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16771         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16772         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16773         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16774         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16775         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16776         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16777         * sysdeps/powerpc/sysdep.h: Likewise.
16778         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16779         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16780         * sysdeps/sh/dl-trampoline.S: Likewise.
16781         * sysdeps/sh/memset.S: Likewise.
16782         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16783         * sysdeps/sh/strlen.S: Likewise.
16784         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16785         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16786         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16787         * sysdeps/sparc/sparc32/rem.S: Likewise.
16788         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16789         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16790         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16791         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16792         * sysdeps/sparc/sparc32/urem.S: Likewise.
16793         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16794         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16795         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16796         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16797         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16798         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16799         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16800         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16801         * sysdeps/unix/bsd/times.c: Likewise.
16802         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16803         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16807         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16808         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16809         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16810         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16811         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16812         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16813         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16814         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16815         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16816         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16817         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16818         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16819         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16820         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16821         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16822         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16823         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16824         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16825         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16826         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16827         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16828         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16829         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16830         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16831         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16832         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16833         * sysdeps/x86_64/strcspn.S: Likewise.
16834
16835 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16836
16837         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16838         generated file.  Regenerate properly from gen-translit.pl.
16839         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16840         locale/C-translit.h.
16841
16842 2013-06-05  Andreas Schwab  <schwab@suse.de>
16843
16844         [BZ #15100]
16845         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16846         week as 6 instead of -1.
16847         * time/tst-strptime.c (day_tests): Add test case.
16848
16849 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16850
16851         * sysdeps/generic/math_private.h
16852         (libc_feholdexcept_setround_53bit): Replace with
16853         libc_feholdsetround_53bit.
16854         (libc_feupdateenv_53bit): Replace with
16855         libc_feresetround_53bit.
16856         (SET_RESTORE_ROUND_53BIT): Adjust.
16857
16858 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16859
16860         * string/test-strchrnul.c: Add copyright header.
16861
16862         * posix/tst-getaddrinfo4.c: Increase test timeout.
16863
16864 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16865
16866         [BZ #15536]
16867         * math/libm-test.inc (MAX_EXP): Remove
16868         (MIN_EXP): Define.
16869         (ulp): Use MIN_EXP - MANT_DIG.
16870         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16871
16872 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16873
16874         * po/be.po: Revert last change.
16875         * po/zh_CN.po: Likewise.
16876         * po/header.pot: Likewise.
16877
16878 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16879
16880         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16881         link-libc-deps to empty as target-specific variable.
16882         * Makerules (link-libc-args): New variable.
16883         (libc-for-link): Likewise.
16884         (link-libc-deps): Likewise.
16885         (lib%.so): Depend on $(link-libc-deps).  Link with
16886         $(link-libc-args).
16887         (build-module): Link with $(link-libc-args).
16888         (build-module-asneeded): Likewise.
16889         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16890         list of objects.
16891         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16892         target-specific variable.
16893         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16894         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16895         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16896         libc.
16897         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16898         libc and ld.so.
16899         ($(objpfx)libpcprofile.so): Likewise.
16900         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16901         libc_nonshared.a.
16902         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16903         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16904         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16905         $(link-libc-deps).
16906         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16907         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16908         * login/Makefile ($(objpfx)libutil.so): Likewise.
16909         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16910         * math/Makefile ($(objpfx)libm.so): Likewise.
16911         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16912         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16913         variable instead of depending directly on libc.
16914         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16915         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16916         $(link-libc-deps).
16917         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16918         libc.
16919         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16920         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16921         ($(objpfx)libanl.so): Likewise.
16922         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16923         ld.so.
16924         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16925         $(link-libc-deps).
16926         * sysdeps/i386/fpu/Makefile: Remove file.
16927         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16928         ($(objpfx)libm.so): Remove dependency on ld.so.
16929
16930 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16931
16932         [BZ # 15553]
16933         * nis/yp_xdr.c (XDRMAXNAME): Define.
16934         (XDRMAXRECORD): Define.
16935         (xdr_domainname): Use XDRMAXNAME.
16936         (xdr_mapname): Likewise.
16937         (xdr_peername): Likewise.
16938         (xdr_keydat): Use XDRMAXRECORD.
16939         (xdr_valdat): Likewise.
16940
16941 2013-05-30  Jeff Law  <law@redhat.com>
16942
16943         [BZ #14256]
16944         * manual/errno.texi (ESTALE): Update to account for more than
16945         just NFS file systems.
16946         * sysdeps/gnu/errlist.c: Regenerated.
16947
16948 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16949
16950         [BZ #15465]
16951         * elf/Makefile (tests): Add tst-null-argv.
16952         (modules-names):  Add tst-null-argv-lib.
16953         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16954         (tst-null-argv-ENV): Set environment for tst-null-argv.
16955         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16956         (RTLD_PROGNAME): New macro.
16957         * elf/tst-null-argv.c: New test case.
16958         * elf/tst-null-argv-lib.c: Library for test case.
16959         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16960         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16961         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16962         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16963         * elf/dl-init.c (call_init): Likewise.
16964         (_dl_init): Likewise.
16965         * elf/dl-load.c (print_search_path): Likewise.
16966         (_dl_map_object): Likewise.
16967         * elf/dl-lookup.c (do_lookup_x): Likewise.
16968         (add_dependency): Likewise.
16969         (_dl_lookup_symbol_x): Likewise.
16970         (_dl_debug_bindings): Likewise.
16971         * elf/dl-open.c (_dl_show_scope): Likewise.
16972         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16973         * elf/dl-version.c (match_symbol): Likewise.
16974         (_dl_check_map_versions): Likewise.
16975         * elf/rtld.c (dl_main): Likewise.
16976         (print_unresolved): Use RTLD_PROGNAME.
16977         (print_missing_version): Likewise.
16978         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16979         (elf_machine_rela): Likewise.
16980         * sysdeps/powerpc/powerpc32/dl-machine.c
16981         (__process_machine_rela): Likewise.
16982         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16983         Likewise.
16984         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16985         Likewise.
16986         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16987         Likewise.
16988         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16989         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16990         Likewise.
16991         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16992         Likewise.
16993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16994
16995 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16996
16997         * po/be.po: Add descriptive title.
16998         * po/zh_CN.po: Likewise.
16999         * po/header.pot: Likewise.
17000
17001 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17002
17003         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17004         error message.
17005         (enlarge_archive): Likewise.
17006
17007 2013-05-28  Ben North  <ben@redfrontdoor.org>
17008
17009         * manual/arith.texi (frexp): It is the magnitude of the return
17010         value which lies in [0.5, 1), not the return value itself.
17011
17012 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17013
17014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17015
17016 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17017
17018         * stdio-common/bug26.c (main): Correct fscanf template.
17019
17020         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17021         declare _dl_skip_args.
17022
17023         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17024         Don't declare.
17025
17026         * manual/platform.texi: Add missing @end deftypefun.
17027
17028 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17029
17030         [BZ #15529]
17031         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17032         bit of mantissa of 2^16382.
17033         * math/libm-test.inc (hypot_test_data): Add more tests.
17034
17035         * math/libm-test.inc: Add drem and pow10 to list of tested
17036         functions.
17037         (pow10_test): New function.
17038         (drem_test): Likewise.
17039         (drem_test_tonearest): Likewise.
17040         (drem_test_towardzero): Likewise.
17041         (drem_test_downward): Likewise.
17042         (drem_test_upward): Likewise.
17043         (main): Call the new functions.
17044
17045         * math/libm-test.inc (finite_test_data): Remove.
17046         (finite_test): Run tests from isfinite_test_data.
17047         (gamma_test_data): Remove.
17048         (gamma_test): Run tests from lgamma_test_data.
17049         * sysdeps/i386/fpu/libm-test-ulps: Update.
17050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17051
17052 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17053
17054         * manual/platform.texi: Add PowerPC PPR function set documentation.
17055         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17056         implementation.
17057
17058 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17059
17060         * math/libm-test.inc (MAX_EXP): Define.
17061         (ULPDIFF): Define.
17062         (ulp): New function.
17063         (check_float_internal): Use ULPDIFF.
17064         (cpow_test): Disable failing test.
17065         (check_ulp): Test ulp() implemetnation.
17066         (main): Call check_ulp before starting tests.
17067
17068 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17069
17070         * math/gen-libm-test.pl (generate_testfile): Do not handle
17071         START_DATA and END_DATA.
17072         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17073         END_DATA.
17074         (acos_tonearest_test_data): Likewise.
17075         (acos_towardzero_test_data): Likewise.
17076         (acos_downward_test_data): Likewise.
17077         (acos_upward_test_data): Likewise.
17078         (acosh_test_data): Likewise.
17079         (asin_test_data): Likewise.
17080         (asin_tonearest_test_data): Likewise.
17081         (asin_towardzero_test_data): Likewise.
17082         (asin_downward_test_data): Likewise.
17083         (asin_upward_test_data): Likewise.
17084         (asinh_test_data): Likewise.
17085         (atan_test_data): Likewise.
17086         (atanh_test_data): Likewise.
17087         (atan2_test_data): Likewise.
17088         (cabs_test_data): Likewise.
17089         (cacos_test_data): Likewise.
17090         (cacosh_test_data): Likewise.
17091         (carg_test_data): Likewise.
17092         (casin_test_data): Likewise.
17093         (casinh_test_data): Likewise.
17094         (catan_test_data): Likewise.
17095         (catanh_test_data): Likewise.
17096         (cbrt_test_data): Likewise.
17097         (ccos_test_data): Likewise.
17098         (ccosh_test_data): Likewise.
17099         (ceil_test_data): Likewise.
17100         (cexp_test_data): Likewise.
17101         (cimag_test_data): Likewise.
17102         (clog_test_data): Likewise.
17103         (clog10_test_data): Likewise.
17104         (conj_test_data): Likewise.
17105         (copysign_test_data): Likewise.
17106         (cos_test_data): Likewise.
17107         (cos_tonearest_test_data): Likewise.
17108         (cos_towardzero_test_data): Likewise.
17109         (cos_downward_test_data): Likewise.
17110         (cos_upward_test_data): Likewise.
17111         (cosh_test_data): Likewise.
17112         (cosh_tonearest_test_data): Likewise.
17113         (cosh_towardzero_test_data): Likewise.
17114         (cosh_downward_test_data): Likewise.
17115         (cosh_upward_test_data): Likewise.
17116         (cpow_test_data): Likewise.
17117         (cproj_test_data): Likewise.
17118         (creal_test_data): Likewise.
17119         (csin_test_data): Likewise.
17120         (csinh_test_data): Likewise.
17121         (csqrt_test_data): Likewise.
17122         (ctan_test_data): Likewise.
17123         (ctan_tonearest_test_data): Likewise.
17124         (ctan_towardzero_test_data): Likewise.
17125         (ctan_downward_test_data): Likewise.
17126         (ctan_upward_test_data): Likewise.
17127         (ctanh_test_data): Likewise.
17128         (ctanh_tonearest_test_data): Likewise.
17129         (ctanh_towardzero_test_data): Likewise.
17130         (ctanh_downward_test_data): Likewise.
17131         (ctanh_upward_test_data): Likewise.
17132         (erf_test_data): Likewise.
17133         (erfc_test_data): Likewise.
17134         (exp_test_data): Likewise.
17135         (exp_tonearest_test_data): Likewise.
17136         (exp_towardzero_test_data): Likewise.
17137         (exp_downward_test_data): Likewise.
17138         (exp_upward_test_data): Likewise.
17139         (exp10_test_data): Likewise.
17140         (exp2_test_data): Likewise.
17141         (expm1_test_data): Likewise.
17142         (fabs_test_data): Likewise.
17143         (fdim_test_data): Likewise.
17144         (finite_test_data): Likewise.
17145         (floor_test_data): Likewise.
17146         (fma_test_data): Likewise.
17147         (fma_towardzero_test_data): Likewise.
17148         (fma_downward_test_data): Likewise.
17149         (fma_upward_test_data): Likewise.
17150         (fmax_test_data): Likewise.
17151         (fmin_test_data): Likewise.
17152         (fmod_test_data): Likewise.
17153         (fpclassify_test_data): Likewise.
17154         (frexp_test_data): Likewise.
17155         (gamma_test_data): Likewise.
17156         (hypot_test_data): Likewise.
17157         (ilogb_test_data): Likewise.
17158         (isfinite_test_data): Likewise.
17159         (isgreater_test_data): Likewise.
17160         (isgreaterequal_test_data): Likewise.
17161         (isinf_test_data): Likewise.
17162         (isless_test_data): Likewise.
17163         (islessequal_test_data): Likewise.
17164         (islessgreater_test_data): Likewise.
17165         (isnan_test_data): Likewise.
17166         (isnormal_test_data): Likewise.
17167         (issignaling_test_data): Likewise.
17168         (isunordered_test_data): Likewise.
17169         (j0_test_data): Likewise.
17170         (j1_test_data): Likewise.
17171         (jn_test_data): Likewise.
17172         (ldexp_test_data): Likewise.
17173         (lgamma_test_data): Likewise.
17174         (lrint_test_data): Likewise.
17175         (lrint_tonearest_test_data): Likewise.
17176         (lrint_towardzero_test_data): Likewise.
17177         (lrint_downward_test_data): Likewise.
17178         (lrint_upward_test_data): Likewise.
17179         (llrint_test_data): Likewise.
17180         (llrint_tonearest_test_data): Likewise.
17181         (llrint_towardzero_test_data): Likewise.
17182         (llrint_downward_test_data): Likewise.
17183         (llrint_upward_test_data): Likewise.
17184         (log_test_data): Likewise.
17185         (log10_test_data): Likewise.
17186         (log1p_test_data): Likewise.
17187         (log2_test_data): Likewise.
17188         (logb_test_data): Likewise.
17189         (logb_downward_test_data): Likewise.
17190         (lround_test_data): Likewise.
17191         (llround_test_data): Likewise.
17192         (modf_test_data): Likewise.
17193         (nearbyint_test_data): Likewise.
17194         (nextafter_test_data): Likewise.
17195         (nexttoward_test_data): Likewise.
17196         (pow_test_data): Likewise.
17197         (pow_tonearest_test_data): Likewise.
17198         (pow_towardzero_test_data): Likewise.
17199         (pow_downward_test_data): Likewise.
17200         (pow_upward_test_data): Likewise.
17201         (remainder_test_data): Likewise.
17202         (remainder_tonearest_test_data): Likewise.
17203         (remainder_towardzero_test_data): Likewise.
17204         (remainder_downward_test_data): Likewise.
17205         (remainder_upward_test_data): Likewise.
17206         (remquo_test_data): Likewise.
17207         (rint_test_data): Likewise.
17208         (rint_tonearest_test_data): Likewise.
17209         (rint_towardzero_test_data): Likewise.
17210         (rint_downward_test_data): Likewise.
17211         (rint_upward_test_data): Likewise.
17212         (round_test_data): Likewise.
17213         (scalb_test_data): Likewise.
17214         (scalbn_test_data): Likewise.
17215         (scalbln_test_data): Likewise.
17216         (signbit_test_data): Likewise.
17217         (sin_test_data): Likewise.
17218         (sin_tonearest_test_data): Likewise.
17219         (sin_towardzero_test_data): Likewise.
17220         (sin_downward_test_data): Likewise.
17221         (sin_upward_test_data): Likewise.
17222         (sincos_test_data): Likewise.
17223         (sinh_test_data): Likewise.
17224         (sinh_tonearest_test_data): Likewise.
17225         (sinh_towardzero_test_data): Likewise.
17226         (sinh_downward_test_data): Likewise.
17227         (sinh_upward_test_data): Likewise.
17228         (sqrt_test_data): Likewise.
17229         (tan_test_data): Likewise.
17230         (tan_tonearest_test_data): Likewise.
17231         (tan_towardzero_test_data): Likewise.
17232         (tan_downward_test_data): Likewise.
17233         (tan_upward_test_data): Likewise.
17234         (tanh_test_data): Likewise.
17235         (tgamma_test_data): Likewise.
17236         (trunc_test_data): Likewise.
17237         (y0_test_data): Likewise.
17238         (y1_test_data): Likewise.
17239         (yn_test_data): Likewise.
17240         (significand_test_data): Likewise.
17241
17242         * math/gen-libm-test.pl (@functions): Remove variable.
17243         (generate_testfile): Don't handle START and END lines.
17244         * math/libm-test.inc (START): New macro.
17245         (END): Likewise.
17246         (END_COMPLEX): Likewise.
17247         (acos_test): Use END macro without arguments.
17248         (acos_test_tonearest): Likewise.
17249         (acos_test_towardzero): Likewise.
17250         (acos_test_downward): Likewise.
17251         (acos_test_upward): Likewise.
17252         (acosh_test): Likewise.
17253         (asin_test): Likewise.
17254         (asin_test_tonearest): Likewise.
17255         (asin_test_towardzero): Likewise.
17256         (asin_test_downward): Likewise.
17257         (asin_test_upward): Likewise.
17258         (asinh_test): Likewise.
17259         (atan_test): Likewise.
17260         (atanh_test): Likewise.
17261         (atan2_test): Likewise.
17262         (cabs_test): Likewise.
17263         (cacos_test): Use END_COMPLEX macro without arguments.
17264         (cacosh_test): Likewise.
17265         (carg_test): Use END macro without arguments.
17266         (casin_test): Use END_COMPLEX macro without arguments.
17267         (casinh_test): Likewise.
17268         (catan_test): Likewise.
17269         (catanh_test): Likewise.
17270         (cbrt_test): Use END macro without arguments.
17271         (ccos_test): Use END_COMPLEX macro without arguments.
17272         (ccosh_test): Likewise.
17273         (ceil_test): Use END macro without arguments.
17274         (cexp_test): Use END_COMPLEX macro without arguments.
17275         (cimag_test): Use END macro without arguments.
17276         (clog_test): Use END_COMPLEX macro without arguments.
17277         (clog10_test): Likewise.
17278         (conj_test): Likewise.
17279         (copysign_test): Use END macro without arguments.
17280         (cos_test): Likewise.
17281         (cos_test_tonearest): Likewise.
17282         (cos_test_towardzero): Likewise.
17283         (cos_test_downward): Likewise.
17284         (cos_test_upward): Likewise.
17285         (cosh_test): Likewise.
17286         (cosh_test_tonearest): Likewise.
17287         (cosh_test_towardzero): Likewise.
17288         (cosh_test_downward): Likewise.
17289         (cosh_test_upward): Likewise.
17290         (cpow_test): Use END_COMPLEX macro without arguments.
17291         (cproj_test): Likewise.
17292         (creal_test): Use END macro without arguments.
17293         (csin_test): Use END_COMPLEX macro without arguments.
17294         (csinh_test): Likewise.
17295         (csqrt_test): Likewise.
17296         (ctan_test): Likewise.
17297         (ctan_test_tonearest): Likewise.
17298         (ctan_test_towardzero): Likewise.
17299         (ctan_test_downward): Likewise.
17300         (ctan_test_upward): Likewise.
17301         (ctanh_test): Likewise.
17302         (ctanh_test_tonearest): Likewise.
17303         (ctanh_test_towardzero): Likewise.
17304         (ctanh_test_downward): Likewise.
17305         (ctanh_test_upward): Likewise.
17306         (erf_test): Use END macro without arguments.
17307         (erfc_test): Likewise.
17308         (exp_test): Likewise.
17309         (exp_test_tonearest): Likewise.
17310         (exp_test_towardzero): Likewise.
17311         (exp_test_downward): Likewise.
17312         (exp_test_upward): Likewise.
17313         (exp10_test): Likewise.
17314         (exp2_test): Likewise.
17315         (expm1_test): Likewise.
17316         (fabs_test): Likewise.
17317         (fdim_test): Likewise.
17318         (finite_test): Likewise.
17319         (floor_test): Likewise.
17320         (fma_test): Likewise.
17321         (fma_test_towardzero): Likewise.
17322         (fma_test_downward): Likewise.
17323         (fma_test_upward): Likewise.
17324         (fmax_test): Likewise.
17325         (fmin_test): Likewise.
17326         (fmod_test): Likewise.
17327         (fpclassify_test): Likewise.
17328         (frexp_test): Likewise.
17329         (gamma_test): Likewise.
17330         (hypot_test): Likewise.
17331         (ilogb_test): Likewise.
17332         (isfinite_test): Likewise.
17333         (isgreater_test): Likewise.
17334         (isgreaterequal_test): Likewise.
17335         (isinf_test): Likewise.
17336         (isless_test): Likewise.
17337         (islessequal_test): Likewise.
17338         (islessgreater_test): Likewise.
17339         (isnan_test): Likewise.
17340         (isnormal_test): Likewise.
17341         (issignaling_test): Likewise.
17342         (isunordered_test): Likewise.
17343         (j0_test): Likewise.
17344         (j1_test): Likewise.
17345         (jn_test): Likewise.
17346         (ldexp_test): Likewise.
17347         (lgamma_test): Likewise.
17348         (lrint_test): Likewise.
17349         (lrint_test_tonearest): Likewise.
17350         (lrint_test_towardzero): Likewise.
17351         (lrint_test_downward): Likewise.
17352         (lrint_test_upward): Likewise.
17353         (llrint_test): Likewise.
17354         (llrint_test_tonearest): Likewise.
17355         (llrint_test_towardzero): Likewise.
17356         (llrint_test_downward): Likewise.
17357         (llrint_test_upward): Likewise.
17358         (log_test): Likewise.
17359         (log10_test): Likewise.
17360         (log1p_test): Likewise.
17361         (log2_test): Likewise.
17362         (logb_test): Likewise.
17363         (logb_test_downward): Likewise.
17364         (lround_test): Likewise.
17365         (llround_test): Likewise.
17366         (modf_test): Likewise.
17367         (nearbyint_test): Likewise.
17368         (nextafter_test): Likewise.
17369         (nexttoward_test): Likewise.
17370         (pow_test): Likewise.
17371         (pow_test_tonearest): Likewise.
17372         (pow_test_towardzero): Likewise.
17373         (pow_test_downward): Likewise.
17374         (pow_test_upward): Likewise.
17375         (remainder_test): Likewise.
17376         (remainder_test_tonearest): Likewise.
17377         (remainder_test_towardzero): Likewise.
17378         (remainder_test_downward): Likewise.
17379         (remainder_test_upward): Likewise.
17380         (remquo_test): Likewise.
17381         (rint_test): Likewise.
17382         (rint_test_tonearest): Likewise.
17383         (rint_test_towardzero): Likewise.
17384         (rint_test_downward): Likewise.
17385         (rint_test_upward): Likewise.
17386         (round_test): Likewise.
17387         (scalb_test): Likewise.
17388         (scalbn_test): Likewise.
17389         (scalbln_test): Likewise.
17390         (signbit_test): Likewise.
17391         (sin_test): Likewise.
17392         (sin_test_tonearest): Likewise.
17393         (sin_test_towardzero): Likewise.
17394         (sin_test_downward): Likewise.
17395         (sin_test_upward): Likewise.
17396         (sincos_test): Likewise.
17397         (sinh_test): Likewise.
17398         (sinh_test_tonearest): Likewise.
17399         (sinh_test_towardzero): Likewise.
17400         (sinh_test_downward): Likewise.
17401         (sinh_test_upward): Likewise.
17402         (sqrt_test): Likewise.
17403         (tan_test): Likewise.
17404         (tan_test_tonearest): Likewise.
17405         (tan_test_towardzero): Likewise.
17406         (tan_test_downward): Likewise.
17407         (tan_test_upward): Likewise.
17408         (tanh_test): Likewise.
17409         (tgamma_test): Likewise.
17410         (trunc_test): Likewise.
17411         (y0_test): Likewise.
17412         (y1_test): Likewise.
17413         (yn_test): Likewise.
17414         (significand_test): Likewise.
17415
17416 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17417
17418         [BZ #15381]
17419         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17420
17421 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17422
17423         [BZ #14894]
17424         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17425         __ppc_mdoio and __ppc_mdoom.
17426         * manual/platform.texi: Document new functions __ppc_yield,
17427         __ppc_mdoio and __ppc_mdoom.
17428
17429 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17430
17431         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17432         (main): Mention "tls" pseudo-hwcap is legacy.
17433         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17434
17435 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17436
17437         * math/gen-libm-test.pl (parse_args): Output only string of
17438         arguments as text for test name, not full call or descriptions of
17439         tests for extra outputs.
17440         (generate_testfile): Do not pass function name to parse_args.
17441         Generate this_func variable from START.
17442         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17443         field to arg_str.
17444         (struct test_ff_f_data): Likewise.
17445         (test_ff_f_data_nexttoward): Likewise.
17446         (struct test_fi_f_data): Likewise.
17447         (struct test_fl_f_data): Likewise.
17448         (struct test_if_f_data): Likewise.
17449         (struct test_fff_f_data): Likewise.
17450         (struct test_c_f_data): Likewise.
17451         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17452         (struct test_fF_f1_data): Likewise.
17453         (struct test_ffI_f1_data): Likewise.
17454         (struct test_c_c_data): Rename test_name field to arg_str.
17455         (struct test_cc_c_data): Likewise.
17456         (struct test_f_i_data): Likewise.
17457         (struct test_ff_i_data): Likewise.
17458         (struct test_f_l_data): Likewise.
17459         (struct test_f_L_data): Likewise.
17460         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17461         and extra2_name.
17462         (COMMON_TEST_SETUP): New macro.
17463         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17464         (COMMON_TEST_CLEANUP): Likewise.
17465         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17466         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17467         macros.
17468         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17469         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17470         macros.
17471         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17472         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17473         cleanup macros.
17474         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17475         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17476         macros.
17477         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17478         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17479         macros.
17480         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17481         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17482         cleanup macros.
17483         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17484         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17485         cleanup macros.
17486         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17487         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17488         cleanup macros.
17489         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17490         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17491         macros.
17492         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17493         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17494         macros.
17495         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17496         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17497         macros.
17498         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17499         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17500         cleanup macros.
17501         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17502         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17503         cleanup macros.
17504         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17505         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17506         macros.
17507         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17508         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17509         cleanup macros.
17510         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17511         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17512         macros.
17513         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17514         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17515         macros.
17516         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17517         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17518         cleanup macros.
17519         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17520
17521 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17522
17523         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17524         to _sifields.sigfault.
17525         (si_addr_lsb): Define new macro.
17526         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17527         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17528         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17529
17530 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17531
17532         [BZ #15441]
17533         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17534         returns -1.
17535         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17536         null return -1.
17537         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17538         loading the domain.
17539
17540 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17541
17542         * math/gen-libm-test.pl (parse_args): Do not include expected
17543         result in test name.
17544         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17545         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17546         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17547         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17548         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17550
17551 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17552
17553         * benchtests/Makefile: Sort function entries.
17554
17555         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17556         tanh, asinh, acosh, atanh.
17557         * benchtests/acos-inputs: New file.
17558         * benchtests/acosh-inputs: New file.
17559         * benchtests/asin-inputs: New file.
17560         * benchtests/asinh-inputs: New file.
17561         * benchtests/atanh-inputs: New file.
17562         * benchtests/cosh-inputs: New file.
17563         * benchtests/log-inputs: New file.
17564         * benchtests/sinh-inputs: New file.
17565         * benchtests/tanh-inputs: New file.
17566
17567 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17568
17569         [BZ #15339]
17570         * posix/tst-getaddrinfo4.c: New test.
17571         * posix/Makefile (tests): Add it.
17572
17573 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17574
17575         [BZ #15339]
17576         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17577         when no services were used.
17578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17579         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17580
17581 2013-05-21  Andreas Schwab  <schwab@suse.de>
17582
17583         [BZ #15014]
17584         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17585         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17586         successful.
17587         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17588         redundant variable declarations and reallocation of buffer when
17589         parsing as IPv6 address.  Always set NSS status when called from
17590         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17591         buffer too small.  Correct computation of needed size.
17592         * nss/Makefile (tests): Add test-digits-dots.
17593         * nss/test-digits-dots.c: New test.
17594
17595 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17596
17597         * benchtests/Makefile: Remove instructions for adding
17598         benchmark tests.
17599         * benchtests/README: New file to explain how to execute and
17600         enhance the benchmark tests.
17601
17602 2013-05-21  Andreas Schwab  <schwab@suse.de>
17603
17604         [BZ #15493]
17605         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17606         * setjmp/tst-sigsetjmp.c: New test.
17607
17608 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17609
17610         * sysdeps/x86_64/memset.S (memset): New implementation.
17611         (__bzero): Likewise.
17612         (__memset_tail): New function.
17613
17614 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17615
17616         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17617         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17618         __memcpy_sse2_unaligned ifunc selection.
17619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17620         Add memcpy-sse2-unaligned.S.
17621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17622         Add: __memcpy_sse2_unaligned.
17623
17624 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17625
17626         [BZ #15490]
17627         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17628         math_force_eval before restoring floating-point envrionment.
17629         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17630         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17631         Likewise.
17632         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17633         <math_private.h>.
17634         (__nearbyintl): Use math_force_eval before restoring
17635         floating-point environment.
17636         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17637
17638         * math/gen-libm-test.pl (special_functions): Remove.
17639         (parse_args): Don't handle TEST_extra.  Handle functions with no
17640         return value.
17641         * math/libm-test.inc (struct test_sincos_data): Replace with
17642         struct test_fFF_11_data.
17643         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17644         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17645         (sincos_test_data): Change element type to struct
17646         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17647         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17648         RUN_TEST_LOOP_sincos.
17649         * math/README.libm-test: Don't mention special handling of
17650         individual functions.
17651         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17652         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17653         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17654         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17655         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17657
17658         * math/gen-libm-test.pl (get_variable): Remove function.
17659         (parse_args): Don't show pointer parameters to call in test
17660         names.  Use "extra output N" in test names for extra outputs
17661         rather than naming variables.
17662
17663 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17664
17665         [BZ #15488]
17666         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17667         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17668         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17669         double tests.
17670         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17671         disable.
17672         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17673         check_long_double.
17674
17675         * math/gen-libm-test.pl (@tests): Remove variable.
17676         ($count): Likewise.
17677         (new_test): Remove function.
17678         (show_exceptions): New function.
17679         (special_functions): Use show_exceptions instead of new_test.
17680         (parse_args): Likewise.
17681         (generate_testfile): Pass only function name in generated call to
17682         print_max_error or print_complex_max_error.
17683         (get_ulps): Do not handle complex tests specially.
17684         (output_test): Rename to ...
17685         (get_all_ulps_for_test): ... this.  Return a string rather than
17686         printing to a file.  Require ulps to be present.
17687         (output_ulps): Generate arrays rather than #defines.
17688         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17689         (struct ulp_data): New type.
17690         (BUILD_COMPLEX_ULP): Remove macro.
17691         (compare_ulp_data): New function.
17692         (find_ulps): Likewise.
17693         (find_test_ulps): Likewise.
17694         (find_function_ulps): Likewise.
17695         (find_complex_function_ulps): Likewise.
17696         (print_max_error): Determine allowed ulps using
17697         find_function_ulps.
17698         (print_complex_max_error): Determine allowed ulps using
17699         find_complex_function_ulps.
17700         (check_float_internal): Determine max ulps using find_test_ulps.
17701         (check_float): Do not take max_ulp parameter.  Update call to
17702         check_float_internal.
17703         (check_complex): Likewise.
17704         (check_int): Do not take max_ulp parameter.
17705         (check_long): Likewise.
17706         (check_bool): Likewise.
17707         (check_longlong): Likewise.
17708         (struct test_f_f_data): Remove max_ulp field.
17709         (struct test_ff_f_data): Likewise.
17710         (struct test_ff_f_data_nexttoward): Likewise.
17711         (struct test_fi_f_data): Likewise.
17712         (struct test_fl_f_data): Likewise.
17713         (struct test_if_f_data): Likewise.
17714         (struct test_fff_f_data): Likewise.
17715         (struct test_c_f_data): Likewise.
17716         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17717         (struct test_fF_f1_data): Likewise.
17718         (struct test_ffI_f1_data): Likewise.
17719         (struct test_c_c_data): Remove max_ulp field.
17720         (struct test_cc_c_data): Likewise.
17721         (struct test_f_i_data): Likewise.
17722         (struct test_ff_i_data): Likewise.
17723         (struct test_f_l_data): Likewise.
17724         (struct test_f_L_data): Likewise.
17725         (struct test_sincos_data): Likewise.
17726         (RUN_TEST_f_f): Do not handle ulps.
17727         (RUN_TEST_LOOP_f_f): Likewise.
17728         (RUN_TEST_2_f): Likewise.
17729         (RUN_TEST_LOOP_2_f): Likewise.
17730         (RUN_TEST_fff_f): Likewise.
17731         (RUN_TEST_LOOP_fff_f): Likewise.
17732         (RUN_TEST_c_f): Likewise.
17733         (RUN_TEST_LOOP_c_f): Likewise.
17734         (RUN_TEST_f_f1): Likewise.
17735         (RUN_TEST_LOOP_f_f1): Likewise.
17736         (RUN_TEST_fF_f1): Likewise.
17737         (RUN_TEST_LOOP_fF_f1): Likewise.
17738         (RUN_TEST_fI_f1): Likewise.
17739         (RUN_TEST_LOOP_fI_f1): Likewise.
17740         (RUN_TEST_ffI_f1): Likewise.
17741         (RUN_TEST_LOOP_ffI_f1): Likewise.
17742         (RUN_TEST_c_c): Likewise.
17743         (RUN_TEST_LOOP_c_c): Likewise.
17744         (RUN_TEST_cc_c): Likewise.
17745         (RUN_TEST_LOOP_cc_c): Likewise.
17746         (RUN_TEST_f_i): Likewise.
17747         (RUN_TEST_LOOP_f_i): Likewise.
17748         (RUN_TEST_f_i_tg): Likewise.
17749         (RUN_TEST_LOOP_f_i_tg): Likewise.
17750         (RUN_TEST_ff_i_tg): Likewise.
17751         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17752         (RUN_TEST_f_b): Likewise.
17753         (RUN_TEST_LOOP_f_b): Likewise.
17754         (RUN_TEST_f_b_tg): Likewise.
17755         (RUN_TEST_LOOP_f_b_tg): Likewise.
17756         (RUN_TEST_f_l): Likewise.
17757         (RUN_TEST_LOOP_f_l): Likewise.
17758         (RUN_TEST_f_L): Likewise.
17759         (RUN_TEST_LOOP_f_L): Likewise.
17760         (RUN_TEST_sincos): Likewise.
17761         (RUN_TEST_LOOP_sincos): Likewise.
17762
17763 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17764
17765         [BZ #15480]
17766         [BZ #15485]
17767         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17768         main case of finite arguments, set rounding mode to FE_TONEAREST
17769         and discard exceptions.
17770         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17771         exceptions.
17772         (remainder_tonearest_test_data): New variable.
17773         (remainder_test_tonearest): New function.
17774         (remainder_towardzero_test_data): New variable.
17775         (remainder_test_towardzero): New function.
17776         (remainder_downward_test_data): New variable.
17777         (remainder_test_downward): New function.
17778         (remainder_upward_test_data): New variable.
17779         (remainder_test_upward): New function.
17780         (main): Call the new test functions.
17781
17782         * math/libm-test.inc (struct test_f_f1_data): Remove field
17783         extra_init.
17784         (struct test_fF_f1_data): Likewise.
17785         (struct test_ffI_f1_data): Likewise.
17786         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17787         based on value of EXTRA_EXPECTED.
17788         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17789         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17790         EXTRA_VAR based on value of EXTRA_EXPECTED.
17791         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17792         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17793         EXTRA_VAR based on value of EXTRA_EXPECTED.
17794         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17795         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17796         EXTRA_VAR based on value of EXTRA_EXPECTED.
17797         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17798         * math/gen-libm-test.pl (parse_args): Don't output initializers
17799         for extra output values.
17800
17801         * math/libm-test.inc (check_int): Expect result to be exactly
17802         equal to expected value and do not handle ulps.
17803         (check_long): Likewise.
17804         (check_longlong): Likewise.
17805
17806         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17807         exceptions.
17808         (cimag_test_data): Likewise.
17809         (conj_test_data): Likewise.
17810         (copysign_test_data): Likewise.
17811         (cproj_test_data): Likewise.
17812         (creal_test_data): Likewise.
17813         (fabs_test_data): Likewise.
17814         (fdim_test_data): Likewise.
17815         (finite_test_data): Likewise.
17816         (floor_test_data): Likewise.
17817         (fmax_test_data): Likewise.
17818         (fmin_test_data): Likewise.
17819         (fmod_test_data): Likewise.
17820         (fpclassify_test_data): Likewise.
17821         (frexp_test_data): Likewise.
17822         (ilogb_test_data): Likewise.
17823         (isfinite_test_data): Likewise.
17824         (isgreater_test_data): Likewise.
17825         (isgreaterequal_test_data): Likewise.
17826         (isinf_test_data): Likewise.
17827         (isless_test_data): Likewise.
17828         (islessequal_test_data): Likewise.
17829         (islessgreater_test_data): Likewise.
17830         (isnan_test_data): Likewise.
17831         (isnormal_test_data): Likewise.
17832         (issignaling_test_data): Likewise.
17833         (isunordered_test_data): Likewise.
17834         (ldexp_test_data): Likewise.
17835         (lrint_test_data): Likewise.
17836         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17837         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17838         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17839         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17840         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17841         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17842         test input.
17843         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17844         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17845         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17846         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17847         that test input.
17848         (lrint_downward_test_data): Test for "inexact" exceptions.
17849         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17850         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17851         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17852         test input.
17853         (lrint_upward_test_data): Test for "inexact" exceptions.
17854         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17855         test input.
17856         (llrint_test_data): Test for "inexact" exceptions.
17857         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17858         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17859         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17860         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17861         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17862         (llrint_downward_test_data): Test for "inexact" exceptions.
17863         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17864         (llrint_upward_test_data): Test for "inexact" exceptions.
17865         (logb_test_data): Likewise.
17866         (logb_downward_test_data): Likewise.
17867         (nextafter_test_data): Likewise.
17868         (nexttoward_test_data): Likewise.
17869         (remainder_test_data): Likewise.
17870         (remquo_test_data): Likewise.
17871         (scalbn_test_data): Likewise.
17872         (scalbln_test_data): Likewise.
17873         (signbit_test_data): Likewise.
17874         (sqrt_test_data): Likewise.
17875         (significand_test_data): Likewise.
17876
17877 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17878
17879         [BZ #15424]
17880         * benchtests/bench-modf.c (struct args): Mark arg0 as
17881         volatile.
17882         * scripts/bench.pl: Mark members of struct args as volatile.
17883
17884 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17885
17886         [BZ # 15497]
17887         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17888         negative infinity on POWER6 or lower.
17889         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17890
17891 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17892
17893         [BZ #15442]
17894         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17895         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17896         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17897         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17898         (_FP_SETQNAN): New macro.
17899         (_FP_SETQNAN_SEMIRAW): Likewise.
17900         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17901         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17902         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17903         (FP_EXTEND): Use _FP_FRAC_SNANP.
17904         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17905         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17906         into account.
17907         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17908         New macro.
17909         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17910         Likewise.
17911
17912 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17913
17914         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17915         with DIVIDE_BY_ZERO_EXCEPTION.
17916         (gamma_test_data): Likewise.
17917         (lgamma_test_data): Likewise.
17918         (log_test_data): Likewise.
17919         (log10_test_data): Likewise.
17920         (log2_test_data): Likewise.
17921         (tgamma_test_data): Likewise.
17922
17923         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17924         (acos_test_tonearest): Likewise.
17925         (acos_test_towardzero): Likewise.
17926         (acos_test_downward): Likewise.
17927         (acos_test_upward): Likewise.
17928         (acosh_test): Likewise.
17929         (asin_test): Likewise.
17930         (asin_test_tonearest): Likewise.
17931         (asin_test_towardzero): Likewise.
17932         (asin_test_downward): Likewise.
17933         (asin_test_upward): Likewise.
17934         (asinh_test): Likewise.
17935         (atan_test): Likewise.
17936         (atanh_test): Likewise.
17937         (atan2_test): Likewise.
17938         (cabs_test): Likewise.
17939         (cacos_test): Likewise.
17940         (cacosh_test): Likewise.
17941         (casin_test): Likewise.
17942         (casinh_test): Likewise.
17943         (catan_test): Likewise.
17944         (catanh_test): Likewise.
17945         (cbrt_test): Likewise.
17946         (ccos_test): Likewise.
17947         (ccosh_test): Likewise.
17948         (cexp_test): Likewise.
17949         (clog_test): Likewise.
17950         (clog10_test): Likewise.
17951         (cos_test): Likewise.
17952         (cos_test_tonearest): Likewise.
17953         (cos_test_towardzero): Likewise.
17954         (cos_test_downward): Likewise.
17955         (cos_test_upward): Likewise.
17956         (cosh_test): Likewise.
17957         (cosh_test_tonearest): Likewise.
17958         (cosh_test_towardzero): Likewise.
17959         (cosh_test_downward): Likewise.
17960         (cosh_test_upward): Likewise.
17961         (cpow_test): Likewise.
17962         (csin_test): Likewise.
17963         (csinh_test): Likewise.
17964         (csqrt_test): Likewise.
17965         (ctan_test): Likewise.
17966         (ctan_test_tonearest): Likewise.
17967         (ctan_test_towardzero): Likewise.
17968         (ctan_test_downward): Likewise.
17969         (ctan_test_upward): Likewise.
17970         (ctanh_test): Likewise.
17971         (ctanh_test_tonearest): Likewise.
17972         (ctanh_test_towardzero): Likewise.
17973         (ctanh_test_downward): Likewise.
17974         (ctanh_test_upward): Likewise.
17975         (erf_test): Likewise.
17976         (erfc_test): Likewise.
17977         (exp_test): Likewise.
17978         (exp_test_tonearest): Likewise.
17979         (exp_test_towardzero): Likewise.
17980         (exp_test_downward): Likewise.
17981         (exp_test_upward): Likewise.
17982         (exp10_test): Likewise.
17983         (exp2_test): Likewise.
17984         (expm1_test): Likewise.
17985         (fmod_test): Likewise.
17986         (gamma_test): Likewise.
17987         (hypot_test): Likewise.
17988         (j0_test): Likewise.
17989         (j1_test): Likewise.
17990         (jn_test): Likewise.
17991         (lgamma_test): Likewise.
17992         (log_test): Likewise.
17993         (log10_test): Likewise.
17994         (log1p_test): Likewise.
17995         (log2_test): Likewise.
17996         (logb_test_downward): Likewise.
17997         (pow_test): Likewise.
17998         (pow_test_tonearest): Likewise.
17999         (pow_test_towardzero): Likewise.
18000         (pow_test_downward): Likewise.
18001         (pow_test_upward): Likewise.
18002         (remainder_test): Likewise.
18003         (remquo_test): Likewise.
18004         (sin_test): Likewise.
18005         (sin_test_tonearest): Likewise.
18006         (sin_test_towardzero): Likewise.
18007         (sin_test_downward): Likewise.
18008         (sin_test_upward): Likewise.
18009         (sincos_test): Likewise.
18010         (sinh_test): Likewise.
18011         (sinh_test_tonearest): Likewise.
18012         (sinh_test_towardzero): Likewise.
18013         (sinh_test_downward): Likewise.
18014         (sinh_test_upward): Likewise.
18015         (sqrt_test): Likewise.
18016         (tan_test): Likewise.
18017         (tan_test_tonearest): Likewise.
18018         (tan_test_towardzero): Likewise.
18019         (tan_test_downward): Likewise.
18020         (tan_test_upward): Likewise.
18021         (tanh_test): Likewise.
18022         (tgamma_test): Likewise.
18023         (y0_test): Likewise.
18024         (y1_test): Likewise.
18025         (yn_test): Likewise.
18026
18027         * math/gen-libm-test.pl (adjust_arg): Remove function.
18028         (special_function): Remove argument $in_func.  Only handle
18029         generating output for tables of tests, not inside functions.
18030         (parse_args): Likewise.
18031         (generate_testfile): Remove variable $in_func.  Update call to
18032         parse_args.
18033         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18034         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18035         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18036         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18037         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18038         (MAX_VALUE_INIT): Rename macro to max_value.
18039         (MIN_VALUE_INIT): Rename macro to min_value.
18040         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18041         (plus_zero): Remove variable.
18042         (minus_zero): Likewise.
18043         (plus_infty): Likewise.
18044         (minus_infty): Likewise.
18045         (qnan_value): Likewise.
18046         (max_value): Likewise.
18047         (min_value): Likewise.
18048         (min_subnorm_value): Likewise.
18049
18050 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18051
18052         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18053         uint64_t or uint32_t usage.
18054         * crypt/sha256-block.c: Likewise.
18055         * crypt/sha256-crypt.c: Likewise.
18056         * crypt/sha256.c: Likewise.
18057         * crypt/sha512-block.c: Likewise.
18058         * crypt/sha512-crypt.c: Likewise.
18059         * crypt/sha512.c: Likewise.
18060         * debug/backtrace-tst.c: Likewise.
18061         * debug/pcprofiledump.c: Likewise.
18062         * elf/cache.c: Likewise.
18063         * elf/dl-cache.c: Likewise.
18064         * elf/dl-misc.c: Likewise.
18065         * elf/dl-profile.c: Likewise.
18066         * elf/dl-support.c: Likewise.
18067         * elf/ldconfig.c: Likewise.
18068         * elf/sprof.c: Likewise.
18069         * iconv/dummy-repertoire.c: Likewise.
18070         * iconv/iconv_charmap.c: Likewise.
18071         * iconv/skeleton.c: Likewise.
18072         * iconvdata/8bit-generic.c: Likewise.
18073         * iconvdata/cp737.h: Likewise.
18074         * iconvdata/cp775.h: Likewise.
18075         * iconvdata/ibm1008.h: Likewise.
18076         * iconvdata/ibm1025.h: Likewise.
18077         * iconvdata/ibm1046.h: Likewise.
18078         * iconvdata/ibm1097.h: Likewise.
18079         * iconvdata/ibm1112.h: Likewise.
18080         * iconvdata/ibm1122.h: Likewise.
18081         * iconvdata/ibm1123.h: Likewise.
18082         * iconvdata/ibm1124.h: Likewise.
18083         * iconvdata/ibm1129.h: Likewise.
18084         * iconvdata/ibm1130.h: Likewise.
18085         * iconvdata/ibm1132.h: Likewise.
18086         * iconvdata/ibm1133.h: Likewise.
18087         * iconvdata/ibm1137.h: Likewise.
18088         * iconvdata/ibm1140.h: Likewise.
18089         * iconvdata/ibm1141.h: Likewise.
18090         * iconvdata/ibm1142.h: Likewise.
18091         * iconvdata/ibm1143.h: Likewise.
18092         * iconvdata/ibm1144.h: Likewise.
18093         * iconvdata/ibm1145.h: Likewise.
18094         * iconvdata/ibm1146.h: Likewise.
18095         * iconvdata/ibm1147.h: Likewise.
18096         * iconvdata/ibm1148.h: Likewise.
18097         * iconvdata/ibm1149.h: Likewise.
18098         * iconvdata/ibm1153.h: Likewise.
18099         * iconvdata/ibm1154.h: Likewise.
18100         * iconvdata/ibm1155.h: Likewise.
18101         * iconvdata/ibm1156.h: Likewise.
18102         * iconvdata/ibm1157.h: Likewise.
18103         * iconvdata/ibm1158.h: Likewise.
18104         * iconvdata/ibm1160.h: Likewise.
18105         * iconvdata/ibm1161.h: Likewise.
18106         * iconvdata/ibm1162.h: Likewise.
18107         * iconvdata/ibm1163.h: Likewise.
18108         * iconvdata/ibm1164.h: Likewise.
18109         * iconvdata/ibm1166.h: Likewise.
18110         * iconvdata/ibm1167.h: Likewise.
18111         * iconvdata/ibm12712.h: Likewise.
18112         * iconvdata/ibm1390.h: Likewise.
18113         * iconvdata/ibm1399.h: Likewise.
18114         * iconvdata/ibm16804.h: Likewise.
18115         * iconvdata/ibm4517.h: Likewise.
18116         * iconvdata/ibm4899.h: Likewise.
18117         * iconvdata/ibm4909.h: Likewise.
18118         * iconvdata/ibm4971.h: Likewise.
18119         * iconvdata/ibm5347.h: Likewise.
18120         * iconvdata/ibm803.h: Likewise.
18121         * iconvdata/ibm856.h: Likewise.
18122         * iconvdata/ibm901.h: Likewise.
18123         * iconvdata/ibm902.h: Likewise.
18124         * iconvdata/ibm9030.h: Likewise.
18125         * iconvdata/ibm9066.h: Likewise.
18126         * iconvdata/ibm921.h: Likewise.
18127         * iconvdata/ibm922.h: Likewise.
18128         * iconvdata/ibm9448.h: Likewise.
18129         * iconvdata/isiri-3342.h: Likewise.
18130         * iconvdata/jis0201.h: Likewise.
18131         * include/link.h: Likewise.
18132         * include/netdb.h: Likewise.
18133         * inet/check_native.c: Likewise.
18134         * inet/check_pf.c: Likewise.
18135         * inet/getipv4sourcefilter.c: Likewise.
18136         * inet/getnameinfo.c: Likewise.
18137         * inet/getsourcefilter.c: Likewise.
18138         * inet/htonl.c: Likewise.
18139         * inet/setipv4sourcefilter.c: Likewise.
18140         * inet/setsourcefilter.c: Likewise.
18141         * inet/test-inet6_opt.c: Likewise.
18142         * inet/tst-network.c: Likewise.
18143         * locale/C-collate.c: Likewise.
18144         * locale/C-ctype.c: Likewise.
18145         * locale/C-time.c: Likewise.
18146         * locale/C-translit.h: Likewise.
18147         * locale/loadarchive.c: Likewise.
18148         * locale/programs/3level.h: Likewise.
18149         * locale/programs/charmap.c: Likewise.
18150         * locale/programs/charmap.h: Likewise.
18151         * locale/programs/ld-address.c: Likewise.
18152         * locale/programs/ld-collate.c: Likewise.
18153         * locale/programs/ld-ctype.c: Likewise.
18154         * locale/programs/ld-identification.c: Likewise.
18155         * locale/programs/ld-measurement.c: Likewise.
18156         * locale/programs/ld-messages.c: Likewise.
18157         * locale/programs/ld-monetary.c: Likewise.
18158         * locale/programs/ld-name.c: Likewise.
18159         * locale/programs/ld-numeric.c: Likewise.
18160         * locale/programs/ld-paper.c: Likewise.
18161         * locale/programs/ld-telephone.c: Likewise.
18162         * locale/programs/ld-time.c: Likewise.
18163         * locale/programs/linereader.c: Likewise.
18164         * locale/programs/locale.c: Likewise.
18165         * locale/programs/locarchive.c: Likewise.
18166         * locale/programs/locfile.h: Likewise.
18167         * locale/programs/repertoire.c: Likewise.
18168         * locale/programs/simple-hash.c: Likewise.
18169         * locale/programs/simple-hash.h: Likewise.
18170         * malloc/memusage.c: Likewise.
18171         * malloc/memusagestat.c: Likewise.
18172         * nis/nis_defaults.c: Likewise.
18173         * nis/nis_hash.c: Likewise.
18174         * nis/nis_print.c: Likewise.
18175         * nis/nis_xdr.c: Likewise.
18176         * nscd/connections.c: Likewise.
18177         * nscd/hstcache.c: Likewise.
18178         * nscd/nscd_gethst_r.c: Likewise.
18179         * nscd/nscd_getserv_r.c: Likewise.
18180         * nscd/nscd_helper.c: Likewise.
18181         * nscd/servicescache.c: Likewise.
18182         * nss/makedb.c: Likewise.
18183         * nss/nss_db/db-XXX.c: Likewise.
18184         * nss/nss_db/db-initgroups.c: Likewise.
18185         * nss/nss_db/db-netgrp.c: Likewise.
18186         * nss/nss_files/files-network.c: Likewise.
18187         * nss/nss_files/files-parse.c: Likewise.
18188         * posix/bug-regex5.c: Likewise.
18189         * posix/fnmatch_loop.c: Likewise.
18190         * posix/regcomp.c: Likewise.
18191         * posix/regexec.c: Likewise.
18192         * posix/tst-rfc3484-2.c: Likewise.
18193         * posix/tst-rfc3484-3.c: Likewise.
18194         * posix/tst-rfc3484.c: Likewise.
18195         * resolv/nss_dns/dns-canon.c: Likewise.
18196         * resolv/nss_dns/dns-network.c: Likewise.
18197         * resolv/res_init.c: Likewise.
18198         * resolv/res_mkquery.c: Likewise.
18199         * resolv/tst-aton.c: Likewise.
18200         * stdlib/cxa_atexit.c: Likewise.
18201         * stdlib/cxa_finalize.c: Likewise.
18202         * stdlib/gen-fpioconst.c: Likewise.
18203         * stdlib/strtol_l.c: Likewise.
18204         * string/tst-endian.c: Likewise.
18205         * sunrpc/auth_des.c: Likewise.
18206         * sunrpc/clnt_udp.c: Likewise.
18207         * sunrpc/rtime.c: Likewise.
18208         * sunrpc/svcauth_des.c: Likewise.
18209         * sunrpc/xdr.c: Likewise.
18210         * sunrpc/xdr_intXX_t.c: Likewise.
18211         * sunrpc/xdr_rec.c: Likewise.
18212         * sysdeps/generic/ldconfig.h: Likewise.
18213         * sysdeps/generic/ldsodefs.h: Likewise.
18214         * sysdeps/generic/memusage.h: Likewise.
18215         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18216         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18217         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18218         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18219         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18221         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18222         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18223         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18225         * sysdeps/posix/getaddrinfo.c: Likewise.
18226         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18227         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18228         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18229         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18230         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18231         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18232         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18233         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18234         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18235         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18236         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18237         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18238         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18239         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18240         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18241         * sysdeps/x86_64/dl-tls.h: Likewise.
18242         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18243         * time/alt_digit.c: Likewise.
18244         * time/era.c: Likewise.
18245         * wcsmbs/tst-c16c32-1.c: Likewise.
18246
18247 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18248
18249         * math/libm-test.inc (struct test_sincos_data): New type.
18250         (RUN_TEST_LOOP_sincos): New macro.
18251         (sincos_test_data): New variable.
18252         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18253
18254 2013-05-16  Richard Henderson  <rth@redhat.com>
18255
18256         * math/atest-exp2.c (LIMB64): New macro.
18257         (CONSTSZ): New macro.
18258         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18259         (hexdig): Move ...
18260         (print_mpn_fp): ... to function scope.
18261         (read_mpn_hex): Remove.
18262         (get_log2): Remove.
18263         (exp2_mpn): Use mp_log2.
18264         (main): Use mp_exp1.
18265
18266 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18267
18268         * math/libm-test.inc: Remove comment about not testing "inexact"
18269         exceptions.
18270         (INEXACT_EXCEPTION): New macro.
18271         (NO_INEXACT_EXCEPTION): Likewise.
18272         (INVALID_EXCEPTION_OK): Update value.
18273         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18274         (OVERFLOW_EXCEPTION_OK): Likewise.
18275         (UNDERFLOW_EXCEPTION_OK): Likewise.
18276         (IGNORE_ZERO_INF_SIGN): Likewise.
18277         (ERRNO_UNCHANGED): Likewise.
18278         (ERRNO_EDOM): Likewise.
18279         (ERRNO_ERANGE): Likewise.
18280         (test_exceptions): Handle testing "inexact" exceptions.
18281         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18282         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18283         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18284         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18285         INEXACT_EXCEPTION.
18286         (rint_towardzero_test_data): Likewise.
18287         (rint_downward_test_data): Likewise.
18288         (rint_upward_test_data): Likewise.
18289
18290         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18291         with OVERFLOW_EXCEPTION.
18292         (exp10_test_data): Likewise.
18293         (exp2_test_data): Likewise.
18294         (expm1_test_data): Likewise.
18295         (lgamma_test_data): Likewise.
18296         (pow_test_data): Likewise.
18297         (tgamma_test_data): Likewise.
18298         (yn_test_data): Remove duplicate test of overflow.
18299
18300         * math/libm-test.inc (struct test_cc_c_data): New type.
18301         (RUN_TEST_LOOP_cc_c): New macro.
18302         (cpow_test_data): New variable.
18303         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18304
18305         * math/libm-test.inc (struct test_f_L_data): New type.
18306         (RUN_TEST_LOOP_f_L): New macro.
18307         (llrint_test_data): New variable.
18308         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18309         (llrint_tonearest_test_data): New variable.
18310         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18311         (llrint_towardzero_test_data): New variable.
18312         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18313         (llrint_downward_test_data): New variable.
18314         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18315         (llrint_upward_test_data): New variable.
18316         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18317         (llround_test_data): New variable.
18318         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18319
18320 2013-05-13  Peter Collingbourne  <pcc@google.com>
18321
18322         * math/atest-exp2.c (get_log2): Remove const attribute.
18323
18324 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18325
18326         * math/libm-test.inc (struct test_f_l_data): New type.
18327         (RUN_TEST_LOOP_f_l): New macro.
18328         (lrint_test_data): New variable.
18329         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18330         (lrint_tonearest_test_data): New variable.
18331         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18332         (lrint_towardzero_test_data): New variable.
18333         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18334         (lrint_downward_test_data): New variable.
18335         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18336         (lrint_upward_test_data): New variable.
18337         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18338         (lround_test_data): New variable.
18339         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18340
18341 2013-05-15  Peter Collingbourne  <pcc@google.com>
18342
18343         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18344         (EXTRACT_WORDS64) Use where appropriate.
18345         (INSERT_WORDS64) Likewise.
18346
18347         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18348         constraints with x constraints.
18349         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18350
18351         * malloc/obstack.c (_obstack_compat): Add initializer.
18352
18353 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18354
18355         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18356         si_trapno and add si_addr_lsb to _sifields.sigfault.
18357         (si_trapno): Remove macro.
18358         (si_addr_lsb): Define new macro.
18359         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18360
18361 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18362
18363         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18364         instead of TEST_f_l.
18365         (llrint_test_tonearest): Likewise.
18366         (llrint_test_towardzero): Likewise.
18367         (llrint_test_downward): Likewise.
18368         (llrint_test_upward): Likewise.
18369         (llround_test): Likewise.
18370
18371         * math/libm-test.inc (struct test_f_i_data): Add comment.
18372         (RUN_TEST_LOOP_f_b): New macro.
18373         (RUN_TEST_LOOP_f_b_tg): Likewise.
18374         (finite_test_data): New variable.
18375         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18376         (isfinite_test_data): New variable.
18377         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18378         (isinf_test_data): New variable.
18379         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18380         (isnan_test_data): New variable.
18381         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18382         (isnormal_test_data): New variable.
18383         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18384         (issignaling_test_data): New variable.
18385         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18386         (signbit_test_data): New variable.
18387         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18388
18389         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18390         with INVALID_EXCEPTION.
18391         (acosh_test_data): Likewise.
18392         (asin_test_data): Likewise.
18393         (atanh_test_data): Likewise.
18394         (fmod_test_data): Likewise.
18395         (log_test_data): Likewise.
18396         (log10_test_data): Likewise.
18397         (log2_test_data): Likewise.
18398         (pow_test_data): Likewise.
18399         (sqrt_test_data): Likewise.
18400         (y0_test_data): Likewise.
18401         (y1_test_data): Likewise.
18402         (yn_test_data): Likewise.
18403
18404         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18405         function contents.
18406
18407         * math/libm-test.inc (struct test_ff_i_data): New type.
18408         (RUN_TEST_LOOP_ff_i_tg): New macro.
18409         (isgreater_test_data): New variable.
18410         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18411         (isgreaterequal_test_data): New variable.
18412         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18413         (isless_test_data): New variable.
18414         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18415         (islessequal_test_data): New variable.
18416         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18417         (islessgreater_test_data): New variable.
18418         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18419         (isunordered_test_data): New variable.
18420         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18421
18422 2013-05-14  David S. Miller  <davem@davemloft.net>
18423
18424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18425
18426 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18427
18428         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18429
18430         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18431         extra_test to int.
18432         (struct test_f_i_data): Change type of max_ulp to int.
18433
18434         * math/libm-test.inc (test_ffI_f1_data): New type.
18435         (RUN_TEST_LOOP_ffI_f1): New macro.
18436         (remquo_test_data): New variable.
18437         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18438
18439         * setjmp/tst-setjmp-fp.c: New file.
18440         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18441         (link-libm): New variable.
18442         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18443
18444         * math/libm-test.inc (struct test_f_i_data): New type.
18445         (RUN_TEST_LOOP_f_i): New macro.
18446         (RUN_TEST_LOOP_f_i_tg): Likewise.
18447         (fpclassify_test_data): New variable.
18448         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18449         (ilogb_test_data): New variable.
18450         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18451
18452         * math/libm-test.inc (scalbln_test): Correct function name in END
18453         call.
18454
18455         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18456         (RUN_TEST_LOOP_fI_f1): New macro.
18457         (frexp_test_data): New variable.
18458         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18459
18460         * math/libm-test.inc (struct test_fF_f1_data): New type.
18461         (RUN_TEST_LOOP_fF_f1): New macro.
18462         (modf_test_data): New variable.
18463         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18464
18465         * math/libm-test.inc (struct test_f_f1_data): New type.
18466         (RUN_TEST_LOOP_f_f1): New macro.
18467         (gamma_test_data): New variable.
18468         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18469         (lgamma_test_data): New variable.
18470         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18471
18472 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18473
18474         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18475         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18476         (main): Comment "tls" pseudo-hwcap.
18477
18478 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18479
18480         * math/libm-test.inc (struct test_fl_f_data): New type.
18481         (RUN_TEST_LOOP_fl_f): New variable.
18482         (scalbln_test_data): New variable.
18483         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18484
18485         * math/libm-test.inc (struct test_fi_f_data): New type.
18486         (RUN_TEST_LOOP_fi_f): New macro.
18487         (ldexp_test_data): New variable.
18488         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18489         (scalbn_test_data): New variable.
18490         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18491
18492         * math/libm-test.inc (struct test_c_f_data): New type.
18493         (RUN_TEST_LOOP_c_f): New macro.
18494         (cabs_test_data): New variable.
18495         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18496         (carg_test_data): New variable.
18497         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18498         (cimag_test_data): New variable.
18499         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18500         (creal_test_data): New variable.
18501         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18502
18503         * math/libm-test.inc (struct test_if_f_data): New type.
18504         (RUN_TEST_LOOP_if_f): New macro.
18505         (jn_test_data): New variable.
18506         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18507         (yn_test_data): New variable.
18508         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18509
18510         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18511
18512 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18513
18514         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18515         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18516
18517 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18518
18519         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18520         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18521         (bench-deps): Add bench-timing.h.
18522         * benchtests-bench-skeleton.c: Include bench-timing.h.
18523         (main): Use TIMING_* macros instead of clock_gettime.
18524         * benchtests/bench-timing.h: New file.
18525
18526         [BZ #14582]
18527         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18528         Renamed from _LIB_VERSION.
18529         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18530
18531 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18532
18533         * math/libm-test.inc (struct test_fff_f_data): New type.
18534         (RUN_TEST_LOOP_fff_f): New macro.
18535         (fma_test_data): New variable.
18536         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18537         (fma_towardzero_test_data): New variable.
18538         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18539         (fma_downward_test_data): New variable.
18540         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18541         (fma_upward_test_data): New variable.
18542         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18543
18544         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18545         (struct test_c_c_data): New type.
18546         (RUN_TEST_LOOP_c_c): New macro.
18547         (cacos_test_data): New variable.
18548         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18549         (cacosh_test_data): New variable.
18550         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18551         (casin_test_data): New variable.
18552         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18553         (casinh_test_data): New variable.
18554         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18555         (catan_test_data): New variable.
18556         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18557         (catanh_test_data): New variable.
18558         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18559         (ccos_test_data): New variable.
18560         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18561         (ccosh_test_data): New variable.
18562         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18563         (cexp_test_data): New variable.
18564         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18565         (clog_test_data): New variable.
18566         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18567         (clog10_test_data): New variable.
18568         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18569         (conj_test_data): New variable.
18570         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18571         (cproj_test_data): New variable.
18572         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18573         (csin_test_data): New variable.
18574         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18575         (csinh_test_data): New variable.
18576         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18577         (csqrt_test_data): New variable.
18578         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18579         (ctan_test_data): New variable.
18580         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18581         (ctan_tonearest_test_data): New variable.
18582         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18583         (ctan_towardzero_test_data): New variable.
18584         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18585         (ctan_downward_test_data): New variable.
18586         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18587         (ctan_upward_test_data): New variable.
18588         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18589         (ctanh_test_data): New variable.
18590         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18591         (ctanh_tonearest_test_data): New variable.
18592         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18593         (ctanh_towardzero_test_data): New variable.
18594         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18595         (ctanh_downward_test_data): New variable.
18596         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18597         (ctanh_upward_test_data): New variable.
18598         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18599         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18600         of BUILD_COMPLEX.
18601
18602         * math/libm-test.inc (struct test_ff_f_data): New type.
18603         (struct test_ff_f_data_nexttoward): Likewise.
18604         (RUN_TEST_LOOP_2_f): New macro.
18605         (RUN_TEST_LOOP_ff_f): Likewise.
18606         (atan2_test_data): New variable.
18607         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18608         (copysign_test_data): New variable.
18609         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18610         (fdim_test_data): New variable.
18611         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18612         (fmax_test_data): New variable.
18613         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18614         (fmin_test_data): New variable.
18615         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18616         (fmod_test_data): New variable.
18617         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18618         (hypot_test_data): New variable.
18619         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18620         (nextafter_test_data): New variable.
18621         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18622         (nexttoward_test_data): New variable.
18623         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18624         (pow_test_data): New variable.
18625         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18626         (pow_tonearest_test_data): New variable.
18627         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18628         (pow_towardzero_test_data): New variable.
18629         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18630         (pow_downward_test_data): New variable.
18631         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18632         (pow_upward_test_data): New variable.
18633         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18634         (remainder_test_data): New variable.
18635         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18636         (scalb_test_data): New variable.
18637         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18638         * sysdeps/i386/fpu/libm-test-ulps: Update.
18639
18640 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18641
18642         * math/libm-test.inc (fma_test): Use max_value instead of local
18643         variable fltmax.
18644         (nextafter_test): Likewise.
18645
18646         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18647         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18648         (acos_downward_test_data): New variable.
18649         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18650         (acos_upward_test_data): New variable.
18651         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18652         (acosh_test_data): New variable.
18653         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18654         (asin_test_data): New variable.
18655         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18656         (asin_tonearest_test_data): New variable.
18657         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18658         (asin_towardzero_test_data): New variable.
18659         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18660         (asin_downward_test_data): New variable.
18661         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18662         (asin_upward_test_data): New variable.
18663         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18664         (asinh_test_data): New variable.
18665         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18666         (atan_test_data): New variable.
18667         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18668         (atanh_test_data): New variable.
18669         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18670         (cbrt_test_data): New variable.
18671         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18672         (ceil_test_data): New variable.
18673         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18674         (cos_test_data): New variable.
18675         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18676         (cos_tonearest_test_data): New variable.
18677         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18678         (cos_towardzero_test_data): New variable.
18679         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18680         (cos_downward_test_data): New variable.
18681         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18682         (cos_upward_test_data): New variable.
18683         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18684         (cosh_test_data): New variable.
18685         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18686         (cosh_tonearest_test_data): New variable.
18687         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18688         (cosh_towardzero_test_data): New variable.
18689         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18690         (cosh_downward_test_data): New variable.
18691         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18692         (cosh_upward_test_data): New variable.
18693         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18694         (erf_test_data): New variable.
18695         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18696         (erfc_test_data): New variable.
18697         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18698         (exp_test_data): New variable.
18699         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18700         (exp_tonearest_test_data): New variable.
18701         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18702         (exp_towardzero_test_data): New variable.
18703         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18704         (exp_downward_test_data): New variable.
18705         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18706         (exp_upward_test_data): New variable.
18707         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18708         (exp10_test_data): New variable.
18709         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18710         (exp2_test_data): New variable.
18711         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18712         (expm1_test_data): New variable.
18713         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18714         (fabs_test_data): New variable.
18715         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18716         (floor_test_data): New variable.
18717         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18718         (j0_test_data): New variable.
18719         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18720         (j1_test_data): New variable.
18721         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18722         (log_test_data): New variable.
18723         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18724         (log10_test_data): New variable.
18725         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18726         (log1p_test_data): New variable.
18727         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18728         (log2_test_data): New variable.
18729         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18730         (logb_test_data): New variable.
18731         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18732         (logb_downward_test_data): New variable.
18733         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18734         (nearbyint_test_data): New variable.
18735         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18736         (rint_test_data): New variable.
18737         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18738         (rint_tonearest_test_data): New variable.
18739         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18740         (rint_towardzero_test_data): New variable.
18741         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18742         (rint_downward_test_data): New variable.
18743         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18744         (rint_upward_test_data): New variable.
18745         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18746         (round_test_data): New variable.
18747         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18748         (sin_test_data): New variable.
18749         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18750         (sin_tonearest_test_data): New variable.
18751         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18752         (sin_towardzero_test_data): New variable.
18753         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18754         (sin_downward_test_data): New variable.
18755         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18756         (sin_upward_test_data): New variable.
18757         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18758         (sinh_test_data): New variable.
18759         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18760         (sinh_tonearest_test_data): New variable.
18761         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18762         (sinh_towardzero_test_data): New variable.
18763         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18764         (sinh_downward_test_data): New variable.
18765         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18766         (sinh_upward_test_data): New variable.
18767         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18768         (sqrt_test_data): New variable.
18769         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18770         (tan_test_data): New variable.
18771         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18772         (tan_tonearest_test_data): New variable.
18773         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18774         (tan_towardzero_test_data): New variable.
18775         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18776         (tan_downward_test_data): New variable.
18777         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18778         (tan_upward_test_data): New variable.
18779         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18780         (tanh_test_data): New variable.
18781         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18782         (tgamma_test_data): New variable.
18783         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18784         (trunc_test_data): New variable.
18785         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18786         (y0_test_data): New variable.
18787         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18788         (y1_test_data): New variable.
18789         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18790         (significand_test_data): New variable.
18791         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18792
18793 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18794
18795         [BZ #12387]
18796         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18797
18798 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18799
18800         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18801
18802 2013-05-10  Andreas Jaeger  <aj@suse.de>
18803
18804         [BZ #15448]
18805         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18806         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18807
18808 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18809
18810         * math/gen-libm-test.pl (adjust_arg): New function.
18811         (special_functions): Handle generating output in both functions
18812         and arrays.
18813         (parse_args): Likewise.
18814         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18815         $in_func argument to parse_args.
18816         * math/libm-test.inc (struct test_f_f_data): New type.
18817         (IF_ROUND_INIT_): New macro.
18818         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18819         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18820         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18821         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18822         (ROUND_RESTORE_): Likewise.
18823         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18824         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18825         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18826         (ROUND_RESTORE_FE_UPWARD): Likewise.
18827         (RUN_TEST_LOOP_f_f): New macro.
18828         (acos_test_data): New variable.
18829         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18830         (acos_tonearest_test_data): New variable.
18831         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18832
18833 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18834
18835         * benchtests/bench-skeleton.c (startup): Fix coding style.
18836
18837 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18838
18839         [BZ #6809]
18840         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18841         negative infinity argument.
18842         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18843         negative infinity argument.
18844         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18845         negative infinity argument.
18846         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18847         domain errors.
18848
18849 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18850
18851         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18852         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18853         * iconv/iconv_prog.c (main): Likewise.
18854         * locale/programs/charmap-dir.c (charmap_readdir)
18855         (fopen_uncompressed): Likewise.
18856         * locale/programs/locfile.c (siblings_uncached)
18857         (write_locale_data): Use lstat64 instead of lstat.
18858         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18859         stat.
18860
18861 2013-05-10  Andreas Jaeger  <aj@suse.de>
18862
18863         [BZ #15395]
18864         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18865         localization.
18866         Include <locale.h>.
18867
18868 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18869
18870         * elf/dl-close.c (_dl_close_worker): Add comments.
18871
18872 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18873
18874         [BZ #15359]
18875         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18876         high part of pi/2.
18877         (__ieee754_rem_pio2l): Update comments.
18878
18879         [BZ #15429]
18880         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18881         high part of pi/2.
18882         (__ieee754_rem_pio2l): Update comments.
18883
18884         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18885         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18886
18887         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18888         M_PI_4l.
18889
18890         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18891         (M_PI_34_LOG10El): Likewise.
18892         (M_PI2_LOG10El): Likewise.
18893         (M_PI4_LOG10El): Likewise.
18894         (M_PI_LOG10El): Likewise.
18895
18896 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18897
18898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18899
18900 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18901
18902         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18903         (MINUS_ZERO_INIT): Likewise.
18904         (PLUS_INFTY_INIT): Likewise.
18905         (MINUS_INFTY_INIT): Likewise.
18906         (QNAN_VALUE_INIT): Likewise.
18907         (MAX_VALUE_INIT): Likewise.
18908         (MIN_VALUE_INIT): Likewise.
18909         (MIN_SUBNORM_VALUE_INIT): Likewise.
18910         (plus_zero): Initialize with PLUS_ZERO_INIT.
18911         (minus_zero): Initialize with MINUS_ZERO_INIT.
18912         (plus_infty): Initialize with PLUS_INFTY_INIT.
18913         (minus_infty): Initialize with MINUS_INFTY_INIT.
18914         (qnan_value): Initialize with QNAN_VALUE_INIT.
18915         (max_value): Initialize with MAX_VALUE_INIT.
18916         (min_value): Initialize with MIN_VALUE_INIT.
18917         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18918
18919         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18920         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18921         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18922         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18923
18924         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18925         (RUN_TEST_2_f): Likewise.
18926         (RUN_TEST_ff_f): Likewise.
18927         (RUN_TEST_fi_f): Likewise.
18928         (RUN_TEST_fl_f): Likewise.
18929         (RUN_TEST_fff_f): Likewise.
18930         (RUN_TEST_c_f): Likewise.
18931         (RUN_TEST_f_f1): Likewise.
18932         (RUN_TEST_fF_f1): Likewise.
18933         (RUN_TEST_fI_f1): Likewise.
18934         (RUN_TEST_ffI_f1): Likewise.
18935         (RUN_TEST_c_c): Likewise.
18936         (RUN_TEST_cc_c): Likewise.
18937         (RUN_TEST_f_i): Likewise.
18938         (RUN_TEST_f_i_tg): Likewise.
18939         (RUN_TEST_ff_i_tg): Likewise.
18940         (RUN_TEST_f_b): Likewise.
18941         (RUN_TEST_f_b_tg): Likewise.
18942         (RUN_TEST_f_l): Likewise.
18943         (RUN_TEST_f_L): Likewise.
18944         (RUN_TEST_sincos): Likewise.
18945         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18946         whether to show exceptions.  Do not include ");\n" in return
18947         value.
18948         (special_functions): Output call to RUN_TEST_sincos instead of
18949         check_float calls.  Update calls to new_test.
18950         (parse_args): Output call to single RUN_TEST_* macro instead of
18951         check_* calls and other assignments.  Update calls to new_test.
18952
18953         [BZ #2546]
18954         [BZ #2560]
18955         [BZ #5159]
18956         [BZ #15426]
18957         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18958         input to result for tgamma overflow.
18959         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18960         (gamma_coeff): New variable.
18961         (NCOEFF): New macro.
18962         (gamma_positive): New function.
18963         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18964         underflow here.  Use gamma_positive instead of exp (lgamma) for
18965         other arguments.
18966         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18967         (gamma_coeff): New variable.
18968         (NCOEFF): New macro.
18969         (gammaf_positive): New function.
18970         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18971         underflow here.  Use gamma_positive instead of exp (lgamma) for
18972         other arguments.
18973         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18974         (gamma_coeff): New variable.
18975         (NCOEFF): New macro.
18976         (gammal_positive): New function.
18977         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18978         underflow here.  Use gamma_positive instead of exp (lgamma) for
18979         other arguments.
18980         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18981         (gamma_coeff): New variable.
18982         (NCOEFF): New macro.
18983         (gammal_positive): New function.
18984         (__ieee754_gammal_r): Handle positive infinity, overflow and
18985         underflow here.  Handle NaN the same as positive infinity.  Remove
18986         check x < 0xffffffff for negative integers.  Use gamma_positive
18987         instead of exp (lgamma) for other arguments.
18988         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18989         (gamma_coeff): New variable.
18990         (NCOEFF): New macro.
18991         (gammal_positive): New function.
18992         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18993         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18994         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18995         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18996         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18997         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18998         * sysdeps/generic/math_private.h (__gamma_productf): New
18999         prototype.
19000         (__gamma_product): Likewise.
19001         (__gamma_productl): Likewise.
19002         * math/Makefile (libm-calls): Add gamma_product.
19003         * math/libm-test.inc (tgamma_test): Add more tests.
19004         * sysdeps/i386/fpu/libm-test-ulps: Update.
19005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19006
19007 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19008
19009         * benchtests/bench-skeleton.c (main): Preheat CPU.
19010
19011 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19012
19013         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19014
19015 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19016
19017         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19018         and _dl_skip_args_internal.
19019
19020 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19021
19022         * manual/message.texi (Message Translation): Talk about users.
19023         Message to key mapping impacts design.
19024
19025 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19026
19027         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19028
19029         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19030
19031         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19032         * sysdeps/wordsize-64/glob64.c: ... here.
19033
19034         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19035         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19036         New macros.
19037
19038         * debug/getlogin_r_chk.c: Moved to ...
19039         * login/getlogin_r_chk.c: ... here.
19040         * debug/Makefile (routines): Move getlogin_r_chk to ...
19041         * login/Makefile (routines): ... here.
19042         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19043         * login/Versions (libc: GLIBC_2.4): ... here.
19044
19045         * io/poll.c (__poll): Renamed from poll.
19046         Add libc_hidden_def.
19047         (poll): Define as weak alias.
19048
19049         * debug/ptsname_r_chk.c: Moved to ...
19050         * login/ptsname_r_chk.c: ... here.
19051         * debug/Makefile (routines): Move ptsname_r_chk to ...
19052         * login/Makefile (routines): ... here.
19053         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19054         * login/Versions (libc: GLIBC_2.4): ... here.
19055
19056         * posix/getlogin.c: Moved to ...
19057         * login/getlogin.c: ... here.
19058         * posix/getlogin_r.c: Moved to ...
19059         * login/getlogin_r.c: ... here.
19060         * posix/getlogin_r.c: Moved to ...
19061         * login/getlogin_r.c: ... here.
19062         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19063         * login/Makefile (routines): ... here.
19064         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19065         * login/Versions (libc: GLIBC_2.0): ... here.
19066
19067         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19068         (setrlimit): Define as weak alias.
19069
19070         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19071         Call __ names for open, ftruncate, and close.
19072         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19073         (truncate): Define as weak alias.
19074
19075 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19076
19077         * math/gen-libm-test.pl (parse_args): Initialize x before each
19078         test of frexp, modf and remquo.
19079
19080         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19081         test signgam value.
19082
19083 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19084
19085         [BZ #15418]
19086         [BZ #15419]
19087         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19088         internal tests.
19089         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19090
19091 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19092
19093         * elf/dl-writev.h: New file.
19094         * elf/dl-misc.c: Include it.
19095         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19096         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19097
19098 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19099
19100         * math/libm-test.inc (noXFails): Remove variable.
19101         (noXPasses): Likewise.
19102         (BUILD_COMPLEX_INT): Remove macro.
19103         (print_screen): Remove xfail argument.
19104         (print_screen_max_error): Likewise.
19105         (update_stats): Likewise.
19106         (print_max_error): Likewise.  Update calls to other affected
19107         functions.
19108         (print_complex_max_error): Likewise.
19109         (test_single_exception): Update calls to print_screen.
19110         (test_single_errno): Likewise.
19111         (check_float_internal): Remove xfail argument.  Update calls to
19112         other affected functions.
19113         (check_float): Likewise.
19114         (check_complex): Likewise.
19115         (check_int): Likewise.
19116         (check_long): Likewise.
19117         (check_bool): Likewise.
19118         (check_longlong): Likewise.
19119         (main): Don't print noXFails and noXPasses.
19120         * math/gen-libm-test.pl (top level): Don't mention expected
19121         failure handling in comment.
19122         (new_test): Don't handle expected failures.
19123         (parse_args): Don't mention expected failure handling in comment.
19124         (generate_testfile): Don't handle expected failures.
19125         (parse_ulps): Likewise.
19126         (print_ulps_file): Likewise.
19127         (get_failure): Remove function.
19128         (output_test): Don't handle expected failures.
19129         * make/README.libm-test: Don't mention expected failure handling.
19130
19131         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19132         (minus_zero): Likewise.
19133         (plus_infty): Likewise.
19134         (minus_infty): Likewise.
19135         (qnan_value): Likewise.
19136         (max_value): Likewise.
19137         (min_value): Likewise.
19138         (min_subnorm_value): Likewise.
19139         (initialize): Do not initialize those variables dynamically.
19140
19141 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19142
19143         * io/open.c (__open_2): Moved to ...
19144         * io/open_2.c: ... this new file.
19145         * io/open64.c (__open64_2): Moved to ...
19146         * io/open64_2.c: ... this new file.
19147         * io/openat.c (__openat_2): Moved to ...
19148         * io/openat_2.c: ... this new file.
19149         * io/openat64.c (__openat64_2): Moved to ...
19150         * io/openat64_2.c: ... this new file.
19151         * io/Makefile (routines): Add them.
19152         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19153         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19154         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19155         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19156         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19157         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19158         (__openat64): Add hidden_ver.
19159         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19160         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19161
19162         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19163         Separately conditionalize setting of GLRO(dl_sysinfo) so
19164         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19165         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19166
19167 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19168
19169         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19170         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19171         definition.
19172         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19173         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19174         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19175         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19176         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19177
19178 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19179
19180         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19181         test signgam value.
19182
19183         * math/libm-test.inc (hypot_test): Do not use
19184         IGNORE_ZERO_INF_SIGN.
19185
19186 2013-05-03  Andreas Jaeger  <aj@suse.de>
19187
19188         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19189         Linux 3.9.
19190         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19191         (PF_MAX): Adjust for VSOCK change.
19192
19193 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19194
19195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19196
19197 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19198
19199         [BZ #15264]
19200         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19201         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19202         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19203
19204 2013-05-02  David S. Miller  <davem@davemloft.net>
19205
19206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19207
19208 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19209
19210         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19211
19212 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19213
19214         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19215
19216 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19217
19218         [BZ #14952]
19219         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19220         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19221         Use __attribute__ ((__gnu_inline__)).
19222         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19223         Don't use __attribute__ ((__gnu_inline__)).
19224
19225 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19226
19227         [BZ #15423]
19228         * math/s_catan.c (__catan): Handle small real or imaginary part of
19229         input specially to avoid spurious underflow.
19230         * math/s_catanf.c (__catanf): Likewise.
19231         * math/s_catanh.c (__catanh): Likewise.
19232         * math/s_catanhf.c (__catanhf): Likewise.
19233         * math/s_catanhl.c (__catanhl): Likewise.
19234         * math/s_catanl.c (__catanl): Likewise.
19235         * math/libm-test.inc (catan_test): Add more tests.
19236         (catanh_test): Likewise.
19237         * sysdeps/i386/fpu/libm-test-ulps: Update.
19238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19239
19240 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19241
19242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19243
19244 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19245
19246         [BZ #15416]
19247         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19248         accurately for denominator in atan2.
19249         * math/s_catanf.c (__catanf): Likewise.
19250         * math/s_catanh.c (__catanh): Likewise.
19251         * math/s_catanhf.c (__catanhf): Likewise.
19252         * math/s_catanhl.c (__catanhl): Likewise.
19253         * math/s_catanl.c (__catanl): Likewise.
19254         * math/libm-test.inc (catan_test): Add more tests.
19255         (catanh_test): Likewise.
19256         * sysdeps/i386/fpu/libm-test-ulps: Update.
19257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19258
19259 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19260
19261         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19262
19263         * benchtests/Makefile (bench): Remove slow benchmarks.
19264         * benchtests/atan-inputs: Add slow benchmark inputs.
19265         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19266         (BENCH_FUNC): Accept variant offset.
19267         (VARIANT): Define.
19268         * benchtests/bench-skeleton.c (main): Run benchmark for each
19269         variant.
19270         * benchtests/cos-inputs: Add slow benchmark inputs.
19271         * benchtests/exp-inputs: Likewise.
19272         * benchtests/pow-inputs: Likewise.
19273         * benchtests/sin-inputs: Likewise.
19274         * benchtests/slowatan-inputs: Remove.
19275         * benchtests/slowatan.c: Remove.
19276         * benchtests/slowcos-inputs: Remove.
19277         * benchtests/slowcos.c: Remove.
19278         * benchtests/slowexp-inputs: Remove.
19279         * benchtests/slowexp.c: Remove.
19280         * benchtests/slowpow-inputs: Remove.
19281         * benchtests/slowpow.c: Remove.
19282         * benchtests/slowsin-inputs: Remove.
19283         * benchtests/slowsin.c: Remove.
19284         * benchtests/slowtan-inputs: Remove.
19285         * benchtests/slowtan.c: Remove.
19286         * benchtests/tan-inputs: Add slow benchmark inputs.
19287         * scripts/bench.pl: Parse comments and directives.
19288
19289         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19290         in CPPFLAGS.
19291         ($(objpfx)bench-%.c): Remove *-ITER.
19292         * benchtests/bench-modf.c: Remove definition of ITER.
19293         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19294         (main): Loop for DURATION seconds instead of fixed number of
19295         iterations.
19296         * scripts/bench.pl: Don't expect iterations in parameters.
19297
19298 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19299
19300         * io/fchdir.c (__fchdir): Renamed from fchdir.
19301         (fchdir): Define as weak alias.
19302
19303 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19304
19305         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19306         (ERRNO_EDOM): Likewise.
19307         (ERRNO_ERANGE): Likewise.
19308         (noErrnoTests): New variable.
19309         (init_max_error): Set errno to 0.
19310         (test_single_errno): New function.
19311         (test_errno): Likewise.
19312         (check_float_internal): Call test_errno.  Set errno to 0.
19313         (check_complex): Refer to errno tests in comment.
19314         (check_int): Call test_errno.  Set errno to 0.
19315         (check_long): Likewise.
19316         (check_bool): Likewise.
19317         (check_longlong): Likewise.
19318         (cos_test): Use ERRNO_* flags for errno tests instead of
19319         check_int.
19320         (expm1_test): Likewise.
19321         (fmod_test): Likewise.
19322         (ilogb_test): Likewise.
19323         (lgamma_test): Likewise.
19324         (pow_test): Likewise.
19325         (remainder_test): Likewise.
19326         (sin_test): Likewise.
19327         (tan_test): Likewise.
19328         (yn_test): Likewise.
19329         (initialize): Set errno to 0.
19330         (main): Print number of errno tests.
19331         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19332
19333 2013-04-29  Andreas Jaeger  <aj@suse.de>
19334
19335         [BZ #15084]
19336         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19337         and RES_USEVC.
19338
19339         [BZ #15085]
19340         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19341         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19342         unimplemented.
19343
19344         [BZ #15380]
19345         * stdlib/random.c (__initstate): Return NULL if
19346         __initstate fails.
19347
19348         [BZ #15086]
19349         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19350         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19351         RES_SNGLKUPREOP.
19352
19353 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19354
19355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19356
19357 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19358
19359         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19360         of individual tests.
19361         (casin_test): Likewise.
19362         (casinh_test): Likewise.
19363
19364 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19365
19366         [BZ #15409]
19367         * math/s_catan.c (__catan): Handle arguments with large real or
19368         imaginary part separately without squaring.
19369         * math/s_catanf.c (__catanf): Likewise.
19370         * math/s_catanh.c (__catanh): Likewise.
19371         * math/s_catanhf.c (__catanhf): Likewise.
19372         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19373         and redefine.
19374         (__catanhl): Handle arguments with large real or imaginary part
19375         separately without squaring.
19376         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19377         and redefine.
19378         (__catanl): Handle arguments with large real or imaginary part
19379         separately without squaring.
19380         * math/libm-test.inc (catan_test): Add more tests.
19381         (catanh_test): Likewise.
19382         * sysdeps/i386/fpu/libm-test-ulps: Update.
19383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19384
19385 2013-04-27  Andreas Jaeger  <aj@suse.de>
19386
19387         [BZ #15007]
19388         * stdlib/stdlib.h: Update guards for qecvt.
19389         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19390         <stdlib.h>.
19391
19392 2013-04-27  Allan McRae  <allan@archlinux.org>
19393
19394         * sysdeps/i386/fpu/libm-test-ulps: Update.
19395
19396 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19397
19398         [BZ #15406]
19399         * math/s_catan.c: Include <float.h>.
19400         (__catan): Ensure underflow exception occurs for underflowed
19401         result.
19402         * math/s_catanf.c: Include <float.h>.
19403         (__catanf): Ensure underflow exception occurs for underflowed
19404         result.
19405         * math/s_catanh.c: Include <float.h>.
19406         (__catanh): Ensure underflow exception occurs for underflowed
19407         result.
19408         * math/s_catanhf.c: Include <float.h>.
19409         (__catanhf): Ensure underflow exception occurs for underflowed
19410         result.
19411         * math/s_catanhl.c: Include <float.h>.
19412         (__catanhl): Ensure underflow exception occurs for underflowed
19413         result.
19414         * math/s_catanl.c: Include <float.h>.
19415         (__catanl): Ensure underflow exception occurs for underflowed
19416         result.
19417         * math/libm-test.inc (catan_test): Add more tests.
19418         (catanh_test): Likewise.
19419
19420         [BZ #15405]
19421         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19422         underflowed result.
19423         * math/s_ccoshf.c (__ccoshf): Likewise.
19424         * math/s_ccoshl.c (__ccoshl): Likewise.
19425         * math/s_csin.c (__csin): Likewise.
19426         * math/s_csinf.c (__csinf): Likewise.
19427         * math/s_csinh.c (__csinh): Likewise.
19428         * math/s_csinhf.c (__csinhf): Likewise.
19429         * math/s_csinhl.c (__csinhl): Likewise.
19430         * math/s_csinl.c (__csinl): Likewise.
19431         * math/libm-test.inc (ccos_test): Add more tests.
19432         (ccosh_test): Likewise.
19433         (csin_test): Likewise.
19434         (csinh_test): Likewise.
19435
19436 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19437
19438         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19439         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19440         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19441         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19442         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19443         powerpc/power5+/fpu folders.
19444         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19445
19446
19447 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19448
19449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19450
19451 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19452
19453         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19454         additions to variable.
19455         [$(config-machine) = x86_64] (modules-names): Likewise.
19456         ($(objpfx)tst-audit3): Remove dependency.
19457         ($(objpfx)tst-audit3.out): Likewise.
19458         ($(objpfx)tst-audit4): Likewise.
19459         ($(objpfx)tst-audit4.out): Likewise.
19460         ($(objpfx)tst-audit5): Likewise.
19461         ($(objpfx)tst-audit5.out): Likewise.
19462         ($(objpfx)tst-audit6): Likewise.
19463         ($(objpfx)tst-audit6.out): Likewise.
19464         ($(objpfx)tst-audit7): Likewise.
19465         ($(objpfx)tst-audit7.out): Likewise.
19466         (tst-audit3-ENV): Remove variable.
19467         (tst-audit4-ENV): Likewise.
19468         (tst-audit5-ENV): Likewise.
19469         (tst-audit6-ENV): Likewise.
19470         (tst-audit7-ENV): Likewise.
19471         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19472         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19473         addition to variable.
19474         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19475         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19476         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19477         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19478         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19479         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19480         tst-audit3, tst-audit4 and tst-audit5.
19481         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19482         tst-audit6 and tst-audit7.
19483         [$(subdir) = elf] (modules-names): Add audit modules for those
19484         tests.
19485         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19486         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19487         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19488         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19489         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19490         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19491         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19492         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19493         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19494         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19495         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19496         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19497         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19498         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19499         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19500         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19501         Likewise.
19502         [$(subdir) = elf && $(config-cflags-avx) = yes]
19503         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19504         [$(subdir) = elf && $(config-cflags-avx) = yes]
19505         (CFLAGS-tst-auditmod4a.c): Likewise.
19506         [$(subdir) = elf && $(config-cflags-avx) = yes]
19507         (CFLAGS-tst-auditmod4b.c): Likewise.
19508         [$(subdir) = elf && $(config-cflags-avx) = yes]
19509         (CFLAGS-tst-auditmod6b.c): Likewise.
19510         [$(subdir) = elf && $(config-cflags-avx) = yes]
19511         (CFLAGS-tst-auditmod6c.c): Likewise.
19512         [$(subdir) = elf && $(config-cflags-avx) = yes]
19513         (CFLAGS-tst-auditmod7b.c): Likewise.
19514         * elf/tst-audit3.c: Move to ...
19515         * sysdeps/x86_64/tst-audit3.c: ... here.
19516         * elf/tst-audit4.c: Move to ...
19517         * sysdeps/x86_64/tst-audit4.c: ... here.
19518         * elf/tst-audit5.c: Move to ...
19519         * sysdeps/x86_64/tst-audit5.c: ... here.
19520         * elf/tst-audit6.c: Move to ...
19521         * sysdeps/x86_64/tst-audit6.c: ... here.
19522         * elf/tst-audit7.c: Move to ...
19523         * sysdeps/x86_64/tst-audit7.c: ... here.
19524         * elf/tst-auditmod3a.c: Move to ...
19525         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19526         * elf/tst-auditmod3b.c: Move to ...
19527         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19528         * elf/tst-auditmod4a.c: Move to ...
19529         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19530         * elf/tst-auditmod4b.c: Move to ...
19531         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19532         * elf/tst-auditmod5a.c: Move to ...
19533         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19534         * elf/tst-auditmod5b.c: Move to ...
19535         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19536         * elf/tst-auditmod6a.c: Move to ...
19537         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19538         * elf/tst-auditmod6b.c: Move to ...
19539         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19540         * elf/tst-auditmod6c.c: Move to ...
19541         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19542         * elf/tst-auditmod7a.c: Move to ...
19543         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19544         * elf/tst-auditmod7b.c: Move to ...
19545         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19546
19547 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19548
19549         [BZ #15366]
19550         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19551         define unconditionally.
19552         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19553         define unconditionally.
19554         (INT8_C, INT16_C, etc.): Likewise.
19555
19556 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19557
19558         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19559         __ehdr_start with hidden visibility.
19560
19561         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19562
19563 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19564
19565         * math/libm-test.inc (cos_test): Use accurate hex constants.
19566         (sincost_test): Likewise.
19567
19568 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19569
19570         * math/libm-test.inc (catan_test): Add more tests.
19571         (catanh_test): Likewise.
19572
19573         * math/s_catanf.c (__catanf): Use suffixed floating-point
19574         constants.
19575         * math/s_catanhf.c (__catanhf): Likewise.
19576         * math/s_catanhl.c (__catanhl): Likewise.
19577         * math/s_catanl.c (__catanl): Likewise.
19578
19579         [BZ #15394]
19580         * math/s_catan.c (__catan): Calculate imaginary part of result
19581         with log1p not log unless computing log of number close to 0.
19582         * math/s_catanf.c (__catanf): Likewise.
19583         * math/s_catanl.c (__catanl): Likewise.
19584         * math/s_catanh.c (__catanh): Calculate real part of result with
19585         log1p not log unless computing log of number close to 0.
19586         * math/s_catanhf.c (__catanhf): Likewise.
19587         * math/s_catanhl.c (__catanhl): Likewise.
19588         * math/libm-test.inc (catan_test): Add more tests.
19589         (catanh_test): Likewise.
19590         * sysdeps/i386/fpu/libm-test-ulps: Update.
19591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19592
19593 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19594
19595         * benchtests/Makefile: Mention files in which fast and slow
19596         paths of math functions are implemented.
19597
19598 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19599
19600         * sysdeps/posix/timespec_get.c: New file.
19601
19602 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19603
19604         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19605         POWER.
19606         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19607         for POWER.
19608         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19609         powerpc/power5/fpu folders.
19610         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19611         * benchtests/Makefile: Add modf testcase.
19612         * benchtests/bench-modf.c: New file: Benchmark test for mo
19613
19614 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19615
19616         [BZ #14888]
19617         * time/Makefile (tests): Add tst-strptime-whitespace.
19618         * time/strptime_l.c (get_number): Use ISSPACE.
19619         (__strptime_internal): Likewise.
19620         * time/tst-strptime-whitespace.c: New test case.
19621
19622 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19623
19624         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19625         member.
19626         (_nss_files_init): Set it here.
19627
19628 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19629
19630         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19631         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19632         unsigned.
19633
19634 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19635
19636         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19637
19638 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19639
19640         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19641         size just once.
19642
19643 2013-04-21  David S. Miller  <davem@davemloft.net>
19644
19645         * po/ru.po: Update Russion translation from translation project.
19646
19647 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19648
19649         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19650         and setfsgid.
19651
19652 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19653
19654         * configure.in: Remove i386 configure warning. Remove i386 case.
19655         * configure: Regenerate.
19656         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19657         Add example to error message.
19658         * sysdeps/i386/configure: Regenerate.
19659
19660 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19661
19662         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19663         slowtan.
19664         * benchtests/cos-inputs: New file.
19665         * benchtests/slowcos-inputs: New file.
19666         * benchtests/slowcos.c: New file.
19667         * benchtests/slowtan-inputs: New file.
19668         * benchtests/slowtan.c: New file.
19669         * benchtests/tan-inputs: New file.
19670
19671 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19672
19673         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19674         considered kosher.
19675
19676 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19677
19678         * benchtests/Makefile: Include cppflags-iterator.mk to add
19679         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19680
19681         * Makefile.in (bench-clean): New target.
19682         * benchtests/Makefile (bench-clean): Likewise.
19683
19684 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19685
19686         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19687
19688 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19689
19690         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19691
19692 2013-04-15  Andreas Schwab  <schwab@suse.de>
19693
19694         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19695         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19696         * nscd/pwdcache.c (cache_addpw): Likewise.
19697         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19698         more than recsize.
19699
19700 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19701
19702         * benchtests/Makefile (bench): Write all output to
19703         bench-out.tmp together.
19704
19705 2013-04-15  Andreas Schwab  <schwab@suse.de>
19706
19707         * nscd/nscd.c (main): Don't fork again after closing files.
19708
19709 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19710
19711         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19712
19713         * benchtests/Rules (bench-deps): Collect dependencies into a
19714         single variable.  Add Makefile to dependencies.
19715         ($(objpfx)bench-%.c): Depend on bench-deps.
19716
19717 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19718             Xavier Roche  <roche+kml2@exalead.com>
19719
19720         [BZ #15361]
19721         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19722         just that it's a file descriptor.
19723         * manual/llio.texi (Synchronizing AIO Operations): Update description
19724         for EBADF error from aio_fsync.
19725
19726 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19727
19728         * Rules (bench): Move target definition...
19729         * benchtests/Makefile: ... here.
19730
19731 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19732
19733         * math/libm-test.inc (cos_test): Fix PI/2 test.
19734         (sincos_test): Likewise.
19735         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19736         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19737
19738 2013-04-11  Andreas Schwab  <schwab@suse.de>
19739
19740         [BZ #13988]
19741         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19742         accept exponent character only when digits were seen.
19743         * stdio-common/Makefile (tests): Add bug26.
19744         * stdio-common/bug26.c: New file.
19745
19746         [BZ #14293]
19747         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19748         non-freeable.
19749
19750 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19751
19752         * Makeconfig (rtld-prefix): Define built linker prefix.
19753         * Rules (run-bench): Use it.
19754         * math/Makefile (run-regen-ulps): Likewise.
19755
19756         * Rules (bench): Remove eval.
19757
19758 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19759             Roland McGrath  <roland@hack.frob.com>
19760             Ondrej Bilka  <neleai@seznam.cz>
19761
19762         [BZ #15346]
19763         * time/getdate.c: Include ctype.h and alloca.h.
19764         (__getdate_r): Trim leading and trailing spaces of input.
19765         * time/tst-getdate.c (tests): Add tests with leading and
19766         trailing spaces.
19767
19768 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19769
19770         [BZ #14280]
19771         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19772         when computing value.
19773
19774 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19775
19776         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19777         Use testrun.sh to run libm tests.
19778
19779         [BZ #15309]
19780         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19781
19782 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19783
19784         [BZ #15264]
19785         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19786
19787 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19788
19789         * Makefile.in (regen-ulps): New target.
19790         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19791         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19792         [ifneq (no,$(PERL)] (regen-ulps): New target.
19793         [ifeq (no,$(PERL)] (regen-ulps): New target.
19794         * math/libm-test.inc (ulps_file_name): Define.
19795         (output_dir): New variable.
19796         (options): Add "output-dir" option.
19797         (parse_opt): Handle 'o' case.
19798         (main): If output_dir is non-NULL use it as a prefix
19799         otherwise use "".
19800         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19801
19802 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19803
19804         [BZ #10060, #10062]
19805         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19806         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19807         fail configure if __sync_val_compare_and_swap is not inlined.
19808         * sysdeps/i386/configure: Regenerate.
19809         * configure.in: Build for i686 when configured for i386.
19810         * configure: Regenerate.
19811         * README: Remove i386 reference.
19812
19813 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19814
19815         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19817
19818 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19819
19820         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19821         (lmsnanval): New variables.
19822         (F): Add conversion tests.
19823         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19824         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19825
19826         * stdio-common/tstdiomisc.c (F): Properly collect individual
19827         tests' results.
19828
19829         [BZ #14686, #15336]
19830         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19831         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19832         Instead, use input NaN values or generate a qNaN by arithmetic
19833         operation.  Also fix bugs to comply with the standard.
19834         * math/libm-test.inc (remainder_test): Add more tests.
19835
19836         [BZ #15335, #15342]
19837         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19838         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19839         input NaN values or generate a qNaN by arithmetic operation.
19840
19841         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19842         unreachable code.
19843
19844         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19845         definitions.
19846
19847 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19848
19849         [BZ #14478]
19850         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19851         underflowed result.
19852         * math/s_cexpf.c (__cexpf): Likewise.
19853         * math/s_cexpl.c (__cexpl): Likewise.
19854         * math/libm-test.inc (cexp_test): Add more tests.
19855
19856 2013-04-03  Andreas Schwab  <schwab@suse.de>
19857
19858         [BZ #15330]
19859         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19860         order arrays from heap if bigger than alloca cutoff.
19861
19862 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19863
19864         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19865         (SNAN_TESTS_double): Refer to GCC PR56831.
19866         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19867         GCC PR56828.
19868
19869 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19870
19871         * Rules (bench): Move bench.out after the run is complete.
19872
19873         * Rules (bench): Echo currently running benchmark.
19874
19875         * benchtests/Makefile (bench): Add atan and slowatan.
19876         * benchtests/atan-inputs: New file.
19877         * benchtests/slowatan-inputs: New file.
19878         * benchtests/slowatan.c: New file.
19879
19880         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19881         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19882         its value.
19883
19884         [BZ #15305]
19885         * sysdeps/unix/sysv/linux/kernel-features.h
19886         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19887         __ASSUME_XFS_RESTRICTED_CHOWN.
19888         * sysdeps/unix/sysv/linux/pathconf.c
19889         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19890         Save and restore errno.
19891
19892 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19893
19894         [BZ #15327]
19895         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19896         arguments using __kernel_casinh.
19897         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19898         arguments using __kernel_casinhf.
19899         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19900         arguments using __kernel_casinhl.
19901         * math/libm-test.inc (cacosh_test): Add more tests.
19902         * sysdeps/i386/fpu/libm-test-ulps: Update.
19903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19904
19905 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19906
19907         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19909
19910         * bench/Makefile (bench): Add sin and slowsin.
19911         * benchtests/sin-inputs: New file.
19912         * benchtests/slowsin-inputs: New file.
19913         * benchtests/slowsin.c: New file.
19914
19915         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19916         (bench): Add slowexp and slowpow.
19917         (exp-ITER): Increase iterations.
19918         (pow-ITER): Likewise.
19919         * benchtests/exp-inputs: Change input.
19920         * benchtests/pow-inputs: Likewise.
19921         * benchtests/slowexp-inputs: New file.
19922         * benchtests/slowexp.c: New file.
19923         * benchtests/slowpow-inputs: New file.
19924         * benchtests/slowpow.c: New file.
19925
19926 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19927
19928         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19929         instructions.
19930         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19931         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19932         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19933         * benchtests/Makefile: Add rint benchtest.
19934         * benchtests/rint-inputs: Input for rint benchtest.
19935
19936 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19937
19938         * Versions.def (libm): Add GLIBC_2.18.
19939         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19940         hidden libm prototypes.
19941         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19942         * math/Makefile (libm-calls): Add s_issignaling.
19943         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19944         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19945         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19946         declaration.
19947         * math/math.h [__USE_GNU] (issignaling): New macro.
19948         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19949         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19950         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19951         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19952         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19953         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19954         * manual/arith.texi (issignaling): New section.
19955         * manual/libm-err-tab.pl (@all_functions): Update comment.
19956         * math/gen-libm-test.pl (parse_args): Apply special handling for
19957         issignaling.
19958         * math/libm-test.inc (print_float, issignaling_test): New
19959         functions.
19960         (check_float_internal): Add issignaling checks.
19961         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19962         default definition.
19963         * sysdeps/powerpc/math-tests.h: New file.
19964         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19965         tests.
19966         * math/test-snan.c (TEST_FUNC): Likewise.
19967
19968 2013-03-30  David S. Miller  <davem@davemloft.net>
19969
19970         * po/de.po: Update from translation team.
19971
19972 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19973
19974         [BZ #10357]
19975         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19976         imaginary part less than 1.0 and real part less than 0.5
19977         specially.
19978         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19979         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19980         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19981         (cacos_test): Add more tests.
19982         (casin_test): Likewise.
19983         (casinh_test): Likewise.
19984         * sysdeps/i386/fpu/libm-test-ulps: Update.
19985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19986
19987 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19988
19989         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19990         ONE with its value.
19991
19992         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19993         (__pow_mp): Replace ONE and MONE with their values.
19994         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19995         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19996         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19997         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19998         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19999         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20000
20001         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20002
20003         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20004         (__pow_mp): Replace ZERO and MZERO with their values.
20005         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20006         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20007         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20009         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20010         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20011         (__sqr): Likewise.
20012
20013         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20014
20015         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20016
20017 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20018
20019         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20020         Declare with __attribute__ ((weak)).
20021         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20022         Call __call_tls_dtors only if it's not NULL.
20023
20024 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20025
20026         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20027         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20028         magic __ehdr_start linker symbol if it's defined.
20029         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20030         them up here if it was already done.
20031
20032         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20033         (_dl_aux_init): Use const in cast when setting it.
20034         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20035         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20036         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20037
20038         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20039         Declare them here.
20040         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20041         * csu/libc-tls.c: Nor here.
20042         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20043
20044         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20045         (__libc_message): Never call vsyslog.
20046
20047 2013-03-28  Alan Modra  <amodra@gmail.com>
20048
20049         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20050         Define as empty.
20051         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20052         Likewise.
20053
20054 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20055
20056         [BZ #15214]
20057         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20058         underflow.
20059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20060
20061 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20062
20063         [BZ #15304]
20064         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20065         Don't add gid passed as argument.
20066
20067         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20068
20069 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20070
20071         [BZ #15307]
20072         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20073         imaginary part between 1.0 and 1.5 and real part less than 0.5
20074         specially.
20075         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20076         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20077         * math/libm-test.inc (cacos_test): Add more tests.
20078         (casin_test): Likewise.
20079         (casinh_test): Likewise.
20080         * sysdeps/i386/fpu/libm-test-ulps: Update.
20081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20082
20083 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20084
20085         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20086         constants.
20087         (norm): Likewise.
20088         (denorm): Likewise.
20089         (__dbl_mp): Likewise.
20090         (add_magnitudes): Likewise.
20091         (sub_magnitudes): Likewise.
20092         (__add): Likewise.
20093         (__sub): Likewise.
20094         (__mul): Likewise.
20095         (__sqr): Likewise.
20096         (__inv): Likewise.
20097         (__dvd): Likewise.
20098
20099         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20100         commented code.
20101         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20102         (__dubcos): Likewise.
20103         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20104         (__ieee754_acos): Likewise.
20105         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20106         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20107         (__exp1): Likewise.
20108         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20109         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20110         (log1): Likewise.
20111         (my_log2): Likewise.
20112         (checkint): Likewise.
20113         * sysdeps/ieee754/dbl-64/e_remainder.c
20114         (__ieee754_remainder): Likewise.
20115         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20117         (bsloww): Likewise.
20118         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20119
20120         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20121         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20122         MANTISSA_STORE_T to store computations on mantissa.  Use
20123         macros for rounding and division.
20124         (denorm): Likewise.
20125         (__dbl_mp): Likewise.
20126         (add_magnitudes): Likewise.
20127         (sub_magnitudes): Likewise.
20128         (__mul): Likewise.
20129         (__sqr): Likewise.
20130         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20131         powers of two in terms of TWOPOW macro.
20132         (mp_no): Make type of mantissa as MANTISSA_T.
20133         [!RADIXI]: Define RADIXI.
20134         [!TWO52]: Define TWO52.
20135         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20136
20137 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20138
20139         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20140         llroundl symbol when building for PPC32.
20141
20142 2013-03-24  Mark H Weaver  <mhw@netris.org>
20143
20144         * manual/arith.texi (Normalization Functions): Fix prototypes for
20145         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20146
20147 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20148
20149         [BZ #13889]
20150         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20151         high value to check if expl overflow.
20152         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20153         to check for underflow and overflow.
20154         * math/libm-test.inc: Add exp test.
20155
20156 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20157
20158         [BZ #11120]
20159         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20160         with NOT_IN_libc.
20161
20162 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20163
20164         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20165         symbol.
20166
20167 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20168
20169         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20170         wrap blocks consisting of several statements.
20171
20172         * sysdeps/generic/math-tests.h: New file.
20173         * sysdeps/i386/fpu/math-tests.h: Likewise.
20174         * math/test-snan.c: Include it.
20175         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20176
20177 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20178
20179         [BZ #15285]
20180         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20181         (__ieee754_j0l): Do not improve calculations using cos of twice
20182         input for inputs above LDBL_MAX / 2.0L.
20183         (__ieee754_y0l): Likewise.
20184         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20185         (__ieee754_j1l): Do not improve calculations using cos of twice
20186         input for inputs above LDBL_MAX / 2.0L.
20187         (__ieee754_y1l): Likewise.
20188         * math/libm-test.inc (j0_test): Add another test.
20189         (j1_test): Likewise.
20190         (y0_test): Likewise.
20191         (y1_test): Likewise.
20192         * sysdeps/i386/fpu/libm-test-ulps: Update.
20193
20194 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20195
20196         * Rules ($(objpfx)bench-%.c): Include code from a C source
20197         file.
20198
20199 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20200
20201         [BZ #15287]
20202         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20203         imaginary part 1.0 and real part less than 0.5 specially.
20204         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20205         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20206         * math/libm-test.inc (cacos_test): Add more tests.
20207         (casin_test): Likewise.
20208         (casinh_test): Likewise.
20209         * sysdeps/i386/fpu/libm-test-ulps: Update.
20210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20211
20212 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20213
20214         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20215         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20216
20217 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20218
20219         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20220         * config.make.in (config-cflags-sse4): Remove variable.
20221         (config-cflags-avx): Likewise.
20222         (config-cflags-sse2avx): Likewise.
20223         (config-cflags-novzeroupper): Likewise.
20224         (config-asflags-i686): Likewise.
20225         (have-mfma4): Likewise.
20226         (have-as-vis3): Likewise.
20227         (MIG): Likewise.
20228         * configure.in (MIG): Do not AC_SUBST.
20229         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20230         (libc_cv_cc_sse4): Do not AC_SUBST.
20231         (libc_cv_cc_avx): Likewise.
20232         (libc_cv_cc_sse2avx): Likewise.
20233         (libc_cv_cc_novzeroupper): Likewise.
20234         (libc_cv_cc_fma4): Likewise.
20235         (libc_cv_as_i686): Likewise.
20236         (libc_cv_sparc_as_vis3): Likewise.
20237         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20238         LIBC_CONFIG_VAR.
20239         (config-asflags-i686): Likewise.
20240         (config-cflags-avx): Likewise.
20241         (config-cflags-sse2avx): Likewise.
20242         (have-mfma4): Likewise.
20243         (config-cflags-novzeroupper): Likewise.
20244         * sysdeps/mach/configure.in (MIG): Likewise.
20245         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20246         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20247         LIBC_CONFIG_VAR.
20248         (config-cflags-avx): Likewise.
20249         (config-cflags-sse2avx): Likewise.
20250         (have-mfma4): Likewise.
20251         (config-cflags-novzeroupper): Likewise.
20252         * configure: Regenerated.
20253         * sysdeps/i386/configure: Likewise.
20254         * sysdeps/mach/configure: Likewise.
20255         * sysdeps/sparc/configure: Likewise.
20256         * sysdeps/x86_64/configure: Likewise.
20257
20258 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20259
20260         [BZ #14812]
20261         * locale/programs/localedef.c (options): Put N_ translation marker
20262         on argument names, not just descriptions.
20263
20264 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20265
20266         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20267
20268 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20269
20270         [BZ #14176]
20271         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20272
20273 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20274
20275         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20276         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20277         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20278         [!BEFORE_ABORT] (before_abort): New function.
20279         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20280         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20281         (writev_for_fatal): New function.
20282         (WRITEV_FOR_FATAL): New macro; call that.
20283         (backtrace_and_maps): New function.
20284         (BEFORE_ABORT): New macro; call that.
20285         (struct str_list): Type removed.
20286         (__libc_message, __libc_fatal): Functions removed.
20287         Include <sysdeps/posix/libc_fatal.c> instead.
20288
20289 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20290
20291         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20292         constants.
20293         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20294         double constants.
20295
20296 2013-03-19  Andreas Schwab  <schwab@suse.de>
20297
20298         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20299         * sysdeps/gnu/configure: Regenerate.
20300
20301         * configure.in: Substitute libc_cv_rtlddir.
20302         * configure: Regenerate.
20303         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20304         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20305         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20306         * elf/Makefile (install-others, CFLAGS-interp.c)
20307         (ldso_install, common-ldd-rewrite): Likewise.
20308         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20309         $(inst_slibdir)/$(rtld-installed-name).
20310         * scripts/rellns-sh: Add -p option.
20311         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20312         for source.
20313
20314 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20315
20316         * manual/nptl.texi: Renamed to ...
20317         * manual/threads.texi: ... this.
20318         * manual/Makefile (chapters): Update.
20319
20320 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20321
20322         [BZ #14812]
20323         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20324         on argument names, not just descriptions.
20325         * malloc/memusagestat.c (options): Likewise.
20326         * nss/getent.c (options): Likewise.
20327
20328 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20329
20330         [BZ #14812]
20331         * iconv/iconv_prog.c (options): Put N_ translation marker
20332         on argument names, not just descriptions.
20333         * iconv/iconvconfig.c (options): Likewise.
20334
20335 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20336
20337         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20338         implementation which is faster on all x86_64 architectures.
20339         Tested on AMD, Intel Nehalem, SNB, IVB.
20340         * sysdeps/x86_64/strnlen.S: Likewise.
20341
20342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20343         Remove all multiarch strlen and strnlen versions.
20344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20345         Remove strlen and strnlen related parts.
20346
20347         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20348         Inline strlen part.
20349         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20350
20351         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20352         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20353         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20354         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20355         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20356         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20357
20358 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20359
20360         * manual/memory.texi (Malloc Tunable Parameters):
20361         Sort parameters alphabetically. Add comments for missing entries.
20362
20363 2013-03-17  David S. Miller  <davem@davemloft.net>
20364
20365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20366
20367 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20368
20369         [BZ #15283]
20370         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20371         for arguments at most half maximum finite value.
20372         * math/libm-test.inc (j0_test): Add more tests.
20373         (j1_test): Likewise.
20374         (y0_test): Likewise.
20375         (y1_test): Likewise.
20376         * sysdeps/i386/fpu/libm-test-ulps: Update.
20377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20378
20379         [BZ #14155]
20380         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20381         1 / x and functions P and Q for arguments above 0x1p256L.
20382         (__ieee754_y0l): Likewise.
20383         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20384         (__ieee754_y1l): Likewise.
20385         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20386         (j1_test): Likewise.
20387         (y0_test): Likewise.
20388         (y1_test): Likewise.
20389
20390 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20391
20392         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20393         variable.
20394
20395 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20396
20397         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20398         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20399         zero since it's initialized to EXEC_PAGESIZE.
20400
20401         * sysdeps/unix/sysv/linux/ldsodefs.h
20402         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20403         * sysdeps/generic/ldsodefs.h: ... here.
20404
20405 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20406
20407         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20408
20409         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20410         math/test-snan.c.
20411         * math/test-snan.c: Renamed from
20412         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20413         * math/Makefile (tests): Add test-snan.
20414         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20415         test-powerpc-snan.
20416
20417         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20418         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20419         functions.
20420         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20421         __builtin_nan family of functions.
20422         * math/libm-test.inc (initialize): Initialize qnan_value with
20423         __builtin_nan family of functions.
20424         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20425         Remove variables.
20426         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20427         Remove functions.
20428         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20429         storage class.  Initialize qNaN_var and sNaN_var with
20430         __builtin_nan and __builtin_nans families of functions,
20431         respectively.
20432
20433         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20434         (sqrt_test): Remove duplicate test with qNaN input.
20435         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20436         (round_test, signbit_test, significand_test): Note missing +/-Inf
20437         as well as qNaN tests.
20438
20439         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20440         qNaN_var.  Fix a few strings, too.
20441         * math/libm-test.inc (nan_value): Rename to qnan_value.
20442         * math/gen-libm-test.pl (%beautify): Adjust to that.
20443         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20444         * math/test-misc.c (main): Likewise.
20445         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20446         to __qnan_bytes, and __qnan_union, respectively.
20447         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20448         Likewise.
20449         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20450         and lqnanval, respectively.
20451         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20452         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20453         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20454         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20455
20456         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20457         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20458         doubles.
20459
20460         * math/test-misc.c (main): Fix copy'n'pastos.
20461         * misc/tst-efgcvt.c (special): Likewise.
20462
20463         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20464         Remove declarations.
20465
20466 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20467
20468         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20469         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20470         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20471         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20472
20473 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20474
20475         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20476         macro to return vdso values correctly in IFUNC implementations.
20477         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20478         Optimization by using IFUNC.
20479
20480 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20481             Richard Henderson  <rth@redhat.com>
20482             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20483
20484         * Makefile.in (bench): New target.
20485         * NEWS: Mention the benchmark framework.
20486         * Rules (bench): Likewise.
20487         (binaries-bench): Generate binaries for functions to
20488         benchmark.
20489         * benchtests/Makefile: New makefile for benchmark tests.
20490         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20491         programs.
20492         * benchtests/exp-inputs: New input file for EXP function.
20493         * benchtests/pow-inputs: New input file for POW function.
20494         * scripts/bench.pl: New script to generate source files for
20495         benchmark programs.
20496
20497 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20498
20499         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20500         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20501         computations on mantissa.  Use macros for rounding and
20502         division.
20503         (denorm): Likewise.
20504         (__dbl_mp): Likewise.
20505         (add_magnitudes): Likewise.
20506         (sub_magnitudes): Likewise.
20507         (__mul): Likewise.
20508         (__sqr): Likewise.
20509         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20510         powers of two in terms of TWOPOW macro.
20511         (mp_no): Make type of mantissa as MANTISSA_T.
20512         [!RADIXI]: Define RADIXI.
20513         [!TWO52]: Define TWO52.
20514         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20515
20516         * manual/nptl.texi (cindex): Modify threads to pthreads.
20517
20518 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20519
20520         * sysdeps/x86_64/preconfigure: Regenerated.
20521
20522 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20523
20524         [BZ #14155]
20525         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20526         0x1p28 and above.
20527         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20528         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20529         0x1p28 and above.
20530         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20531         * math/libm-test.inc (j0_test): Do not allow one spurious
20532         underflow exception.
20533         (y1_test): Likewise.
20534
20535 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20536
20537         * manual/Makefile (chapters): Add nptl.
20538         * manual/debug.texi (Debugging Support): Add link to Threads
20539         chapter.
20540         * manual/nptl.texi: New file.
20541
20542         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20543
20544 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20545
20546         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20547         for non-NULL pointer before the memory validity test. Pointed
20548         out by Holger Brunck <holger.brunck@keymile.com>.
20549
20550 2013-03-13  Andreas Schwab  <schwab@suse.de>
20551
20552         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20553         instead of .os.
20554
20555 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20556
20557         * timezone/zic.c: Update from tzcode 2013b.
20558
20559 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20560
20561         * manual/install.texi (Configuring and compiling):
20562         Mention i686 and i586.
20563         * INSTALL: Regenerate.
20564
20565 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20566
20567         * sysdeps/init_array/elf-init.c: New file.
20568         * csu/elf-init.c
20569         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20570         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20571
20572         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20573         __gmon_start__ as global, but as static with a .preinit_array pointer.
20574         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20575         * sysdeps/init_array/crti.S: New file, empty except for comments.
20576         * sysdeps/init_array/crtn.S: Likewise.
20577
20578 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20579
20580         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20581         definining bcopy.
20582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20583         Remove Prefer_SSE_for_memop.
20584         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20585         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20586         HAS_PREFER_SSE_FOR_MEMOP.
20587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20588         memset-x86-64.
20589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20590         Remove bzero, memset ifunc support.
20591         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20592         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20593         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20594         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20595
20596 2013-03-11  Andreas Schwab  <schwab@suse.de>
20597
20598         [BZ #15234]
20599         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20600         by SHLIB_COMPAT.
20601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20602         (GLIBC_2.16): Remove pthread_atfork.
20603
20604 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20605
20606         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20607         (ptestcases.h): Likewise.
20608
20609 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20610
20611         * Makeconfig ($(common-objpfx)config.status): Depend on
20612         sysdeps/*/preconfigure{,.in} too.
20613
20614 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20615
20616         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20617         (__free_hook): Use void * instead of __malloc_ptr_t.
20618         (__malloc_hook): Likewise.
20619         (__realloc_hook): Likewise.
20620         (__memalign_hook): Likewise.
20621         (__after_morecore_hook): Likewise.
20622         * malloc/arena.c (save_malloc_hook): Likewise.
20623         (save_free_hook): Likewise.
20624         * malloc/hooks.c (malloc_hook_ini): Likewise.
20625         (realloc_hook_ini): Likewise.
20626         (memalign_hook_ini): Likewise.
20627         * malloc/malloc.c (malloc_hook_ini): Likewise.
20628         (realloc_hook_ini): Likewise.
20629         (memalign_hook_ini): Likewise.
20630         (__free_hook): Likewise.
20631         (__malloc_hook): Likewise.
20632         (__realloc_hook): Likewise.
20633         (__memalign_hook): Likewise.
20634         (__libc_malloc): Likewise.
20635         (__libc_free): Likewise.
20636         (__libc_realloc): Likewise.
20637         (__libc_memalign): Likewise.
20638         (__libc_valloc): Likewise.
20639         (__libc_pvalloc): Likewise.
20640         (__libc_calloc): Likewise.
20641         (__posix_memalign): Likewise.
20642         * malloc/morecore.c (__sbrk): Likewise.
20643         (__default_morecore): Likewise.
20644
20645         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20646
20647         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20648         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20649         __malloc_ptrdiff_t.
20650
20651         * malloc/malloc.h (__malloc_size_t): Remove macro.
20652         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20653         __malloc_size_t.
20654         (old_memalign_hook): Likewise.
20655         (old_realloc_hook): Likewise.
20656         (struct hdr): Likewise.
20657         (flood): Likewise.
20658         (mallochook): Likewise.
20659         (memalignhook): Likewise.
20660         (reallochook): Likewise.
20661         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20662         (tr_old_realloc_hook): Likewise.
20663         (tr_old_memalign_hook): Likewise.
20664         (tr_mallochook): Likewise.
20665         (tr_reallochook): Likewise.
20666         (tr_memalignhook): Likewise.
20667
20668 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20669
20670         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20671         default_ldbl_pack and using as default implementation.
20672         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20673         implementation.
20674         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20675         redundant definition.
20676         (ldbl_insert_mantissa): Likewise.
20677         (ldbl_canonicalize): Likewise.
20678         (ldbl_nearbyint): Likewise.
20679         (ldbl_pack): Rename to ldbl_pack_ppc.
20680         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20681         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20682         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20683
20684 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20685
20686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20687         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20688         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20689         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20691         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20692         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20693         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20694
20695 2013-03-07  Andreas Jaeger  <aj@suse.de>
20696
20697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20698         bits/mman-linux.h.
20699
20700 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701
20702         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20703         Include mpa.h and declare __MPEXP.
20704         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20705         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20706         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20707         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20708         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20709         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20710         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20711
20712         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20713         (__slowpow): Use long double EXPL and LOGL functions to
20714         compute POW.
20715         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20716         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20717         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20718         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20719         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20720         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20721
20722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20723         intermediate variable to calculate exponent.
20724         (__sqr): Likewise.
20725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20726         Likewise.
20727         (__sqr): Likewise.
20728
20729         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20730         [!NO__SQR]: Define __sqr.
20731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20732         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20733         sysdeps/ieee754/dbl-64/mpa.c.
20734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20735
20736         [BZ #12723]
20737         * posix/Makefile (tests): Add tst-pathconf.
20738         * posix/tst-pathconf.c: New test case.
20739         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20740         _PC_PIPE_BUF.
20741         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20742
20743 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20744
20745         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20746
20747 2013-03-06  Andreas Jaeger  <aj@suse.de>
20748
20749         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20750         definition via __MAP_ANONYMOUS.
20751
20752         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20753         it's not part of Linux headers.
20754
20755         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20756         (MAP_HUGE_MASK): Define.
20757
20758         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20759         Define.
20760         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20761         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20762         Define.
20763         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20764         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20765         Define.
20766         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20767         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20768         Define.
20769         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20770
20771         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20772         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20773         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20774         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20775         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20776         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20777
20778         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20779         Handle f2fs.
20780
20781         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20782         Handle f2fs and efivarfs.
20783
20784         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20785         f2fs.
20786
20787         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20788         (EFIVARFS_MAGIC): Add.
20789         (F2FS_LINK_MAX): Add.
20790
20791 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20792
20793         * stdio-common/vfprintf.c: Replace __builtin_expect with
20794         __glibc_unlikely.
20795
20796 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20797
20798         [BZ #13550]
20799         * sysdeps/generic/bp-sym.h: Remove file.
20800         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20801         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20802         <bp-sym.h> and <bp-asm.h>.
20803         (__longjmp): Don't use BP_SYM.
20804         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20805         and <bp-asm.h>.
20806         (memcpy): Don't use BP_SYM.
20807         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20808         <bp-sym.h> and <bp-asm.h>.
20809         (memcpy): Don't use BP_SYM.
20810         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20811         <bp-asm.h>.
20812         (memcpy): Don't use BP_SYM.
20813         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20814         <bp-asm.h>.
20815         (memset): Don't use BP_SYM.
20816         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20817         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20818         (__bzero): Don't use BP_SYM.
20819         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20820         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20821         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20822         <bp-sym.h> and <bp-asm.h>.
20823         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20824         pointers.
20825         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20826         <bp-sym.h> and <bp-asm.h>.
20827         (memcpy): Don't use BP_SYM.
20828         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20829         <bp-sym.h> and <bp-asm.h>.
20830         (memset): Don't use BP_SYM.
20831         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20832         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20833         (__bzero): Don't use BP_SYM.
20834         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20835         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20836         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20837         <bp-sym.h> and <bp-asm.h>.
20838         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20839         pointers.
20840         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20841         <bp-sym.h> and <bp-asm.h>.
20842         (memcpy): Don't use BP_SYM.
20843         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20844         <bp-sym.h> and <bp-asm.h>.
20845         (memset): Don't use BP_SYM.
20846         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20847         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20848         (__bzero): Don't use BP_SYM.
20849         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20850         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20851         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20852         <bp-sym.h> and <bp-asm.h>.
20853         (__memchr): Don't use BP_SYM.
20854         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20855         <bp-sym.h> and <bp-asm.h>.
20856         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20857         pointers.
20858         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20859         <bp-sym.h> and <bp-asm.h>.
20860         (memcpy): Don't use BP_SYM.
20861         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20862         <bp-sym.h> and <bp-asm.h>.
20863         (__mempcpy): Don't use BP_SYM.
20864         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20865         <bp-sym.h> and <bp-asm.h>.
20866         (__memrchr): Don't use BP_SYM.
20867         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20868         <bp-sym.h> and <bp-asm.h>.
20869         (memset): Don't use BP_SYM.
20870         (__bzero): Likewise.
20871         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20872         <bp-sym.h> and <bp-asm.h>.
20873         (__rawmemchr): Don't use BP_SYM.
20874         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20875         <bp-sym.h> and <bp-asm.h>.
20876         (__STRCMP): Don't use BP_SYM.
20877         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20878         <bp-sym.h> and <bp-asm.h>.
20879         (strchr): Don't use BP_SYM.
20880         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20881         <bp-sym.h> and <bp-asm.h>.
20882         (__strchrnul): Don't use BP_SYM.
20883         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20884         <bp-sym.h> and <bp-asm.h>.
20885         (strlen): Don't use BP_SYM.
20886         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20887         <bp-sym.h> and <bp-asm.h>.
20888         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20889         pointers.
20890         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20891         <bp-sym.h> and <bp-asm.h>.
20892         (__strnlen): Don't use BP_SYM.
20893         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20894         <bp-sym.h> and <bp-asm.h>.
20895         (__GI__setjmp): Don't use BP_SYM.
20896         (_setjmp): Likewise.
20897         (__sigsetjmp): Likewise.
20898         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20899         (L(start_addresses)): Don't use BP_SYM.
20900         (_start): Likewise.
20901         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20902         <bp-asm.h>.
20903         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20904         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20905         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20906         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20907         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20908         <bp-asm.h>.
20909         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20910         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20911         about bounded pointers.
20912         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20913         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20914         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20915         <bp-asm.h>.
20916         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20917         about bounded pointers.  Remove GKM FIXME comments.
20918         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20919         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20920         <bp-asm.h>.
20921         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20922         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20923         Remove GKM FIXME comments.
20924         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20925         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20926         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20927         <bp-asm.h>.
20928         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20929         about bounded pointers.  Remove GKM FIXME comment.
20930         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20931         and <bp-asm.h>.
20932         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20933         pointers.
20934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20935         <bp-sym.h> and <bp-asm.h>.
20936         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20938         <bp-sym.h> and <bp-asm.h>.
20939         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20940         comment.
20941
20942 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20943
20944         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20945         call free(NULL).
20946
20947 2013-03-05  David S. Miller  <davem@davemloft.net>
20948
20949         * po/es.po: Update from translation team.
20950
20951 2013-03-05  Andreas Jaeger  <aj@suse.de>
20952
20953         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20954         <bits/mman-linux.h>.
20955         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20956         is fine.
20957         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20958         <bits/mman-linux.h> to end of file.
20959         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20960         is fine.
20961         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20962         <bits/mman-linux.h> to end of file.
20963         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20964         is fine.
20965         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20966         <bits/mman-linux.h> to end of file.
20967
20968         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20969         (MCL_CURRENT, MCL_FUTURE): Define here.
20970
20971 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20972
20973         [BZ #15232]
20974         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20975         attribute_hidden.
20976         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20977
20978 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20979
20980         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20981         fourth parameter needed for rt_sigprocmask syscall.
20982         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20983         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20984         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20985         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20986         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20987         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20988
20989 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20990
20991         [BZ #13550]
20992         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20993         comment about bounded pointers.
20994         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20995         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20996
20997 2013-03-04  Andreas Jaeger  <aj@suse.de>
20998
20999         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21000         common definitions.
21001
21002         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21003         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21004         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21005         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21006         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21007         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21008
21009 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21010
21011         [BZ #15055]
21012         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21013         __ieee754_sqrl instead of __sqrl.
21014
21015 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21016
21017         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21018         * sysdeps/powerpc/fpu_control.h: ... here.
21019         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21020         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21021         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21022         * sysdeps/powerpc/bits/mathinline.h: ... here.
21023
21024 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21025
21026         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21027         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21028         to just [NEED_DL_SYSINFO_DSO].
21029         * elf/dl-support.c: Likewise.
21030         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21031         * elf/rtld.c (dl_main): Likewise.
21032         * elf/setup-vdso.h (setup_vdso): Likewise.
21033         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21034         * sysdeps/unix/sysv/linux/dl-sysdep.c
21035         (_dl_discover_osversion): Likewise.
21036
21037 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21038
21039         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21040         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21041
21042 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21043
21044         * NEWS: Mention libm performance improvements and non-x86 PI
21045         futex support.
21046
21047         * csu/libc-start.c (__pthread_initialize_minimal): Change
21048         function arguments.
21049         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21050
21051 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21052
21053         [BZ #13550]
21054         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21055         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21056         <bp-sym.h> and <bp-asm.h>.
21057         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21058         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21059         and <bp-asm.h>.
21060         (memcpy): Don't use BP_SYM.
21061         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21062         <bp-asm.h>.
21063         (__mpn_add_n): Don't use BP_SYM.
21064         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21065         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21066         and <bp-asm.h>.
21067         (__mpn_addmul_1): Don't use BP_SYM.
21068         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21069         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21070         <bp-sym.h>.
21071         (_setjmp): Don't use BP_SYM.
21072         (__novmx_setjmp): Likewise.
21073         (__GI__setjmp): Likewise.
21074         (__vmx_setjmp): Likewise.
21075         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21076         <bp-sym.h>.
21077         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21078         (__bzero): Don't use BP_SYM.
21079         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21080         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21081         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21082         <bp-sym.h> and <bp-asm.h>.
21083         (memcpy): Don't use BP_SYM.
21084         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21085         <bp-sym.h> and <bp-asm.h>.
21086         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21087         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21088         <bp-sym.h> and <bp-asm.h>.
21089         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21090         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21091         <bp-asm.h>.
21092         (__mpn_lshift): Don't use BP_SYM.
21093         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21094         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21095         <bp-asm.h>.
21096         (memset): Don't use BP_SYM.
21097         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21098         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21099         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21100         <bp-asm.h>.
21101         (__mpn_mul_1): Don't use BP_SYM.
21102         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21103         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21104         <bp-sym.h> and <bp-asm.h>.
21105         (memcmp): Don't use BP_SYM.
21106         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21107         <bp-sym.h> and <bp-asm.h>.
21108         (memcpy): Don't use BP_SYM.
21109         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21110         <bp-sym.h> and <bp-asm.h>.
21111         (memset): Don't use BP_SYM.
21112         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21113         <bp-sym.h> and <bp-asm.h>.
21114         (strncmp): Don't use BP_SYM.
21115         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21116         <bp-sym.h> and <bp-asm.h>.
21117         (memcpy): Don't use BP_SYM.
21118         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21119         <bp-sym.h> and <bp-asm.h>.
21120         (memset): Don't use BP_SYM.
21121         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21122         <bp-sym.h> and <bp-asm.h>.
21123         (__memchr): Don't use BP_SYM.
21124         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21125         <bp-sym.h> and <bp-asm.h>.
21126         (memcmp): Don't use BP_SYM.
21127         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21128         <bp-sym.h> and <bp-asm.h>.
21129         (memcpy): Don't use BP_SYM.
21130         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21131         <bp-sym.h> and <bp-asm.h>.
21132         (__mempcpy): Don't use BP_SYM.
21133         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21134         <bp-sym.h> and <bp-asm.h>.
21135         (__memrchr): Don't use BP_SYM.
21136         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21137         <bp-sym.h> and <bp-asm.h>.
21138         (memset): Don't use BP_SYM.
21139         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21140         <bp-sym.h> and <bp-asm.h>.
21141         (__rawmemchr): Don't use BP_SYM.
21142         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21143         <bp-sym.h> and <bp-asm.h>.
21144         (__STRCMP): Don't use BP_SYM.
21145         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21146         <bp-sym.h> and <bp-asm.h>.
21147         (strchr): Don't use BP_SYM.
21148         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21149         <bp-sym.h> and <bp-asm.h>.
21150         (__strchrnul): Don't use BP_SYM.
21151         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21152         <bp-sym.h> and <bp-asm.h>.
21153         (strlen): Don't use BP_SYM.
21154         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21155         <bp-sym.h> and <bp-asm.h>.
21156         (strncmp): Don't use BP_SYM.
21157         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21158         <bp-sym.h> and <bp-asm.h>.
21159         (__strnlen): Don't use BP_SYM.
21160         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21161         <bp-asm.h>.
21162         (__mpn_rshift): Don't use BP_SYM.
21163         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21164         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21165         <bp-sym.h> and <bp-asm.h>.
21166         (__sigsetjmp): Don't use BP_SYM.
21167         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21168         (L(start_addresses)): Don't use BP_SYM.
21169         (_start): Likewise.
21170         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21171         <bp-asm.h>.
21172         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21173         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21174         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21175         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21176         <bp-asm.h>.
21177         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21178         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21179         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21180         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21181         <bp-asm.h>.
21182         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21183         comments.
21184         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21185         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21186         <bp-asm.h>.
21187         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21188         FIXME comments.
21189         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21190         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21191         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21192         <bp-asm.h>.
21193         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21194         comment.
21195         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21196         and <bp-asm.h>.
21197         (strncmp): Don't use BP_SYM,
21198         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21199         <bp-asm.h>.
21200         (__mpn_sub_n): Don't use BP_SYM.
21201         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21202         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21203         and <bp-asm.h>.
21204         (__mpn_submul_1): Don't use BP_SYM.
21205         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21207         <bp-sym.h> and <bp-asm.h>.
21208         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21210         <bp-sym.h> and <bp-asm.h>.
21211         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21212         comment.
21213
21214 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21215
21216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21217         Use ZK to minimize writes to Z.
21218         (sub_magnitudes): Simplify code a bit.
21219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21220         Use ZK to minimize writes to Z.
21221         (sub_magnitudes): Simplify code a bit.
21222
21223 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21224
21225         * csu/gmon-start.c: Add special exception to license text.
21226
21227 2013-02-27  Richard Henderson  <rth@redhat.com>
21228
21229         * scripts/config.guess: Update from config.git.
21230         * scripts/config.sub: Likewise.
21231
21232 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21233
21234         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21235
21236         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21237
21238         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21239
21240         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21241
21242         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21243
21244 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21245
21246         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21247         [$(build-shared = yes].
21248
21249 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21250
21251         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21252         (__mul): Reduce iterations for calculating mantissa.
21253
21254         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21255         MPTWO.
21256         (__mpranred): Likewise.
21257
21258         [BZ #15160]
21259         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21260         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21261
21262 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21263
21264         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21265         Define __attribute__.
21266
21267 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21268
21269         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21270         unused.
21271         * posix/regex_internal.h (__attribute): Remove.
21272         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21273         (re_string_context_at): Likewise.
21274         (bitset_not): Use __attribute__ and mark function as possibly
21275         unused.
21276         (bitset_merge): Likewise.
21277         (bitset_mask): Likewise.
21278         (re_string_char_size_at): Likewise.
21279         (re_string_wchar_at): Likewise.
21280         (re_string_elem_size_at): Likewise.
21281
21282 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21283
21284         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21285         code.
21286         (cc32): Likewise.
21287
21288         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21289         (__acr): Likewise.
21290         (__cpy): Likewise.
21291         (norm): Likewise.
21292         (denorm): Likewise.
21293         (__dbl_mp): Likewise.
21294         (add_magnitudes): Likewise.
21295         (sub_magnitudes): Likewise.
21296         (__mul): Likewise.
21297         (__inv): Likewise.
21298
21299         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21300         style.
21301
21302         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21303         style.
21304
21305         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21306         code.
21307
21308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21309         up changes with default code.
21310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21311         Likewise.
21312
21313 2013-02-24  Allan McRae  <allan@archlinux.org>
21314
21315         * manual/socket.texi (The Internet Namespace): Order menu items
21316         to match that in the file.
21317
21318         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21319         node listing of the info page menu.
21320
21321 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21322
21323         [BZ #13550]
21324         * sysdeps/i386/bp-asm.h: Remove file.
21325         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21326         (PARMS): Do not use macros from bp-asm.h.
21327         (S1): Likewise.
21328         (S2): Likewise.
21329         (SIZE): Likewise.
21330         (__mpn_add_n): Do not use BP_SYM
21331         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21332         "bp-asm.h".
21333         (PARMS): Do not use macros from bp-asm.h.
21334         (S1): Likewise.
21335         (SIZE): Likewise.
21336         (__mpn_addmul_1): Do not use BP_SYM
21337         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21338         "bp-asm.h".
21339         (PARMS): Do not use macros from bp-asm.h.
21340         (SIGMSK): Likewise.
21341         (_setjmp): Likewise.  Do not use BP_SYM.
21342         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21343         "bp-asm.h".
21344         (PARMS): Do not use macros from bp-asm.h.
21345         (SIGMSK): Likewise.
21346         (setjmp): Likewise.  Do not use BP_SYM.
21347         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21348         "bp-asm.h".
21349         (PARMS): Do not use macros from bp-asm.h.
21350         (__frexp): Do not use BP_SYM.
21351         (frexp): Likewise.
21352         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21353         "bp-asm.h".
21354         (PARMS): Do not use macros from bp-asm.h.
21355         (__frexpf): Do not use BP_SYM.
21356         (frexpf): Likewise.
21357         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21358         "bp-asm.h".
21359         (PARMS): Do not use macros from bp-asm.h.
21360         (__frexpl): Do not use BP_SYM.
21361         (frexpl): Likewise.
21362         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21363         "bp-asm.h".
21364         (PARMS): Do not use macros from bp-asm.h.
21365         (__remquo): Do not use BP_SYM.
21366         (remquo): Likewise.
21367         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21368         "bp-asm.h".
21369         (PARMS): Do not use macros from bp-asm.h.
21370         (__remquof): Do not use BP_SYM.
21371         (remquof): Likewise.
21372         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21373         "bp-asm.h".
21374         (PARMS): Do not use macros from bp-asm.h.
21375         (__remquol): Do not use BP_SYM.
21376         (remquol): Likewise.
21377         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21378         "bp-asm.h".
21379         (PARMS): Do not use macros from bp-asm.h.
21380         (DEST): Likewise.
21381         (SRC): Likewise.
21382         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21383         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21384         "bp-asm.h".
21385         (PARMS): Do not use macros from bp-asm.h.
21386         (strlen): Do not use BP_SYM.
21387         * sysdeps/i386/i586/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/i586/addmul_1.S: Do not include "bp-sym.h" and
21395         "bp-asm.h".
21396         (PARMS): Do not use macros from bp-asm.h.
21397         (S1): Likewise.
21398         (SIZE): Likewise.
21399         (__mpn_addmul_1): Do not use BP_SYM.
21400         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21401         weak_alias.
21402         (bzero): Likewise.
21403         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21404         "bp-asm.h".
21405         (PARMS): Do not use macros from bp-asm.h.
21406         (S): Likewise.
21407         (SIZE): Likewise.
21408         (__mpn_lshift): Do not use BP_SYM.
21409         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21410         "bp-asm.h".
21411         (PARMS): Do not use macros from bp-asm.h.
21412         (DEST): Likewise.
21413         (SRC): Likewise.
21414         (LEN): Likewise.
21415         (memcpy): Likewise.  Do not use BP_SYM.
21416         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21417         libc_hidden_def and weak_alias.
21418         (mempcpy): Do not use BP_SYM in weak_alias.
21419         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21420         "bp-asm.h".
21421         (PARMS): Do not use macros from bp-asm.h.
21422         (DEST): Likewise.
21423         (LEN): Likewise.
21424         [!BZERO_P] (CHR): Likewise.
21425         (memset): Likewise.  Do not use BP_SYM.
21426         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21427         "bp-asm.h".
21428         (PARMS): Do not use macros from bp-asm.h.
21429         (S1): Likewise.
21430         (SIZE): Likewise.
21431         (__mpn_mul_1): Do not use BP_SYM.
21432         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21433         "bp-asm.h".
21434         (PARMS): Do not use macros from bp-asm.h.
21435         (S): Likewise.
21436         (SIZE): Likewise.
21437         (__mpn_rshift): Do not use BP_SYM.
21438         * sysdeps/i386/i586/strchr.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         (CHR): Likewise.
21443         (strchr): Likewise.  Do not use BP_SYM.
21444         (index): Do not use BP_SYM in weak_alias.
21445         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21446         "bp-asm.h".
21447         (PARMS): Do not use macros from bp-asm.h.
21448         (DEST): Likewise.
21449         (SRC): Likewise.
21450         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21451         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21452         "bp-asm.h".
21453         (PARMS): Do not use macros from bp-asm.h.
21454         (strlen): Do not use BP_SYM.
21455         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21456         "bp-asm.h".
21457         (PARMS): Do not use macros from bp-asm.h.
21458         (S1): Likewise.
21459         (S2): Likewise.
21460         (SIZE): Likewise.
21461         (__mpn_sub_n): Do not use BP_SYM.
21462         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21463         "bp-asm.h".
21464         (PARMS): Do not use macros from bp-asm.h.
21465         (S1): Likewise.
21466         (SIZE): Likewise.
21467         (__mpn_submul_1): Do not use BP_SYM.
21468         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21469         "bp-asm.h".
21470         (PARMS): Do not use macros from bp-asm.h.
21471         (S1): Likewise.
21472         (S2): Likewise.
21473         (SIZE): Likewise.
21474         (__mpn_add_n): Do not use BP_SYM.
21475         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21476         weak_alias.
21477         (bzero): Likewise.
21478         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21479         "bp-asm.h".
21480         (PARMS): Do not use macros from bp-asm.h.
21481         (BLK2): Likewise.
21482         (LEN): Likewise.
21483         (memcmp): Do not use BP_SYM.
21484         (bcmp): Do not use BP_SYM in weak_alias.
21485         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21486         "bp-asm.h".
21487         (PARMS): Do not use macros from bp-asm.h.
21488         (DEST): Likewise.
21489         (SRC): Likewise.
21490         (LEN): Likewise.
21491         (memcpy): Likewise.  Do not use BP_SYM.
21492         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21493         "bp-asm.h".
21494         (PARMS): Do not use macros from bp-asm.h.
21495         (DEST): Likewise.
21496         (SRC): Likewise.
21497         (LEN): Likewise.
21498         (memmove): Likewise.  Do not use BP_SYM.
21499         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21500         "bp-asm.h".
21501         (PARMS): Do not use macros from bp-asm.h.
21502         (DEST): Likewise.
21503         (SRC): Likewise.
21504         (LEN): Likewise.
21505         (__mempcpy): Likewise.  Do not use BP_SYM.
21506         (mempcpy): Do not use BP_SYM in weak_alias.
21507         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21508         "bp-asm.h".
21509         (PARMS): Do not use macros from bp-asm.h.
21510         (DEST): Likewise.
21511         (LEN): Likewise.
21512         [!BZERO_P] (CHR): Likewise.
21513         (memset): Likewise.  Do not use BP_SYM.
21514         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21515         "bp-asm.h".
21516         (PARMS): Do not use macros from bp-asm.h.
21517         (STR2): Likewise.
21518         (strcmp): Do not use BP_SYM.
21519         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21520         "bp-asm.h".
21521         (PARMS): Do not use macros from bp-asm.h.
21522         (STR): Likewise.
21523         (DELIM): Likewise.
21524         [USE_AS_STRTOK_R] (SAVE): Likewise.
21525         (FUNCTION): Likewise.  Do not use BP_SYM.
21526         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21527         aliases.
21528         (strtok_r): Likewise.
21529         (__GI___strtok_r): Likewise.
21530         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21531         (PARMS): Do not use macros from bp-asm.h.
21532         (S): Likewise.
21533         (SIZE): Likewise.
21534         (__mpn_lshift): Do not use BP_SYM.
21535         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21536         (PARMS): Do not use macros from bp-asm.h.
21537         (STR): Likewise.
21538         (CHR): Likewise.
21539         (__memchr): Do not use BP_SYM.
21540         (memchr): Do not use BP_SYM in weak_alias.
21541         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21542         (PARMS): Do not use macros from bp-asm.h.
21543         (BLK2): Likewise.
21544         (LEN): Likewise.
21545         (memcmp): Do not use BP_SYM.
21546         (bcmp): Do not use BP_SYM in weak_alias.
21547         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21548         (PARMS): Do not use macros from bp-asm.h.
21549         (S1): Likewise.
21550         (SIZE): Likewise.
21551         (__mpn_mul_1): Do not use BP_SYM.
21552         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21553         "bp-asm.h".
21554         (PARMS): Do not use macros from bp-asm.h.
21555         (STR): Likewise.
21556         (CHR): Likewise.
21557         (__rawmemchr): Do not use BP_SYM.
21558         (rawmemchr): Do not use BP_SYM in weak_alias.
21559         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21560         (PARMS): Do not use macros from bp-asm.h.
21561         (S): Likewise.
21562         (SIZE): Likewise.
21563         (__mpn_rshift): Do not use BP_SYM.
21564         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21565         (PARMS): Do not use macros from bp-asm.h.
21566         (SIGMSK): Likewise.
21567         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21568         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21569         (_start): Do not use BP_SYM.
21570         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21571         (PARMS): Do not use macros from bp-asm.h.
21572         (DEST): Likewise.
21573         (SRC): Likewise.
21574         (__stpcpy): Likewise.  Do not use BP_SYM.
21575         (stpcpy): Do not use BP_SYM in weak_alias.
21576         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21577         "bp-asm.h".
21578         (PARMS): Do not use macros from bp-asm.h.
21579         (DEST): Likewise.
21580         (SRC): Likewise.
21581         (LEN): Likewise.
21582         (__stpncpy): Likewise.  Do not use BP_SYM.
21583         (stpncpy): Do not use BP_SYM in weak_alias.
21584         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21585         (PARMS): Do not use macros from bp-asm.h.
21586         (STR): Likewise.
21587         (CHR): Likewise.
21588         (strchr): Likewise.  Do not use BP_SYM.
21589         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21590         "bp-asm.h".
21591         (PARMS): Do not use macros from bp-asm.h.
21592         (STR): Likewise.
21593         (CHR): Likewise.
21594         (__strchrnul): Likewise.  Do not use BP_SYM.
21595         (strchrnul): Do not use BP_SYM in weak_alias.
21596         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21597         "bp-asm.h".
21598         (PARMS): Do not use macros from bp-asm.h.
21599         (STOP): Likewise.
21600         (strcspn): Do not use BP_SYM.
21601         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21602         "bp-asm.h".
21603         (PARMS): Do not use macros from bp-asm.h.
21604         (STR): Likewise.
21605         (STOP): Likewise.
21606         (strpbrk): Likewise.  Do not use BP_SYM.
21607         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21608         "bp-asm.h".
21609         (PARMS): Do not use macros from bp-asm.h.
21610         (STR): Likewise.
21611         (CHR): Likewise.
21612         (strrchr): Likewise.  Do not use BP_SYM.
21613         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21614         (PARMS): Do not use macros from bp-asm.h.
21615         (SKIP): Likewise.
21616         (strspn): Do not use BP_SYM.
21617         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21618         (PARMS): Do not use macros from bp-asm.h.
21619         (STR): Likewise.
21620         (DELIM): Likewise.
21621         (SAVE): Likewise.
21622         (FUNCTION): Likewise.  Do not use BP_SYM.
21623         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21624         aliases.
21625         (strtok_r): Likewise.
21626         (__GI___strtok_r): Likewise.
21627         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21628         (PARMS): Do not use macros from bp-asm.h.
21629         (S1): Likewise.
21630         (S2): Likewise.
21631         (SIZE): Likewise.
21632         (__mpn_sub_n): Do not use BP_SYM.
21633         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21634         "bp-asm.h".
21635         (PARMS): Do not use macros from bp-asm.h.
21636         (S1): Likewise.
21637         (SIZE): Likewise.
21638         (__mpn_submul_1): Do not use BP_SYM.
21639         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21640         <bp-sym.h>.
21641         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21642         and <bp-asm.h>.
21643         (PARMS): Do not use macros from bp-asm.h.
21644         (FLAGS): Likewise.
21645         (PTID): Likewise.
21646         (TLS): Likewise.
21647         (CTID): Likewise.
21648         (__clone): Do not use BP_SYM.
21649         (clone): Do not use BP_SYM in weak_alias.
21650         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21651         and <bp-asm.h>.
21652         (PARMS): Do not use macros from bp-asm.h.
21653         (LEN): Likewise.
21654         (__mmap64): Do not use BP_SYM.
21655         (mmap64): Do not use BP_SYM in weak_alias.
21656         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21657         <bp-sym.h> and <bp-asm.h>.
21658         (PARMS): Do not use macros from bp-asm.h.
21659         (__posix_fadvise64_l64): Do not use BP_SYM.
21660         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21661         (PARMS): Do not use macros from bp-asm.h.
21662         (NSOPS): Likewise.
21663         (semtimedop): Do not use BP_SYM.
21664         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21665         and <bp-asm.h>.
21666
21667 2013-02-21  Allan McRae  <allan@archlinux.org>
21668
21669         * manual/message.texi (Charset conversion in gettext):
21670         Move @end statement to beginning of line.
21671
21672 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21673
21674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21675         static.
21676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21677         Likewise.
21678
21679         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21680         (denorm): Likewise.
21681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21683
21684 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21685
21686         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21687         tail-call to the resolved function if pltexit isn't needed.
21688
21689 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21690
21691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21692         or Y being zero as being unlikely.
21693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21694         Likewise.
21695
21696 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21697
21698         * manual/nss.texi (System Databases and Name Service Switch):
21699         Remove frobnicate @pxref.
21700
21701 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21702
21703         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21704         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21705
21706 2013-02-20  Petr Machata  <pmachata@redhat.com>
21707
21708         * elf/elf.h (R_ARM_TARGET1): New macro.
21709         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21710         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21711         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21712         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21713         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21714         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21715         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21716         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21717         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21718         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21719         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21720         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21721         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21722         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21723         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21724         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21725         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21726         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21727         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21728         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21729         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21730         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21731         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21732         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21733         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21734         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21735         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21736         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21737         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21738         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21739         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21740         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21741         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21742         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21743         (R_ARM_THM_GOT_BREL12): Likewise.
21744         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21745         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21746         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21747         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21748         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21749         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21750         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21751         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21752         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21753
21754 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21755
21756         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21757         __attribute_used__ to __attribute__ ((unused)).
21758
21759 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21760
21761         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21762         powerpc mpa.c.
21763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21764         comment formatting.
21765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21766
21767 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21768
21769         [BZ #13550]
21770         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21771         Remove macro.
21772         (ENTER): Remove both macro definitions.
21773         (LEAVE): Likewise.
21774         (CHECK_BOUNDS_LOW): Likewise.
21775         (CHECK_BOUNDS_HIGH): Likewise.
21776         (CHECK_BOUNDS_BOTH): Likewise.
21777         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21778         (RETURN_BOUNDED_POINTER): Likewise.
21779         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21780         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21781         (POP_ERRNO_LOCATION_RETURN): Likewise.
21782         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21783         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21784         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21785         macros.
21786         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21787         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21788         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21789         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21790         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21791         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21792         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21793         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21794         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21795         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21796         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21797         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21798         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21799         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21800         removed macros.
21801         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21802         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21803         macros.
21804         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21805         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21806         * sysdeps/i386/i586/memset.S (memset): Likewise.
21807         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21808         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21809         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21810         macros.
21811         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21812         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21813         Change uses of L(2) to L(out).
21814         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21815         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21816         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21817         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21818         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21819         removed macros.
21820         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21821         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21822         macros.
21823         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21824         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21825         (RETURN): Do not use macro LEAVE.
21826         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21827         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21828         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21829         * sysdeps/i386/i686/memset.S (memset): Likewise.
21830         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21831         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21832         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21833         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21834         Likewise.
21835         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21836         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21837         L(1_2) and L(1_3) into L(1).
21838         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21839         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21840         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21841         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21842         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21843         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21844         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21845         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21846         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21847         macros.
21848         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21849         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21850         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21851         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21852         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21853         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21854         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21855         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21856         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21857         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21858         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21859         * sysdeps/i386/strspn.S (strspn): Likewise.
21860         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21861         conditional code.
21862         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21863         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21864         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21865         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21866         L(1_3) into L(1_1).
21867         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21868         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21869         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21870         macros.
21871         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21872
21873 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21874
21875         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21876         macro.
21877
21878 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21879
21880         * math/atest-exp.c (exp_mpn): Remove ROUND.
21881         * math/atest-exp2.c (exp_mpn): Likewise.
21882         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21883
21884         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21885         * stdlib/tst-tls-atexit-lib.c: Likewise.
21886         * stdlib/tst-tls-atexit.c: Likewise.
21887
21888 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21889
21890         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21891         and __attribute_alloc_size__.
21892
21893 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21894
21895         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21896         __attribute_alloc_size__.
21897         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21898         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21899
21900 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21901
21902         * include/programs/xmalloc.h: New file.
21903         * catgets/gencat.c: Include it.
21904         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21905         * elf/pldd.c: Likewise.
21906         * iconv/iconv_charmap.c: Likewise.
21907         * iconv/iconvconfig.c: Likewise.
21908         * iconv/strtab.c: Likewise.
21909         * locale/programs/locale.c: Likewise.
21910         * locale/programs/localedef.h: Likewise.
21911         * locale/programs/simple-hash.c: Likewise.
21912         * nscd/nscd.h: Likewise.
21913         * nss/makedb.c: Likewise.
21914         * sysdeps/generic/ldconfig.h: Likewise.
21915
21916 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21917
21918         * Versions.def: Add GLIBC_2.18.
21919         * include/link.h (struct link_map): New member l_tls_dtor_count.
21920         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21921         (__call_tls_dtors): Likewise.
21922         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21923         __cxa_thread_atexit_impl.
21924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21925         Likewise.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21927         Likewise.
21928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21929         Likewise.
21930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21931         Likewise.
21932         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21934         Likewise.
21935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21936         Likewise.
21937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21939         Likewise.
21940         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21941         (tests): Add test case tst-tls-atexit.
21942         (modules-names): Add shared library for tst-tls-atexit.
21943         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21944         (GLIBC_PRIVATE): Add __call_tls_dtors.
21945         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21946         for libstdc++.
21947         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21948         * stdlib/tst-tls-atexit.c: New test case.
21949         * stdlib/tst-tls-atexit-lib.c: New test case.
21950
21951         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21952
21953         * elf/Versions (ld): Add _dl_find_dso_for_object.
21954         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21955         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21956         (dl_open_worker): Use _dl_find_dso_for_object.
21957         * elf/dl-sym.c (do_sym): Likewise.
21958         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21959
21960 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21961
21962         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21963         Syntactic changes only.
21964         (_dl_runtime_profile): Do a tail-call to the resolved function.
21965
21966 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21967
21968         [BZ #13550]
21969         * sysdeps/x86_64/bp-asm.h: Remove file.
21970         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21971         <bp-sym.h> and <bp-asm.h>.
21972         (__clone): Do not use BP_SYM.
21973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21974         <bp-sym.h> and <bp-asm.h>.
21975         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21976         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21977         "bp-asm.h".
21978         (_setjmp): Do not use BP_SYM.
21979         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21980         "bp-asm.h".
21981         (setjmp): Do not use BP_SYM.
21982         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21983         libc_hidden_def.
21984         (mempcpy): Do not use BP_SYM in weak_alias.
21985         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21986         "bp-asm.h".
21987         (strchr): Do not use BP_SYM.
21988         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21989         "bp-asm.h".
21990         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21991         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21992         (_start): Do not use BP_SYM.
21993         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21994         "bp-asm.h".
21995         (strcat): Do not use BP_SYM.
21996         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21997         "bp-asm.h".
21998         (STRCMP): Do not use BP_SYM.
21999         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22000         "bp-asm.h".
22001         (STRCPY): Do not use BP_SYM.
22002         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22003         "bp-asm.h".
22004         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22005         "bp-asm.h".
22006         (FUNCTION): Do not use BP_SYM.
22007         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22008         weak_alias.
22009         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22010
22011 2013-02-17  Andreas Jaeger  <aj@suse.de>
22012
22013         * time/Versions: Sort entries.
22014         * string/Versions: Likewise.
22015         * resolv/Versions: Likewise.
22016         * posix/Versions: Likewise.
22017         * iconv/Versions: Likewise.
22018         * elf/Versions: Likewise.
22019         * wcsmbs/Versions: Likewise.
22020
22021 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22022
22023         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22024         loop termination condition.
22025
22026         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22027         variable to calculate EZ.
22028         (__sqr): Likewise.
22029
22030         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22031         the lower precision input.
22032
22033 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22034
22035         [BZ #13550]
22036         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22037         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22038         (run-via-rtld-prefix): Do not handle %-bp tests.
22039         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22040         (all-object-suffixes): Remove .ob.
22041         (bppfx): Remove variable.
22042         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22043         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22044         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22045         [$(build-bounded) = yes] (libtype.ob): Likewise.
22046         * Makerules (elide-routines.ob): Remove variable.
22047         (do-tests-clean): Do not handle *-bp.out.
22048         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22049         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22050         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22051         (tests): Do not include $(tests-bp.out).
22052         (xtests): Do not include $(xtests-bp.out).
22053         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22054         [$(build-bounded) = yes] ($(addprefix
22055         $(objpfx),$(binaries-bounded))): Remove rule.
22056         ($(objpfx)%-bp.out): Remove rule.
22057         * config.make.in (build-bounded): Remove variable.
22058         * crypt/Makefile [$(build-bounded) = yes]
22059         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22060         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22061         append to variable.
22062         [$(build-bounded) = yes] (install-lib): Likewise.
22063         [$(build-bounded) = yes] (generated): Likewise.
22064         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22065         Remove rule.
22066         * intl/Makefile [$(build-bounded) = yes]
22067         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22068         * math/Makefile [$(build-bounded) = yes]
22069         ($(tests:%=$(objpfx)%-bp): Likewise.
22070         * misc/Makefile [$(build-bounded) = yes]
22071         ($(objpfx)tst-tsearch-bp): Likewise.
22072         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22073         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22074         Remove dependency.
22075         * string/Makefile (o-objects.ob): Remove variable.
22076         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22077         (CFLAGS-.ob): Remove variable.
22078         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22079         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22080         both definitions of variable.
22081         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22082         (ASFLAGS-.ob): Remove variable.
22083
22084 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22085
22086         [BZ #13550]
22087         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22088         Remove __BOUNDED_POINTERS__ from condition.
22089         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22090         * string/bits/string2.h [!__NO_STRING_INLINES &&
22091         !__BOUNDED_POINTERS__]: Likewise.
22092         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22093         Likewise.
22094         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22095         Remove conditional code.
22096         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22097         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22098         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22099         condition.
22100
22101         [BZ #13550]
22102         * csu/libc-start.c: Do not include <bp-sym.h>.
22103         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22104         * elf/dl-open.c: Do not include <bp-sym.h>.
22105         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22106         * math/fegetenv.c: Do not include <bp-sym.h>.
22107         (fegetenv): Do not use BP_SYM in versioned symbols.
22108         * nptl/sysdeps/pthread/bits/libc-lockP.h
22109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22110         <bp-sym.h>.
22111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22112         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22114         (__pthread_mutex_destroy): Likewise.
22115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22116         (__pthread_mutex_lock): Likewise.
22117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22118         (__pthread_mutex_trylock): Likewise.
22119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22120         (__pthread_mutex_unlock): Likewise.
22121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22122         (__pthread_mutexattr_init): Likewise.
22123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22124         (__pthread_mutexattr_destroy): Likewise.
22125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22126         (__pthread_mutexattr_settype): Likewise.
22127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22128         (__pthread_rwlock_init): Likewise.
22129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22130         (__pthread_rwlock_destroy): Likewise.
22131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22132         (__pthread_rwlock_rdlock): Likewise.
22133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22134         (__pthread_rwlock_tryrdlock): Likewise.
22135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22136         (__pthread_rwlock_wrlock): Likewise.
22137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22138         (__pthread_rwlock_trywrlock): Likewise.
22139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22140         (__pthread_rwlock_unlock): Likewise.
22141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22142         (__pthread_key_create): Likewise.
22143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22144         (__pthread_setspecific): Likewise.
22145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22146         (__pthread_getspecific): Likewise.
22147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22148         Likewise.
22149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22150         (_pthread_cleanup_push_defer): Likewise.
22151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22152         (_pthread_cleanup_pop_restore): Likewise.
22153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22154         (pthread_setcancelstate): Likewise.
22155         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22156         <bp-sym.h>.
22157         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22158         (memchr): Do not use BP_SYM in weak_alias.
22159         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22160         (fegetenv): Do not use BP_SYM in versioned symbols.
22161         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22162         (fesetenv): Do not use BP_SYM in versioned symbols.
22163         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22164         (feupdateenv): Do not use BP_SYM in versioned symbols.
22165         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22166         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22167         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22168         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22169         (open64): Do not use BP_SYM in weak_alias.
22170         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22171         (fegetenv): Do not use BP_SYM in versioned symbols.
22172         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22173         (fesetenv): Do not use BP_SYM in versioned symbols.
22174         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22175         (feupdateenv): Do not use BP_SYM in versioned symbols.
22176         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22177         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22178         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22179         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22180         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22181         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22182         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22183         <bp-sym.h>.
22184         (__libc_start_main): Do not use BP_SYM.
22185
22186 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22187
22188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22189         redundant return line.
22190         (norm): Likewise.
22191         (denorm): Likewise.
22192         (dbl_mp): Likewise.
22193         (sub_magnitudes): Likewise.
22194         (__add): Likewise.
22195         (__sub): Likewise.
22196         (__mul): Likewise.
22197         (__inv): Likewise.
22198         (__dvd): Likewise.
22199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22200         (norm): Likewise.
22201         (denorm): Likewise.
22202         (dbl_mp): Likewise.
22203         (sub_magnitudes): Likewise.
22204         (__add): Likewise.
22205         (__sub): Likewise.
22206         (__mul): Likewise.
22207         (__inv): Likewise.
22208         (__dvd): Likewise.
22209
22210         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22211         instead of __mul.
22212         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22213         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22214         (cc32): Likewise.
22215
22216         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22217         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22218         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22219         of __mul for squares.
22220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22221         function
22222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22223         Likewise.
22224         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22225         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22226
22227 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22228
22229         [BZ #13550]
22230         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22231         code.
22232         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22233         prototype or function definition.  Rename ubp_* variables and
22234         parameters.  Remove argv definitions conditional on
22235         [__BOUNDED_POINTERS__].
22236         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22237         * elf/dl-runtime.c (_dl_fixup): Likewise.
22238         * include/set-hooks.h (RUN_HOOK): Likewise.
22239         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22240         definition.
22241         * string/strcpy.c (strcpy): Do not use __unbounded.
22242         * sysdeps/generic/frame.h (struct layout): Likewise.
22243         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22244         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22245         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22246         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22247         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22248         (__backtrace): Likewise.
22249         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22250         use __ptrvalue.
22251         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22252         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22253         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22254         Likewise.
22255         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22256         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22257         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22258         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22259         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22260         Do not use __unbounded.
22261         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22262         Rename __unboundedrlimits parameter to rlimits in prototype.
22263         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22264         Do not use __unbounded.
22265         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22266         not use __ptrvalue.
22267         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22268         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22269         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22270         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22271         __ptrvalue or __unbounded.
22272         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22273         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22274         use __unbounded.
22275         (__new_msgctl): Do not use __ptrvalue.
22276         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22277         __unbounded.
22278         (__libc_msgrcv): Do not use __ptrvalue.
22279         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22280         startup_info): Do not use __unbounded.
22281         (__libc_start_main): Likewise.  Rename ubp_* variables and
22282         parameters.  Remove argv definitions conditional on
22283         [__BOUNDED_POINTERS__].
22284         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22285         __ptrvalue.
22286         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22287         use __unbounded.
22288         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22289         or __ptrvalue.
22290         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22291         use __unbounded.
22292         (__new_shmctl): Do not use __ptrvalue.
22293         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22294         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22295         Likewise.
22296         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22297         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22298         (__libc_sigaction): Likewise.
22299         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22300         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22301         Likewise.
22302         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22303
22304 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22305
22306         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22307
22308         * string/mempcpy.c: Implement by calling memcpy.
22309
22310 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22311
22312         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22313
22314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22315         evaluation.
22316
22317         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22318         values in the mantissa.
22319
22320         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22321         minimize writes to Z.
22322         (sub_magnitudes): Simplify code a bit.
22323
22324 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22325
22326         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22327         from the message.  The linker prefixes all warnings with that already.
22328
22329 2013-02-12  Andreas Schwab  <schwab@suse.de>
22330
22331         [BZ #15078]
22332         * posix/regexec.c (extend_buffers): Add parameter min_len.
22333         (check_matching): Pass minimum needed length.
22334         (clean_state_log_if_needed): Likewise.
22335         (get_subexp): Likewise.
22336         * posix/Makefile (tests): Add bug-regex34.
22337         (bug-regex34-ENV): Define.
22338         * posix/bug-regex34.c: New file.
22339
22340         [BZ #11561]
22341         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22342         elements compare against the byte sequence of it, not its name.
22343         * posix/Makefile (tests): Add bug-regex35.
22344         (bug-regex35-ENV): Define.
22345         * posix/bug-regex35.c: New file.
22346
22347 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22348
22349         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22350         comment.
22351         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22352         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22353         (CHECK_EOL): Add undef.
22354
22355 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22356
22357         * bits/stdlib-bsearch.h: New file.
22358         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22359         * stdlib/stdlib.h: Likewise.
22360
22361 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22362
22363         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22364         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22365         declaration.
22366         * manual/search.texi (Array Search Function): Add missing const in
22367         lfind prototype.
22368         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22369         declaration to use rlim_t.
22370         (Basic Scheduling Functions): Remove erroneous const from
22371         sched_getparam prototype.  Remove erroneous * from
22372         sched_get_priority_max and sched_get_priority_min prototypes.
22373         (Resource Usage): Fix summary @comment on vtimes to refer to
22374         sys/vtimes.h rather than vtimes.h.
22375         Add missing *s in vtimes prototype.
22376         (Limits on Resources): Fix ulimit prototype to return long int.
22377         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22378         prototypes to use long int rather than double.
22379         (BSD Random): Fix initstate and setstate to use char *, not void *.
22380         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22381         prototype to make second argument 'struct aiocb64 *const[]'.
22382         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22383         (Status of AIO Operations): Remove erroneous const in aio_return and
22384         aio_return64 prototypes.
22385         (Synchronizing I/O): Fix sync prototype to return void.
22386         * manual/startup.texi (Suboptions): Remove an erroneous const in
22387         getsubopt prototype.
22388         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22389         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22390         use size_t rather than int.
22391         (Scanning All Users): Likewise for getpwent_r.
22392         (Setting Groups): Add missing const to setgroups prototype.
22393         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22394         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22395         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22396         'const void *' rather than 'const char *'.
22397         (Host Address Functions): Likewise for inet_ntop.
22398         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22399         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22400         ssize_t for return value.
22401         (Sending Data): Likewise for send, sendto, sendmsg.
22402         (Socket Option Functions): Add a missing const in setsockopt prototype.
22403         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22404         use wchar_t for the argument.
22405         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22406         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22407         take no arguments.
22408         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22409         double/float/long double for second argument.
22410         Fix return types of significand, significandf, significandl.
22411         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22412         argument in fchmod prototype.
22413         (File Owner): Use uid_t and gid_t in fchown prototype.
22414         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22415         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22416         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22417         use 'const struct dirent **' as argument types to CMP function pointer
22418         argument.
22419         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22420         (File Times): Fix summary magic @comment for struct utimbuf and utime
22421         to refer to utime.h, not time.h.
22422         * manual/string.texi (Argz Functions): Add missing const in
22423         argz_extract and argz_next prototypes.
22424         (Finding Tokens in a String): Likewise for basename.
22425         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22426         (Copying and Concatenation): Fix typo in wmemmove prototype.
22427         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22428         (Signal Stack): Remove erroneous const in sigstack prototype.
22429         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22430         prototype.
22431         (Simple Calendar Time): Likewise for stime.
22432         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22433         prototype.
22434         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22435         say sys/sysctl.h instead.
22436         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22437         and vsyslog prototypes.
22438
22439 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22440
22441         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22442         Remove.
22443
22444 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22445
22446         * misc/sys/mman.h: Fix typo in mremap comment.
22447
22448 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22449
22450         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22451         the '\0' terminator.
22452
22453 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22454
22455         [BZ #13550]
22456         * debug/segfault.c: Don't include <bp-checks.h>.
22457         * sysdeps/generic/bp-checks.h: Remove file.
22458         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22459         (__GETDENTS): Don't use CHECK_N.
22460         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22461         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22462         (__getgroups): Don't use CHECK_N.
22463         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22464         (setgroups): Don't use CHECK_N.
22465         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22466         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22467         (__libc_msgrcv): Don't use CHECK_N.
22468         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22469         (__libc_msgsnd): Don't use CHECK_N.
22470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22471         <bp-checks.h>.
22472         (__libc_pread): Don't use CHECK_N.
22473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22474         include <bp-checks.h>.
22475         (__libc_pread64): Don't use CHECK_N.
22476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22477         include <bp-checks.h>.
22478         (__libc_pwrite): Don't use CHECK_N.
22479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22480         include <bp-checks.h>.
22481         (__libc_pwrite64): Don't use CHECK_N.
22482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22483         <bp-checks.h>.
22484         (__libc_pread): Don't use CHECK_N.
22485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22486         include <bp-checks.h>.
22487         (__libc_pread64): Don't use CHECK_N.
22488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22489         include <bp-checks.h>.
22490         (__libc_pwrite): Don't use CHECK_N.
22491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22492         include <bp-checks.h>.
22493         (__libc_pwrite64): Don't use CHECK_N.
22494         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22495         (do_pread): Don't use CHECK_N.
22496         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22497         (do_pread64): Don't use CHECK_N.
22498         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22499         (do_pwrite): Don't use CHECK_N.
22500         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22501         (do_pwrite64): Don't use CHECK_N.
22502         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22503         (__libc_readv): Don't use CHECK_N.
22504         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22505         (semop): Don't use CHECK_N.
22506         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22507         <bp-checks.h>.
22508         (semtimedop): Don't use CHECK_N.
22509         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22510         (__libc_pread): Don't use CHECK_N.
22511         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22512         <bp-checks.h>.
22513         (__libc_pread64): Don't use CHECK_N.
22514         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22515         <bp-checks.h>.
22516         (__libc_pwrite): Don't use CHECK_N.
22517         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22518         <bp-checks.h>.
22519         (__libc_pwrite64): Don't use CHECK_N.
22520         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22521         <bp-checks.h>.
22522         (__libc_msgrcv): Don't use CHECK_N.
22523         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22524         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22525         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22526         (__libc_writev): Don't use CHECK_N.
22527
22528 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22529
22530         * string/strcpy.c: Removed unused variable.
22531
22532         * Makeconfig (+sysdep-includes): Define with := rather than =.
22533         Use an existing include/ subdir of each sysdeps dir before it.
22534
22535 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22536
22537         * nscd/connection.c (register_traced_file): Comment function.
22538         [HAVE_INOTIFY] (union __inev): Define.
22539         [HAVE_INOTIFY] (inotify_check_files): New function.
22540         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22541         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22542         clear_db_cache.
22543         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22544
22545 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22546
22547         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22548         loaded if not already and that a failure is permanent.
22549
22550 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22551
22552         [BZ #15006]
22553         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22554         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22555
22556 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22557
22558         [BZ #13550]
22559         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22560         (CHECK_1_NULL_OK): Likewise.
22561         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22562         (__fxstat): Do not use CHECK_1.
22563         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22564         <bp-checks.h>.
22565         (___fxstat64): Do not use CHECK_1.
22566         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22567         <bp-checks.h>.
22568         (__fxstatat): Do not use CHECK_1.
22569         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22570         <bp-checks.h>.
22571         (__fxstatat64): Do not use CHECK_1.
22572         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22573         <bp-checks.h>.
22574         (__fxstat): Do not use CHECK_1.
22575         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22576         <bp-checks.h>.
22577         (__fxstatat): Do not use CHECK_1.
22578         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22579         <bp-checks.h>.
22580         (__getresgid): Do not use CHECK_1.
22581         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22582         <bp-checks.h>.
22583         (__getresuid): Do not use CHECK_1.
22584         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22585         <bp-checks.h>.
22586         (__lxstat): Do not use CHECK_1.
22587         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22588         <bp-checks.h>.
22589         (__old_msgctl): Do not use CHECK_1.
22590         (__new_msgctl): Likewise.
22591         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22592         <bp-checks.h>.
22593         (__new_setrlimit): Do not use CHECK_1.
22594         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22595         <bp-checks.h>.
22596         (__old_shmctl): Do not use CHECK_1.
22597         (__new_shmctl): Likewise.
22598         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22599         <bp-checks.h>.
22600         (__xstat): Do not use CHECK_1.
22601         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22602         (__lxstat): Do not use CHECK_1.
22603         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22604         <bp-checks.h>.
22605         (___lxstat64): Do not use CHECK_1.
22606         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22607         (__old_msgctl): Do not use CHECK_1.
22608         (__new_msgctl): Likewise.
22609         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22610         <bp-checks.h>.
22611         (__gettimeofday): Do not use CHECK_1.
22612         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22613         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22614         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22615         <bp-checks.h>.
22616         (__gettimeofday): Do not use CHECK_1.
22617         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22618         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22619         (__new_shmctl): Do not use CHECK_1.
22620         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22621         <bp-checks.h>.
22622         (do_sigtimedwait): Do not use CHECK_1.
22623         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22624         <bp-checks.h>.
22625         (do_sigwaitinfo): Do not use CHECK_1.
22626         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22627         <bp-checks.h>.
22628         (msgctl): Do not use CHECK_1.
22629         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22630         <bp-checks.h>.
22631         (shmctl): Do not use CHECK_1.
22632         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22633         (ustat): Do not use CHECK_1.
22634         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22635         <bp-checks.h>.
22636         (__fxstat): Do not use CHECK_1.
22637         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22638         <bp-checks.h>.
22639         (__fxstatat): Do not use CHECK_1.
22640         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22641         <bp-checks.h>.
22642         (__lxstat): Do not use CHECK_1.
22643         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22644         <bp-checks.h>.
22645         (__xstat): Do not use CHECK_1.
22646         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22647         (__xstat): Do not use CHECK_1.
22648         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22649         (___xstat64): Do not use CHECK_1.
22650
22651         [BZ #13550]
22652         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22653         definitions.
22654         (CHECK_BOUNDS_HIGH): Likewise.
22655         * string/strcpy.c: Do not include <bp-checks.h>.
22656         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22657
22658 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22659
22660         * nscd/nscd-client.h (__nscd_drop_map_ref):
22661         Add __attribute__ ((unused)).
22662         * nis/nss-nisplus.h (niserr2nss): Likewise.
22663
22664         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22665         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22666
22667         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22668         Remove inline keyword.
22669         * include/rounding-mode.h (round_away): Likewise.
22670         * libio/wfileops.c (adjust_wide_data): Likewise.
22671         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22672         (__m128i_strloadu_tolower): Likewise.
22673         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22674         (__m128i_strloadu_tolower): Likewise.
22675         * time/mktime.c (ydhms_diff): Likewise.
22676         * locale/elem-hash.h (elem_hash): Likewise.
22677         * locale/setlocale.c (setdata): Likewise.
22678         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22679         (re_string_wchar_at): Likewise.
22680         (bitset_not, bitset_merge, bitset_mask): Likewise.
22681         [!(__GNUC__ > 3)] (inline): Remove macro.
22682         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22683         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22684         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22685         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22686         * string/memcmp.c (memcmp_bytes): Likewise.
22687         * locale/programs/locarchive.c (compute_hashval): Likewise.
22688         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22689         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22690         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22691         * nss/getent.c (print_rpc, print_protocols): Likewise.
22692         (print_passwd, print_group, print_aliases): Likewise.
22693         * nis/nss-nisplus.h (niserr2nss): Likewise.
22694         * nscd/connections.c (restart_p): Likewise.
22695         Change return type to bool.
22696
22697 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22698
22699         * Makeconfig (all-Depend-files): Add existing
22700         $(sorted-subdirs:=/Depend) files.
22701         (all-subdirs): Remove nss.
22702         * sysdeps/unix/inet/Subdirs: Add it here instead.
22703         * hesiod/Depend: New file.
22704
22705         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22706         instead of calling alloca.
22707
22708         * io/lseek.c (__lseek): Rename to __libc_lseek.
22709         Define __lseek as an alias.
22710
22711         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22712
22713 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22714
22715         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22716         else clause and remove check for non-standard endianness.
22717
22718 2013-02-04  David S. Miller  <davem@davemloft.net>
22719
22720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22721
22722 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22723
22724         [BZ #13550]
22725         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22726         (__ubp_memchr): Remove prototype.
22727         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22728         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22729         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22730         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22731         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22732         Remove alias.
22733         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22734         (__ubp_memchr): Likewise.
22735         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22736         (__ubp_memchr): Likewise.
22737         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22738         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22739         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22740         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22741         CHECK_STRING.
22742         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22743         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22744         (__getcwd): Do not use CHECK_STRING.
22745         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22746         <bp-checks.h>.
22747         (__real_chown): Do not use CHECK_STRING.
22748         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22749         <bp-checks.h>.
22750         (fchownat): Do not use CHECK_STRING.
22751         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22752         CHECK_STRING.
22753         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22754         <bp-checks.h>.
22755         (__lchown): Do not use CHECK_STRING.
22756         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22757         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22758         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22759         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22761         include <bp-checks.h>.
22762         (truncate64): Do not use CHECK_STRING.
22763         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22764         <bp-checks.h>.
22765         (__real_chown): Do not use CHECK_STRING.
22766         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22767         <bp-checks.h>.
22768         (__lchown): Do not use CHECK_STRING.
22769         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22770         <bp-checks.h>.
22771         (__chown): Do not use CHECK_STRING.
22772         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22773         <bp-checks.h>.
22774         (truncate64): Do not use CHECK_STRING.
22775         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22776         Likewise.
22777         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22778         (__xmknod): Do not use CHECK_STRING.
22779         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22780         <bp-checks.h>.
22781         (__xmknodat): Do not use CHECK_STRING.
22782         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22783         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22784
22785 2013-02-04  Andreas Schwab  <schwab@suse.de>
22786
22787         [BZ #14142]
22788         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22789         * include/netdb.h: Likewise for h_errno.
22790         * elf/tst-stackguard1.c: Include <tls.h>.
22791
22792 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22793
22794         * elf/link.h (struct link_map): Extend the l_addr comment.
22795         * include/link.h (struct link_map): Likewise.
22796
22797 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22798
22799         [BZ #13550]
22800         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22801         (BOUNDED_1): Remove macro.
22802         * debug/backtrace.c: Don't include <bp-checks.h>.
22803         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22804         (__backtrace): Likewise.
22805         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22806         <bp-checks.h>.
22807         (__backtrace): Don't use BOUNDED_1.
22808         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22809         <bp-checks.h>.
22810         (__backtrace): Don't use BOUNDED_1.
22811         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22812         (__backtrace): Don't use BOUNDED_1.
22813         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22814         (shmat): Don't use BOUNDED_N.
22815
22816 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22817
22818         [BZ #13550]
22819         * sysdeps/generic/bp-start.h: Remove file.
22820         * csu/libc-start.c: Don't include <bp-start.h>.
22821         (LIBC_START_MAIN): Set up __environ directly instead of using
22822         INIT_ARGV_and_ENVIRON.
22823         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22824         <bp-start.h>.
22825
22826         [BZ #13550]
22827         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22828         definitions.
22829         (CHECK_FCNTL): Likewise.
22830         (CHECK_N_PAGES): Likewise.
22831
22832         [BZ #13550]
22833         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22834         definitions.
22835         (CHECK_SIGSET_NULL_OK): Likewise.
22836         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22837         <bp-checks.h>.
22838         (sigpending): Don't use CHECK_SIGSET.
22839         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22840         <bp-checks.h>.
22841         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22842         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22843         <bp-checks.h>.
22844         (do_sigsuspend): Don't use CHECK_SIGSET.
22845         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22846         use CHECK_SIGSET.
22847         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22848         (do_sigwait): Don't use CHECK_SIGSET.
22849         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22850         use CHECK_SIGSET.
22851         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22852         include <bp-checks.h>.
22853         (sigpending): Don't use CHECK_SIGSET.
22854         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22855         include <bp-checks.h>.
22856         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22857         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22858         <bp-checks.h>.
22859         (sigpending): Don't use CHECK_SIGSET.
22860         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22861         <bp-checks.h>.
22862         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22863
22864         [BZ #13550]
22865         * sysdeps/generic/bp-semctl.h: Remove file.
22866         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22867         <bp-checks.h> and <bp-semctl.h>.
22868         (__old_semctl): Don't use CHECK_SEMCTL.
22869         (__new_semctl): Likewise.
22870         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22871         and <bp-semctl.h>.
22872         (__old_semctl): Don't use CHECK_SEMCTL.
22873         (__new_semctl): Likewise.
22874         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22875         <bp-checks.h> and <bp-semctl.h>.
22876         (__old_semctl): Don't use CHECK_SEMCTL.
22877         (__new_semctl): Likewise.
22878         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22879         <bp-checks.h> and <bp-semctl.h>.
22880         (semctl): Don't use CHECK_SEMCTL.
22881
22882         [BZ #13550]
22883         * Makerules (elide-bp-thunks): Remove variable.
22884         (elide-routines.oS): Don't use $(elide-bp-thunks).
22885         (elide-routines.os): Likewise.
22886         (elide-routines.o): Likewise.
22887         (elide-routines.op): Likewise.
22888         (elide-routines.og): Likewise.
22889         (objects): Don't use $(bp-thunks).
22890         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22891         include.
22892         (common-generated): Do not add s-proto-bp.d.
22893         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22894         (int): Likewise.
22895         (typ): Likewise.
22896         Do not generate makefile rules for bounded-pointer thunks.
22897         * sysdeps/generic/bp-thunks.h: Remove file.
22898         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22899         * sysdeps/unix/s-proto-bp.S: Likewise.
22900
22901         [BZ #15062]
22902         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22903         parts of result separately when argument is not close to line from
22904         -i to i and one part of argument is small.
22905         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22906         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22907         * math/libm-test.inc (cacos_test): Add more tests.
22908         (casin_test): Likewise.
22909         (casinh_test): Likewise.
22910         * sysdeps/i386/fpu/libm-test-ulps: Update.
22911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22912
22913 2013-01-31  David S. Miller  <davem@davemloft.net>
22914
22915         * po/de.po: Update from translation team.
22916
22917 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22918
22919         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22920
22921 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22922
22923         * configure.in (_AC_PROG_CC_C89): New definition.
22924         * configure: Regenerate.
22925
22926         * configure.in (AC_PROG_CPP): New definition.
22927         * configure: Regenerate.
22928
22929 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22930
22931         * debug/tst-backtrace.h: New file.
22932         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22933         (ret): Remove variable.
22934         (x): Likewise.
22935         (FAIL): Remove macro.
22936         (NO_INLINE): Likewise.
22937         (fn1): Use match function instead of strstr.
22938         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22939         (ret): Remove variable.
22940         (x): Likewise.
22941         (FAIL): Remove macro.
22942         (NO_INLINE): Likewise.
22943         (fn): Use match function instead of strstr.
22944         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22945         (ret): Remove variable.
22946         (x): Likewise.
22947         (FAIL): Remove macro.
22948         (NO_INLINE): Likewise.
22949         (handle_signal): Use match function instead of strstr.
22950         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22951         (ret): Remove variable.
22952         (x): Likewise.
22953         (FAIL): Remove macro.
22954         (NO_INLINE): Likewise.
22955         (handle_signal): Use match function instead of strstr.
22956
22957 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22958
22959         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22960
22961 2013-01-23  David S. Miller  <davem@davemloft.net>
22962
22963         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22964         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22965         argument of CAS if possible.
22966         * sysdeps/sparc/sparc64/bits/atomic.h
22967         (__arch_compare_and_exchange_val_32_acq): Likewise.
22968         (__arch_compare_and_exchange_val_64_acq): Likewise.
22969
22970 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22971
22972         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22973         * sysdeps/posix/ulimit.c: ... this.
22974         Include <limits.h>.
22975         * sysdeps/unix/bsd/ulimit.c: Remove file.
22976
22977 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22978
22979         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22980         (LDFLAGS-tst-array5): Likewise.
22981
22982 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22983
22984         [BZ #15036]
22985         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22986         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22987         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22988         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22989
22990 2013-01-21  David S. Miller  <davem@davemloft.net>
22991
22992         * sysdeps/sparc/backtrace.c: New file.
22993         * sysdeps/sparc/sparc32/backtrace.h: New file.
22994         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22995         * sysdeps/sparc/sparc64/backtrace.h: New file.
22996         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22997         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22998         -funwind-tables.
22999
23000 2013-01-21  Andreas Schwab  <schwab@suse.de>
23001
23002         [BZ #15020]
23003         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23004         closed its stdout.
23005
23006 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23007
23008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23009         "mpa2.h".
23010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23011
23012 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23013             Mark Mitchell  <mark@codesourcery.com>
23014             Tom de Vries  <tom@codesourcery.com>
23015             Paul Pluzhnikov  <ppluzhnikov@google.com>
23016
23017         * debug/tst-backtrace2.c: New file.
23018         * debug/tst-backtrace3.c: Likewise.
23019         * debug/tst-backtrace4.c: Likewise.
23020         * debug/tst-backtrace5.c: Likewise.
23021         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23022         (CFLAGS-tst-backtrace3.c): Likewise.
23023         (CFLAGS-tst-backtrace4.c): Likewise.
23024         (CFLAGS-tst-backtrace5.c): Likewise.
23025         (LDFLAGS-tst-backtrace2): Likewise.
23026         (LDFLAGS-tst-backtrace3): Likewise.
23027         (LDFLAGS-tst-backtrace4): Likewise.
23028         (LDFLAGS-tst-backtrace5): Likewise.
23029         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23030         tst-backtrace4 and tst-backtrace5.
23031
23032 2013-01-18  Anton Blanchard  <anton@samba.org>
23033             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23034
23035         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23036         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23037         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23038         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23040         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23041         "+r" and remove output regs list as redundant.  Add explicit inline
23042         asm to specify register of return val to work around compiler codegen
23043         bug.  Remove (int) cast on return value.  Add return type parameter to
23044         use in macro so that this macro does not truncate return value for
23045         64-bit values.
23046         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23047         pass to INTERNAL_VSYSCALL_NCS.
23048         (INLINE_VSYSCALL): Add 'long int' as return type to
23049         INTERNAL_VSYSCALL_NCS macro invocation.
23050         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23051         INTERNAL_VSYSCALL_NCS macro invocation.
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23053
23054 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23055
23056         [BZ #14496]
23057         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23058         Fix application of SIMD FP exception mask.
23059
23060         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23061         mp_no from a power of two.
23062         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23063         __mpexp_twomm1.  Use __pow_mp.
23064
23065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23066         multiplication.
23067
23068 2013-01-17  David S. Miller  <davem@davemloft.net>
23069
23070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23071
23072 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23073
23074         [BZ #15023]
23075         * include/complex.h: Condition contents on [!_COMPLEX_H].
23076         (__kernel_casinhf): New prototype.
23077         (__kernel_casinh): Likewise.
23078         (__kernel_casinhl): Likewise.
23079         * math/Makefile (libm_calls): Add k_casinh.
23080         * math/k_casinh.c: New file.
23081         * math/k_casinhf.c: Likewise.
23082         * math/k_casinhl.c: Likewise.
23083         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23084         finite nonzero arguments.
23085         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23086         finite nonzero arguments.
23087         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23088         finite nonzero arguments.
23089         * math/s_casinh.c: Do not include <float.h>.
23090         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23091         * math/s_casinhf.c: Do not include <float.h>.
23092         (__casinhf): Move code for finite nonzero arguments to
23093         k_casinhf.c.
23094         * math/s_casinhl.c: Do not include <float.h>.
23095         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23096         redefine.
23097         (__casinhl): Move code for finite nonzero arguments to
23098         k_casinhl.c.
23099         * math/libm-test.inc (cacos_test): Add more tests.
23100         * sysdeps/i386/fpu/libm-test-ulps: Update.
23101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23102
23103 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23104
23105         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23106         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23107         [!HAVE_MREMAP]: Remove [defined linux] case.
23108         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23109
23110 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23111
23112         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23113
23114 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23115
23116         * elf/elf.h (R_386_SIZE32): New relocation.
23117         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23118         R_386_SIZE32.
23119         (elf_machine_rela): Likewise.
23120         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23121         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23122
23123 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23124
23125         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23126         (FP_FAST_FMA): Do not define.
23127         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23128         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23129         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23130         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23131         !_SOFT_FLOAT]: Likewise.
23132         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23133         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23134         value.
23135         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23136         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23137         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23138         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23139         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23140         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23141         file.
23142
23143 2013-01-16  Andreas Schwab  <schwab@suse.de>
23144
23145         [BZ #14327]
23146         * include/stdlib.h (__mktemp): Add declaration.
23147         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23148         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23149
23150 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23151
23152         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23153         definitions.
23154         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23155         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23156         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23157         definitions here.
23158         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23159         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23160         definitions.
23161         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23162         and ONE.
23163         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23164         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23165         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23166         definitions.
23167         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23168         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23169         definitions.
23170         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23171
23172         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23173
23174 2013-01-15  David S. Miller  <davem@davemloft.net>
23175
23176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23177         trunc{,f} to libm-sysdep_routes.
23178         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23180         file.
23181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23183         file.
23184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23185         file.
23186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23188         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23189         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23190         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23191         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23192         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23193         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23194
23195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23196         nearbyint{,f} to libm-sysdep_routes.
23197         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23199         New file.
23200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23201         file.
23202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23203         New file.
23204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23205         file.
23206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23208         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23209         file.
23210         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23211         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23212         file.
23213         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23214         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23215         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23216
23217         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23218         libc_feholdexcept and libc_fesetenv.
23219
23220 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23221
23222         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23223
23224 2013-01-14  David S. Miller  <davem@davemloft.net>
23225
23226         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23227         (SPARC_ASM_VIS2_IFUNC): Likewise.
23228         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23230         use of 'siam' instruction.
23231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23232         Likewise.
23233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23234         Likewise.
23235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23236         Likewise.
23237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23242         file.
23243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23244         file.
23245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23246         file.
23247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23248         file.
23249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23254         new VIS2 routines.
23255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23258         Likewise.
23259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23264         routines to libm-sysdep_routines.
23265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23266
23267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23268         fdim/fdimf to libm-sysdep_routines.
23269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23270         file.
23271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23273         file.
23274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23277         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23278         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23279         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23280         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23281
23282 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23283
23284         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23285         to optimize copies.
23286
23287         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23290
23291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23292         local variable MPTWO.
23293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23294         Likewise.
23295
23296 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23297
23298         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23299         GLOB_NOESCAPE.
23300
23301 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23302
23303         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23304
23305 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23306
23307         * manual/pattern.texi (glob_t): Document gl_flags.
23308         (glob64_t): Likewise.
23309
23310 2013-01-11  David S. Miller  <davem@davemloft.net>
23311
23312         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23313         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23314         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23315         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23316         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23317         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23318         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23319         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23320         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23321         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23322         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23323         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23324         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23325
23326         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23327         sparc V9 rather than using V8 code.
23328         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23329         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23330
23331         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23332         Move to...
23333         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23334         Here.
23335
23336 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23337
23338         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23339         not in the main loop.
23340         * configure: Regenerated.
23341
23342 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23343
23344         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23345         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23346         to just #else.
23347         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23348         [!__GLIBC_HAVE_LONG_LONG] case.
23349         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23350         condition to just #else.
23351         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23352         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23353         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23354         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23355         unconditional.
23356         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23357         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23358         #elif condition to just #else.
23359         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23360         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23361         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23362         #elif condition to just #else.
23363
23364 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23365
23366         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23367         (EF_MIPS_ARCH_64): Fix value.
23368         (EF_MIPS_ARCH_32R2): New.
23369         (EF_MIPS_ARCH_64R2): New.
23370
23371 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23372
23373         * Makeconfig (+link-pie-before-libc): New.
23374         (+link-pie-after-libc): Likewise.
23375         (+link-pie-tests): Likewise.
23376         (+link-pie): Rewritten.
23377         (link-before-libc): Remove $(config-LDFLAGS).
23378         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23379         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23380         (config-LDFLAGS): Renamed to ...
23381         (rtld-LDFLAGS): This.
23382         (rtld-tests-LDFLAGS): New macro.
23383         (link-libc-rpath-link): Likewise.
23384         (link-libc-tests-rpath-link): Likewise.
23385         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23386         (link-libc): Prepand $(link-libc-rpath-link).
23387         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23388         (test-program-prefix): New macro.
23389         (test-via-rtld-prefix): Likewise.
23390         (test-program-cmd): Likewise.
23391         (host-test-program-cmd): Likewise.
23392         * Makefile ($(common-objpfx)testrun.sh): Replace
23393         $(run-program-prefix) with $(test-program-prefix).
23394         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23395         $(rtld-LDFLAGS).
23396         ($(common-objpfx)shlib.lds): Likewise.
23397         (build-module-helper): Likewise.
23398         ($(common-objpfx)format.lds): Likewise.
23399         * Rules (binaries-pie-tests): New.
23400         (binaries-pie-notests): Likewise.
23401         (binaries-pie): Rewritten.
23402         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23403         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23404         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23405         (make-test-out): Replace $(host-built-program-cmd) with
23406         $(host-test-program-cmd).
23407         * config.make.in (build-hardcoded-path-in-tests): New variable.
23408         * configure.in (--enable-hardcoded-path-in-tests): New configure
23409         option.
23410         (hardcoded_path_in_tests): New AC_SUBST.
23411         * configure: Regenerated.
23412         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23413         $(built-program-cmd) with $(test-program-cmd).
23414         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23415         (test_program_cmd): This.
23416         * elf/Makefile ($(objpfx)order.out): Run test with
23417         $(test-program-prefix).
23418         ($(objpfx)order2.out): Likewise.
23419         ($(objpfx)tst-initorder.out): Likewise.
23420         ($(objpfx)tst-initorder2.out): Likewise.
23421         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23422         $(test-program-cmd).
23423         ($(objpfx)tst-array1-static.out): Likewise.
23424         ($(objpfx)tst-array2.out): Likewise.
23425         ($(objpfx)tst-array3.out): Likewise.
23426         ($(objpfx)tst-array4.out): Likewise.
23427         ($(objpfx)tst-array5.out): Likewise.
23428         ($(objpfx)tst-array5-static.out): Likewise.
23429         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23430         $(test-program-cmd).
23431         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23432         $(run-program-prefix) with $(test-program-prefix).
23433         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23434         (test_program_prefix): This.
23435         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23436         $(run-program-prefix) with $(test-program-prefix).
23437         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23438         (test_program_prefix): This.
23439         * iconvdata/tst-tables.sh: Likewise.
23440         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23441         $(run-program-prefix) with $(test-program-prefix).
23442         ($(objpfx)tst-translit.out): Likewise.
23443         ($(objpfx)tst-gettext2.out): Likewise.
23444         ($(objpfx)tst-gettext4.out): Likewise.
23445         ($(objpfx)tst-gettext6.out): Likewise.
23446         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23447         (test_program_prefix): This.
23448         * intl/tst-gettext2.sh: Likewise.
23449         * intl/tst-gettext4.sh  Likewise.
23450         * intl/tst-gettext6.sh: Likewise.
23451         * intl/tst-translit.sh: Likewise.
23452         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23453         with $(test-program-cmd).
23454         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23455         $(run-program-prefix) with $(test-program-prefix).
23456         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23457         (test_program_prefix): This.
23458         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23459         $(run-program-prefix) with $(test-program-prefix).
23460         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23461         (test_program_prefix): This.
23462         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23463         * posix/Makefile ($(objpfx)globtest.out): Replace
23464         $(run-via-rtld-prefix) and $(test-wrapper) with
23465         $(test-program-prefix) and $(test-via-rtld-prefix).
23466         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23467         $(test-program-prefix).
23468         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23469         $(host-test-program-cmd).
23470         (tst-spawn-ARGS): Likewise.
23471         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23472         $(test-program-prefix).
23473         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23474         (test_via_rtld_prefix): This.
23475         (test_wrapper): Renamed to ...
23476         (test_program_prefix): This.
23477         (run_program_prefix): Replaced by test_program_prefix.
23478         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23479         (test_program_prefix): This.
23480         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23481         with $(host-test-program-cmd).
23482         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23483         $(run-program-prefix) with $(test-program-prefix).
23484         ($(objpfx)tst-printf.out): Likewise.
23485         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23486         $(test-program-cmd).
23487         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23488         (test_program_prefix): This.
23489         * stdio-common/tst-unbputc.sh: Likewise.
23490         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23491         $(run-program-prefix) with $(test-program-prefix).
23492         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23493         (test_program_prefix): This.
23494         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23495         $(built-program-cmd) with $(test-program-cmd).
23496
23497 2013-01-11  Andreas Jaeger  <aj@suse.de>
23498
23499         [BZ #15003]
23500         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23501         value. Sync with Linux 3.7.
23502
23503 2013-01-10  David S. Miller  <davem@davemloft.net>
23504
23505         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23506         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23507         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23508
23509 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23510
23511         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23512         never set.
23513         * configure: Regenerated.
23514
23515 2013-01-10  David S. Miller  <davem@davemloft.net>
23516
23517         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23518         sparc V9 rather than using V8 code.
23519         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23520         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23521
23522 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23523
23524         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23525         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23526         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23527         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23528         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23529         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23530         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23531         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23532         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23533         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23534         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23535         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23536         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23537         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23538         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23539         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23540         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23541         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23542         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23543         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23544         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23545         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23546         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23547         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23548         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23549         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23550         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23551
23552 2013-01-10  David S. Miller  <davem@davemloft.net>
23553
23554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23555
23556 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23557
23558         * posix/Makefile (tests-static): New variable.
23559         (tests): Add $(tests-static).
23560         (tst-exec-static-ARGS): New variable.
23561         (tst-spawn-static-ARGS): Likewise.
23562         * posix/tst-exec-static.c: New file.
23563         * posix/tst-spawn-static.c: Likewise.
23564         * posix/tst-exec.c: Support run directly.
23565         * posix/tst-spawn.c: Likewise.
23566
23567 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23568
23569         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23570         long.
23571         * math/bits/mathcalls.h (llrint): Likewise.
23572         (llround): Likewise.
23573         * stdlib/stdlib.h (struct drand48_data): Likewise.
23574         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23575         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23576         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23577         Likewise.
23578         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23579         Likewise.
23580         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23581         (elf_greg_t): Likewise.
23582         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23583         (__jmp_buf): Likewise.
23584         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23585         definitions.
23586         (llrint): Likewise, for all definitions.
23587         (llrintl): Likewise.
23588
23589         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23590         Remove [__GNUC__] condition.
23591         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23592         condition to just [__USE_ISOC99].
23593         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23594
23595 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23596
23597         [BZ #14200]
23598         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23599         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23600         defined.
23601         (_POSIX_V6_ILP32_OFF32): Likewise.
23602         (_XBS5_ILP32_OFF32): Likewise.
23603         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23604         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23605
23606 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23607
23608         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23609
23610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23611         doubles __mpexp_twomm1.  Adjust usage.
23612         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23613         Remove.
23614
23615 2013-01-10  Andreas Schwab  <schwab@suse.de>
23616
23617         [BZ #14964]
23618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23619         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23620
23621 2013-01-09  David S. Miller  <davem@davemloft.net>
23622
23623         [BZ #15003]
23624         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23625         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23626         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23627         (TCP_FASTOPEN): Define.
23628         (tcp_repair_opt): New structure.
23629         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23630         enum values.
23631         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23632         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23633         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23634         (tcp_cookie_transactions): New structure.
23635
23636 2013-01-09  Anton Blanchard  <anton@samba.org>
23637
23638         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23639         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23640         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23641         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23642
23643 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23644
23645         * include/features.h (__USE_ANSI): Remove.
23646
23647 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23648
23649         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23650
23651         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23652
23653 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23654
23655         * sysdeps/s390/fpu/libm-test-ulps: Update.
23656
23657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23658
23659         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23660         (__acr): Likewise.
23661         (__cpy): Likewise.
23662         (norm): Likewise.
23663         (denorm): Likewise.
23664         (__mp_dbl): Likewise.
23665         (__dbl_mp): Likewise.
23666         (add_magnitudes): Likewise.
23667         (sub_magnitudes): Likewise.
23668         (__add): Likewise.
23669         (__sub): Likewise.
23670         (__mul): Likewise.
23671         (__inv): Likewise.
23672         (__dvd): Likewise.
23673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23674         (__acr): Likewise.
23675         (__cpy): Likewise.
23676         (norm): Likewise.
23677         (denorm): Likewise.
23678         (__mp_dbl): Likewise.
23679         (__dbl_mp): Likewise.
23680         (add_magnitudes): Likewise.
23681         (sub_magnitudes): Likewise.
23682         (__add): Likewise.
23683         (__sub): Likewise.
23684         (__mul): Likewise.
23685         (__inv): Likewise.
23686         (__dvd): Likewise.
23687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23688         (__acr): Likewise.
23689         (__cpy): Likewise.
23690         (norm): Likewise.
23691         (denorm): Likewise.
23692         (__mp_dbl): Likewise.
23693         (__dbl_mp): Likewise.
23694         (add_magnitudes): Likewise.
23695         (sub_magnitudes): Likewise.
23696         (__add): Likewise.
23697         (__sub): Likewise.
23698         (__mul): Likewise.
23699         (__inv): Likewise.
23700         (__dvd): Likewise.
23701
23702 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23703
23704         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23705         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23706         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23707         2 && __USE_EXTERN_INLINES]: Likewise.
23708
23709 2013-01-08  Andreas Jaeger  <aj@suse.de>
23710
23711         [BZ# 14985]
23712         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23713         Remove.
23714         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23715         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23716
23717 2013-01-07  Anton Blanchard  <anton@samba.org>
23718
23719         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23720         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23721         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23722         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23723         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23724         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23725         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23726         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23728         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23729         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23730         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23731         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23732         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23733         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23734         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23735         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23736         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23737         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23738         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23739         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23740         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23741         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23742         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23743         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23744         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23745         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23746         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23747         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23748         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23749         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23751         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23752         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23753         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23754         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23755         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23756         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23757         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23758         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23759         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23760         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23761         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23762
23763 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23764
23765         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23766         (__MALLOC_PMT): Likewise.
23767         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23768         [__GNUC__], only on [_LIBC].
23769         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23770         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23771         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23772         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23773         forward declaration.
23774         (realloc_hook_ini): Likewise.
23775         (memalign_hook_ini): Likewise.
23776         (__libc_memalign): Do not use __MALLOC_PMT in variable
23777         declaration.
23778         (__libc_valloc): Likewise.
23779         (__libc_pvalloc): Likewise.
23780         (__libc_calloc): Likewise.
23781         (__posix_memalign): Likewise.
23782
23783         [BZ #14996]
23784         * math/s_casinh.c: Include <float.h>.
23785         (__casinh): Do not do computation with squaring and square root
23786         for large arguments.
23787         * math/s_casinhf.c: Include <float.h>.
23788         (__casinhf): Do not do computation with squaring and square root
23789         for large arguments.
23790         * math/s_casinhl.c: Include <float.h>.
23791         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23792         (__casinhl): Do not do computation with squaring and square root
23793         for large arguments.
23794         * math/libm-test.inc (casin_test): Add more tests.
23795         (casinh_test): Likewise.
23796         * sysdeps/i386/fpu/libm-test-ulps: Update.
23797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23798
23799 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23800
23801         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23802         (__x86_64_raw_data_cache_size): Likewise.
23803         (__x86_64_data_cache_size_half): Likewise.
23804         (__x86_64_raw_data_cache_size_half): Likewise.
23805         (__x86_64_shared_cache_size): Likewise.
23806         (__x86_64_raw_shared_cache_size): Likewise.
23807         (__x86_64_shared_cache_size_half): Likewise.
23808         (__x86_64_raw_shared_cache_size_half): Likewise.
23809         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23810         to ...
23811         (__x86_data_cache_size): This.
23812         (__x86_64_raw_data_cache_size): Renamed to ...
23813         (__x86_raw_data_cache_size): This.
23814         (__x86_64_data_cache_size_half): Renamed to ...
23815         (__x86_data_cache_size_half): This.
23816         (__x86_64_raw_data_cache_size_half): Renamed to ...
23817         (__x86_raw_data_cache_size_half): This.
23818         (__x86_64_shared_cache_size): Renamed to ...
23819         (__x86_shared_cache_size): This.
23820         (__x86_64_raw_shared_cache_size): Renamed to ...
23821         (__x86_raw_shared_cache_size): This.
23822         (__x86_64_shared_cache_size_half): Renamed to ...
23823         (__x86_shared_cache_size_half): This.
23824         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23825         (__x86_raw_shared_cache_size_half): This.
23826         * sysdeps/x86_64/memcpy.S: Updated.
23827         * sysdeps/x86_64/memset.S: Likewise.
23828         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23829         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23830         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23831
23832 2013-01-04  David S. Miller  <davem@davemloft.net>
23833
23834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23835
23836 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23837
23838         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23839         1 to avoid redefinition warning.
23840         (__USE_GNU): Don't define.
23841         (init_signaling_nan): Protoize.
23842
23843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23844
23845 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23846
23847         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23849         (__cpymn): Likewise.
23850         (norm): Remove commented code.
23851         (denorm): Likewise.
23852         (__mp_dbl): Likewise.
23853         (__inv): Likewise.
23854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23855         (__cpymn): Likewise.
23856         (norm): Remove commented code.
23857         (denorm): Likewise.
23858         (__mp_dbl): Likewise.
23859         (__inv): Likewise.
23860
23861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23862         mp_no value for 1.0 and 2.0.
23863         (norm): Use RADIXI instead of radixi.d.
23864         (denorm): Likewise.
23865         (__mul): Use 0.0 instead of zero.d.
23866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23867         mp_no value for 1.0 and 2.0.
23868         (norm): Use RADIXI instead of radixi.d.
23869         (denorm): Likewise.
23870         (__mul): Use 0.0 instead of zero.d.
23871
23872 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23873
23874         [BZ #14994]
23875         * math/s_casinh.c (__casinh): Reduce finite argument to first
23876         quadrant then set signs of results at the end.
23877         * math/s_casinhf.c (__casinhf): Likewise.
23878         * math/s_casinhl.c (__casinhl): Likewise.
23879         * math/libm-test.inc (casin_test): Add more tests.
23880         (casinh_test): Likewise.
23881         * sysdeps/i386/fpu/libm-test-ulps: Update.
23882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23883
23884 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23885
23886         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23887
23888         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23889
23890         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23891         declarations.
23892         (denorm): Likewise.
23893         (__mp_dbl): Likewise.
23894         (__inv): Likewise.
23895
23896         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23897         and adjust the header comment.
23898
23899         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23900         variable name from declaration.
23901
23902 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23903
23904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23905         Initialize COMMON_CPUID_INDEX_7 element.
23906         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23907         (CPUID_RTM): Likewise.
23908         (HAS_RTM): Likewise.
23909         (COMMON_CPUID_INDEX_7): New enum.
23910
23911 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23912
23913         [BZ #14981]
23914         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23915         size is zero, record memory as freed.
23916
23917 2013-01-03  Andreas Jaeger  <aj@suse.de>
23918
23919         * po/ia.po: Add new Interlingua translation.
23920
23921 2012-01-03  Allan McRae  <allan@archlinux.org>
23922
23923         * locale/programs/localedef.c: Fix description of '--posix' flag.
23924
23925 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23926
23927         * NEWS: Update dates in second copyright notice.
23928         * README: Update copyright dates in example.
23929         * manual/libc.texinfo: Update copyright dates.
23930         * scripts/test-installation.pl: Update copyright date in --version
23931         output.
23932
23933         * hurd/ctty-input.c: Fix copyright notice formatting.
23934         * hurd/ctty-output.c: Likewise.
23935         * hurd/dtable.c: Likewise.
23936         * hurd/hurd-raise.c: Likewise.
23937         * hurd/hurdprio.c: Likewise.
23938         * hurd/msgportdemux.c: Likewise.
23939         * misc/sys/file.h: Likewise.
23940         * misc/sys/ioctl.h: Likewise.
23941         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23942         * sysdeps/mach/hurd/chdir.c: Likewise.
23943         * sysdeps/mach/hurd/fchdir.c: Likewise.
23944         * sysdeps/mach/hurd/rename.c: Likewise.
23945         * sysdeps/mach/hurd/rmdir.c: Likewise.
23946         * sysdeps/mach/hurd/seekdir.c: Likewise.
23947         * sysdeps/mach/hurd/setsid.c: Likewise.
23948         * sysdeps/posix/wait3.c: Likewise.
23949
23950         * All files with FSF copyright notices: Update copyright dates
23951         using scripts/update-copyrights.
23952         * intl/plural.c: Regenerated.
23953         * locale/programs/charmap-kw.h: Likewise.
23954         * locale/programs/locfile-kw.h: Likewise.
23955
23956 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23957
23958         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23959         four values.
23960
23961         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23962         calculation loop and add branch prediction.
23963
23964         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23965         check access beyond bounds of m1np.
23966
23967         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23968         MPTWO.
23969         (__inv): Remove local variable MPTWO to use the global
23970         constant.
23971         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23972         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23973         variable MPTWO.
23974         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23975         MP3HALFS static const.
23976
23977 2013-01-01  David S. Miller  <davem@davemloft.net>
23978
23979         * po/ca.po: Update from translation team.
23980
23981 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23982
23983         * scripts/update-copyrights: New file.
23984         * Makeconfig: Reformat copyright notice.
23985         * ctype/ctype.h: Likewise.
23986         * debug/swprintf_chk.c: Likewise.
23987         * elf/dl-cache.c: Likewise.
23988         * elf/dl-debug.c: Likewise.
23989         * elf/dl-object.c: Likewise.
23990         * grp/initgroups.c: Likewise.
23991         * hurd/Makefile: Likewise.
23992         * hurd/hurd/signal.h: Likewise.
23993         * hurd/hurdfault.c: Likewise.
23994         * hurd/hurdioctl.c: Likewise.
23995         * hurd/hurdlookup.c: Likewise.
23996         * hurd/intr-msg.c: Likewise.
23997         * iconv/gconv_open.c: Likewise.
23998         * libio/swprintf.c: Likewise.
23999         * locale/lc-ctype.c: Likewise.
24000         * locale/nl_langinfo.c: Likewise.
24001         * mach/Machrules: Likewise.
24002         * mach/Makefile: Likewise.
24003         * malloc/obstack.h: Likewise.
24004         * manual/Makefile: Likewise.
24005         * manual/tsort.awk: Likewise.
24006         * misc/bits/stab.def: Likewise.
24007         * nis/nis_print_group_entry.c: Likewise.
24008         * nis/nis_table.c: Likewise.
24009         * nis/nss_compat/compat-pwd.c: Likewise.
24010         * nis/nss_compat/compat-spwd.c: Likewise.
24011         * po/Makefile: Likewise.
24012         * posix/fnmatch.c: Likewise.
24013         * posix/regex.h: Likewise.
24014         * resolv/Makefile: Likewise.
24015         * resolv/nss_dns/dns-network.c: Likewise.
24016         * resolv/res_hconf.c: Likewise.
24017         * scripts/gen-sorted.awk: Likewise.
24018         * soft-fp/soft-fp.h: Likewise.
24019         * stdio-common/printf.h: Likewise.
24020         * stdlib/monetary.h: Likewise.
24021         * stdlib/random.c: Likewise.
24022         * stdlib/random_r.c: Likewise.
24023         * sysdeps/generic/Makefile: Likewise.
24024         * sysdeps/gnu/Makefile: Likewise.
24025         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24027         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24028         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24029         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24030         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24031         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24032         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24033         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24034         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24035         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24036         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24037         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24038         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24039         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24040         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24041         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24042         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24043         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24044         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24045         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24046         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24047         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24048         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24049         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24050         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24051         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24052         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24053         * sysdeps/mach/hurd/errnos.awk: Likewise.
24054         * sysdeps/mach/hurd/fork.c: Likewise.
24055         * sysdeps/mach/hurd/getcwd.c: Likewise.
24056         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24057         * sysdeps/mach/hurd/mmap.c: Likewise.
24058         * sysdeps/mach/hurd/utimes.c: Likewise.
24059         * sysdeps/mach/hurd/xmknod.c: Likewise.
24060         * sysdeps/posix/profil.c: Likewise.
24061         * sysdeps/posix/readdir_r.c: Likewise.
24062         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24063         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24064         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24065         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24067         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24068         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24069         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24071         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24072         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24073         * sysdeps/pthread/lio_listio.c: Likewise.
24074         * sysdeps/sparc/dl-procinfo.h: Likewise.
24075         * sysdeps/unix/i386/sysdep.S: Likewise.
24076         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24077         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24078         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24079         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24081         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24082         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24083         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24084         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24085         * sysdeps/wordsize-32/divdi3.c: Likewise.
24086         * time/sys/time.h: Likewise.
24087         * wcsmbs/Makefile: Likewise.
24088
24089 2013-01-01  David S. Miller  <davem@davemloft.net>
24090
24091         * po/fr.po: Update from translation team.
24092
24093         * catgets/gencat.c: Update copyright year.
24094         * csu/version.c: Likewise.
24095         * debug/catchsegv.sh: Likewise.
24096         * debug/pcprofiledump.c: Likewise.
24097         * debug/xtrace.sh: Likewise.
24098         * elf/ldconfig.c: Likewise.
24099         * elf/ldd.bash.in: Likewise.
24100         * elf/pldd.c: Likewise.
24101         * elf/sotruss.ksh: Likewise.
24102         * elf/sprof.c: Likewise.
24103         * iconv/iconv_prog.c: Likewise.
24104         * iconv/iconvconfig.c: Likewise.
24105         * locale/programs/locale.c: Likewise.
24106         * locale/programs/localedef.c: Likewise.
24107         * login/programs/pt_chown.c: Likewise.
24108         * malloc/memusage.sh: Likewise.
24109         * malloc/memusagestat.c: Likewise.
24110         * malloc/mtrace.pl: Likewise.
24111         * nscd/nscd.c: Likewise.
24112         * nss/getent.c: Likewise.
24113         * nss/makedb.c: Likewise.
24114         * posix/getconf.c: Likewise.
24115
24116 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24117
24118         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24119         numbers.
24120
24121 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24122
24123         * math/bits/mathcalls.h (modf): Use __nonnull.
24124
24125 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24126
24127         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24128         (split): Use macro CN instead of the bare value.
24129         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24130         could be used.
24131         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24132         instead of the bare value.
24133         (power1): Likewise.
24134
24135 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24136
24137         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24138         __ATAN_TWOM.
24139         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24140
24141         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24142         their values.
24143         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24144         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24145         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24146         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24147
24148 2012-12-28  Andreas Jaeger  <aj@suse.de>
24149
24150         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24151         values are from Linux 3.7.
24152
24153         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24154         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24155
24156 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24157
24158         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24159         TRUE case.
24160
24161         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24162         (norm): Likewise.
24163         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24164         variables with preprocessor constants.
24165         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24166         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24167         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24168
24169 2012-12-27  Bruno Haible  <bruno@clisp.org>
24170
24171         [BZ #14317]
24172         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24173         only if needed.
24174
24175 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24176
24177         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24178         and use variable directly.
24179         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24180
24181         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24182         MPONE.
24183         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24184         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24185         variable MPONE.
24186         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24188         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24189         include directive.  Remove local variable MPONE.
24190         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24191         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24192         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24193
24194 2012-12-25  David S. Miller  <davem@davemloft.net>
24195
24196         * version.h (RELEASE): Set to "development".
24197         (VERSION): Set to "2.17.90".
24198         * NEWS: Add 2.18 section.
24199
24200 2012-12-21  David S. Miller  <davem@davemloft.net>
24201
24202         * po/hr.po: Update from translation team.
24203
24204 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24205
24206         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24207
24208 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24209
24210         * NEWS:  Mention new memcpy for MIPS.
24211
24212 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24213
24214         * manual/contrib.texi (Contributors): Spelling correction.
24215
24216 2012-12-15  David S. Miller  <davem@davemloft.net>
24217
24218         * po/ru.po: Update from translation team.
24219
24220 2012-12-13  David S. Miller  <davem@davemloft.net>
24221
24222         * NEWS: Mention IFUNC testsuite enhancements.
24223
24224         * po/pl.po: Update from translation team.
24225         * po/bg.po: Likewise.
24226
24227         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24228         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24229
24230 2012-12-11  David S. Miller  <davem@davemloft.net>
24231
24232         * po/sv.po: Update from translation team.
24233
24234         * po/vi.po: Update from translation team.
24235
24236         * po/cs.po: Update from translation team.
24237
24238         * po/de.po: Update from translation team.
24239         * po/eo.po: Likewise.
24240         * po/nl.po: Likewise.
24241
24242 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24243
24244         [BZ #14246]
24245         * manual/argp.texi (Argp Helper Functions): Move node to follow
24246         Argp Parsing State.
24247
24248         [BZ #14872]
24249         * manual/conf.texi (Limits on File System Capacity): Mention if
24250         terminating null is included in the max size.
24251
24252 2012-12-10  Andreas Jaeger  <aj@suse.de>
24253
24254         * po/cs.po: Update from translation team.
24255
24256 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24257
24258         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24259         void pointer and cast to uintptr_t.
24260         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24261         path.
24262         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24263         * sysdeps/s390/s390-64/memset.S: Likewise.
24264
24265 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24266
24267         [BZ #14833]
24268         * menual/message.texi (Message Translation): Fix typos.
24269         (Helper programs for gettext): Likewise.
24270
24271 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24272
24273         [BZ #14898]
24274         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24275         Change to -1.
24276
24277 2012-12-07  David S. Miller  <davem@davemloft.net>
24278
24279         * po/libc.pot: Update.
24280
24281 2012-12-07  Richard Henderson  <rth@redhat.com>
24282
24283         [BZ #10114]
24284         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24285         normal/normal case to before the switch.
24286         (_FP_DIV): Likewise.
24287
24288 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24289             Mike Frysinger  <vapier@gentoo.org>
24290
24291         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24292         check for __NR_fadvise64_64.
24293
24294 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24295
24296         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24297         0, not just to plain "0" as a statement.
24298         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24299         with cw.
24300
24301 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24302
24303         * NEWS: Use sourceware.org in Bugzilla URL.
24304
24305 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24306
24307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24308         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24309
24310         * stdio-common/tst-put-error.c (do_test): Add newline to the
24311         padded test to ensure flush.
24312
24313 2012-12-05  Jeff Law  <law@redhat.com>
24314
24315         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24316
24317 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24318
24319         * README: Don't refer to ports add-on as distributed separately.
24320         Mention AArch64 in list of systems supported in the ports add-on.
24321
24322         * LICENSES: Add more non-FSF copyright and license notices.
24323
24324         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24325         ((unused)).
24326
24327         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24328
24329         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24330         10000 as width of padded output.
24331
24332 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24333
24334         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24335
24336         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24337         variable LX with __attribute__ ((unused)).
24338         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24339         Likewise.
24340         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24342         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24343         with __attribute__ ((unused)).
24344
24345 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24346
24347         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24348
24349 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24350
24351         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24352         (CFLAGS-nldbl-acos.c): New variable.
24353         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24354         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24355         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24356         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24357         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24358         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24359         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24360         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24361         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24362         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24363         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24364         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24365         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24366         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24367         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24368         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24369         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24370         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24371         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24372         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24373         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24374         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24375         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24376         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24377         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24378         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24379         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24380         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24381         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24382         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24383         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24384         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24385         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24386         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24387         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24388         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24389         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24390         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24391         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24392         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24393         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24394         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24395         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24396         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24397         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24398         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24399         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24400         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24401         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24402         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24403         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24404         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24405         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24406         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24407         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24408         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24409         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24410         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24411         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24412         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24413         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24414         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24415         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24416         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24417         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24418         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24419         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24420         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24421         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24422         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24423         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24424         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24425         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24426         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24427         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24428         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24429         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24430         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24431         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24432         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24433         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24434         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24435         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24436         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24437         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24438         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24439         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24440         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24441         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24442         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24443         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24444         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24445         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24446         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24447         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24448         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24449         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24450
24451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24452         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24453
24454         [BZ #14914]
24455         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24456         whole low double instead of just low 47 bits when splitting values
24457         into two parts.
24458
24459 2012-12-03  Allan McRae  <allan@archlinux.org>
24460
24461         * manual/stdio.texi (Predefined Printf Handlers): Remove
24462         @hsep and @vsep usage.
24463
24464 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24465
24466         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24467         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24468
24469 2012-12-03  Jeff Law  <law@redhat.com>
24470
24471         * time/sys/time.h (settimeofday): Do not mark TV argument
24472         as __nonnull.
24473
24474 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24475
24476         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24477         when currently writing and seek to current position when not.
24478         * libio/Makefile (tests): Remove bug-fclose1.
24479         * libio/bug-fclose1.c: Delete.
24480
24481 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24482
24483         * manual/arith.texi (feenableexcept): Fix typo.
24484         (fedisableexcept): Likewise.
24485
24486 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24487
24488         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24489         second, differently-typed declaration, rather than a cast.
24490
24491 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24492
24493         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24494         * include/rpc/svc.h: ... here.
24495
24496 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24497
24498         [BZ #13013]
24499         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24500         depending n and resplen2 to catch cases where answer
24501         equals answerp2.
24502
24503 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24504
24505         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24506         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24507
24508 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24509
24510         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24511
24512 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24513
24514         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24515
24516 2012-11-28  Jeff Law  <law@redhat.com>
24517
24518         [BZ #13761]
24519         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24520         dataset_temporary.  Track alloca usage into alloca_used.
24521         If dataset is large allocate and release it via malloc/free.
24522
24523 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24524
24525         [BZ #14197]
24526         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24527
24528 2012-11-28  David S. Miller  <davem@davemloft.net>
24529
24530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24531
24532 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24533
24534         [BZ #14803]
24535         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24536         of pi/2 rounded to nearest to 64 bits.
24537         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24538         nearest to 64 bits.
24539         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24540         bits.
24541
24542 2012-11-28  Jeff Law <law@redhat.com>
24543             Martin Osvald <mosvald@redhat.com>
24544
24545         [BZ #14889]
24546         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24547         * sunrpc/svc.c: Include time.h.
24548         (__svc_accept_failed): New function.
24549         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24550         any reason other than EINTR, call __svc_accept_failed.
24551         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24552         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24553
24554 2012-11-28  Andreas Schwab  <schwab@suse.de>
24555
24556         * scripts/abilist.awk: Also handle indirect functions in .opd
24557         section.
24558
24559 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24560
24561         [BZ #13881]
24562         * sysdeps/x86/fpu/powl_helper.c: New file.
24563         * sysdeps/x86/fpu/Makefile: Likewise.
24564         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24565         (p3): New object.
24566         (__ieee754_powl): Use __powl_helper for finite arguments except
24567         integer exponents below 8.
24568         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24569         (p3): New object.
24570         (__ieee754_powl): Use __powl_helper for finite arguments except
24571         integer exponents below 8.
24572         * math/libm-test.inc (pow_test): Add more tests and enable some
24573         previously disabled tests.
24574         * sysdeps/i386/fpu/libm-test-ulps: Update.
24575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24576
24577 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24578             Carlos O'Donell  <carlos_odonell@mentor.com>
24579
24580         * nss/makedb.c (is_prime): Assert that input is odd and greater
24581         than 4.  Note that fact in a comment too.
24582         (next_prime): Add 4 to input.
24583
24584 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24585
24586         [BZ #11741]
24587         * libio/Makefile (tests): Add test case tst-fwrite-error.
24588         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24589         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24590         * libio/tst-fwrite-error.c: New test case.
24591
24592 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24593
24594         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24595         before casting to void *.
24596         * include/libc-internal.h (__pointer_type): New macro.
24597         (__integer_if_pointer_type_sub): Likewise.
24598         (__integer_if_pointer_type): Likewise.
24599         (cast_to_integer): Likewise.
24600         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24601         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24602         before casting to atomic64_t.
24603         (atomic_exchange_acq): Likewise.
24604         (__arch_exchange_and_add_body): Likewise.
24605         (__arch_add_body): Likewise.
24606         (atomic_add_negative): Likewise.
24607         (atomic_add_zero): Likewise.
24608
24609 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24610
24611         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24612         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24613         (add_fdes): Likewise.
24614         (linear_search_fdes): Likewise.
24615         (binary_search_unencoded_fdes): Likewise.
24616
24617 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24618
24619         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24620
24621 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24622
24623         * configure.in: Autodetect C++ header directories.
24624         * configure: Regenerated.
24625
24626 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24627
24628         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24629
24630 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24631
24632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24633
24634 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24635
24636         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24637         LDBL_MANT_DIG == 106]: Disable some tests.
24638         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24639         Likewise.
24640         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24641         Likewise.
24642
24643         [BZ #14871]
24644         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24645         input for small inputs.  Return +/- pi/2 for large inputs.
24646         * math/libm-test.inc (atan_test): Add more tests.
24647
24648         * sysdeps/generic/unwind-dw2-fde-glibc.c
24649         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24650         __attribute__ ((unused)).
24651
24652         [BZ #14645]
24653         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24654         x * y if x and y are nonzero and z is zero.
24655
24656         [BZ #14811]
24657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24658         nonzero exponents with absolute value below 0x1p-117 to +/-
24659         0x1p-117.
24660
24661         [BZ #14869]
24662         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24663         up arguments below 2**-450, not just those below 2**-500.
24664         * math/libm-test.inc (hypot_test): Add another test.
24665
24666         [BZ #14868]
24667         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24668         Return a+b for ratio over 2**120, not 2**60.
24669         * math/libm-test.inc (hypot_test): Add another test.
24670
24671         * math/libm-test.inc (clog_test): Use
24672         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24673         (clog10_test): Likewise.
24674
24675         [BZ #6778]
24676         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24677
24678 2012-11-22  Andreas Schwab  <schwab@suse.de>
24679
24680         * sysdeps/i386/fpu/libm-test-ulps: Update.
24681
24682 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24683
24684         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24685         printf output with newline.
24686
24687 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24688
24689         [BZ #14865]
24690         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24691         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24692         -z nodlopen, -z initfirst and -z execstack support.
24693         * configure: Regenerated.
24694
24695         * elf/elf.h (DF_1_NODIRECT): New macro.
24696         (DF_1_IGNMULDEF): Likewise.
24697         (DF_1_NOKSYMS): Likewise.
24698         (DF_1_NOHDR): Likewise.
24699         (DF_1_EDITED): Likewise.
24700         (DF_1_NORELOC): Likewise.
24701         (DF_1_SYMINTPOSE): Likewise.
24702         (DF_1_GLOBAUDIT): Likewise.
24703         (DF_1_SINGLETON): Likewise.
24704         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24705         DT_1_SUPPORTED_MASK bits.
24706         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24707
24708 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24709
24710         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24711
24712 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24713
24714         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24715         macro.
24716
24717         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24718         (sendmmsg): Move declarations...
24719         * socket/sys/socket.h: ... here.
24720         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24721         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24722         include it from...
24723         * socket/recvmmsg.c: ... this new file.
24724         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24725         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24726         definition of __sendmmsg hidden.
24727         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24728         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24729         Move ENOSYS stub into and include it from...
24730         * socket/sendmmsg.c: ... this new file.
24731         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24732         (sysdep_routines): Move recvmmsg and sendmmsg...
24733         * socket/Makefile (routines): ... here.
24734         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24735         (GLIBC_PRIVATE): Add __sendmmsg.
24736         * include/sys/socket.h (__sendmmsg): Add declarations.
24737         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24738         sendmmsg.
24739
24740 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24741
24742         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24743         variable I1 with __attribute__ ((unused)).
24744         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24745
24746 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24747
24748         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24749         DUMMY variables with __attribute__ ((unused)).
24750
24751         * bits/byteswap.h: Include <bits/types.h>.
24752         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24753
24754 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24755
24756         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24757         string_t.  Do not manually set errno.
24758         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24759         length with __strnlen.  Make sure to both set errno and return it on
24760         failure.
24761
24762 2012-11-19  David S. Miller  <davem@davemloft.net>
24763
24764         With help from Joseph Myers.
24765         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24766         very large arguments properly.
24767         * math/libm-test.inc (atan_test): New tests.
24768         (atan2_test): New tests.
24769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24771
24772 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24773
24774         [BZ #14856]
24775         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24776         Define to 3.
24777
24778         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24779         [POSIX] (EADDRNOTAVAIL): Likewise.
24780         [POSIX] (EAFNOSUPPORT): Likewise.
24781         [POSIX] (EALREADY): Likewise.
24782         [POSIX] (ECONNABORTED): Likewise.
24783         [POSIX] (ECONNREFUSED): Likewise.
24784         [POSIX] (ECONNRESET): Likewise.
24785         [POSIX] (EDESTADDRREQ): Likewise.
24786         [POSIX] (EDQUOT): Likewise.
24787         [POSIX] (EHOSTUNREACH): Likewise.
24788         [POSIX] (EIDRM): Likewise.
24789         [POSIX] (EISCONN): Likewise.
24790         [POSIX] (ELOOP): Likewise.
24791         [POSIX] (EMULTIHOP): Likewise.
24792         [POSIX] (ENETDOWN): Likewise.
24793         [POSIX] (ENETUNREACH): Likewise.
24794         [POSIX] (ENOBUFS): Likewise.
24795         [POSIX] (ENODATA): Likewise.
24796         [POSIX] (ENOLINK): Likewise.
24797         [POSIX] (ENOMSG): Likewise.
24798         [POSIX] (ENOPROTOOPT): Likewise.
24799         [POSIX] (ENOSR): Likewise.
24800         [POSIX] (ENOSTR): Likewise.
24801         [POSIX] (ENOTCONN): Likewise.
24802         [POSIX] (ENOTSOCK): Likewise.
24803         [POSIX] (EOPNOTSUPP): Likewise.
24804         [POSIX] (EOVERFLOW): Likewise.
24805         [POSIX] (EPROTO): Likewise.
24806         [POSIX] (EPROTONOSUPPORT): Likewise.
24807         [POSIX] (EPROTOTYPE): Likewise.
24808         [POSIX] (ESTALE): Likewise.
24809         [POSIX] (ETIME): Likewise.
24810         [POSIX] (ETXTBSY): Likewise.
24811         [POSIX] (EWOULDBLOCK): Likewise.
24812         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24813         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24814         [POSIX] (SEEK_CUR): Likewise.
24815         [POSIX] (SEEK_END): Likewise.
24816         [POSIX || UNIX98] (mode_t): Do not require.
24817         [POSIX] (off_t): Likewise.
24818         [POSIX] (pid_t): Likewise.
24819         [POSIX] (sys/stat.h): Do not allow header.
24820         [POSIX] (unistd.h): Likewise.
24821         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24822         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24823         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24824         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24825         require.
24826         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24827         sigevent): Specify elements.
24828         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24829         entry.
24830         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24831         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24832
24833         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24834         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24835         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24836         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24837         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24838         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24839         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24840         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24841         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24842         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24843         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24844         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24845         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24846         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24847         Likewise.
24848         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24849         Likewise.
24850         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24851         Likewise.
24852         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24853         Likewise.
24854         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24855         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24856         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24857         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24858         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24859         Specify lower bound on value.
24860         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24861         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24862         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24863         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24864         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24865         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24866         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24867         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24868         value.
24869         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24870         as optional.
24871         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24872         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24873         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24874         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24875         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24876         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24877         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24878         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24879         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24880         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24881         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24882         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24883         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24884         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24885         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24886         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24887         entry.
24888         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24889         optional.
24890         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24891         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24892         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24893         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24894         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24895         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24896         Likewise.
24897         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24898         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24899         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24900         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24901         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24902         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24903         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24904         as optional.
24905         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24906         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24907         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24908         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24909         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24910         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24911         specify as optional.
24912         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24913         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24914         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24915         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24916         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24917         [XPG3] (NL_LANGMAX): Likewise.
24918         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24919         [POSIX || XPG3] (NL_NMAX): Likewise.
24920         [POSIX || XPG3] (NL_SETMAX): Likewise.
24921         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24922         [XPG3] (NZERO): Likewise.
24923         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24924         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24925         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24926         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24927         (REG_ERANGE): Expect.
24928         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24929         optional-constant.
24930         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24931         Use (void) in prototype.
24932         [POSIX] (*_t): Allow.
24933         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24934         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24935         (WRDE_BADVAL): Expect.
24936
24937         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24938         expect.
24939         [XPG3 || XPG4] (O_RSYNC): Likewise.
24940         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24941         Likewise.
24942         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24943         [XPG3 || XPG4] (sigqueue): Likewise.
24944         [XPG3 || XPG4] (sigtimedwait): Likewise.
24945         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24946         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24947         [XPG3 || XPG4] (vsnprintf): Likewise.
24948         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24949         Likewise.
24950         [XPG3 || XPG4] (blksize_t): Likewise.
24951         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24952         Likewise.
24953         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24954         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24955         [XPG3 || XPG4] (struct itimerspec): Likewise.
24956         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24957         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24958         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24959         [XPG3 || XPG4] (clockid_t): Likewise.
24960         [XPG3 || XPG4] (timer_t): Likewise.
24961         [XPG3 || XPG4] (clock_getres): Likewise.
24962         [XPG3 || XPG4] (clock_gettime): Likewise.
24963         [XPG3 || XPG4] (clock_settime): Likewise.
24964         [XPG3 || XPG4] (nanosleep): Likewise.
24965         [XPG3 || XPG4] (timer_create): Likewise.
24966         [XPG3 || XPG4] (timer_delete): Likewise.
24967         [XPG3 || XPG4] (timer_gettime): Likewise.
24968         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24969         [XPG3 || XPG4] (timer_settime): Likewise.
24970         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24971         [XPG3 || XPG4] (getlogin_r): Likewise.
24972         [XPG3 || XPG4] (pread): Likewise.
24973         [XPG3 || XPG4] (pthread_atfork): Likewise.
24974         [XPG3 || XPG4] (pwrite): Likewise.
24975
24976         [BZ #14835]
24977         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24978         <bits/siginfo.h>.
24979
24980 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24981
24982         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24983         finalizing MALLSTREAM.
24984
24985         * sysdeps/mach/hurd/syncfs.c: New file.
24986
24987 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24988
24989         [BZ #14719]
24990         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24991         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24992         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24993         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24994         (_nss_dns_gethostbyname4_r): Likewise.
24995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24996         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24997
24998 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24999
25000         [BZ #13763]
25001         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25002
25003 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25004
25005         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25006         * elf/cache.c (print_entry): Print ",AArch64" for
25007         FLAG_AARCH64_LIB64
25008
25009         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25010         * elf/cache.c (print_entry): Print ",hard-float" for
25011         FLAG_ARM_LIBHF.
25012
25013 2012-11-18  David S. Miller  <davem@davemloft.net>
25014
25015         With help from Joseph Myers.
25016         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25017         cutoff to 2**-13.
25018         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25019         cutoff to 2**-25.
25020         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25021         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25022         small.
25023         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25024         * math/libm-test.inc (y0_test): New tests.
25025         (y1_test): New tests.
25026         * sysdeps/i386/fpu/libm-test-ulps: Update.
25027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25029
25030 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25031
25032         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25033         64-bit targets.
25034         * configure: Regenerated.
25035
25036 2012-11-17  David S. Miller  <davem@davemloft.net>
25037
25038         [BZ #14811]
25039         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25040         nonzero exponents with absolute value below 0x1p-128 to +/-
25041         0x1p-128.
25042
25043 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25044
25045         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25046
25047         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25048
25049         * posix/getconf-speclist.c: New file.
25050         * posix/posix-envs.def: Likewise.
25051         * posix/confstr.c (START_ENV_GROUP): New macro.
25052         (END_ENV_GROUP): Likewise.
25053         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25054         (KNOWN_PRESENT_ENV_STRING): Likewise.
25055         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25056         (UNKNOWN_ENVIRONMENT): Likewise.
25057         (confstr): Include posix-envs.def instead of handling
25058         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25059         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25060         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25061         (END_ENV_GROUP): Likewise.
25062         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25063         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25064         (UNKNOWN_ENVIRONMENT): Likewise.
25065         (__sysconf): Include posix-envs.def instead of handling associated
25066         cases directly here.
25067         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25068         preprocessing getconf-speclist.c rather than running getconf or
25069         generating empty file.
25070
25071 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25072
25073         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25074
25075 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25076
25077         [BZ #14672]
25078         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25079
25080 2012-11-16  David S. Miller  <davem@davemloft.net>
25081
25082         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25083         smaller than LDBL_EPSILON/2.0L, just return xm1.
25084
25085 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25086
25087         * elf/tst-array1.c (init): Set constructor priority to 1000.
25088         (fini): Set destructor priority to 1000.
25089         * elf/tst-array2dep.c: Likewise.
25090
25091 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25092
25093         [BZ #11741]
25094         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25095         (_IO_new_file_xsputn): Also return EOF if none of the input
25096         data was written when overflow failed.
25097         * libio/iopadn.c (_IO_padn): Likewise.
25098         * libio/iowpadn.c (_IO_wpadn): Likewise.
25099         * stdio-common/tst-put-error.c: Add copyright notice.
25100         (do_test): Add case for printing padded string.
25101         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25102         _IO_padn returned error.
25103         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25104         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25105         return EOF.
25106
25107 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25108
25109         * libio/libioP.h: Add comment note that the references to C++
25110         bits are now obsolete.
25111
25112 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25113
25114         * math/libm-test.inc (check_complex): Use asprintf.
25115
25116 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25117
25118         * debug/pcprofiledump.c (print_version): Update copyright year.
25119         * malloc/memusagestat.c (print_version): Likewise.
25120
25121 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25122
25123         [BZ #14831]
25124         * elf/Makefile (tests): Add tst-audit8.
25125         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25126         ($(objpfx)tst-audit8.out): New target.
25127         (tst-audit8-ENV): New variable.
25128         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25129         audit if l_reloc_result is NULL.
25130         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25131         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25132         * elf/tst-audit8.c: New file.
25133
25134 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25135
25136         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25137         * misc/Makefile (CFLAGS-select.c): Define.
25138         * posix/Makefile (CFLAGS-pause.c): Define.
25139
25140 2012-11-13  David S. Miller  <davem@davemloft.net>
25141
25142         * crypt/Makefile: Move test targets after toplevel Rules
25143         inclusion.  Grab any necessary sysdep routines when linking.
25144         * crypt/md5.c (md5_process_block): Remove define, we will always
25145         name it __md5_process_block.
25146         (md5_finish_ctx): Update md5_process_block call.
25147         (md5_stream): Likewise.
25148         (md5_process_bytes): Likewise.
25149         (md5_process_block): Rename to __md5_process_block and move to ...
25150         * crypt/md5-block.c: ... here.
25151         * crypt/sha256.c (sha256_process_block): Move to ...
25152         * crypt/sha256-block.c: ... here.
25153         * crypt/sha512.c (sha512_process_block): Move to ...
25154         * crypt/sha512-block.c: ... here.
25155         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25156         path.
25157         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25158         * sysdeps/sparc/sparc64/multiarch/Makefile
25159         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25160         crypt subdir.
25161         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25162         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25163         multiarch changes.
25164         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25165         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25166         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25167         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25168         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25169         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25170         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25171         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25172         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25173         file.
25174         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25175         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25176         file.
25177         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25178
25179 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25180
25181         * timezone/tzselect.ksh: Update from tzcode git revision
25182         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25183         * timezone/zdump.c: Likewise.
25184         * timezone/zic.c: Likewise.
25185         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25186         in TZVERSION setting, not $(PKGVERSION).
25187         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25188         REPORT_BUGS_TO settings.
25189
25190         [BZ #14838]
25191         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25192         macro.
25193
25194 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25195
25196         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25197         detection to immediately after _FP_ROUND().
25198         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25199         bits are 0.
25200
25201 2012-11-11  David S. Miller  <davem@davemloft.net>
25202
25203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25204         inttypes.h
25205         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25206         __close rather than their public counterparts.
25207
25208 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25209
25210         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25211         file.
25212         [UNIX98] (sem_timedwait): Do not expect.
25213         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25214         [XPG4 || UNIX98] (sockatmark): Do not expect.
25215         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25216         (clock_getcpuclockid): Do not expect.
25217         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25218         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25219         Do not expect.
25220         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25221         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25222         [UNIX98] (vwscanf): Likewise.
25223         [UNIX98] (vswscanf): Likewise.
25224
25225 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25226
25227         * timezone/version.h: Remove file.
25228         * timezone/README: Do not refer to version.h.
25229         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25230         $(objpfx)version.h.
25231         ($(objpfx)zdump.o): Likewise.
25232         ($(objpfx)version.h): New target.
25233
25234         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25235         2012i.
25236         * timezone/README: Don't mention modification to tzselect.ksh.
25237         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25238         work on unmodified tzselect.ksh.  Substitute version numbers in
25239         tzselect.ksh.
25240
25241         * Makefile (format-me): Remove.
25242         (INSTALL): Adjust indentation.  Use commands directly instead of
25243         using $(format-me).
25244
25245         * aclocal.m4 (ACX_PKGVERSION): New macro.
25246         (ACX_BUGURL): Likewise.
25247         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25248         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25249         (REPORT_BUGS_TO): Likewise.
25250         * configure: Regenerated.
25251         * config.h.in (PKGVERSION): New macro.
25252         (REPORT_BUGS_TO): Likewise.
25253         * config.make.in (PKGVERSION): New variable.
25254         (PKGVERSION_TEXI): Likewise.
25255         (REPORT_BUGS_TO): Likewise.
25256         (REPORT_BUGS_TEXI): Likewise.
25257         * Makefile (format-me): Use -I$(common-objpfx)manual.
25258         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25259         ($(common-objpfx)manual/%): New target.
25260         (manual/%): Remove target.
25261         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25262         (print_version): Use PKGVERSION.
25263         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25264         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25265         and REPORT_BUGS_TO.
25266         ($(objpfx)xtrace): Likewise.
25267         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25268         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25269         (print_version): Use PKGVERSION.
25270         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25271         (do_version): Use PKGVERSION.
25272         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25273         REPORT_BUGS_TO.
25274         (common-ldd-rewrite): Likewise.
25275         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25276         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25277         (print_version): Use PKGVERSION.
25278         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25279         * elf/pldd.c (argp_program_bug_address): Remove variable.
25280         (more_help): New function.
25281         (argp): Use more_help.
25282         (print_version): Use PKGVERSION.
25283         * elf/sln.c (main): Use PKGVERSION.
25284         (usage): Use REPORT_BUGS_TO.
25285         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25286         (top level): Use PKGVERSION.
25287         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25288         (print_version): Use PKGVERSION.
25289         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25290         (print_version): Use PKGVERSION.
25291         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25292         (print_version): Use PKGVERSION.
25293         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25294         (print_version): Use PKGVERSION.
25295         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25296         (print_version): Use PKGVERSION.
25297         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25298         (print_version): Use PKGVERSION.
25299         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25300         and BUGURL.
25301         ($(objpfx)memusage): Likewise.
25302         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25303         (do_version): Use PKGVERSION.
25304         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25305         (print_version): Use PKGVERSION.
25306         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25307         ($PKGVERSION): New variable.
25308         ($REPORT_BUGS_TO): Likewise.
25309         (usage): Use $REPORT_BUGS_TO.
25310         (top level): Use $PKGVERSION.
25311         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25312         ($(objpfx)pkgvers.texi): New rule.
25313         ($(objpfx)stamp-pkgvers): Likewise.
25314         * manual/install.texi: Include pkgvers.texi.
25315         (--with-pkgversion): Document new configure option.
25316         (--with-bugurl): Likewise.
25317         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25318         than necessarily for this particular distribution.  Use
25319         REPORT_BUGS_TO for where to report bugs.
25320         * INSTALL: Regenerated.
25321         * manual/libc.texinfo: Include pkgvers.texi.
25322         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25323         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25324         (print_version): Use PKGVERSION.
25325         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25326         (print_version): Use PKGVERSION.
25327         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25328         (print_version): Use PKGVERSION.
25329         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25330         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25331         macro.
25332         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25333         (print_version): Use PKGVERSION.
25334         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25335         (print_version): Use PKGVERSION.
25336         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25337         and PKGVERSION.
25338
25339         * timezone/checktab.awk: Update from tzcode 2012i.
25340         * timezone/ialloc.c: Likewise.
25341         * timezone/private.h: Likewise.
25342         * timezone/scheck.c: Likewise.
25343         * timezone/tzfile.h: Likewise.
25344         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25345         (TZVERSION): Hardcode tzcode version number.
25346         * timezone/zdump.c: Update from tzcode 2012i.
25347         * timezone/zic.c: Likewise.
25348         * timezone/version.h: New file.
25349         * timezone/README: Describe version.h.  Update upstream location.
25350
25351         [BZ #14824]
25352         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25353         (mktemp): Enable declaration.
25354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25355         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25356         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25357         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25358         Likewise.
25359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25360         Likewise.
25361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25362         Likewise.
25363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25364         Likewise.
25365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25366         Likewise.
25367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25368         Likewise.
25369
25370         [BZ #14821]
25371         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25372         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25373         for copies of such integer values.
25374         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25375         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25376
25377 2012-11-09  Andreas Jaeger  <aj@suse.de>
25378
25379         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25380         definitions and declarations that are provided by
25381         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25382
25383 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25384
25385         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25386         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25387         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25388         definition.
25389
25390 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25391
25392         * elf/elf.h: Update comment before AArch64 relocations.
25393
25394 2012-11-07  David S. Miller  <davem@davemloft.net>
25395
25396         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25397         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25398         (__start_context): Declare.
25399         (__makecontext_ret): Delete.
25400         (__makecontext): Hook up __start_context instead of
25401         __makecontext_ret.
25402         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25403         (sysdep_routines): Add __start_context when in stdlib.
25404
25405 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25406
25407         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25408         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25409         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25410         hardcoded "nm".
25411         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25412         (READELF): New variable.  Use it instead of hardcoded "readelf".
25413
25414 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25415
25416         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25417         * sysdeps/x86/Makefile: Here.
25418         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25419         * sysdeps/x86/tst-xmmymm.sh: This.
25420
25421 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25422
25423         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25424         expectations.
25425         [UNIX98] (pthread_barrier_t): Do not expect.
25426         [UNIX98] (pthread_barrierattr_t): Likewise.
25427         [UNIX98] (pthread_spinlock_t): Likewise.
25428         [UNIX98] (pthread_barrier_destroy): Likewise.
25429         [UNIX98] (pthread_barrier_init): Likewise.
25430         [UNIX98] (pthread_barrier_wait): Likewise.
25431         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25432         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25433         [UNIX98] (pthread_barrierattr_init): Likewise.
25434         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25435         [UNIX98] (pthread_getcpuclockid): Likewise.
25436         [UNIX98] (pthread_mutex_timedlock): Likewise.
25437         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25438         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25439         [UNIX98] (pthread_sigmask): Likewise.
25440         [UNIX98] (pthread_spin_destroy): Likewise.
25441         [UNIX98] (pthread_spin_init): Likewise.
25442         [UNIX98] (pthread_spin_lock): Likewise.
25443         [UNIX98] (pthread_spin_trylock): Likewise.
25444         [UNIX98] (pthread_spin_unlock): Likewise.
25445         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25446         Do not expect.
25447         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25448         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25449         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25450         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25451         [XPG3 || XPG4] (pthread_key_t): Likewise.
25452         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25453         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25454         [XPG3 || XPG4] (pthread_once_t): Likewise.
25455         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25456         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25457         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25458         [XPG3 || XPG4] (pthread_t): Likewise.
25459
25460         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25461         not expect.
25462         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25463
25464         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25465         Change function return type to int.
25466
25467         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25468         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25469         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25470         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25471         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25472         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25473         [!POSIX] (posix_madvise): Likewise.
25474         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25475         && !UNIX98].
25476         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25477         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25478         (mode_t): Likewise.
25479         (posix_mem_offset): Likewise.
25480         (posix_typed_mem_get_info): Likewise.
25481         (posix_typed_mem_open): Likewise.
25482
25483         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25484         Change condition to [XOPEN2K8].
25485
25486         * conform/conformtest.pl: Preprocess allow-header data with -x c
25487         instead of from stdin.
25488         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25489         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25490         [C99-based standards] (cerfc): Likewise.
25491         [C99-based standards] (cexp2): Likewise.
25492         [C99-based standards] (cexpm1): Likewise.
25493         [C99-based standards] (clog10): Likewise.
25494         [C99-based standards] (clog1p): Likewise.
25495         [C99-based standards] (clog2): Likewise.
25496         [C99-based standards] (clgamma): Likewise.
25497         [C99-based standards] (ctgamma): Likewise.
25498         [C99-based standards] (cerff): Likewise.
25499         [C99-based standards] (cerfcf): Likewise.
25500         [C99-based standards] (cexp2f): Likewise.
25501         [C99-based standards] (cexpm1f): Likewise.
25502         [C99-based standards] (clog10f): Likewise.
25503         [C99-based standards] (clog1pf): Likewise.
25504         [C99-based standards] (clog2f): Likewise.
25505         [C99-based standards] (clgammaf): Likewise.
25506         [C99-based standards] (ctgammaf): Likewise.
25507         [C99-based standards] (cerfl): Likewise.
25508         [C99-based standards] (cerfcl): Likewise.
25509         [C99-based standards] (cexp2l): Likewise.
25510         [C99-based standards] (cexpm1l): Likewise.
25511         [C99-based standards] (clog10l): Likewise.
25512         [C99-based standards] (clog1pl): Likewise.
25513         [C99-based standards] (clog2l): Likewise.
25514         [C99-based standards] (clgammal): Likewise.
25515         [C99-based standards] (ctgammal): Likewise.
25516         * conform/data/inttypes.h-data [C99-based standards]: Include
25517         stdint.h-data.  Remove all expectations for stdint.h contents.
25518         [C99-based standards] (PRI*): Do not allow.
25519         [C99-based standards] (SCN*): Likewise.
25520         [C99-based standards] (*_t): Likewise.
25521         [C99-based-standards] (PRId8): Expect macro.
25522         [C99-based-standards] (PRIi8): Likewise.
25523         [C99-based-standards] (PRIo8): Likewise.
25524         [C99-based-standards] (PRIu8): Likewise.
25525         [C99-based-standards] (PRIx8): Likewise.
25526         [C99-based-standards] (PRIX8): Likewise.
25527         [C99-based-standards] (SCNd8): Likewise.
25528         [C99-based-standards] (SCNi8): Likewise.
25529         [C99-based-standards] (SCNo8): Likewise.
25530         [C99-based-standards] (SCNu8): Likewise.
25531         [C99-based-standards] (SCNx8): Likewise.
25532         [C99-based-standards] (PRIdLEAST8): Likewise.
25533         [C99-based-standards] (PRIiLEAST8): Likewise.
25534         [C99-based-standards] (PRIoLEAST8): Likewise.
25535         [C99-based-standards] (PRIuLEAST8): Likewise.
25536         [C99-based-standards] (PRIxLEAST8): Likewise.
25537         [C99-based-standards] (PRIXLEAST8): Likewise.
25538         [C99-based-standards] (SCNdLEAST8): Likewise.
25539         [C99-based-standards] (SCNiLEAST8): Likewise.
25540         [C99-based-standards] (SCNoLEAST8): Likewise.
25541         [C99-based-standards] (SCNuLEAST8): Likewise.
25542         [C99-based-standards] (SCNxLEAST8): Likewise.
25543         [C99-based-standards] (PRIdFAST8): Likewise.
25544         [C99-based-standards] (PRIiFAST8): Likewise.
25545         [C99-based-standards] (PRIoFAST8): Likewise.
25546         [C99-based-standards] (PRIuFAST8): Likewise.
25547         [C99-based-standards] (PRIxFAST8): Likewise.
25548         [C99-based-standards] (PRIXFAST8): Likewise.
25549         [C99-based-standards] (SCNdFAST8): Likewise.
25550         [C99-based-standards] (SCNiFAST8): Likewise.
25551         [C99-based-standards] (SCNoFAST8): Likewise.
25552         [C99-based-standards] (SCNuFAST8): Likewise.
25553         [C99-based-standards] (SCNxFAST8): Likewise.
25554         [C99-based-standards] (PRId16): Likewise.
25555         [C99-based-standards] (PRIi16): Likewise.
25556         [C99-based-standards] (PRIo16): Likewise.
25557         [C99-based-standards] (PRIu16): Likewise.
25558         [C99-based-standards] (PRIx16): Likewise.
25559         [C99-based-standards] (PRIX16): Likewise.
25560         [C99-based-standards] (SCNd16): Likewise.
25561         [C99-based-standards] (SCNi16): Likewise.
25562         [C99-based-standards] (SCNo16): Likewise.
25563         [C99-based-standards] (SCNu16): Likewise.
25564         [C99-based-standards] (SCNx16): Likewise.
25565         [C99-based-standards] (PRIdLEAST16): Likewise.
25566         [C99-based-standards] (PRIiLEAST16): Likewise.
25567         [C99-based-standards] (PRIoLEAST16): Likewise.
25568         [C99-based-standards] (PRIuLEAST16): Likewise.
25569         [C99-based-standards] (PRIxLEAST16): Likewise.
25570         [C99-based-standards] (PRIXLEAST16): Likewise.
25571         [C99-based-standards] (SCNdLEAST16): Likewise.
25572         [C99-based-standards] (SCNiLEAST16): Likewise.
25573         [C99-based-standards] (SCNoLEAST16): Likewise.
25574         [C99-based-standards] (SCNuLEAST16): Likewise.
25575         [C99-based-standards] (SCNxLEAST16): Likewise.
25576         [C99-based-standards] (PRIdFAST16): Likewise.
25577         [C99-based-standards] (PRIiFAST16): Likewise.
25578         [C99-based-standards] (PRIoFAST16): Likewise.
25579         [C99-based-standards] (PRIuFAST16): Likewise.
25580         [C99-based-standards] (PRIxFAST16): Likewise.
25581         [C99-based-standards] (PRIXFAST16): Likewise.
25582         [C99-based-standards] (SCNdFAST16): Likewise.
25583         [C99-based-standards] (SCNiFAST16): Likewise.
25584         [C99-based-standards] (SCNoFAST16): Likewise.
25585         [C99-based-standards] (SCNuFAST16): Likewise.
25586         [C99-based-standards] (SCNxFAST16): Likewise.
25587         [C99-based-standards] (PRId32): Likewise.
25588         [C99-based-standards] (PRIi32): Likewise.
25589         [C99-based-standards] (PRIo32): Likewise.
25590         [C99-based-standards] (PRIu32): Likewise.
25591         [C99-based-standards] (PRIx32): Likewise.
25592         [C99-based-standards] (PRIX32): Likewise.
25593         [C99-based-standards] (SCNd32): Likewise.
25594         [C99-based-standards] (SCNi32): Likewise.
25595         [C99-based-standards] (SCNo32): Likewise.
25596         [C99-based-standards] (SCNu32): Likewise.
25597         [C99-based-standards] (SCNx32): Likewise.
25598         [C99-based-standards] (PRIdLEAST32): Likewise.
25599         [C99-based-standards] (PRIiLEAST32): Likewise.
25600         [C99-based-standards] (PRIoLEAST32): Likewise.
25601         [C99-based-standards] (PRIuLEAST32): Likewise.
25602         [C99-based-standards] (PRIxLEAST32): Likewise.
25603         [C99-based-standards] (PRIXLEAST32): Likewise.
25604         [C99-based-standards] (SCNdLEAST32): Likewise.
25605         [C99-based-standards] (SCNiLEAST32): Likewise.
25606         [C99-based-standards] (SCNoLEAST32): Likewise.
25607         [C99-based-standards] (SCNuLEAST32): Likewise.
25608         [C99-based-standards] (SCNxLEAST32): Likewise.
25609         [C99-based-standards] (PRIdFAST32): Likewise.
25610         [C99-based-standards] (PRIiFAST32): Likewise.
25611         [C99-based-standards] (PRIoFAST32): Likewise.
25612         [C99-based-standards] (PRIuFAST32): Likewise.
25613         [C99-based-standards] (PRIxFAST32): Likewise.
25614         [C99-based-standards] (PRIXFAST32): Likewise.
25615         [C99-based-standards] (SCNdFAST32): Likewise.
25616         [C99-based-standards] (SCNiFAST32): Likewise.
25617         [C99-based-standards] (SCNoFAST32): Likewise.
25618         [C99-based-standards] (SCNuFAST32): Likewise.
25619         [C99-based-standards] (SCNxFAST32): Likewise.
25620         [C99-based-standards] (PRId64): Likewise.
25621         [C99-based-standards] (PRIi64): Likewise.
25622         [C99-based-standards] (PRIo64): Likewise.
25623         [C99-based-standards] (PRIu64): Likewise.
25624         [C99-based-standards] (PRIx64): Likewise.
25625         [C99-based-standards] (PRIX64): Likewise.
25626         [C99-based-standards] (SCNd64): Likewise.
25627         [C99-based-standards] (SCNi64): Likewise.
25628         [C99-based-standards] (SCNo64): Likewise.
25629         [C99-based-standards] (SCNu64): Likewise.
25630         [C99-based-standards] (SCNx64): Likewise.
25631         [C99-based-standards] (PRIdLEAST64): Likewise.
25632         [C99-based-standards] (PRIiLEAST64): Likewise.
25633         [C99-based-standards] (PRIoLEAST64): Likewise.
25634         [C99-based-standards] (PRIuLEAST64): Likewise.
25635         [C99-based-standards] (PRIxLEAST64): Likewise.
25636         [C99-based-standards] (PRIXLEAST64): Likewise.
25637         [C99-based-standards] (SCNdLEAST64): Likewise.
25638         [C99-based-standards] (SCNiLEAST64): Likewise.
25639         [C99-based-standards] (SCNoLEAST64): Likewise.
25640         [C99-based-standards] (SCNuLEAST64): Likewise.
25641         [C99-based-standards] (SCNxLEAST64): Likewise.
25642         [C99-based-standards] (PRIdFAST64): Likewise.
25643         [C99-based-standards] (PRIiFAST64): Likewise.
25644         [C99-based-standards] (PRIoFAST64): Likewise.
25645         [C99-based-standards] (PRIuFAST64): Likewise.
25646         [C99-based-standards] (PRIxFAST64): Likewise.
25647         [C99-based-standards] (PRIXFAST64): Likewise.
25648         [C99-based-standards] (SCNdFAST64): Likewise.
25649         [C99-based-standards] (SCNiFAST64): Likewise.
25650         [C99-based-standards] (SCNoFAST64): Likewise.
25651         [C99-based-standards] (SCNuFAST64): Likewise.
25652         [C99-based-standards] (SCNxFAST64): Likewise.
25653         [C99-based-standards] (PRIdMAX): Likewise.
25654         [C99-based-standards] (PRIiMAX): Likewise.
25655         [C99-based-standards] (PRIoMAX): Likewise.
25656         [C99-based-standards] (PRIuMAX): Likewise.
25657         [C99-based-standards] (PRIxMAX): Likewise.
25658         [C99-based-standards] (PRIXMAX): Likewise.
25659         [C99-based-standards] (SCNdMAX): Likewise.
25660         [C99-based-standards] (SCNiMAX): Likewise.
25661         [C99-based-standards] (SCNoMAX): Likewise.
25662         [C99-based-standards] (SCNuMAX): Likewise.
25663         [C99-based-standards] (SCNxMAX): Likewise.
25664         [C99-based-standards] (PRIdPTR): Likewise.
25665         [C99-based-standards] (PRIiPTR): Likewise.
25666         [C99-based-standards] (PRIoPTR): Likewise.
25667         [C99-based-standards] (PRIuPTR): Likewise.
25668         [C99-based-standards] (PRIxPTR): Likewise.
25669         [C99-based-standards] (PRIXPTR): Likewise.
25670         [C99-based-standards] (SCNdPTR): Likewise.
25671         [C99-based-standards] (SCNiPTR): Likewise.
25672         [C99-based-standards] (SCNoPTR): Likewise.
25673         [C99-based-standards] (SCNuPTR): Likewise.
25674         [C99-based-standards] (SCNxPTR): Likewise.
25675         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25676         allow.
25677         * conform/data/stdint.h-data: Update comments to clarify
25678         requirements.
25679         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25680         type.
25681         [C99-based standards] (INT8_MAX): Likewise.
25682         [C99-based standards] (INT16_MIN): Likewise.
25683         [C99-based standards] (INT16_MAX): Likewise.
25684         [C99-based standards] (INT32_MIN): Likewise.
25685         [C99-based standards] (INT32_MAX): Likewise.
25686         [C99-based standards] (INT64_MIN): Likewise.
25687         [C99-based standards] (INT64_MAX): Likewise.
25688         [C99-based standards] (UINT8_MAX): Likewise.
25689         [C99-based standards] (UINT16_MAX): Likewise.
25690         [C99-based standards] (UINT32_MAX): Likewise.
25691         [C99-based standards] (UINT64_MAX): Likewise.
25692         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25693         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25694         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25695         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25696         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25697         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25698         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25699         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25700         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25701         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25702         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25703         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25704         [C99-based standards] (INT_FAST8_MIN): Likewise.
25705         [C99-based standards] (INT_FAST8_MAX): Likewise.
25706         [C99-based standards] (INT_FAST16_MIN): Likewise.
25707         [C99-based standards] (INT_FAST16_MAX): Likewise.
25708         [C99-based standards] (INT_FAST32_MIN): Likewise.
25709         [C99-based standards] (INT_FAST32_MAX): Likewise.
25710         [C99-based standards] (INT_FAST64_MIN): Likewise.
25711         [C99-based standards] (INT_FAST64_MAX): Likewise.
25712         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25713         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25714         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25715         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25716         [C99-based standards] (INTPTR_MIN): Likewise.
25717         [C99-based standards] (INTPTR_MAX): Likewise.
25718         [C99-based standards] (UINTPTR_MAX): Likewise.
25719         [C99-based standards] (INTMAX_MIN): Likewise.
25720         [C99-based standards] (INTMAX_MAX): Likewise.
25721         [C99-based standards] (UINTMAX_MAX): Likewise.
25722         [C99-based standards] (PTRDIFF_MIN): Likewise.
25723         [C99-based standards] (PTRDIFF_MAX): Likewise.
25724         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25725         [C99-based standards] (SIZE_MAX): Likewise.
25726         [C99-based standards] (WCHAR_MAX): Likewise.
25727         [C99-based standards] (WINT_MAX): Likewise.
25728         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25729         constraint on value.
25730         [C99-based standards] (WCHAR_MIN): Likewise.
25731         [C99-based standards] (WINT_MIN): Likewise.
25732         [C99-based standards] (*_t): Allow.
25733         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25734         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25735         Include math.h-data and complex.h-data.  Remove all expectations
25736         of math.h and complex.h contents.
25737         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25738         at end of line.
25739         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25740         (struct tm): Expect tag.
25741         [C99-based-standards] (wcstof): Expect function.
25742         [C99-based-standards] (wcstold): Likewise.
25743         [C99-based-standards] (wcstoll): Likewise.
25744         [C99-based-standards] (wcstoull): Likewise.
25745         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25746         macro-int-constant.  Specify type.
25747         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25748         constraint on value.
25749         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25750         Specify type.
25751         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25752         Specify value.
25753         [ISO C standards]: Do not allow headers.
25754         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25755         wcs[abcdefghijklmnopqrstuvwxyz]*.
25756         [ISO C standards] (*_t): Do not allow.
25757         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25758         Expect function.
25759         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25760         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25761         Specify type.
25762         [ISO C standards]: Do not allow headers.
25763         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25764         is[abcdefghijklmnopqrstuvwxyz]*.
25765         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25766         to[abcdefghijklmnopqrstuvwxyz]*.
25767         [ISO C standards] (*_t): Do not allow.
25768         * conform/data/stdalign.h-data: New file.
25769         * conform/data/stdbool.h-data: Likewise.
25770         * conform/data/stdnoreturn.h-data: Likewise.
25771
25772 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25773
25774         [BZ #14815]
25775         * manual/filesys.texi (Directory Entries): Typo fix.
25776         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25777
25778 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25779
25780         * elf/elf.h (EM_AARCH64): New macro.
25781         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25782         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25783         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25784         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25785         (R_AARCH64_TLSDESC): Likewise.
25786         (NT_ARM_TLS): Likewise.
25787         (NT_ARM_HW_BREAK): Likewise.
25788         (NT_ARM_HW_WATCH): Likewise.
25789
25790 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25791
25792         [BZ #14811]
25793         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25794         (__ieee754_powl): Saturate nonzero exponents with absolute value
25795         below 0x1p-79 to +/- 0x1p-79.
25796         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25797         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25798         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25799         nonzero exponents with absolute value below 0x1p-32 to +/-
25800         0x1p-32.
25801         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25802         (__ieee754_powl): Saturate nonzero exponents with absolute value
25803         below 0x1p-79 to +/- 0x1p-79.
25804         * math/libm-test.inc (pow_test): Add more tests.
25805
25806 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25807
25808         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25809         _dl_s390_cap_flags with kernel. Increase string length.
25810         (_dl_s390_platforms): Add z196 and zEC12.
25811
25812 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25813
25814         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25815         Change XOPEN21K to XOPEN2K.
25816
25817 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25818
25819         * string/memmove.c: Use memcpy when possible.
25820
25821 2012-11-06  Andreas Jaeger  <aj@suse.de>
25822
25823         * po/eo.po: Update from translation team.
25824
25825 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25826
25827         [BZ #14793]
25828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25829         exponent and small x and y exponents, scale x or y up.  Increase
25830         by 2 the exponent used in scaling up.
25831         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25832         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25833         * math/libm-test.inc (fma_test): Add more tests.
25834         (fma_test_towardzero): Likewise.
25835         (fma_test_downward): Likewise.
25836         (fma_test_upward): Likewise.
25837
25838 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25839
25840         [BZ #14805]
25841         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25842         fenv_t *.
25843
25844         [BZ #14801]
25845         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25846         namespace for names of struct fields.
25847         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25848         fenv_t fields.
25849         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25850         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25851
25852 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25853
25854         [BZ #3665]
25855         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25856
25857 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25858
25859         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25860         PTR_DEMANGLE.
25861
25862         [BZ #5246]
25863         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25864         PTR_DEMANGLE.
25865
25866 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25867
25868         [BZ #14797]
25869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25870         definitely overflow as x * y not x * y + z.
25871         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25873         * math/libm-test.inc (fma_test): Add more tests.
25874         (fma_test_towardzero): Likewise.
25875         (fma_test_downward): Likewise.
25876         (fma_test_upward): Likewise.
25877
25878 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25879
25880         [BZ #157]
25881
25882         * include/stub-tag.h: Remove file.
25883         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25884         '#include' of it.
25885         * manual/maint.texi (Porting): Don't reference it.
25886         * Makerules ($(objpfx)stubs): Likewise.
25887         * dirent/closedir.c: Don't include <stub-tag.h>.
25888         * dirent/dirfd.c: Likewise.
25889         * dirent/fdopendir.c: Likewise.
25890         * dirent/getdents.c: Likewise.
25891         * dirent/getdents64.c: Likewise.
25892         * dirent/opendir.c: Likewise.
25893         * dirent/readdir.c: Likewise.
25894         * dirent/readdir64.c: Likewise.
25895         * dirent/readdir64_r.c: Likewise.
25896         * dirent/readdir_r.c: Likewise.
25897         * dirent/rewinddir.c: Likewise.
25898         * dirent/seekdir.c: Likewise.
25899         * dirent/telldir.c: Likewise.
25900         * gmon/profil.c: Likewise.
25901         * grp/setgroups.c: Likewise.
25902         * inet/if_index.c: Likewise.
25903         * io/access.c: Likewise.
25904         * io/chdir.c: Likewise.
25905         * io/chmod.c: Likewise.
25906         * io/chown.c: Likewise.
25907         * io/close.c: Likewise.
25908         * io/dup.c: Likewise.
25909         * io/dup2.c: Likewise.
25910         * io/dup3.c: Likewise.
25911         * io/euidaccess.c: Likewise.
25912         * io/faccessat.c: Likewise.
25913         * io/fchdir.c: Likewise.
25914         * io/fchmod.c: Likewise.
25915         * io/fchmodat.c: Likewise.
25916         * io/fchown.c: Likewise.
25917         * io/fchownat.c: Likewise.
25918         * io/fcntl.c: Likewise.
25919         * io/flock.c: Likewise.
25920         * io/fstatfs.c: Likewise.
25921         * io/fstatfs64.c: Likewise.
25922         * io/fstatvfs.c: Likewise.
25923         * io/fstatvfs64.c: Likewise.
25924         * io/futimens.c: Likewise.
25925         * io/fxstat.c: Likewise.
25926         * io/fxstat64.c: Likewise.
25927         * io/fxstatat.c: Likewise.
25928         * io/fxstatat64.c: Likewise.
25929         * io/getcwd.c: Likewise.
25930         * io/isatty.c: Likewise.
25931         * io/lchmod.c: Likewise.
25932         * io/lchown.c: Likewise.
25933         * io/link.c: Likewise.
25934         * io/linkat.c: Likewise.
25935         * io/lseek.c: Likewise.
25936         * io/lseek64.c: Likewise.
25937         * io/lxstat64.c: Likewise.
25938         * io/mkdir.c: Likewise.
25939         * io/mkdirat.c: Likewise.
25940         * io/mkfifo.c: Likewise.
25941         * io/mkfifoat.c: Likewise.
25942         * io/open.c: Likewise.
25943         * io/open64.c: Likewise.
25944         * io/openat.c: Likewise.
25945         * io/openat64.c: Likewise.
25946         * io/pipe.c: Likewise.
25947         * io/pipe2.c: Likewise.
25948         * io/poll.c: Likewise.
25949         * io/posix_fadvise.c: Likewise.
25950         * io/posix_fadvise64.c: Likewise.
25951         * io/posix_fallocate.c: Likewise.
25952         * io/posix_fallocate64.c: Likewise.
25953         * io/read.c: Likewise.
25954         * io/readlink.c: Likewise.
25955         * io/readlinkat.c: Likewise.
25956         * io/rmdir.c: Likewise.
25957         * io/sendfile.c: Likewise.
25958         * io/sendfile64.c: Likewise.
25959         * io/statfs.c: Likewise.
25960         * io/statfs64.c: Likewise.
25961         * io/statvfs.c: Likewise.
25962         * io/statvfs64.c: Likewise.
25963         * io/symlink.c: Likewise.
25964         * io/symlinkat.c: Likewise.
25965         * io/ttyname.c: Likewise.
25966         * io/ttyname_r.c: Likewise.
25967         * io/umask.c: Likewise.
25968         * io/unlink.c: Likewise.
25969         * io/unlinkat.c: Likewise.
25970         * io/utime.c: Likewise.
25971         * io/utimensat.c: Likewise.
25972         * io/write.c: Likewise.
25973         * io/xmknod.c: Likewise.
25974         * io/xmknodat.c: Likewise.
25975         * io/xstat.c: Likewise.
25976         * io/xstat64.c: Likewise.
25977         * login/getpt.c: Likewise.
25978         * login/grantpt.c: Likewise.
25979         * login/unlockpt.c: Likewise.
25980         * math/e_acoshl.c: Likewise.
25981         * math/e_acosl.c: Likewise.
25982         * math/e_asinl.c: Likewise.
25983         * math/e_atan2l.c: Likewise.
25984         * math/e_atanhl.c: Likewise.
25985         * math/e_coshl.c: Likewise.
25986         * math/e_expl.c: Likewise.
25987         * math/e_fmodl.c: Likewise.
25988         * math/e_gammal_r.c: Likewise.
25989         * math/e_hypotl.c: Likewise.
25990         * math/e_j0l.c: Likewise.
25991         * math/e_j1l.c: Likewise.
25992         * math/e_jnl.c: Likewise.
25993         * math/e_lgammal_r.c: Likewise.
25994         * math/e_log10l.c: Likewise.
25995         * math/e_log2l.c: Likewise.
25996         * math/e_logl.c: Likewise.
25997         * math/e_powl.c: Likewise.
25998         * math/e_rem_pio2l.c: Likewise.
25999         * math/e_sinhl.c: Likewise.
26000         * math/e_sqrtl.c: Likewise.
26001         * math/fclrexcpt.c: Likewise.
26002         * math/fedisblxcpt.c: Likewise.
26003         * math/feenablxcpt.c: Likewise.
26004         * math/fegetenv.c: Likewise.
26005         * math/fegetexcept.c: Likewise.
26006         * math/fegetround.c: Likewise.
26007         * math/feholdexcpt.c: Likewise.
26008         * math/fesetenv.c: Likewise.
26009         * math/fesetround.c: Likewise.
26010         * math/feupdateenv.c: Likewise.
26011         * math/fgetexcptflg.c: Likewise.
26012         * math/fraiseexcpt.c: Likewise.
26013         * math/fsetexcptflg.c: Likewise.
26014         * math/ftestexcept.c: Likewise.
26015         * math/k_cosl.c: Likewise.
26016         * math/k_rem_pio2l.c: Likewise.
26017         * math/k_sinl.c: Likewise.
26018         * math/k_tanl.c: Likewise.
26019         * math/s_asinhl.c: Likewise.
26020         * math/s_atanl.c: Likewise.
26021         * math/s_cbrtl.c: Likewise.
26022         * math/s_erfl.c: Likewise.
26023         * math/s_expm1l.c: Likewise.
26024         * math/s_log1pl.c: Likewise.
26025         * math/s_tanhl.c: Likewise.
26026         * misc/acct.c: Likewise.
26027         * misc/brk.c: Likewise.
26028         * misc/chflags.c: Likewise.
26029         * misc/chroot.c: Likewise.
26030         * misc/fchflags.c: Likewise.
26031         * misc/fgetxattr.c: Likewise.
26032         * misc/flistxattr.c: Likewise.
26033         * misc/fremovexattr.c: Likewise.
26034         * misc/fsetxattr.c: Likewise.
26035         * misc/fsync.c: Likewise.
26036         * misc/ftruncate.c: Likewise.
26037         * misc/futimes.c: Likewise.
26038         * misc/futimesat.c: Likewise.
26039         * misc/getdomain.c: Likewise.
26040         * misc/getdtsz.c: Likewise.
26041         * misc/gethostid.c: Likewise.
26042         * misc/gethostname.c: Likewise.
26043         * misc/getloadavg.c: Likewise.
26044         * misc/getpagesize.c: Likewise.
26045         * misc/getsysstats.c: Likewise.
26046         * misc/getxattr.c: Likewise.
26047         * misc/gtty.c: Likewise.
26048         * misc/ioctl.c: Likewise.
26049         * misc/lgetxattr.c: Likewise.
26050         * misc/listxattr.c: Likewise.
26051         * misc/llistxattr.c: Likewise.
26052         * misc/lremovexattr.c: Likewise.
26053         * misc/lsetxattr.c: Likewise.
26054         * misc/lutimes.c: Likewise.
26055         * misc/madvise.c: Likewise.
26056         * misc/mincore.c: Likewise.
26057         * misc/mlock.c: Likewise.
26058         * misc/mlockall.c: Likewise.
26059         * misc/mmap.c: Likewise.
26060         * misc/mprotect.c: Likewise.
26061         * misc/msync.c: Likewise.
26062         * misc/munlock.c: Likewise.
26063         * misc/munlockall.c: Likewise.
26064         * misc/munmap.c: Likewise.
26065         * misc/preadv.c: Likewise.
26066         * misc/preadv64.c: Likewise.
26067         * misc/ptrace.c: Likewise.
26068         * misc/pwritev.c: Likewise.
26069         * misc/pwritev64.c: Likewise.
26070         * misc/readv.c: Likewise.
26071         * misc/reboot.c: Likewise.
26072         * misc/remap_file_pages.c: Likewise.
26073         * misc/removexattr.c: Likewise.
26074         * misc/revoke.c: Likewise.
26075         * misc/select.c: Likewise.
26076         * misc/setdomain.c: Likewise.
26077         * misc/setegid.c: Likewise.
26078         * misc/seteuid.c: Likewise.
26079         * misc/sethostid.c: Likewise.
26080         * misc/sethostname.c: Likewise.
26081         * misc/setregid.c: Likewise.
26082         * misc/setreuid.c: Likewise.
26083         * misc/setxattr.c: Likewise.
26084         * misc/sstk.c: Likewise.
26085         * misc/stty.c: Likewise.
26086         * misc/swapoff.c: Likewise.
26087         * misc/swapon.c: Likewise.
26088         * misc/sync.c: Likewise.
26089         * misc/syncfs.c: Likewise.
26090         * misc/syscall.c: Likewise.
26091         * misc/truncate.c: Likewise.
26092         * misc/ualarm.c: Likewise.
26093         * misc/usleep.c: Likewise.
26094         * misc/ustat.c: Likewise.
26095         * misc/utimes.c: Likewise.
26096         * misc/vhangup.c: Likewise.
26097         * misc/writev.c: Likewise.
26098         * posix/_exit.c: Likewise.
26099         * posix/alarm.c: Likewise.
26100         * posix/execve.c: Likewise.
26101         * posix/fexecve.c: Likewise.
26102         * posix/fork.c: Likewise.
26103         * posix/fpathconf.c: Likewise.
26104         * posix/getaddrinfo.c: Likewise.
26105         * posix/getegid.c: Likewise.
26106         * posix/geteuid.c: Likewise.
26107         * posix/getgid.c: Likewise.
26108         * posix/getgroups.c: Likewise.
26109         * posix/getlogin.c: Likewise.
26110         * posix/getlogin_r.c: Likewise.
26111         * posix/getpgid.c: Likewise.
26112         * posix/getpid.c: Likewise.
26113         * posix/getppid.c: Likewise.
26114         * posix/getresgid.c: Likewise.
26115         * posix/getresuid.c: Likewise.
26116         * posix/getsid.c: Likewise.
26117         * posix/getuid.c: Likewise.
26118         * posix/glob64.c: Likewise.
26119         * posix/nanosleep.c: Likewise.
26120         * posix/pathconf.c: Likewise.
26121         * posix/pause.c: Likewise.
26122         * posix/posix_madvise.c: Likewise.
26123         * posix/pread.c: Likewise.
26124         * posix/pread64.c: Likewise.
26125         * posix/pwrite.c: Likewise.
26126         * posix/pwrite64.c: Likewise.
26127         * posix/sched_getaffinity.c: Likewise.
26128         * posix/sched_getp.c: Likewise.
26129         * posix/sched_gets.c: Likewise.
26130         * posix/sched_primax.c: Likewise.
26131         * posix/sched_primin.c: Likewise.
26132         * posix/sched_rr_gi.c: Likewise.
26133         * posix/sched_setaffinity.c: Likewise.
26134         * posix/sched_setp.c: Likewise.
26135         * posix/sched_sets.c: Likewise.
26136         * posix/sched_yield.c: Likewise.
26137         * posix/setgid.c: Likewise.
26138         * posix/setlogin.c: Likewise.
26139         * posix/setpgid.c: Likewise.
26140         * posix/setresgid.c: Likewise.
26141         * posix/setresuid.c: Likewise.
26142         * posix/setsid.c: Likewise.
26143         * posix/setuid.c: Likewise.
26144         * posix/sleep.c: Likewise.
26145         * posix/spawni.c: Likewise.
26146         * posix/sysconf.c: Likewise.
26147         * posix/times.c: Likewise.
26148         * posix/wait.c: Likewise.
26149         * posix/wait3.c: Likewise.
26150         * posix/wait4.c: Likewise.
26151         * posix/waitpid.c: Likewise.
26152         * resolv/gai_sigqueue.c: Likewise.
26153         * resource/getpriority.c: Likewise.
26154         * resource/getrlimit.c: Likewise.
26155         * resource/getrusage.c: Likewise.
26156         * resource/nice.c: Likewise.
26157         * resource/setpriority.c: Likewise.
26158         * resource/setrlimit.c: Likewise.
26159         * resource/ulimit.c: Likewise.
26160         * rt/aio_cancel.c: Likewise.
26161         * rt/aio_fsync.c: Likewise.
26162         * rt/aio_read.c: Likewise.
26163         * rt/aio_sigqueue.c: Likewise.
26164         * rt/aio_suspend.c: Likewise.
26165         * rt/aio_write.c: Likewise.
26166         * rt/clock_getres.c: Likewise.
26167         * rt/clock_gettime.c: Likewise.
26168         * rt/clock_nanosleep.c: Likewise.
26169         * rt/clock_settime.c: Likewise.
26170         * rt/lio_listio.c: Likewise.
26171         * rt/mq_close.c: Likewise.
26172         * rt/mq_getattr.c: Likewise.
26173         * rt/mq_notify.c: Likewise.
26174         * rt/mq_open.c: Likewise.
26175         * rt/mq_receive.c: Likewise.
26176         * rt/mq_send.c: Likewise.
26177         * rt/mq_setattr.c: Likewise.
26178         * rt/mq_timedreceive.c: Likewise.
26179         * rt/mq_timedsend.c: Likewise.
26180         * rt/mq_unlink.c: Likewise.
26181         * rt/shm_open.c: Likewise.
26182         * rt/shm_unlink.c: Likewise.
26183         * rt/timer_create.c: Likewise.
26184         * rt/timer_delete.c: Likewise.
26185         * rt/timer_getoverr.c: Likewise.
26186         * rt/timer_gettime.c: Likewise.
26187         * rt/timer_settime.c: Likewise.
26188         * setjmp/__longjmp.c: Likewise.
26189         * setjmp/setjmp.c: Likewise.
26190         * signal/kill.c: Likewise.
26191         * signal/killpg.c: Likewise.
26192         * signal/raise.c: Likewise.
26193         * signal/sigaction.c: Likewise.
26194         * signal/sigaltstack.c: Likewise.
26195         * signal/sigblock.c: Likewise.
26196         * signal/sigignore.c: Likewise.
26197         * signal/sigintr.c: Likewise.
26198         * signal/signal.c: Likewise.
26199         * signal/sigpause.c: Likewise.
26200         * signal/sigpending.c: Likewise.
26201         * signal/sigqueue.c: Likewise.
26202         * signal/sigreturn.c: Likewise.
26203         * signal/sigset.c: Likewise.
26204         * signal/sigsetmask.c: Likewise.
26205         * signal/sigstack.c: Likewise.
26206         * signal/sigsuspend.c: Likewise.
26207         * signal/sigtimedwait.c: Likewise.
26208         * signal/sigvec.c: Likewise.
26209         * signal/sigwait.c: Likewise.
26210         * signal/sigwaitinfo.c: Likewise.
26211         * signal/sysv_signal.c: Likewise.
26212         * socket/accept.c: Likewise.
26213         * socket/accept4.c: Likewise.
26214         * socket/bind.c: Likewise.
26215         * socket/connect.c: Likewise.
26216         * socket/getpeername.c: Likewise.
26217         * socket/getsockname.c: Likewise.
26218         * socket/getsockopt.c: Likewise.
26219         * socket/isfdtype.c: Likewise.
26220         * socket/listen.c: Likewise.
26221         * socket/recv.c: Likewise.
26222         * socket/recvfrom.c: Likewise.
26223         * socket/recvmsg.c: Likewise.
26224         * socket/send.c: Likewise.
26225         * socket/sendmsg.c: Likewise.
26226         * socket/sendto.c: Likewise.
26227         * socket/setsockopt.c: Likewise.
26228         * socket/shutdown.c: Likewise.
26229         * socket/sockatmark.c: Likewise.
26230         * socket/socket.c: Likewise.
26231         * socket/socketpair.c: Likewise.
26232         * stdio-common/ctermid.c: Likewise.
26233         * stdio-common/cuserid.c: Likewise.
26234         * stdio-common/remove.c: Likewise.
26235         * stdio-common/rename.c: Likewise.
26236         * stdio-common/renameat.c: Likewise.
26237         * stdio-common/tempname.c: Likewise.
26238         * stdlib/getcontext.c: Likewise.
26239         * stdlib/makecontext.c: Likewise.
26240         * stdlib/setcontext.c: Likewise.
26241         * stdlib/swapcontext.c: Likewise.
26242         * stdlib/system.c: Likewise.
26243         * streams/fattach.c: Likewise.
26244         * streams/fdetach.c: Likewise.
26245         * streams/getmsg.c: Likewise.
26246         * streams/getpmsg.c: Likewise.
26247         * streams/putmsg.c: Likewise.
26248         * streams/putpmsg.c: Likewise.
26249         * sysdeps/unix/bsd/getpt.c: Likewise.
26250         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26251         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26252         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26254         Likewise.
26255         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26256         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26257         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26258         * sysvipc/msgctl.c: Likewise.
26259         * sysvipc/msgget.c: Likewise.
26260         * sysvipc/msgrcv.c: Likewise.
26261         * sysvipc/msgsnd.c: Likewise.
26262         * sysvipc/semctl.c: Likewise.
26263         * sysvipc/semget.c: Likewise.
26264         * sysvipc/semop.c: Likewise.
26265         * sysvipc/semtimedop.c: Likewise.
26266         * sysvipc/shmat.c: Likewise.
26267         * sysvipc/shmctl.c: Likewise.
26268         * sysvipc/shmdt.c: Likewise.
26269         * sysvipc/shmget.c: Likewise.
26270         * termios/tcdrain.c: Likewise.
26271         * termios/tcflow.c: Likewise.
26272         * termios/tcflush.c: Likewise.
26273         * termios/tcgetattr.c: Likewise.
26274         * termios/tcgetpgrp.c: Likewise.
26275         * termios/tcsendbrk.c: Likewise.
26276         * termios/tcsetattr.c: Likewise.
26277         * termios/tcsetpgrp.c: Likewise.
26278         * time/adjtime.c: Likewise.
26279         * time/clock.c: Likewise.
26280         * time/getitimer.c: Likewise.
26281         * time/gettimeofday.c: Likewise.
26282         * time/setitimer.c: Likewise.
26283         * time/settimeofday.c: Likewise.
26284         * time/stime.c: Likewise.
26285         * time/time.c: Likewise.
26286
26287 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26288
26289         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26290         /usr/old/bin.
26291
26292         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26293         instead of spaces.
26294         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26295
26296 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26297
26298         [BZ #14796]
26299         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26300         FE_TONEAREST before applying Dekker multiplication and Knuth
26301         addition.  Clear inexact exceptions and check for exact zero
26302         results afterwards.
26303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26304         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26306         * math/libm-test.inc (fma_test): Add more tests.
26307         (fma_test_towardzero): Likewise.
26308         (fma_test_downward): Likewise.
26309         (fma_test_upward): Likewise.
26310         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26311         function.
26312         (libc_fesetround): New macro.
26313         (libc_fesetroundf): Likewise.
26314         (libc_fesetroundl): Likewise.
26315         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26316         function.
26317         (libc_fesetround_387): Likewise.
26318         (libc_fesetroundf): New macro.
26319         (libc_fesetround): Likewise.
26320         (libc_fesetroundl): Likewise.
26321         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26322         function.
26323         (libc_fesetroundf): New macro.
26324         (libc_fesetround): Likewise.
26325         (libc_fesetroundl): Likewise.
26326         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26327         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26328         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26329         libm_hidden_ver.
26330         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26331         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26332         libm_hidden_def.
26333         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26334         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26335         libm_hidden_ver.
26336         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26337         libm_hidden_def.
26338
26339         [BZ #3439]
26340         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26341         integer constant usable in #if and use that to give value to enum
26342         constant.
26343         (FE_DIVBYZERO): Likewise.
26344         (FE_UNDERFLOW): Likewise.
26345         (FE_OVERFLOW): Likewise.
26346         (FE_INVALID): Likewise.
26347         (FE_INVALID_SNAN): Likewise.
26348         (FE_INVALID_ISI): Likewise.
26349         (FE_INVALID_IDI): Likewise.
26350         (FE_INVALID_ZDZ): Likewise.
26351         (FE_INVALID_IMZ): Likewise.
26352         (FE_INVALID_COMPARE): Likewise.
26353         (FE_INVALID_SOFTWARE): Likewise.
26354         (FE_INVALID_SQRT): Likewise.
26355         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26356         (FE_TONEAREST): Likewise.
26357         (FE_TOWARDZERO): Likewise.
26358         (FE_UPWARD): Likewise.
26359         (FE_DOWNWARD): Likewise.
26360         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26361         (FE_DIVBYZERO): Likewise.
26362         (FE_OVERFLOW): Likewise.
26363         (FE_UNDERFLOW): Likewise.
26364         (FE_INEXACT): Likewise.
26365         (FE_TONEAREST): Likewise.
26366         (FE_DOWNWARD): Likewise.
26367         (FE_UPWARD): Likewise.
26368         (FE_TOWARDZERO): Likewise.
26369         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26370         (FE_UNDERFLOW): Likewise.
26371         (FE_OVERFLOW): Likewise.
26372         (FE_DIVBYZERO): Likewise.
26373         (FE_INVALID): Likewise.
26374         (FE_TONEAREST): Likewise.
26375         (FE_TOWARDZERO): Likewise.
26376         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26377         (FE_OVERFLOW): Likewise.
26378         (FE_UNDERFLOW): Likewise.
26379         (FE_DIVBYZERO): Likewise.
26380         (FE_INEXACT): Likewise.
26381         (FE_TONEAREST): Likewise.
26382         (FE_TOWARDZERO): Likewise.
26383         (FE_UPWARD): Likewise.
26384         (FE_DOWNWARD): Likewise.
26385         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26386         (FE_DIVBYZERO): Likewise.
26387         (FE_OVERFLOW): Likewise.
26388         (FE_UNDERFLOW): Likewise.
26389         (FE_INEXACT): Likewise.
26390         (FE_TONEAREST): Likewise.
26391         (FE_DOWNWARD): Likewise.
26392         (FE_UPWARD): Likewise.
26393         (FE_TOWARDZERO): Likewise.
26394
26395 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26396
26397         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26398
26399 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26400
26401         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26402         commands.  Quote $PWD.
26403         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26404         -x" by "export".
26405         (remove_newlines): Remove.
26406
26407 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26408
26409         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26410         * stdlib/stdlib.h (atof): Moved to ...
26411         * include/bits/stdlib-float.h: Here.  New file.
26412         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26413         * stdlib/bits/stdlib-float.h: New file.
26414         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26415         -mno-sse -mno-mmx.
26416         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26417         <xmmintrin.h>.
26418
26419 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26420
26421         * conform/conformtest.pl (@headers): Add fenv.h.
26422         * conform/data/fenv.h-data: New file.
26423         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26424         include of <math/fenv.h>.
26425
26426         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26427         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26428         && !UNIX98].  Enables tests for XOPEN2K8.
26429         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26430         POSIX2008]: Likewise.
26431
26432         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26433         (struct rusage): Do not expect type or its members.
26434
26435         [BZ #3439]
26436         * math/math.h (FP_NAN): Define macro to integer constant usable in
26437         #if and use that to give value to enum constant.
26438         (FP_INFINITE): Likewise.
26439         (FP_ZERO): Likewise.
26440         (FP_SUBNORMAL): Likewise.
26441         (FP_NORMAL): Likewise.
26442
26443 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26444
26445         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26446         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26447         arguments.
26448
26449 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26450
26451         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26452         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26453         autoconf-time if not.
26454         * configure.in: Remove AC_PREREQ.
26455
26456 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26457
26458         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26459         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26460         of the internal implementation.
26461
26462 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26463
26464         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26465         except include of <misc/sys/syslog.h>.
26466
26467 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26468
26469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26470         function returns with a NULL context exit with zero.
26471
26472 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26473
26474         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26475
26476 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26477
26478         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26479         (run_program_cmd): This.
26480         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26481         (tst_langinfo): New variable.  Use it.
26482
26483 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26484
26485         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26486         floating point opcodes.
26487
26488 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26489
26490         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26491         variable.
26492
26493         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26494
26495         * sysdeps/mach/hurd/powerpc: Remove directory.
26496         * sysdeps/mach/powerpc: Likewise.
26497
26498 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26499
26500         * scripts/check-local-headers.sh: Ignore c++ headers.
26501
26502 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26503
26504         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26505         __libc_cleanup_region_start argument.
26506
26507 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26508
26509         [BZ #14784]
26510         [BZ #14785]
26511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26512         x * y using scaling, not as x * y + z.
26513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26515         * math/libm-test.inc (fma_test): Add more tests.
26516         (fma_test_towardzero): Likewise.
26517         (fma_test_downward): Likewise.
26518         (fma_test_upward): Likewise.
26519
26520 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26521
26522         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26523
26524 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26525
26526         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26527         New variable.
26528
26529 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26530
26531         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26532
26533 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26534
26535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26536         Fix sort order.
26537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26538         Likewise.
26539
26540 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26541
26542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26543         Fix the order of the list for glibc 2.17.
26544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26545         Likewise.
26546
26547 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26548
26549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26550
26551 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26552
26553         [BZ #14610]
26554         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26555         for low part of x being zero before using __atanl (y).
26556         * math/libm-test.inc (atan2_test): Add another test.
26557
26558         * manual/install.texi (Configuring and compiling): Document
26559         general use of test-wrapper and test-wrapper-env.
26560         * INSTALL: Regenerated.
26561
26562         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26563         (__fma): Do not extract and scale down low bits on after-rounding
26564         systems when result rounded to normal precision would have normal
26565         exponent.
26566         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26567         (__fmal): Do not extract and scale down low bits on after-rounding
26568         systems when result rounded to normal precision would have normal
26569         exponent.
26570         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26571         (__fmal): Do not extract and scale down low bits on after-rounding
26572         systems when result rounded to normal precision would have normal
26573         exponent.
26574         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26575         macro.
26576         (fma_test): Add more tests.
26577         (fma_test_towardzero): Likewise.
26578         (fma_test_downward): Likewise.
26579         (fma_test_upward): Likewise.
26580
26581 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26582
26583         * sysdeps/i386/tininess.h: Renamed to ...
26584         * sysdeps/x86/tininess.h: This.
26585         * sysdeps/x86_64/tininess.h: Removed.
26586
26587 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26588
26589         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26590         input.  Use $(build-program-cmd).
26591         ($(objpfx)tst-array1-static.out): Likewise.
26592         ($(objpfx)tst-array2.out): Likewise.
26593         ($(objpfx)tst-array3.out): Likewise.
26594         ($(objpfx)tst-array4.out): Likewise.
26595         ($(objpfx)tst-array5.out): Likewise.
26596         ($(objpfx)tst-array5-static.out): Likewise.
26597
26598 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26599
26600         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26601         if defined.
26602
26603         * nss/nsswitch.h (nss_interface_function): Provide new
26604         macro for use with NSS functions.
26605         * grp/initgroups.c: Use new macro.
26606         * nss/getXXbyYY.c: Likewise.
26607         * nss/getXXbyYY_r.c: Likewise.
26608         * nss/getXXent.c: Likewise.
26609         * nss/getXXent_r.c: Likewise.
26610         * sysdeps/posix/getaddrinfo.c: Likewise.
26611
26612 2012-10-30  Andreas Jaeger  <aj@suse.de>
26613
26614         * po/ru.po: Update Russion translation from translation project.
26615
26616 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26617
26618         [BZ #14152]
26619         [BZ #14783]
26620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26621         result and shift together with sticky bit instead of replicating
26622         round-to-nearest rounding.
26623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26625         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26626         missing underflow exceptions.
26627         (fma_test_towardzero): Add more tests.
26628         (fma_test_downward): Likewise.
26629         (fma_test_upward): Likewise.
26630
26631         [BZ #14047]
26632         * sysdeps/generic/tininess.h: New file.
26633         * sysdeps/i386/tininess.h: Likewise.
26634         * sysdeps/sh/tininess.h: Likewise.
26635         * sysdeps/x86_64/tininess.h: Likewise.
26636         * stdlib/tst-strtod-underflow.c: Likewise.
26637         * stdlib/tst-tininess.c: Likewise.
26638         * stdlib/strtod_l.c: Include <tininess.h>.
26639         (round_and_return): Do not set errno for exact underflow cases.
26640         Force an underflow exception when setting errno for underflow.
26641         Determine underflow based on rounding to normal precision if
26642         TININESS_AFTER_ROUNDING.
26643         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26644         ERANGE for exact underflow cases.
26645         * stdlib/Makefile (tests): Add tst-tininess and
26646         tst-strtod-underflow.
26647         ($(objpfx)tst-tininess): Use $(link-libm).
26648         ($(objpfx)tst-strtod-underflow): Likewise.
26649
26650 2012-10-30  Andreas Jaeger  <aj@suse.de>
26651
26652         [BZ#14767]
26653         * elf/Makefile (tests): Remove conditional for have-initfini-array
26654         since this is now always required and the variable does not exist
26655         anymore.
26656         (tests-static): Likewise.
26657         (modules-names): Likewise.
26658
26659         * po/eo.po: Add Esperanto translation from translation project.
26660
26661         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26662         merged with constructor/destructor.
26663         (init_array): Likewise.
26664         * elf/tst-array2dep.c (fini_array): Likewise.
26665         (init_array): Likewise.
26666
26667 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26668
26669         * manual/message.texi: Delete @cartouche tags.
26670
26671 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26672
26673         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26674         EOPNOTSUPP.
26675         * sysdeps/mach/hurd/fsync.c: Likewise.
26676
26677         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26678         [_POSIX_REALTIME_SIGNALS]: Change condition to
26679         [_POSIX_REALTIME_SIGNALS > 0].
26680
26681 2012-10-27  Andreas Jaeger  <aj@suse.de>
26682
26683         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26684         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26686         [__WORDSIZE != 64]: Likewise.
26687
26688 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26689
26690         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26691         *  iconvdata/tst-tables.sh: Likewise.
26692
26693 2012-10-25  David S. Miller  <davem@davemloft.net>
26694
26695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26696         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26697         of strtoull.
26698
26699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26700         ifunc-impl-list.c
26701         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26702         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26703         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26704         file.
26705
26706 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26707
26708         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26709         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26710         __getdirentries.
26711
26712 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26713             Jim Blandy  <jimb@codesourcery.com>
26714
26715         * scripts/cross-test-ssh.sh: New file.
26716         * manual/install.texi (Configuring and compiling): Document use of
26717         cross-test-ssh.sh.
26718         * INSTALL: Regenerated.
26719
26720 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26721
26722         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26723         EOPNOTSUPP.
26724
26725 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26726
26727         * Makeconfig (run-program-prefix): Fix comment.
26728
26729 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26730             Jim Blandy  <jimb@codesourcery.com>
26731
26732         * Makeconfig (test-wrapper): New variable,
26733         (test-wrapper-env): Likewise.
26734         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26735         (run-built-tests): Define to yes.
26736         (run-program-prefix): Use $(test-wrapper).
26737         (built-program-cmd): Likewise.
26738         * Rules (make-test-out): Use $(test-wrapper-env) and
26739         $(host-built-program-cmd).
26740         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26741         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26742         tst-pathopt.sh.
26743         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26744         $(test-wrapper-env) to tst-rtld-load-self.sh.
26745         ($(objpfx)order2.out): Use $(test-wrapper).
26746         ($(objpfx)tst-initorder.out): Likewise.
26747         ($(objpfx)tst-initorder2.out): Likewise.
26748         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26749         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26750         (test_wrapper_env): New variable.  Use it to run ld.so.
26751         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26752         Use it to run ld.so.
26753         (test_wrapper_env): Likewise.
26754         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26755         $(test-wrapper) to run-iconv-test.sh.
26756         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26757         (ICONV): Use $test_wrapper.
26758         * posix/Makefile ($(objpfx)globtest.out): Pass
26759         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26760         globtest.sh, not $(run-program-prefix).
26761         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26762         (test_wrapper): Likewise.
26763         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26764         set together with run_via_rtld_prefix.
26765         (run_program_prefix): Define in terms of test_wrapper and
26766         run_via_rtld_prefix.
26767
26768 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26769
26770         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26771         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26772         Targets removed.
26773
26774         [BZ #14743]
26775         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26776         Declare __clock_getres, __clock_gettime, __clock_settime,
26777         __clock_nanosleep, and __clock_getcpuclockid.
26778         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26779         Remove librt_hidden_def (clock_gettime).
26780         * sysdeps/unix/clock_gettime.c: Likewise.
26781         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26782         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26783         * rt/clock_getres.c: Define __clock_getres as an alias.
26784         * sysdeps/posix/clock_getres.c: Likewise.
26785         * rt/clock_settime.c: Define __clock_settime as an alias.
26786         * sysdeps/unix/clock_settime.c: Likewise.
26787         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26788         * sysdeps/unix/clock_nanosleep.c: Likewise.
26789         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26790         * rt/clock-compat.c: New file.
26791         * rt/Makefile (librt-routines): Add clock-compat and move
26792         $(clock-routines) to ...
26793         (routines): ... here, new variable.
26794         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26795         Don't add get_clockfreq here.
26796         * rt/Versions (libc: GLIBC_2.17): New version set.
26797         Add clock_* symbols here.
26798         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26799         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26800         (GLIBC_2.17): Add clock_* symbols.
26801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26805         Likewise.
26806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26807         Likewise.
26808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26812         * NEWS: Mention the move.
26813
26814         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26815         Use __open, __read, __close rather than their public counterparts.
26816         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26817         (__get_clockfreq_via_cpuinfo): Likewise.
26818         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26819         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26820
26821         * config.h.in (HAVE_IFUNC): New #undef.
26822         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26823         was successful.
26824         * configure: Regenerated.
26825
26826 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26827
26828         * configure.in: Move READELF check to start of file.
26829         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26830         libc_cv_asm_gnu_indirect_function in the process.
26831         * configure: Regenerated.
26832
26833 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26834
26835         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26836         send the output to /dev/null.
26837         (libc_cv_cc_with_libunwind): Likewise.
26838         (libc_cv_as_noexecstack): Likewise.
26839         * configure: Regenerate.
26840
26841 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26842
26843         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26844
26845         * posix/globtest.sh (TMPDIR): Do not set.
26846         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26847         (testout): Likewise.
26848
26849 2012-10-24  Andreas Jaeger  <aj@suse.de>
26850
26851         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26852         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26853         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26854         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26855         posix_fadvise64, posix_fallocate64.
26856
26857         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26858         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26859         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26860         Likewise.
26861         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26862         Likewise.
26863         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26864
26865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26866         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26867         <bits/fcntl-linux.h>.
26868         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26869
26870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26871         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26872         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26873         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26874         [__WORDSIZE != 64]: Likewise.
26875
26876 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26877
26878         * Makeconfig (run-built-tests): New variable.
26879         * Rules [$(cross-compiling) = yes]: Change condition to
26880         [$(run-built-tests) = no].
26881         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26882         to [$(run-built-tests) = yes].
26883         * elf/Makefile [$(cross-compiling) = no]: Likewise
26884         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26885         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26886         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26887         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26888         * io/Makefile [$(cross-compiling) = no]: Likewise.
26889         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26890         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26891         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26892         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26893         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26894         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26895         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26896         * string/Makefile [$(cross-compiling) = no]: Likewise.
26897
26898         * posix/Makefile ($(objpfx)globtest.out): Pass
26899         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26900         $(rtld-installed-name).
26901         * posix/globtest.sh (elf_objpfx): Remove variable.
26902         (rtld_installed_name): Likewise.
26903         (library_path): Likewise.
26904         (run_program_prefix): New variable.  Use for running globtest
26905         binary.
26906
26907 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26908             Joseph Myers  <joseph@codesourcery.com>
26909
26910         * Makeconfig (host-built-program-cmd): New variable.
26911         * elf/Makefile (tst-stackguard1-ARGS): Use
26912         $(host-built-program-cmd).
26913         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26914         (tst-spawn-ARGS): Likewise.
26915         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26916
26917 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26918             Jim Blandy  <jimb@codesourcery.com>
26919
26920         * Makeconfig (run-via-rtld-prefix): New variable.
26921         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26922         (built-program-cmd): Likewise.
26923
26924 2012-10-22  Andreas Jaeger  <aj@suse.de>
26925
26926         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26927         __O_RSYNC if it exists, otherwise to O_SYNC.
26928
26929 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26930             Joseph Myers  <joseph@codesourcery.com>
26931
26932         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26933         /dev/null.
26934         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26935         from /dev/null
26936         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26937         /dev/null.
26938
26939 2012-10-22  Andreas Jaeger  <aj@suse.de>
26940
26941         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26942         Define always.
26943         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26944
26945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26946         bits/fcntl-linux.h.
26947
26948         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26949         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26950
26951         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26952         to __O_LARGEFILE.
26953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26954         to __O_LARGEFILE.
26955
26956 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26957             Joseph Myers  <joseph@codesourcery.com>
26958
26959         * config.make.in (NM): New variable.
26960
26961 2012-10-21  Andreas Jaeger  <aj@suse.de>
26962
26963         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26964         definitions and declarations that are provided by
26965         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26966
26967 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26968
26969         [BZ #14683]
26970         * elf/Makefile (tests-static): Add tst-leaks1-static.
26971         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26972         ($(objpfx)tst-leaks1-static): New rule.
26973         ($(objpfx)tst-leaks1-static-mem): Likewise.
26974         (tst-leaks1-static-ENV): New macro.
26975         * elf/dl-open.c (dl_open_worker): Check the main application
26976         only if SHARED is defined.
26977         * elf/tst-leaks1-static.c: New file.
26978
26979 2012-10-20  Andreas Jaeger  <aj@suse.de>
26980
26981         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26982         generic values for Linux.
26983         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26984         and declarations that are provided by <bits/fcntl-linux.h> and
26985         include <bits/fcntl-linux.h>.
26986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26987         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26988
26989 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26990
26991         * io/fcntl.h: Move include of <bits/types.h> to the top and
26992         include it unconditionally.
26993
26994 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26995
26996         * wcsmbs/Makefile (tests-ifunc): New variable.
26997         (tests): Add $(tests-ifunc).
26998         * wcsmbs/test-wcschr-ifunc.c: New file.
26999         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27000         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27001         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27002         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27003         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27004
27005         * string/Makefile (tests-ifunc): New variable.
27006         (tests): Add $(tests-ifunc).
27007         * string/test-memccpy.c (TEST_NAME): New macro.
27008         * string/test-memchr.c (TEST_NAME): Likewise.
27009         * string/test-memcmp.c (TEST_NAME): Likewise.
27010         * string/test-memcpy.c (TEST_NAME): Likewise.
27011         * string/test-memmem.c (TEST_NAME): Likewise.
27012         * string/test-memmove.c (TEST_NAME): Likewise.
27013         * string/test-memset.c (TEST_NAME): Likewise.
27014         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27015         * string/test-stpcpy.c (TEST_NAME): Likewise.
27016         * string/test-stpncpy.c (TEST_NAME): Likewise.
27017         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27018         * string/test-strcasestr.c (TEST_NAME): Likewise.
27019         * string/test-strcat.c (TEST_NAME): Likewise.
27020         * string/test-strchr.c (TEST_NAME): Likewise.
27021         * string/test-strcmp.c(TEST_NAME): Likewise.
27022         * string/test-strcpy.c (TEST_NAME): Likewise.
27023         * string/test-strcspn.c (TEST_NAME): Likewise.
27024         * string/test-strlen.c (TEST_NAME): Likewise.
27025         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27026         * string/test-strncmp.c (TEST_NAME): Likewise.
27027         * string/test-strncpy.c (TEST_NAME): Likewise.
27028         * string/test-strnlen.c (TEST_NAME): Likewise.
27029         * string/test-strpbrk.c (TEST_NAME): Likewise.
27030         * string/test-strrchr.c (TEST_NAME): Likewise.
27031         * string/test-strspn.c (TEST_NAME): Likewise.
27032         * string/test-strstr.c (TEST_NAME): Likewise.
27033         * string/test-bcopy-ifunc.c: New file.
27034         * string/test-bzero-ifunc.c: Likewise.
27035         * string/test-memccpy-ifunc.c: Likewise.
27036         * string/test-memchr-ifunc.c: Likewise.
27037         * string/test-memcmp-ifunc.c: Likewise.
27038         * string/test-memcpy-ifunc.c: Likewise.
27039         * string/test-memmem-ifunc.c: Likewise.
27040         * string/test-memmove-ifunc.c: Likewise.
27041         * string/test-mempcpy-ifunc.c: Likewise.
27042         * string/test-memset-ifunc.c: Likewise.
27043         * string/test-rawmemchr-ifunc.c: Likewise.
27044         * string/test-stpcpy-ifunc.c: Likewise.
27045         * string/test-stpncpy-ifunc.c: Likewise.
27046         * string/test-strcasecmp-ifunc.c: Likewise.
27047         * string/test-strcasestr-ifunc.c: Likewise.
27048         * string/test-strcat-ifunc.c: Likewise.
27049         * string/test-strchr-ifunc.c: Likewise.
27050         * string/test-strchrnul-ifunc.c: Likewise.
27051         * string/test-strcmp-ifunc.c: Likewise.
27052         * string/test-strcpy-ifunc.c: Likewise.
27053         * string/test-strcspn-ifunc.c: Likewise.
27054         * string/test-strlen-ifunc.c: Likewise.
27055         * string/test-strncasecmp-ifunc.c: Likewise.
27056         * string/test-strncat-ifunc.c: Likewise.
27057         * string/test-strncmp-ifunc.c: Likewise.
27058         * string/test-strncpy-ifunc.c: Likewise.
27059         * string/test-strnlen-ifunc.c: Likewise.
27060         * string/test-strpbrk-ifunc.c: Likewise.
27061         * string/test-strrchr-ifunc.c: Likewise.
27062         * string/test-strspn-ifunc.c: Likewise.
27063         * string/test-strstr-ifunc.c: Likewise.
27064
27065         * debug/Makefile (tests-ifunc): New variable.
27066         (tests): Add $(tests-ifunc).
27067         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27068         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27069         * debug/test-stpcpy_chk-ifunc.c: New file.
27070         * debug/test-strcpy_chk-ifunc.c: Likewise.
27071
27072 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27073
27074         [BZ #13601]
27075         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27076         header is not read in.
27077
27078 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27079
27080         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27081         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27082         directly.  Pass built executable to script as
27083         $(built-program-cmd).
27084         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27085         $testprogram without using LD_LIBRARY_PATH and $ldso.
27086
27087         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27088         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27089         $(rtld-installed-name).
27090         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27091         (rtld_installed_name): Likewise.
27092         (library_path): Likewise.
27093         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27094         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27095         $(run-program-prefix) to tst-tables.sh.
27096         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27097         it to run tst-table-from and tst-table-to.
27098         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27099         Pass it to tst-table.sh.
27100         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27101         $(run-program-prefix) to tst-gettext.sh.
27102         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27103         tst-translit.sh.
27104         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27105         tst-gettext2.sh.
27106         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27107         to run tst-gettext.
27108         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27109         to run tst-gettext2.
27110         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27111         to run tst-translit.
27112         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27113         $(run-program-prefix) to tst-mtrace.sh.
27114         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27115         to run tst-mtrace.
27116         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27117         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27118         $(rtld-installed-name).
27119         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27120         (rtld_installed_name): Likewise.
27121         (run_program_prefix): New variable.  Use it to run wordexp-test.
27122
27123         * Makeconfig (ARCH): Remove all definitions.
27124         (machine): Likewise.
27125         [ARCH]: Remove conditional code.
27126         [!objdir]: Give error.
27127         [!objdir] (objpfx): Remove.
27128         [!objdir] (common-objpfx): Likewise.
27129         [!objdir] (common-objdir): Likewise.
27130         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27131         AC_CONFIG_FILES call.
27132         * configure: Regenerated.
27133
27134         [BZ #13888]
27135         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27136         or TMPDIR.
27137         (testout): Likewise.
27138
27139         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27140         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27141         $(rtld-installed-name).
27142         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27143         (rtld_installed_name): Likwise.
27144         (runit): Remove function.
27145         (run_getconf): New variable,  Use it for running getconf binary.
27146
27147 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27148
27149         [BZ #14716]
27150         * string/test-memmem.c (check_result): New function.
27151         (do_one_test): Use it.
27152         (check1): New function.
27153         (test_main): Use it.
27154
27155 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27156
27157         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27158
27159 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27160
27161         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27162         (_G_LSEEK64): Likewise.
27163         (_G_MMAP64): Likewise.
27164         (_G_FSTAT64): Likewise.
27165         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27166         (_G_LSEEK64): Likewise.
27167         (_G_MMAP64): Likewise.
27168         (_G_FSTAT64): Likewise.
27169         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27170         unconditional.  Call __mmap64 directly.
27171         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27172         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27173         __lseek64 directly.
27174         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27175         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27176         __mmap64 directly.
27177         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27178         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27179         __lseek64 directly.
27180         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27181         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27182         __lseek64 directly.
27183         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27184         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27185         __lseek64 directly.
27186         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27187         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27188         __fxstat64 directly.
27189         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27190         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27191         unconditional.
27192         (freopen64) [!_G_OPEN64]: Remove conditional code.
27193         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27194         unconditional.
27195         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27196         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27197         unconditional.
27198         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27199         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27200         unconditional.
27201         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27202         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27203         unconditional.
27204         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27205         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27206         unconditional.
27207         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27208         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27209         unconditional.
27210         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27211         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27212         unconditional.
27213         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27214
27215 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27216
27217         [BZ #12140]
27218         * manual/memory.texi (Malloc Tunable Parameters): Add note
27219         about free list pointers overwriting some perturb bytes.
27220         Wording suggested by Roland McGrath.
27221
27222 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27223
27224         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27225         (lgamma_test): Likewise.
27226         (tgamma_test): Likewise.
27227
27228 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27229
27230         [BZ #14700]
27231         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27232         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27233
27234 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27235
27236         * NEWS: Mention BZ #14716.
27237         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27238         when removing AVAILABLE1_USES_J macro.
27239
27240 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27241
27242         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27243         (__bswap_64): __uint64_t for unsigned 64-bit int.
27244
27245 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27246
27247         * include/string.h (memmem): Declare libc hidden alias.
27248         * string/memmem.c (memmem): Define libc hidden alias.
27249         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27250         __read, __close instead of open, read, close.
27251
27252 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27253
27254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27255         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27256         global and hidden.
27257         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27258         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27259         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27260         Likewise.
27261         (__rawmemchr_sse2): Likewise.
27262         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27263         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27264         (__strchr_sse2): Likewise.
27265         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27266         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27267         (__strcasecmp_sse2): Likewise.
27268         (__strncasecmp_sse2): Likewise.
27269         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27270         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27271         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27272         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27273         (__strrchr_sse2): Likewise.
27274         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27275         ifunc-impl-list.c.
27276         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27277         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27278         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27279         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27280         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27281         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27282         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27283         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27284         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27285         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27286         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27287         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27288         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27289         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27290         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27291         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27292         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27293         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27294         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27295         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27296         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27297         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27298         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27299         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27300         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27301         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27302         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27303         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27304         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27305         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27306
27307         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27308         global and hidden.
27309         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27310         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27311         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27312         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27313         Likewise.
27314         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27315         Likewise.
27316         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27317         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27318         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27319         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27320         ifunc-impl-list.c.
27321         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27322         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27323         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27324         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27325         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27326         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27327         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27328         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27329         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27330         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27331         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27332         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27333         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27334         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27335         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27336         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27337         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27338         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27339         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27340         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27341         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27342         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27343         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27344         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27345         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27346         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27347         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27348         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27349         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27350         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27351         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27352         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27353         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27354         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27355         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27356         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27357         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27358         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27359         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27360         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27361         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27362
27363         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27364         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27365         * include/ifunc-impl-list.h: New file.
27366         * misc/ifunc-impl-list.c: Likewise.
27367         * misc/Makefile (routines): Add ifunc-impl-list.
27368         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27369         * string/test-string.h: Include <ifunc-impl-list.h>.
27370         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27371         TEST_NAME]: New variables.
27372         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27373         are defined.
27374         (test_init): Call __libc_ifunc_impl_list to initialize
27375         func_list if TEST_IFUNC and TEST_NAME are defined.
27376
27377         * string/Makefile (strop-tests): Add bcopy and bzero.
27378         * string/test-bcopy.c: New file.
27379         * string/test-bzero.c: Likewise.
27380         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27381         defined.
27382         * string/test-memset.c: Support bzero test if TEST_BZERO is
27383         defined.
27384         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27385         __libc_memmove.
27386         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27387         __libc_memset.
27388         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27389         of memset.
27390
27391 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27392
27393         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27394         * configure: Regenerated.
27395
27396         * Makeconfig (+link-static-before-libc): Don't include
27397         $(link-static-libc).
27398
27399         * libio/libio.h (_IO_pos_t): Remove.
27400
27401 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27402
27403         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27404         McGrath.
27405
27406 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27407
27408         * crypt/crypt-entry.c: Include fips-private.h.
27409         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27410         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27411         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27412         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27413
27414 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27415
27416         * crypt/crypt-private.h: Include stdbool.h.
27417         (_ufc_setup_salt_r): Return bool.
27418         * crypt/crypt-entry.c: Include errno.h.
27419         (__crypt_r): Return NULL with EINVAL for bad salt.
27420         * crypt/crypt_util.c (bad_for_salt): New.
27421         (_ufc_setup_salt_r): Check that salt is long enough and within
27422         the specified alphabet.
27423         * crypt/badsalttest.c: New file.
27424         * crypt/Makefile (tests): Add it.
27425         ($(objpfx)badsalttest): New.
27426
27427 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27428
27429         * NEWS: Add entry for BZ #14602.
27430
27431 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27432
27433         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27434         type-generic.
27435         * math/libm-test.inc: Update comment listing what functions and
27436         macros are tested.
27437         (isgreater_test): New function.
27438         (isgreaterequal_test): Likewise.
27439         (isless_test): Likewise.
27440         (islessequal_test): Likewise.
27441         (islessgreater_test): Likewise.
27442         (isunordered_test): Likewise.
27443         (main): Call the new functions.
27444
27445 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27446
27447         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27448         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27449         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27450         * sysdeps/i386/configure: Regenerated.
27451         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27452         * sysdeps/mach/configure: Regenerated.
27453         * sysdeps/mach/hurd/configure: Regenerated.
27454         * sysdeps/powerpc/configure: Regenerated.
27455         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27456         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27457         * sysdeps/s390/s390-32/configure: Regenerated.
27458         * sysdeps/s390/s390-64/configure: Regenerated.
27459         * sysdeps/sh/configure: Regenerated.
27460         * sysdeps/sparc/configure: Regenerated.
27461         * sysdeps/unix/sysv/linux/configure: Regenerated.
27462         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27463         * sysdeps/x86_64/configure: Regenerated.
27464
27465         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27466         defined.  Don't check if MAP is NULL.
27467
27468 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27469
27470         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27471         (_G_stat64): Likewise.
27472         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27473         (_G_stat64): Likewise.
27474         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27475         instead of struct _G_stat64.
27476         * libio/fileops.c (mmap_remap_check): Likewise.
27477         (decide_maybe_mmap): Likewise.
27478         (_IO_new_file_seekoff): Likewise.
27479         (_IO_file_stat): Likewise.
27480         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27481         _G_off64_t.
27482         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27483         instead of struct _G_stat64.
27484         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27485
27486 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27487
27488         [BZ #14602]
27489         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27490         Replace with ...
27491         (CHECK_EOL): New macro.
27492         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27493         CHECK_EOL.
27494         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27495         Replace with CHECK_EOL.
27496         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27497         Replace with CHECK_EOL.
27498
27499 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27500
27501         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27502         type-generic.
27503         * math/libm-test.inc: Update comment listing what functions and
27504         macros are tested.
27505         (finite_test): New function.
27506         (isinf_test): Likewise.
27507         (isnan_test): Likewise.
27508         (fpclassify_test): Test subnormal input.
27509         (isfinite_test): Likewise.
27510         (isnormal_test): Likewise.
27511         (main): Call the new functions.
27512
27513 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27514
27515         [BZ #14660]
27516         * Makerules (%.dynsym): Force C locale when running
27517         $(OBJDUMP) --dynamic-syms.
27518
27519 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27520
27521         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27522         <stdint.h>.
27523
27524 2012-10-06  David S. Miller  <davem@davemloft.net>
27525
27526         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27527         upper 32-bits of the length value in %o2 since we use branch-on-register
27528         tests which consider the entire 64-bit register.
27529
27530 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27531
27532         * string/test-strstr.c (check2): Add a test for page boundary.
27533
27534 2012-10-05  David S. Miller  <davem@davemloft.net>
27535
27536         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27537         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27538         file.
27539         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27540         sysdep_routines.
27541         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27542         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27543         and bzero when HWCAP_SPARC_CRYPTO is present.
27544
27545 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27546
27547         [BZ #14602]
27548         * string/test-strstr.c (check2): New function.
27549         (test_main): Call check2.
27550
27551         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27552         and bug-strchr1.
27553         * string/bug-strcasestr1.c (do_test): Moved to ...
27554         * string/test-strcasestr.c (check1): Here.  New function.
27555         (do_one_test): Break out result checking code into ...
27556         (check_result): This.  New function.
27557         (do_one_test): Call check_result.
27558         (test_main): Call check1.
27559         * string/bug-strchr1.c (do_test): Moved to ...
27560         * string/test-strchr.c (check1): Here.  New function.
27561         (do_one_test): Break out result checking code into ...
27562         (check_result): This.  New function.
27563         (do_one_test): Call check_result.
27564         (test_main): Call check1.
27565         * string/bug-strstr1.c (main): Moved to ...
27566         * string/test-strstr.c (check1): Here.  New function.
27567         (do_one_test): Break out result checking code into ...
27568         (check_result): This.  New function.
27569         (do_one_test): Call check_result.
27570         (test_main): Call check1.
27571         * string/bug-strcasestr1.c: Removed.
27572         * string/bug-strchr1.c: Likewise.
27573         * string/bug-strstr1.c: Likewise.
27574
27575         * elf/Makefile (dl-routines): Add hwcaps.
27576         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27577         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27578         (_dl_important_hwcaps): Moved to ...
27579         * elf/dl-hwcaps.c: Here.  New file.
27580         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27581
27582         [BZ #14557]
27583         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27584         if IS_IN_rtld isn't defined.
27585
27586         * elf/dl-support.c (_dl_sysinfo_map): New.
27587         Include "get-dynamic-info.h" and "setup-vdso.h".
27588         (_dl_non_dynamic_init): Call setup_vdso.
27589         * elf/dynamic-link.h: Don't include <assert.h>.
27590         (elf_get_dynamic_info): Moved to ...
27591         * elf/get-dynamic-info.h: Here.  New file.
27592         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27593         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27594         * elf/setup-vdso.h: Here.  New file.
27595         * elf/rtld.c: Include "setup-vdso.h".
27596         (dl_main): Call setup_vdso.
27597
27598 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27599
27600         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27601         creal in comment listing functions tested.  List finite, isinf,
27602         isnan, isless, islessequal, isgreater, isgreaterequal,
27603         islessgreater, isunordered, lgamma_r and pow10 as functions and
27604         macros not tested.  Mention which functions not tested are aliases
27605         for other functions.  Fix typo.  Note that signs of NaNs are not
27606         tested.
27607
27608         * scripts/config.guess: Update from config.git.
27609         * scripts/config.sub: Likewise.
27610
27611 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27612
27613         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27614         * misc/madvise.c (madvise): Renamed to __madvise.
27615         Make madvise a weak alias.
27616         * include/sys/mman.h: Declare __madvise.
27617         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27618         * sysdeps/unix/syscalls.list
27619         (madvise): Make __madvise the strong name, and madvise a weak alias.
27620         * sysdeps/unix/sysv/linux/syscalls.list
27621         (madvise, mmap): Remove redundant entries.
27622         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27623         * malloc/malloc.c (mtrim): Likewise.
27624         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27625
27626 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27627
27628         * sysdeps/mach/hurd/dl-cache.c: File removed.
27629         * config.h.in (USE_LDCONFIG): New #undef.
27630         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27631         * configure: Regenerated.
27632         * elf/Makefile (dl-routines): Add dl-cache only under
27633         [$(use-ldconfig) = yes].
27634         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27635         cache on [USE_LDCONFIG].
27636         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27637         [USE_LDCONFIG].
27638         * elf/rtld.c (dl_main): Likewise.
27639
27640 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27641
27642         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27643         _SC_LEVEL4_CACHE_LINESIZE.
27644
27645 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27646
27647         * sysdeps/unix/bsd/confstr.h: File removed.
27648
27649 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27650
27651         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27652         sys/sdt-config.h.
27653
27654 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27655
27656         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27657         Make 'mapoff' field ElfW(Off) rather than off_t.
27658
27659 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27660
27661         * nscd/Makefile: Remove nscd-cflags and all its users.
27662         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27663         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27664
27665         [BZ #10631]
27666         * malloc.c (malloc_printerr): Clarify error message.
27667
27668 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27669
27670         [BZ #14648]
27671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27672         Set bit_FMA_Usable if FMA is supported.
27673         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27674         macro.
27675         (bit_FMA4_Usable): Updated.
27676         (index_FMA_Usable): New macro.
27677         (CPUID_FMA): Likewise
27678         (HAS_FMA): Defined with bit_FMA_Usable.
27679
27680 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27681
27682         * bits/types.h (__swblk_t): Type removed.
27683         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27684         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27686         (__SWBLK_T_TYPE): Likewise.
27687         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27688         (__SWBLK_T_TYPE): Likewise.
27689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27690         (__SWBLK_T_TYPE): Likewise.
27691         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27692         (__SWBLK_T_TYPE): Likewise.
27693
27694 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27695             Honza Horak <hhorak@redhat.com>
27696
27697         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27698         (xdr_mapname): Use YPMAXMAP as maxsize.
27699         (xdr_peername): Use YPMAXPEER as maxsize.
27700         (xdr_keydat): Use YPAXRECORD as maxsize.
27701         (xdr_valdat): Use YPMAXRECORD as maxsize.
27702
27703 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27704
27705         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27706
27707         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27708         * csu/init-first.c: ... here.
27709         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27710         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27711         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27712         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27713         * sysdeps/i386/init-first.c: File removed.
27714         * sysdeps/sh/init-first.c: File removed.
27715
27716 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27717
27718         [BZ #14645]
27719         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27720         if x * y might underflow to zero and z is zero.
27721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27723         * math/libm-test.inc (min_subnorm_value): New variable.
27724         (fma_test): Add more tests.
27725         (fma_test_towardzero): Likewise.
27726         (fma_test_downward): Likewise
27727         (fma_test_upward): Likewise.
27728         (initialize): Set min_subnorm_value.
27729
27730 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27731
27732         [BZ #14638]
27733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27734         0 + 0.
27735         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27736         mode for addition resulting in exact zero.
27737         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27739         exact 0 + 0.
27740         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27742         * math/libm-test.inc (fma_test): Add more tests.
27743         (fma_test_towardzero): New function.
27744         (fma_test_downward): Likewise.
27745         (fma_test_upward): Likewise.
27746         (main): Call the new functions.
27747
27748 2012-09-28  David S. Miller  <davem@davemloft.net>
27749
27750         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27751
27752 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27753
27754         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27755         instead of SIGALRM.
27756
27757         * sysdeps/gnu/_G_config.h: Moved to ...
27758         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27759         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27760         * sysdeps/generic/_G_config.h: ... here.
27761
27762         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27763
27764         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27765
27766         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27767         Conditionalize target on [libnss_test1.so-version].
27768
27769         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27770
27771         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27772         (elfobjdir): Move out of conditionals.
27773
27774         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27775         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27776         (__nss_lookup_function): Conditionalize label remove_from_tree on
27777         [!DO_STATIC_NSS || SHARED], matching its only use.
27778
27779 2012-09-28  David S. Miller  <davem@davemloft.net>
27780
27781         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27782         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27783         file.
27784         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27785         sysdep_routines.
27786         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27788         when HWCAP_SPARC_CRYPTO is present.
27789
27790 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27791
27792         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27793
27794 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27795
27796         [BZ #6530]
27797         * stdio-common/vfprintf.c (process_string_arg): Revert
27798         2000-07-22 change.
27799
27800 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27801
27802         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27803         for testcase.
27804         * stdio-common/tst-sprintf.c: Include <locale.h>
27805         (main): Test sprintf's handling of incomplete multibyte
27806         characters.
27807
27808 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27809
27810         * elf/dl-runtime.c (VERSYMIDX): Removed.
27811         * elf/dl-version.c (VERSYMIDX): Likewise.
27812         * elf/do-rel.h (VERSYMIDX): Likewise.
27813         (VALIDX): Likewise.
27814         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27815         * elf/rtld.c (VALIDX): Likewise.
27816         (ADDRIDX): Likewise.
27817         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27818         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27819         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27820         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27821         (VALIDX): Likewise.
27822         (ADDRIDX): Likewise.
27823
27824 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27825
27826         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27827
27828 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27829
27830         [BZ #11438]
27831         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27832         to global scope.
27833         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27834         addresses are in the same scope as 192.0.2/24.
27835         * posix/gai.conf: Document new scope table defaults.
27836
27837 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27838
27839         [BZ #5298]
27840         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27841         for ftell.  Compute offsets from write pointers instead.
27842         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27843
27844 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27845
27846         [BZ #14543]
27847         * libio/Makefile (tests): New test case tst-fseek.
27848         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27849         combination works in wide mode.
27850         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27851         state when the external buffer state changes.
27852
27853 2012-09-27  David S. Miller  <davem@davemloft.net>
27854
27855         [BZ #14376]
27856         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27857         pass reloc->r_addend in as the 'high' argument to
27858         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27859
27860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27861
27862 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27863
27864         * rt/tst-aio2.c: Include <pthread.h>.
27865         * rt/tst-aio3.c: Likewise.
27866
27867 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27868
27869         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27870
27871 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27872
27873         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27874         contents on [SHARED].
27875
27876 2012-09-26  Marek Polacek  <polacek@redhat.com>
27877
27878         [BZ #14530]
27879         [BZ #13741]
27880         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27881         for C++ and GCC <4.3 as well as for non GCC compilers.
27882
27883 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27884
27885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27886
27887 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27888
27889         * Makefile.in (all, install): Declare with .PHONY.
27890         Reported by Michael Hope <michael.hope@linaro.org>.
27891
27892 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27893
27894         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27895         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27896         system header.
27897         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27898         Likewise.
27899         (sydep_routines): Add the new and the internal functions.
27900         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27901         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27903         (GLIBC_2.17): Add the new function.
27904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27905         (GLIBC_2.17): Likewise.
27906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27907         (GLIBC_2.17): Likewise.
27908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27909         (GLIBC_2.17): Likewise.
27910         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27911
27912 2012-09-25  Alan Modra  <amodra@gmail.com>
27913
27914         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27915         Add release barrier before setting once_control to say
27916         initialisation is done.  Add hints on lwarx.  Use macro in
27917         place of isync.
27918         (clear_once_control): Add release barrier.
27919
27920 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27921
27922         [BZ #13629]
27923         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27924         specially.
27925         * math/s_clog10.c (__clog10): Likewise.
27926         * math/s_clog10f.c (__clog10f): Likewise.
27927         * math/s_clog10l.c (__clog10l): Likewise.
27928         * math/s_clogf.c (__clogf): Likewise.
27929         * math/s_clogl.c (__clogl): Likewise.
27930         * math/Makefile (libm-calls): Add x2y2m1.
27931         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27932         (__x2y2m1): Likewise.
27933         (__x2y2m1l): Likewise.
27934         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27935         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27936         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27937         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27938         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27939         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27940         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27941         * sysdeps/i386/fpu/libm-test-ulps: Update.
27942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27943
27944         [BZ #14621]
27945         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27946         int as type of variable DEPTH.
27947         (glob): Use size_t instead of int as type of variables NEWCOUNT
27948         and OLD_PATHC.
27949
27950 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27951
27952         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27953         Add s_sincosf-sse2.
27954         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27955         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27956         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27957         macros for using routine as __sincosf_ia32.
27958         Use macro for function declaration and weak_alias.
27959         * sysdeps/i386/fpu/libm-test-ulps: Update.
27960
27961         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27963
27964         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27965         subnormal argument.
27966         * math/s_cexpf.c (__cexpf): Likewise.
27967         * math/s_csinf.c (__csinf): Likewise.
27968         * math/s_csinhf.c (__csinhf): Likewise.
27969         * math/s_ctanf.c (__ctanf): Likewise.
27970         * math/s_ctanhf.c (__ctanhf): Likewise.
27971         * math/s_ccosh.c (__ccoshf): Likewise.
27972         * math/s_cexp.c (__cexpl): Likewise.
27973         * math/s_csin.c (__csin): Likewise.
27974         * math/s_csinh.c (__csinh): Likewise.
27975         * math/s_ctan.c (__ctan): Likewise.
27976         * math/s_ctanh.c (ctanh): Likewise.
27977         * math/s_ccoshl.c (__ccoshl): Likewise.
27978         * math/s_cexpl.c (__cexpl): Likewise.
27979         * math/s_csinl.c (__csinl): Likewise.
27980         * math/s_csinhl.c (__csinhl): Likewise.
27981         * math/s_ctanl.c (__ctanl): Likewise.
27982         * math/s_ctanhl.c (__ctanhl): Likewise.
27983
27984 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27985
27986         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27987         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27988         (_IO_off_t): Define to __off_t, not _G_off_t.
27989         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27990         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27991         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27992         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27993         type of __dummy and __dummy2 fields.
27994         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27995         (_G_ssize_t): Likewise.
27996         (_G_off_t): Likewise.
27997         (_G_pid_t): Likewise.
27998         (_G_uid_t): Likewise.
27999         (_G_wchar_t): Likewise.
28000         (_G_wint_t): Likewise.
28001         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28002         (_G_ssize_t): Likewise.
28003         (_G_off_t): Likewise.
28004         (_G_pid_t): Likewise.
28005         (_G_uid_t): Likewise.
28006         (_G_wchar_t): Likewise.
28007         (_G_wint_t): Likewise.
28008         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28009         (_G_ssize_t): Likewise.
28010         (_G_off_t): Likewise.
28011         (_G_pid_t): Likewise.
28012         (_G_uid_t): Likewise.
28013         (_G_wchar_t): Likewise.
28014         (_G_wint_t): Likewise.
28015
28016 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28017
28018         * malloc/arena.c: Include malloc-sysdep.h.
28019         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28020         is sufficient to shrink the heap or an unmap is needed.
28021         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28022         new function check_may_shrink_heap.
28023         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28024         new function check_may_shrink_heap.
28025
28026 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28027
28028         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28029         comments.
28030
28031 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28032
28033         * catgets/test-gencat.sh: Add "set -e".
28034         * elf/tst-pathopt.sh: Likewise.
28035         * grp/tst_fgetgrent.sh: Likewise.
28036         * iconvdata/run-iconv-test.sh: Likewise.
28037         * intl/tst-gettext.sh: Likewise.
28038         * intl/tst-gettext2.sh: Likewise.
28039         * intl/tst-gettext4.sh: Likewise.
28040         * intl/tst-gettext6.sh: Likewise.
28041         * intl/tst-translit.sh: Likewise.
28042         * io/ftwtest-sh: Likewise.
28043         * libio/test-freopen.sh: Likewise.
28044         * malloc/tst-mtrace.sh: Likewise.
28045         * posix/globtest.sh: Likewise.
28046         * posix/tst-getconf.sh: Likewise.
28047         * posix/wordexp-tst.sh: Likewise.
28048         * stdio-common/tst-printf.sh: Likewise.
28049         * stdio-common/tst-unbputc.sh: Likewise.
28050         * stdlib/tst-fmtmsg.sh: Likewise.
28051         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28052         * catgets/Makefile: Do not specify -e option when running
28053         testsuite shell scripts.
28054         * elf/Makefile: Likewise.
28055         * grp/Makefile: Likewise.
28056         * iconvdata/Makefile: Likewise.
28057         * intl/Makefile: Likewise.
28058         * io/Makefile: Likewise.
28059         * libio/Makefile: Likewise.
28060         * malloc/Makefile: Likewise.
28061         * posix/Makefile: Likewise.
28062         * stdio-common/Makefile: Likewise.
28063         * stdlib/Makefile: Likewise.
28064         * sysdeps/x86_64/Makefile: Likewise.
28065
28066         * io/ftwtest-sh: Add copyright header.
28067         * posix/globtest.sh: Likewise.
28068         * posix/tst-getconf.sh: Likewise.
28069         * posix/wordexp-tst.sh: Likewise.
28070         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28071
28072 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28073
28074         [BZ #13679]
28075         * Makeconfig (+link): Defined as $(+link-static) if
28076         $(build-shared) isn't yes.
28077         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28078         isn't yes.
28079         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28080
28081         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28082
28083         [BZ #14562]
28084         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28085         new chunk size with MALLOC_ALIGN_MASK.
28086
28087 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28088
28089         [BZ #5044]
28090         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28091         <rounding-mode.h>.
28092         (__printf_fphex): Determine rounding using get_rounding_mode and
28093         round_away.
28094         * stdio-common/tst-printf-round.c (struct hex_test): New
28095         structure.
28096         (hex_tests): New variable.
28097         (test_hex_in_one_mode): New function.
28098         (do_test): Also run tests for hex float output.
28099
28100 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28101
28102         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28103         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28104         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28105         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28106         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28107         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28108         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28109         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28110
28111 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28112
28113         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28114         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28115         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28116         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28117
28118 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28119
28120         [BZ #14579]
28121         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28122         mode only.
28123         * elf/tst-rtld-load-self.sh: New test.
28124         * elf/Makefile: Run it.
28125
28126 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28127
28128         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28129         (tst-writev-ENV): Remove.
28130         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28131
28132 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28133
28134         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28135
28136 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28137
28138         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28139         unconditional.
28140         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28141         Likewise.
28142         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28143         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28144         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28145         Likewise.
28146
28147 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28148
28149         [BZ #14587]
28150         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28151         * config.make.in (have-cpp-asm-debuginfo): Removed.
28152         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28153         * configure: Regenerated.
28154
28155 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28156
28157         [BZ #5044]
28158         * stdio-common/printf_fp.c: Include <stdbool.h> and
28159         <rounding-mode.h>.
28160         (___printf_fp): Determine rounding using get_rounding_mode and
28161         round_away.
28162         * stdio-common/tst-printf-round.c: New file.
28163         * stdio-common/Makefile (tests): Add tst-printf-round.
28164         (link-libm): New variable.
28165         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28166
28167 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28168
28169         [BZ #14576]
28170         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28171         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28172         Likewise.
28173         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28174         Likewise.
28175
28176 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28177
28178         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28179         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28180         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28181         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28182
28183 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28184
28185         [BZ #14518]
28186         * include/rounding-mode.h: New file.
28187         * sysdeps/generic/get-rounding-mode.h: Likewise.
28188         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28189         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28190         (MAX_VALUE): New macro.
28191         (MIN_VALUE): Likewise.
28192         (overflow_value): New function.
28193         (underflow_value): Likewise.
28194         (round_and_return): Use overflow_value and underflow_value to
28195         determine return values in overflow and underflow cases.  Use
28196         round_away to determine rounding depending on rounding mode.
28197         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28198         determine return values in overflow and underflow cases.
28199         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28200         (struct test_results): New structure.
28201         (struct test): Use struct test_results to store expected results
28202         for all rounding modes.
28203         (TEST): Include expected results for all rounding modes.
28204         (test_in_one_mode): New function.
28205         (do_test): Use test_in_one_mode to compute and check results.
28206         Check results for all rounding modes.
28207         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28208         $(link-libm).
28209
28210 2012-12-09  Allan McRae  <allan@archlinux.org>
28211
28212         * sysdeps/i386/fpu/libm-test-ulps: Update
28213
28214 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28215
28216         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28217         (_G_int32_t): Likewise.
28218         (_G_uint16_t): Likewise.
28219         (_G_uint32_t): Likewise.
28220         (_G_HAVE_BOOL): Likewise.
28221         (_G_HAVE_ATEXIT): Likewise.
28222         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28223         (_G_HAVE_IO_FILE_OPEN): Likewise.
28224         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28225         (_G_int32_t): Likewise.
28226         (_G_uint16_t): Likewise.
28227         (_G_uint32_t): Likewise.
28228         (_G_HAVE_BOOL): Likewise.
28229         (_G_HAVE_ATEXIT): Likewise.
28230         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28231         (_G_HAVE_IO_FILE_OPEN): Likewise.
28232         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28233         (_G_int32_t): Likewise.
28234         (_G_uint16_t): Likewise.
28235         (_G_uint32_t): Likewise.
28236         (_G_HAVE_BOOL): Likewise.
28237         (_G_HAVE_ATEXIT): Likewise.
28238         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28239         (_G_HAVE_IO_FILE_OPEN): Likewise.
28240
28241 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28242
28243         * csu/libc-tls.c: Update copyright years.
28244
28245 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28246
28247         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28248         [!_G_USING_THUNKS]: Remove conditional code.
28249         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28250         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28251
28252         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28253         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28254         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28255         (_G_VTABLE_LABEL_PREFIX): Likewise.
28256         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28257         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28258         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28259         (_G_VTABLE_LABEL_PREFIX): Likewise.
28260         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28261         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28262         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28263         (_G_VTABLE_LABEL_PREFIX): Likewise.
28264         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28265
28266 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28267
28268         * libio/Makefile: Include ../Makeconfig before tests.
28269         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28270         only if $(build-shared) is yes.
28271
28272         * iconv/gconv_db.c: Update copyright years.
28273
28274 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28275
28276         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28277         unwind info if defined PIC. Fix special cases description.
28278         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28279
28280         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28281         DP_HI_MASK entry.
28282         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28283
28284 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28285
28286         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28287
28288         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28289         is NULL.
28290
28291         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28292         (LDLIBS-tst-chk4): This.
28293         (LDFLAGS-tst-chk5): Renamed to ...
28294         (LDLIBS-tst-chk5): This.
28295         (LDFLAGS-tst-chk6): Renamed to ...
28296         (LDLIBS-tst-chk6): This.
28297         (LDFLAGS-tst-lfschk4): Renamed to ...
28298         (LDLIBS-tst-lfschk4): This.
28299         (LDFLAGS-tst-lfschk5): Renamed to ...
28300         (LDLIBS-tst-lfschk5): This.
28301         (LDFLAGS-tst-lfschk6): Renamed to ...
28302         (LDLIBS-tst-lfschk6): This.
28303
28304         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28305         on $(common-objpfx)soversions.mk.
28306
28307 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28308
28309         [BZ #10014]
28310         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28311         example host name.
28312
28313 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28314
28315         * malloc/arena.c (arena_get_retry): New function that gets
28316         another arena for the caller to try its request on.
28317         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28318         current arena cannot fulfill the request.
28319         (__libc_memalign): Likewise.
28320         (__libc_memalign): Likewise.
28321         (__libc_pvalloc): Likewise.
28322         (__libc_calloc): Likewise.
28323
28324 2012-09-05  John Tobey  <john.tobey@gmail.com>
28325
28326         [BZ #13542]
28327         * manual/arith.texi (Operations on Complex): Fix description
28328         of carg branch cut.
28329
28330 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28331
28332         [BZ #10014]
28333         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28334         host name.
28335
28336         [BZ #10038]
28337         * manual/memory.texi (Memory): Make order of menu items match
28338         order of sections.
28339
28340 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28341
28342         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28343         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28344         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28345
28346 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28347
28348         * csu/libc-tls.c (static_dtv): Renamed to ...
28349         (_dl_static_dtv): This.  Make it global.
28350         (_dl_initial_dtv): Removed.
28351         (__libc_setup_tls): Updated.
28352         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28353         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28354         DL_INITIAL_DTV.
28355
28356 2012-09-06  Petr Machata  <pmachata@redhat.com>
28357
28358         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28359         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28360         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28361         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28362
28363 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28364
28365         [BZ #14545]
28366         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28367         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28368         freeing dtv[-1].
28369
28370 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28371
28372         [BZ #14544]
28373         * Makeconfig (link-static-before-libc): Replace $(+prector)
28374         with $(+prectorT).
28375         (link-static-after-libc): Replace $(+postctor) with
28376         $(+postctorT).
28377         (link-bounded): Replace $(+prector)/$(+postctor) with
28378         $(+prectorT)/$(+postctorT).
28379         (+prectorT): New macro.
28380         (+postctorT): Likewise.
28381
28382 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28383
28384         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28385         (round_str): Handle values above the maximum for IBM long double
28386         as inexact.
28387         * stdlib/tst-strtod-round.c (tests): Regenerated.
28388
28389 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28390
28391         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28392         assembler flag.
28393         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28394         zarch_nohighgprs around the zarch optimized routines.
28395         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28396         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28397         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28398         for zarch.
28399
28400 2012-09-05  David S. Miller  <davem@davemloft.net>
28401
28402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28403
28404         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28405         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28406         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28407         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28408         entries.
28409
28410 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28411
28412         * malloc/arena.c: Fold copyright years.
28413         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28414
28415 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28416
28417         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28418
28419 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28420
28421         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28422
28423 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28424
28425         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28426         change internal state upon failure.
28427
28428 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28429
28430         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28431         * malloc/memusage.c (mmap): Likewise.
28432         (mmap64, mremap): Likewise.  Adjust name in comment.
28433
28434 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28435
28436         * libio/fileops.c: Fix typos in comments.
28437         * libio/oldfileops.c: Likewise.
28438         * libio/wfileops.c: Likewise.
28439
28440 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28441
28442         [BZ #1349]
28443         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28444         (tst-malloc-usable-ENV): Set environment for test case.
28445         * malloc/hooks.c (malloc_check_get_size): New function to get
28446         requested size.
28447         * malloc/malloc.c (musable): Use malloc_check_get_size.
28448         * malloc/tst-malloc-usable.c: New test case.
28449
28450 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28451
28452         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28453
28454 2012-09-05  Allan McRae  <allan@archlinux.org>
28455
28456         [BZ #13966]
28457         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28458         determine header location.
28459         * configure: Regenerated.
28460
28461 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28462
28463         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28464         float format.
28465         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28466         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28467         format.
28468         (test): Regenerate.
28469
28470 2012-09-04  David S. Miller  <davem@davemloft.net>
28471
28472         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28473         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28474         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28475
28476 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28477
28478         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28479         failures.
28480
28481         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28482
28483 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28484
28485         [BZ #9914]
28486         * libio/iogetdelim.c: Include <limits.h>.
28487         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28488         + len + 1 would overflow.
28489
28490 2012-09-03  Andreas Jaeger  <aj@suse.de>
28491
28492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28493         * sysdeps/i386/fpu/libm-test-ulps: Update.
28494
28495 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28496
28497         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28498         Add s_sinf-sse2, s_conf-sse2.
28499
28500         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28501         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28502         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28503         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28504
28505         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28506         for using routine as __sinf_ia32.
28507         Use macro for function declaration and weak_alias.
28508         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28509         for using routine as __cosf_ia32.
28510         Use macro for function declaration and weak_alias.
28511
28512         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28513         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28514
28515         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28516         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28518
28519         * math/libm-test.inc (cos_test): Add more test cases.
28520         (sin_test): Likewise.
28521         (sincos_test): Likewise.
28522
28523 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28524
28525         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28526         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28527         hidden.
28528         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28529
28530 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28531
28532         [BZ #14538]
28533         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28534         first element of the GOT.
28535         (elf_machine_load_address): Return the difference between
28536         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28537
28538 2012-09-01  Allan McRae  <allan@archlinux.org>
28539
28540         [BZ #13412]
28541         * configure.in (AWK): Require gawk version 3.0 or later.
28542         * configure: Regenerated.
28543
28544 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28545
28546         * sysdeps/unix/sysv/linux/kernel-features.h
28547         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28548         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28549         [__NR_clock_getres]: Make code unconditional.
28550         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28551         (clock_getcpuclockid): Remove code left unreachable by removal of
28552         conditionals.
28553         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28554         code unconditional.
28555         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28556         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28557         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28558         Make code unconditional.
28559         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28560         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28561         * sysdeps/unix/sysv/linux/clock_settime.c
28562         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28563         conditional code.
28564         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28565         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28566
28567 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28568
28569         [BZ #14476]
28570         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28571         scripts/test-installation.pl.
28572
28573         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28574         and $ld_so_version if it is set.
28575
28576 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28577
28578         [BZ #14516]
28579         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28580         failure if reading from procfs failed.
28581         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28582
28583 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28584
28585         * sysdeps/unix/sysv/linux/kernel-features.h
28586         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28587         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28588         Remove conditional code.
28589         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28590         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28591         Remove conditional code.
28592         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28593         * sysdeps/unix/sysv/linux/i386/fxstat.c
28594         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28596         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28597         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28599         * sysdeps/unix/sysv/linux/i386/lxstat.c
28600         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28602         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28603         Remove conditional code.
28604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28605         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28606         Remove conditional code.
28607         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28608         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28609         <kernel-features.h>.
28610         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28611         Remove.
28612         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28613         Remove conditional code.
28614         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28615         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28616         Remove conditional.
28617
28618 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28619
28620         [BZ #5400]
28621         * NEWS: Add fixed bug number.
28622
28623 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28624
28625         [BZ #14519]
28626         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28627         underflowing exponent in case of negative sign.
28628         * stdlib/tst-strtod-round-data: Add more tests.
28629         * stdlib/tst-strtod-round.c (tests): Regenerated.
28630
28631         [BZ #3479]
28632         * stdlib/strtod_l.c (NDIG): Remove.
28633         (HEXNDIG): Likewise.
28634         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28635         smallest representable value.
28636         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28637         lie within an exact representation of 1/2 ulp of the result.
28638         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28639         unconditionally.
28640         (TENS_P9_IDX): Define unconditionally.
28641         (TENS_P9_SIZE): Likewise.
28642         (TENS_P10_IDX): Likewise.
28643         (TENS_P10_SIZE): Likewise.
28644         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28645         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28646         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28647         entries for 10^2^13 and 10^2^14.
28648         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28649         (TENS_P13_IDX): Define.
28650         (TENS_P13_SIZE): Likewise.
28651         (TENS_P14_IDX): Likewise.
28652         (TENS_P14_SIZE): Likewise.
28653         (_fpioconst_pow10): Change array size to
28654         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28655         unconditional.
28656         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28657         1024]: Add entries for 10^2^13 and 10^2^14.
28658         [LAST_POW10 > _LAST_POW10]: Remove #error.
28659         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28660         (_fpioconst_pow10): Change array size to
28661         FPIOCONST_POW10_ARRAY_SIZE.
28662         * stdlib/gen-fpioconst.c: New file.
28663         * stdlib/gen-tst-strtod-round.c: Likewise.
28664         * stdlib/tst-strtod-round-data: Likewise.
28665         * stdlib/tst-strtod-round.c: Likewise.
28666         * stdlib/Makefile (tests): Add tst-strtod-round.
28667
28668         [BZ #14459]
28669         * stdlib/strtod_l.c: Include <stdint.h>.
28670         (NDEBUG): Do not define.
28671         (round_and_return): Change EXPONENT parameter to type intmax_t.
28672         Rearrange calculations to avoid internal overflow possibilities.
28673         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28674         Rearrange calculations to avoid internal overflow possibilities.
28675         Assert that number fits inside MPNSIZE limbs.
28676         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28677         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28678         calculations and add assertions to avoid internal overflow
28679         possibilities.  Add casts to avoid signed/unsigned operations.
28680         * stdlib/tst-strtod-overflow.c: New file.
28681         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28682
28683 2012-08-25  Marek Polacek  <polacek@redhat.com>
28684
28685         * time/time.h: Fix some typos in comments.
28686
28687 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28688
28689         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28690         * posix/tst-rfc3484-2.c: Likewise.
28691         * posix/tst-rfc3484-3.c: Likewise.
28692
28693 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28694
28695         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28696         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28697
28698 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28699
28700         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28701         #include of fxstatat64.c.
28702
28703 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28704
28705         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28706         * shadow/getspent_r.c: Likewise.
28707         * shadow/getspnam.c: Likewise.
28708         * shadow/getspnam_r.c: Likewise.
28709         * gshadow/getsgent.c: Likewise.
28710         * gshadow/getsgent_r.c: Likewise.
28711         * gshadow/getsgnam.c: Likewise.
28712         * gshadow/getsgnam_r.c: Likewise.
28713         * inet/getnetbyad.c: Likewise.
28714         * inet/getnetbyad_r.c: Likewise.
28715         * inet/getnetbynm.c: Likewise.
28716         * inet/getnetbynm_r.c: Likewise.
28717         * inet/getnetent.c: Likewise.
28718         * inet/getnetent_r.c: Likewise.
28719         * inet/getproto.c: Likewise.
28720         * inet/getproto_r.c: Likewise.
28721         * inet/getprtent.c: Likewise.
28722         * inet/getprtent_r.c: Likewise.
28723         * inet/getprtname.c: Likewise.
28724         * inet/getprtname_r.c: Likewise.
28725         * inet/getrpcbyname.c: Likewise.
28726         * inet/getrpcbyname_r.c: Likewise.
28727         * inet/getrpcbynumber.c: Likewise.
28728         * inet/getrpcbynumber_r.c: Likewise.
28729         * inet/getrpcent.c: Likewise.
28730         * inet/getrpcent_r.c: Likewise.
28731         * inet/getaliasent.c: Likewise.
28732         * inet/getaliasent_r.c: Likewise.
28733         * inet/getaliasname.c: Likewise.
28734         * inet/getaliasname_r.c: Likewise.
28735         * nscd/getgrgid_r.c: Likewise.
28736         * nscd/getgrnam_r.c: Likewise.
28737         * nscd/gethstbyad_r.c: Likewise.
28738         * nscd/gethstbynm3_r.c: Likewise.
28739         * nscd/getpwnam_r.c: Likewise.
28740         * nscd/getpwuid_r.c: Likewise.
28741         * nscd/getsrvbynm_r.c: Likewise.
28742         * nscd/getsrvbypt_r.c: Likewise.
28743         * nscd/gai.c: Likewise.
28744
28745         * configure.in (build_nscd): New substituted variable, set
28746         by --disable-build-nscd and defaults to $use_nscd.
28747         * configure: Regenerated.
28748         * config.make.in (build-nscd): New substituted variable.
28749         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28750         Change conditional to require [$(build-nscd) = yes] as well.
28751         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28752
28753         [BZ# 13696]
28754         * configure.in (use_nscd): New substituted variable, set by
28755         --disable-nscd.  If enabled, define USE_NSCD.
28756         * configure: Regenerated.
28757         * config.h.in: Add USE_NSCD.
28758         * config.make.in (use-nscd): New substituted variable.
28759         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28760         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28761         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28762         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28763         (CFLAGS-getgrnam_r.c): Likewise.
28764         (CFLAGS-initgroups.c): Likewise.
28765         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28766         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28767         Variables removed.
28768         * inet/getnetgrent_r.c
28769         (nscd_setnetgrent): New function, broken out of ...
28770         (setnetgrent): ... here.  Call it.
28771         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28772         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28773         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28774         * nscd/Makefile (routines, aux): Move definitions after include of
28775         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28776         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28777         Conditionalize on [USE_NSCD].
28778         (is_nscd, nscd_init_cb): Likewise.
28779         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28780         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28781         * nss/nss_db/db-init.c: Likewise.
28782         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28783         [USE_NSCD].
28784         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28785         (make_request): Use it.
28786         (cache_valid_p): New function.
28787         (__check_pf): Use it.
28788         * NEWS: Add item for --disable-nscd.
28789
28790 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28791
28792         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28793         to support sed >= 4.2.1-20-ga9bf076.
28794         * configure: Regenerated.
28795
28796 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28797
28798         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28799         Conditionalize whole body on [IREL].
28800
28801 2012-08-22  Jeff Law <law@redhat.com>
28802
28803         [BZ #14505]
28804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28805         if the family is PF_UNSPEC.
28806
28807 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28808
28809         * Makerules (lib-version): Rename from V.
28810         (install-lib-nosubdir): Change V to lib-version.
28811
28812 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28813
28814         [BZ #14252]
28815         * powerpc32/power6/wcschr.c: New file.
28816         * powerpc32/power6/wcscpy.c: New file.
28817         * powerpc32/power6/wcsrchr.c: New file.
28818         * powerpc64/power6/wcschr.c: New file.
28819         * powerpc64/power6/wcscpy.c: New file.
28820         * powerpc64/power6/wcsrchr.c: New file.
28821
28822 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28823
28824         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28825         (two_way_short_needle): Use it.
28826         * string/strstr.c (AVAILABLE1_USES_J): Define.
28827         * string/strcasestr.c: Likewise.
28828
28829         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28830         array references.
28831         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28832
28833         [BZ #11607]
28834         * NEWS: Add an entry.
28835         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28836         define their defaults.
28837         (two_way_short_needle): Detect end-of-string on-the-fly.
28838         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28839         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28840         * string/bug-strcasestr1.c: New test.
28841         * string/Makefile: Run it.
28842
28843 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28844
28845         [BZ #11607]
28846         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28847         the first character.
28848
28849 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28850
28851         * csu/elf-init.c (__libc_csu_irel): Function removed.
28852         * csu/libc-start.c (apply_irel): New function.
28853         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28854
28855 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28856
28857         * sysdeps/unix/sysv/linux/kernel-features.h
28858         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28859         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28860         <kernel-features.h>.
28861         [__NR_fadvise64_64]: Make code unconditional.
28862         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28863         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28864         !__NR_fadvise64_64)]: Likewise.
28865         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28866         !__NR_fadvise64_64))]: Likewise.
28867         [__NR_fadvise64]: Make code unconditional.
28868         [!__NR_fadvise64]: Remove conditional code.
28869         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28870         <kernel-features.h>.
28871         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28872         unconditional.
28873         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28874         conditional code.
28875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28876         not include <kernel-features.h>.
28877         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28878         unconditional.
28879         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28880         conditional code.
28881         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28882         include <kernel-features.h>.
28883         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28884         unconditional.
28885         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28886         conditional code.
28887
28888 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28889
28890         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28891         slight instruction rearrangements per scrollpipe analysis.
28892         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28893
28894 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28895
28896         * manual/syslog.texi (syslog; vsyslog, closelog):
28897         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28898         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28899
28900         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28901         DSOCAPS to match condition on defining it.
28902
28903 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28904
28905         * sysdeps/unix/sysv/linux/kernel-features.h
28906         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28908         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28909         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28911         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28912         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28914         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28915         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28916
28917         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28918         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28919
28920         * sysdeps/unix/sysv/linux/kernel-features.h
28921         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28922         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28923         unconditional.
28924         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28925         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28926         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28927         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28928         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28929         Make code unconditional.
28930         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28931         (__mmap64) [!__NR_mmap2]: Likewise.
28932         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28933         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28934         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28935         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28936         [__NR_mmap2]: Make code unconditional.
28937         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28938         (__mmap64) [!__NR_mmap2]: Likewise.
28939
28940 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28941
28942         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28943
28944 2012-08-18  Andreas Jaeger  <aj@suse.de>
28945
28946         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28947
28948 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28949
28950         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28951         * include/unistd.h (__have_sock_cloexec): Likewise.
28952         (__have_pipe2): Likewise.
28953         (__have_dup3): Likewise.
28954
28955 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28956
28957         [BZ #9685]
28958         * include/unistd.h (__have_pipe2): Change define into an extern int.
28959         (__have_dup3): Likewise.
28960         * socket/have_sock_cloexec.c: Include fcntl.h.
28961         (__have_pipe2): New variable.
28962         (__have_dup3): Likewise.
28963
28964 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28965
28966         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28967
28968 2012-08-17  Marek Polacek  <polacek@redhat.com>
28969
28970         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28971         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28972
28973 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28974
28975         * configure.in: Add AC_SUBST for sysheaders.
28976         * configure: Regenerated.
28977         * config.make.in (sysheaders): New substituted variable.
28978
28979         * sysdeps/unix/mkfifo.c: Moved ...
28980         * sysdeps/posix/mkfifo.c: ... here.
28981         * sysdeps/unix/mkfifoat.c: Moved ...
28982         * sysdeps/posix/mkfifoat.c: ... here.
28983
28984         * sysdeps/unix/utime.c: Moved ...
28985         * sysdeps/posix/utime.c: ... here.
28986
28987         * sysdeps/unix/time.c: Moved ...
28988         * sysdeps/posix/time.c: ... here.
28989         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28990         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28991
28992         * sysdeps/unix/nice.c: Moved ...
28993         * sysdeps/posix/nice.c: ... here.
28994
28995         * sysdeps/unix/alarm.c: Moved ...
28996         * sysdeps/posix/alarm.c: ... here.
28997
28998         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28999
29000 2012-08-17  Jeff Law <law@redhat.com>
29001
29002         * intl/Makefile (codeset_mo): New variable.
29003         ($(codeset_mo)): New target.
29004         (tst-codeset.out): Depend on that.  Remove explicit rule.
29005         (tst-gettext3.out, tst-gettext5.out): Likewise.
29006         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29007         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29008         * intl/tst-codeset.sh: Remove.
29009         * intl/tst-gettext3.sh: Likewise.
29010         * intl/tst-gettext5.sh: Likewise.
29011
29012 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29013
29014         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29015         * sysdeps/unix/syscalls.list: ... here.
29016
29017         * sysdeps/posix/getaddrinfo.c
29018         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29019         (gaiconf_init, gaiconf_reload): Use them.
29020         [!_STATBUF_ST_NSEC]
29021         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29022         Define using time_t rather than struct timespec.
29023
29024         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29025         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29026         Macros removed.
29027         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29028         [!NO_THREADS].
29029         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29030         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29031         Likewise.
29032
29033         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29034         __libc_cleanup_push argument.
29035
29036         * bits/param.h: New file.
29037         * misc/sys/param.h: New file.
29038         * include/sys/param.h: New file.
29039         * misc/Makefile (headers): Add bits/param.h.
29040         * sysdeps/generic/sys/param.h: File removed.
29041         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29042         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29043         * sysdeps/mach/hurd/bits/param.h: New file.
29044         * sysdeps/mach/hurd/sys/param.h: File removed.
29045
29046         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29047         last change.
29048
29049         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29050         [_IO_MTSAFE_IO].
29051         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29052         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29053         New macros.
29054
29055         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29056         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29057         rather than -D_IO_MTSAFE_IO conditionally.
29058         * stdio-common/Makefile (CPPFLAGS): Likewise.
29059         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29060         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29061         Use $(libio-mtsafe).
29062         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29063         of -D_IO_MTSAFE_IO.
29064         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29065         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29066         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29067         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29068         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29069         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29070         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29071         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29072         (CFLAGS-fread_u_chk.c): Likewise.
29073         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29074         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29075         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29076         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29077         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29078         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29079         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29080         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29081         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29082
29083         * libio/Makefile: Test [$(libc-reentrant) = yes]
29084         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29085
29086         * Makeconfig
29087         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29088         * sysdeps/pthread/configure: File removed.
29089         * sysdeps/pthread/Makeconfig: New file.
29090         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29091         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29092
29093 2012-08-16  Gary Benson  <gbenson@redhat.com>
29094
29095         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29096         unmapping the first object in a namespace.
29097
29098 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29099
29100         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29101         (__internal_setnetgrent): ... this.  Add internal_function to
29102         definition.  Add libc_hidden_def.
29103         (setnetgrent): Update caller.
29104         (internal_endnetgrent): Renamed to ...
29105         (__internal_endnetgrent): ... this.  Add internal_function to
29106         definition.  Add libc_hidden_def.
29107         (endnetgrent): Update caller.
29108         (internal_getnetgrent_r): Renamed to ...
29109         (__internal_getnetgrent_r): ... this.  Add internal_function to
29110         definition.  Add libc_hidden_def.
29111         (__getnetgrent_r): Update caller.
29112         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29113
29114 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29115
29116         * stdlib/longlong.h: Update from GCC.
29117
29118 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29119
29120         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29121         on _QL, which is set by umul_ppmm but never used.
29122         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29123         variables, which are set by GMP macros but never used.
29124         * stdio-common/_itowa.c (_itowa): Likewise.
29125         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29126         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29127
29128 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29129
29130         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29131         struct La_sh_regs is not constant.
29132         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29133         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29134         and struct La_sparc64_regs are not constant.
29135
29136 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29137
29138         * sysdeps/unix/sysv/linux/kernel-features.h
29139         (__ASSUME_POSIX_TIMERS): Remove.
29140         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29141         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29142         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29143         Make code unconditional.
29144         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29145         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29146         Make code unconditional.
29147         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29148         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29149         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29150         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29151         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29152         Make code unconditional.
29153         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29154         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29155         (__libc_missing_posix_timers): Remove.
29156
29157 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29158
29159         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29160         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29161
29162         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29163
29164         * elf/dl-sym.c: Include <stdlib.h>.
29165
29166         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29167         constants, which avoids warnings in 32-bit builds.
29168
29169         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29170         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29171
29172         * misc/lseek.c: File moved to ...
29173         * io/lseek.c: ... here.
29174
29175         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29176
29177         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29178         shifting LEN more than 31 bits at once.
29179
29180 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29181
29182         [BZ #14195]
29183         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29184         segmentation fault for a case of two empty input strings.
29185         * string/test-strncasecmp.c (check1): Renamed to...
29186         (bz12205): ...this.
29187         (bz14195): Add new testcase for two empty input strings and N > 0.
29188         (test_main): Call new testcase, adapt for renamed function.
29189
29190 2012-08-15  Andreas Jaeger  <aj@suse.de>
29191
29192         [BZ #14090]
29193         * crypt/md5test2.c: New test, based on test supplied by Serge
29194         Belyshev <belyshev@depni.sinp.msu.ru>.
29195         * crypt/Makefile (xtests): Add md5test-giant..
29196         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29197
29198 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29199
29200         [BZ #14090]
29201         * crypt/md5.c (md5_process_block): Don't assume the buffer
29202         length is less than 2**32.
29203         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29204         length is less than 2**64.
29205
29206 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29207
29208         * string/str-two-way.h: Include <sys/param.h>.
29209         (MAX): Macro removed.
29210
29211         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29212         Move #define and #undef of memmove to just before and after
29213         including <string.h>.
29214
29215         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29216         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29217         and after including <string.h>.  Move declarations of
29218         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29219         to before #include "string/memmove.c".
29220
29221         * include/dirent.h: Declare __getdirentries.
29222
29223         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29224         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29225
29226 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29227
29228         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29229         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29230         * sysdeps/i386/configure: Regenerated.
29231         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29232         STABS_CURRENT_FILE, and STABS_FUN.
29233         (END): Remove call to STABS_FUN_END.
29234         (STABS_CURRENT_FILE1): Delete.
29235         (STABS_CURRENT_FILE): Likewise.
29236         (STABS_FUN): Likewise.
29237         (STABS_FUN_END): Likewise.
29238         (STABS_FUN2): Likewise.
29239         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29240         * sysdeps/x86_64/configure: Regenerated.
29241
29242 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29243
29244         * elf/dl-open.c: Include <atomic.h>.
29245         * elf/dl-lookup.c: Likewise.
29246
29247 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29248
29249         * sysdeps/unix/sysv/linux/kernel-features.h
29250         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29251         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29252         unconditionally.
29253         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29254         unconditionally.
29255         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29256         condition on __ASSUME_CLONE_THREAD_FLAGS.
29257
29258 2012-08-14  Andreas Jaeger  <aj@suse.de>
29259
29260         * sysdeps/i386/fpu/libm-test-ulps: Update.
29261
29262 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29263
29264         * include/atomic.h (atomic_exchange_and_add): Split into ...
29265         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29266         New atomic macros.
29267
29268 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29269
29270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29271
29272 2012-08-13  Jeff Law <law@redhat.com>
29273
29274         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29275         null byte in the output string.
29276
29277 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29278
29279         * sysdeps/unix/sysv/linux/kernel-features.h
29280         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29281         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29282         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29283         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29284         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29285         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29286         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29287
29288 2012-08-09  Jeff Law <law@redhat.com>
29289
29290         [BZ #13939]
29291         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29292         When avoid_arena is set, don't retry in the that arena.  Pick the
29293         next one, whatever it might be.
29294         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29295         (arena_lock): Pass in new parameter to arena_get2.
29296         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29297         arena_get2.
29298         (__libc_malloc): Unify retrying after main arena failure with
29299         __libc_memalign version.
29300         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29301
29302 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29303
29304         [BZ #14166]
29305         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29306         to __redirect_strstr.
29307         (__strstr_sse42): Use typeof __redirect_strstr.
29308         (__strstr_ia32): Likewise.
29309         (__libc_strstr): New prototype.
29310         (strstr): Renamed to ...
29311         (__libc_strstr): This.
29312         (strstr): New strong alias of __libc_strstr.
29313         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29314         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29315         __redirect_time.
29316         Include <time.h>.
29317         (__libc_time): New prototype.
29318         (time_ifunc): Replace time with __libc_time.
29319         (time): New strong alias and hidden definition of __libc_time.
29320         (__GI_time): Remove strong alias.
29321         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29322         Include <stddef.h>.
29323         (memmove): Redefined to __redirect_memmove.
29324         (__memmove_sse2): Use typeof __redirect_memmove.
29325         (__memmove_ssse3): Likewise.
29326         (__memmove_ssse3_back): Likewise.
29327         (__libc_memmove): New prototype.
29328         (memmove): Renamed to ...
29329         (__libc_memmove): This.
29330         (memmove): New strong alias of __libc_memmove.
29331
29332 2012-08-08  Mark Salter  <msalter@redhat.com>
29333
29334         * elf/elf.h
29335         (R_MN10300_TLS_GD): Define.
29336         (R_MN10300_TLS_LD): Likewise.
29337         (R_MN10300_TLS_LDO): Likewise.
29338         (R_MN10300_TLS_GOTIE): Likewise.
29339         (R_MN10300_TLS_IE): Likewise.
29340         (R_MN10300_TLS_LE): Likewise.
29341         (R_MN10300_TLS_DTPMOD): Likewise.
29342         (R_MN10300_TLS_DTPOFF): Likewise.
29343         (R_MN10300_TLS_TPOFF): Likewise.
29344         (R_MN10300_SYM_DIFF): Likewise.
29345         (R_MN10300_ALIGN): Likewise.
29346         (R_MN10300_NUM): Update.
29347
29348 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29349
29350         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29351         Remove.
29352
29353 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29354
29355         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29356
29357         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29358         sysdeps/unix -> sysdeps/posix move.
29359         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29360
29361 2012-08-07      Allan McRae     <allan@archlinux.org>
29362
29363         [BZ #14303]
29364         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29365         (SUNOS_CPP): Likewise.
29366         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29367         not found.
29368         (open_input): Call CPP using execvp.
29369
29370 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29371
29372         * sysdeps/unix/sysv/linux/kernel-features.h
29373         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29374         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29375         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29376         (__ASSUME_WAITID_SYSCALL): Likewise.
29377         * sysdeps/unix/sysv/linux/dl-execstack.c
29378         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29379         code unconditional.
29380         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29381         conditional code.
29382         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29383         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29384         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29385         code.
29386         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29387         unconditional.
29388         [__ASSUME_WAITID_SYSCALL]: Likewise.
29389         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29390
29391 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29392
29393         * sysdeps/unix/closedir.c: Renamed to ...
29394         * sysdeps/posix/closedir.c: ... here.
29395         * sysdeps/unix/dirfd.c: Renamed to ...
29396         * sysdeps/posix/dirfd.c: ... here.
29397         * sysdeps/unix/dirstream.h: Renamed to ...
29398         * sysdeps/posix/dirstream.h: ... here.
29399         * sysdeps/unix/fdopendir.c: Renamed to ...
29400         * sysdeps/posix/fdopendir.c: ... here.
29401         * sysdeps/unix/opendir.c: Renamed to ...
29402         * sysdeps/posix/opendir.c: ... here.
29403         * sysdeps/unix/readdir.c: Renamed to ...
29404         * sysdeps/posix/readdir.c: ... here.
29405         * sysdeps/unix/readdir_r.c: Renamed to ...
29406         * sysdeps/posix/readdir_r.c: ... here.
29407         * sysdeps/unix/rewinddir.c: Renamed to ...
29408         * sysdeps/posix/rewinddir.c: ... here.
29409         * sysdeps/unix/seekdir.c: Renamed to ...
29410         * sysdeps/posix/seekdir.c: ... here.
29411         * sysdeps/unix/telldir.c: Renamed to ...
29412         * sysdeps/posix/telldir.c: ... here.
29413         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29414         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29415         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29416         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29417
29418         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29419         * bits/fcntl.h: ... here.
29420
29421         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29422         not 0.
29423         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29424         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29425         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29426         (struct flock): Move l_start, l_len to the beginning.
29427         Use __pid_t for l_pid.
29428         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29429         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29430         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29431         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29432         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29433         [__USE_LARGEFILE64] (struct flock64): New type.
29434         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29435
29436         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29437         * bits/dirent.h: ... here.
29438
29439         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29440         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29441
29442 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29443
29444         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29445         Change from 2.6.0 to 2.6.16.
29446         * sysdeps/unix/sysv/linux/configure: Regenerated.
29447         * sysdeps/unix/sysv/linux/kernel-features.h
29448         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29449         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29450         version.
29451         (__ASSUME_UTIMES): Likewise.
29452         (__ASSUME_CLONE_STOPPED): Remove.
29453         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29454         architectures, not kernel version.
29455         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29456         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29457         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29458         (__ASSUME_WAITID_SYSCALL): Likewise.
29459         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29460         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29461         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29462         refer to older versions.
29463
29464 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29465
29466         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29467         Define alphasort64 as an alias.
29468         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29469         Define versionsort64 as an alias.
29470         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29471         Define scandir64 as an alias.
29472         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29473         Define scandirat64 as an alias.
29474         * dirent/alphasort64.c (alphasort64):
29475         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29476         * dirent/versionsort64.c: Likewise.
29477         * dirent/scandir64.c: Likewise.
29478         * dirent/scandirat64.c: Likewise.
29479         * sysdeps/wordsize-64/alphasort.c: File removed.
29480         * sysdeps/wordsize-64/alphasort64.c: File removed.
29481         * sysdeps/wordsize-64/scandir.c: File removed.
29482         * sysdeps/wordsize-64/scandir64.c: File removed.
29483         * sysdeps/wordsize-64/scandirat.c: File removed.
29484         * sysdeps/wordsize-64/scandirat64.c: File removed.
29485         * sysdeps/wordsize-64/versionsort.c: File removed.
29486         * sysdeps/wordsize-64/versionsort64.c: File removed.
29487         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29488         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29489         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29490         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29491         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29492         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29493         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29494         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29495
29496         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29497         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29498         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29499         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29500         [defined __arch64__ || defined __sparcv9]
29501         (__INO_T_MATCHES_INO64_T): New macro.
29502         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29503         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29504         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29505         * sysdeps/unix/sysv/linux/bits/dirent.h
29506         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29507         (_DIRENT_MATCHES_DIRENT64): New macro.
29508
29509         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29510         Define lockf64 as an alias.
29511         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29512         Define fseeko64 as an alias.
29513         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29514         Define ftello64 as an alias.
29515         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29516         Define _IO_fgetpos64 and fgetpos64 as aliases.
29517         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29518         Define _IO_fsetpos64 and fsetpos64 as aliases.
29519         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29520         Conditionalize body on this.
29521         * libio/fseeko64.c: Likewise.
29522         * libio/ftello64.c: Likewise.
29523         * libio/iofgetpos64.c: Likewise.
29524         * libio/iofsetpos64.c: Likewise.
29525         * sysdeps/wordsize-64/lockf.c: File removed.
29526         * sysdeps/wordsize-64/lockf64.c: File removed.
29527         * sysdeps/wordsize-64/fseeko.c: File removed.
29528         * sysdeps/wordsize-64/fseeko64.c: File removed.
29529         * sysdeps/wordsize-64/ftello.c: File removed.
29530         * sysdeps/wordsize-64/ftello64.c: File removed.
29531         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29532         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29533         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29534         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29535         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29536         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29537         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29538         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29539         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29540         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29541         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29542         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29543         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29544         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29545
29546         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29548         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29549         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29550         [defined __arch64__ || defined __sparcv9]
29551         (__OFF_T_MATCHES_OFF64_T): New macro.
29552         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29553         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29554         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29555         (__OFF_T_MATCHES_OFF64_T): New macro.
29556
29557 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29558
29559         * stdlib/secure-getenv.c (__secure_getenv): Replace
29560         GLIBC_2_16 with GLIBC_2_17.
29561
29562 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29563
29564         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29565         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29566
29567 2012-08-03  David S. Miller  <davem@davemloft.net>
29568
29569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29570
29571 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29572
29573         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29574         Remove.
29575         (__ASSUME_CORRECT_SI_PID): Likewise.
29576         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29577         (__ASSUME_TMPFS_NAME): Likewise.
29578         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29579         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29580         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29581         (HAVE_AUX_SECURE): Make definition unconditional.
29582         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29583         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29584
29585 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29586
29587         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29588         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29589         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29590         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29591         __eloop_threshold instead of SYMLOOP_MAX.
29592
29593         * sysdeps/generic/eloop-threshold.h: New file.
29594         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29595         of MAXSYMLINKS.
29596         * elf/chroot_canon.c (chroot_canon): Likewise.
29597
29598 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29599
29600         [BZ #13717]
29601         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29602         Change to 2.6.0 everywhere.
29603         * sysdeps/unix/sysv/linux/configure: Regenerated.
29604         * sysdeps/unix/sysv/linux/kernel-features.h
29605         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29606         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29607         kernel versions.
29608         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29609         (__ASSUME_FUTEX_REQUEUE): Remove.
29610         (__ASSUME_STATFS64): Define unconditionally.
29611         (__ASSUME_AT_SECURE): Likewise.
29612         (__ASSUME_CORRECT_SI_PID): Likewise.
29613         (__ASSUME_TGKILL): Define without depending on kernel version for
29614         i386.
29615         (__ASSUME_UTIMES): Likewise.
29616         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29617         kernel version.
29618         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29619         (__ASSUME_TMPFS_NAME): Likewise.
29620         * README: Update reference to Linux kernel versions.
29621
29622 2012-08-02  Marek Polacek  <polacek@redhat.com>
29623
29624         [BZ# 14150]
29625         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29626         libc_cv_asm_type_prefix with %.
29627         * configure: Regenerated.
29628         * include/libc-symbols.h: Remove comment about
29629         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29630         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29631         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29632         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29633         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29634         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29635         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29636         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29637         * elf/tst-unique2mod1.c: Likewise.
29638         * elf/tst-unique1mod2.c: Likewise.
29639         * elf/tst-unique1mod1.c: Likewise.
29640         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29641         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29642         Replace ASM_TYPE_DIRECTIVE with .type.
29643         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29644         * sysdeps/i386/sysdep.h: Likewise.
29645         * sysdeps/x86_64/sysdep.h: Likewise.
29646         * sysdeps/sh/sysdep.h: Likewise.
29647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29648         Do not define ASM_TYPE_DIRECTIVE.
29649         * sysdeps/powerpc/sysdep.h: Likewise.
29650         * sysdeps/powerpc/powerpc32/sysdep.h:
29651         Replace ASM_TYPE_DIRECTIVE with .type.
29652         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29653         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29654         * sysdeps/i386/fpu/e_powf.S: Likewise.
29655         * sysdeps/i386/fpu/e_expl.S: Likewise.
29656         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29657         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29658         * sysdeps/i386/fpu/e_pow.S: Likewise.
29659         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29660         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29661         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29662         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29663         * sysdeps/i386/fpu/e_log2.S: Likewise.
29664         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29665         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29666         * sysdeps/i386/fpu/e_powl.S: Likewise.
29667         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29668         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29669         * sysdeps/i386/fpu/e_logl.S: Likewise.
29670         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29671         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29672         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29673         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29674         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29675         * sysdeps/i386/fpu/e_log.S: Likewise.
29676         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29677         * sysdeps/i386/fpu/e_logf.S: Likewise.
29678         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29679         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29680         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29681         * sysdeps/i386/fpu/e_log10.S: Likewise.
29682         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29683         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29684         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29685         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29686         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29687         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29688         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29689         * sysdeps/i386/i686/strtok.S: Likewise.
29690         * sysdeps/i386/i386-mcount.S: Likewise.
29691         * sysdeps/i386/strtok.S: Likewise.
29692         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29693         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29694         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29695         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29696         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29697         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29698         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29699         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29700         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29701         * sysdeps/x86_64/_mcount.S: Likewise.
29702         * sysdeps/x86_64/strtok.S: Likewise.
29703         * sysdeps/sh/_mcount.S: Likewise.
29704
29705 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29706
29707         * libio/iofopen.c: Include <fcntl.h>.
29708         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29709         (_IO_fopen64, fopen64): Define as aliases.
29710         * libio/iofopen64.c: Include <fcntl.h>.
29711         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29712         Conditionalize body on this.
29713         * sysdeps/wordsize-64/iofopen.c: File removed.
29714         * sysdeps/wordsize-64/iofopen64.c: File removed.
29715
29716 2012-08-01  Marek Polacek  <polacek@redhat.com>
29717
29718         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29719         Use dlfcn directly instead of a variable.
29720         (binfmt-subdir): Do not define.
29721         (dlfcn): Likewise.
29722
29723 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29724
29725         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29726         Remove all definitions.
29727         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29728         <kernel-features.h>.
29729         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29730         (miss_F_GETOWN_EX): Remove all definitions.
29731         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29732         macro definition.
29733         [!__ASSUME_FCNTL64]: Remove conditional code.
29734         [__ASSUME_FCNTL64]: Make code unconditional.
29735         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29736         <kernel-features.h>.
29737         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29738         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29739         (lockf64) [__NR_fcntl64]: Make code unconditional.
29740         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29741
29742         * sysdeps/unix/sysv/linux/kernel-features.h
29743         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29744         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29745         Make code unconditional.
29746         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29747         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29749         [__NR_vfork]: Make code unconditional.
29750         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29751         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29753         [__NR_vfork]: Make code unconditional.
29754         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29755         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29756
29757 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29758
29759         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29760         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29761
29762         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29763         Define mkstemp64 as an alias.
29764         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29765         Define mkstemps64 as an alias.
29766         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29767         Define mkostemp64 as an alias.
29768         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29769         Define mkostemps64 as an alias.
29770         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29771         Conditionalize body on this.
29772         * misc/mkostemp64.c: Likewise.
29773         * misc/mkostemps64.c: Likewise.
29774         * misc/mkstemps64.c: Likewise.
29775         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29776         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29777         * sysdeps/wordsize-64/mkostemp.c: File removed.
29778         * sysdeps/wordsize-64/mkstemp.c: File removed.
29779         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29780         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29781         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29782         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29783
29784         [BZ #14138]
29785         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29786         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29787         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29788         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29789
29790         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29791         compat_symbol macros from <shlib-compat.h> rather than the underlying
29792         default_symbol_version and symbol_version macros, so that DEFAULT
29793         lines in shlib-versions are respected.
29794         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29795
29796 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29797
29798         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29799         Declare with warn_unused_result.
29800         (setgid, setregid, setegid, setresgid): Likewise.
29801         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29802         Likewise.
29803         * WUR-REPORT: Remove set*id functions.
29804
29805 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29806
29807         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29808
29809 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29810
29811         [BZ #10191]
29812         * include/sys/socket.h (__libc_accept, __libc_accept4):
29813         Add attribute_hidden.
29814         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29815
29816         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29817         use of PTR_MANGLE.
29818         * inet/getnetgrent_r.c (setup): Likewise.
29819
29820         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29821
29822 2012-07-31  David S. Miller  <davem@davemloft.net>
29823
29824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29825
29826 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29827
29828         [BZ #13629]
29829         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29830         value between 1.0 and 2.0 and smaller part has absolute value less
29831         than 1.0.
29832         * math/s_clog10.c (__clog10): Likewise.
29833         * math/s_clog10f.c (__clog10f): Likewise.
29834         * math/s_clog10l.c (__clog10l): Likewise.
29835         * math/s_clogf.c (__clogf): Likewise.
29836         * math/s_clogl.c (__clogl): Likewise.
29837         * math/libm-test.inc (clog_test): Add more tests.
29838         (clog10_test): Likewise.
29839         * sysdeps/i386/fpu/libm-test-ulps: Update.
29840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29841
29842 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29843
29844         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29845         Exit with zero in case no suitable GID is found, and write a
29846         message to standard error.
29847
29848 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29849
29850         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29851         rather than to 1.
29852         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29853         (MAXPATHLEN): Removed.
29854         (NOGROUP, NODEV): New macros.
29855         (setbit, clrbit, isset, isclr): New macros.
29856         (howmany, roundup, powerof2): New macros.
29857         (DEV_BSIZE): New macro.
29858
29859         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29860         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29861
29862         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29863         definition on [!__NO_LONG_DOUBLE_MATH].
29864
29865         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29866         PTR_MANGLE and PTR_DEMANGLE.
29867
29868         * socket/accept4.c (accept4): Rename to __libc_accept4.
29869         Define accept4 as a weak alias.
29870
29871         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29872         on [_DIRENT_HAVE_D_TYPE].
29873         * io/ftw.c (ftw_dir): Likewise.
29874
29875         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29876
29877         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29878
29879         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29880         Use the BSD numbers rather than the arbitrary ones we had.
29881         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29882         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29883         (SIGXCPU, SIGXFSZ): New macros.
29884         (_NSIG): Now 32.
29885
29886         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29887         initializer on [_LIBC_REENTRANT].
29888
29889         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29890         definitions inside [_POSIX_MAPPED_FILES].
29891
29892         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29893
29894         * dirent/opendir.c: Include <fcntl.h>.
29895
29896         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29897         (__libc_getspecific): Likewise.
29898         (__libc_key_create): Likewise.
29899
29900         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29901         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29902         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29903         (tmpfile64): Define as alias.
29904         * sysdeps/wordsize-64/tmpfile.c: File removed.
29905         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29906         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29907         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29908
29909         * stdio-common/vfscanf.c: Include <stdbool.h>.
29910         * nss/makedb.c: Likewise.
29911         * stdio-common/_i18n_number.h: Likewise.
29912         * argp/argp-help.c: Likewise.
29913         * posix/wordexp.c: Likewise.
29914         * sysdeps/posix/spawni.c: Likewise.
29915         * nss/nss_files/files-initgroups.c: Likewise.
29916         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29917         * nss/nss_files/files-initgroups.c: Likewise.
29918         * nss/nss_db/db-netgrp.c: Likewise.
29919         * nss/nss_db/db-initgroups.c: Likewise.
29920         * io/fchmodat.c: Include <sys/stat.h>.
29921
29922         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29923         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29924
29925         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29926         [HAVE_MMAP].
29927
29928         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29929         Add multiple inclusion protection.
29930
29931 2012-07-27  David S. Miller  <davem@davemloft.net>
29932
29933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29934
29935 2012-07-27  Gary Benson  <gbenson@redhat.com>
29936
29937         [BZ #14298]
29938         * elf/rtld.c: Include <stap-probe.h>.
29939         (dl_main): Added static probes "init_start" and "init_complete".
29940         * elf/dl-load.c: Include <stap-probe.h>.
29941         (lose): Take new parameter "nsid".
29942         Added static probe "map_failed".
29943         (_dl_map_object_from_fd): Pass namespace id to lose.
29944         Added static probe "map_start".
29945         (open_verify): Pass namespace id to lose.
29946         * elf/dl-open.c: Include <stap-probe.h>.
29947         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29948         and "reloc_complete".
29949         * elf/dl-close.c: Include <stap-probe.h>.
29950         (_dl_close_worker): Added static probes "unmap_start" and
29951         "unmap_complete".
29952         * elf/rtld-debugger-interface.txt: New file documenting the above.
29953
29954 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29955
29956         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29957         rather than a string variable.
29958         * sunrpc/rpc_main.c (h_output): Likewise.
29959         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29960
29961 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29962
29963         * inet/check_native.c: New file.
29964
29965 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29966
29967         [BZ #13629]
29968         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29969         if larger part has absolute value 1.0.
29970         * math/s_clog10.c (__clog10): Likewise.
29971         * math/s_clog10f.c (__clog10f): Likewise.
29972         * math/s_clog10l.c (__clog10l): Likewise.
29973         * math/s_clogf.c (__clogf): Likewise.
29974         * math/s_clogl.c (__clogl): Likewise.
29975         * math/libm-test.inc (clog_test): Add more tests.
29976         (clog10_test): Likewise.
29977         * sysdeps/i386/fpu/libm-test-ulps: Update.
29978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29979
29980         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29981         (pltexit): Likewise.
29982         (La_regs): Likewise.
29983         (La_retval): Likewise.
29984         (int_retval): Likewise.
29985         Update #error for removed macros to refer only to definitions in
29986         tst-audit.h.
29987         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29988         macro.
29989         (pltexit): Likewise.
29990         (La_regs): Likewise.
29991         (La_retval): Likewise.
29992         (int_retval): Likewise.
29993         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29994         macro.
29995         (pltexit): Likewise.
29996         (La_regs): Likewise.
29997         (La_retval): Likewise.
29998         (int_retval): Likewise.
29999         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30000         macro.
30001         (pltexit): Likewise.
30002         (La_regs): Likewise.
30003         (La_retval): Likewise.
30004         (int_retval): Likewise.
30005         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30006         macro.
30007         (pltexit): Likewise.
30008         (La_regs): Likewise.
30009         (La_retval): Likewise.
30010         (int_retval): Likewise.
30011         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30012         macro.
30013         (pltexit): Likewise.
30014         (La_regs): Likewise.
30015         (La_retval): Likewise.
30016         (int_retval): Likewise.
30017         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30018         macro.
30019         (pltexit): Likewise.
30020         (La_regs): Likewise.
30021         (La_retval): Likewise.
30022         (int_retval): Likewise.
30023         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30024         macro definitions in tst-audit.h.
30025         * sysdeps/i386/tst-audit.h: New file.
30026         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30027         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30028         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30029         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30030         * sysdeps/sh/tst-audit.h: Likewise.
30031         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30032         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30033         * sysdeps/x86_64/tst-audit.h: Likewise.
30034
30035 2012-07-26  Andreas Jaeger  <aj@suse.de>
30036
30037         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30038         ptrace.
30039
30040         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30041         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30042         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30043         PTRACE_O_MASK.
30044         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30045         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30046         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30047
30048         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30049         value.
30050
30051         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30052         _sigsys.
30053         (si_call_addr, si_syscall, si_arch): Define new macro.
30054         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30055         _sigsys.
30056         (si_call_addr, si_syscall, si_arch): Define new marcro.
30057         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30058         _sigsys.
30059         (si_call_addr, si_syscall, si_arch): Define new macro.
30060         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30061         _sigsys.
30062         (si_call_addr, si_syscall, si_arch): Define new macro.
30063
30064 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30065
30066         [BZ #13717]
30067         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30068         Change to 2.4.21 where previously 2.4.1.
30069         * sysdeps/unix/sysv/linux/configure: Regenerated.
30070         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30071         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30072         Linux kernel version.
30073         (__ASSUME_STD_AUXV): Remove.
30074         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30075         kernel version.
30076         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30077         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30078         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30079         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30080         (__ASSUME_NETLINK_SUPPORT): Likewise.
30081         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30082         (__no_netlink_support): Remove conditional definition.
30083         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30084         Remove.
30085         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30086         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30087         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30088         (if_nameindex_ioctl): Remove.
30089         (if_nameindex_netlink): Do not handle __no_netlink_support.
30090         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30091         code.
30092         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30093         Remove conditional code.
30094         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30095         code.
30096         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30097         unconditional.
30098         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30099         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30100         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30101         Remove.
30102         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30103         [!__ASSUME_STD_AUXV]: Remove conditional code.
30104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30105         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30106         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30108         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30109         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30110         code.
30111         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30113         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30114         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30115         conditional code.
30116         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30118         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30119         code.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30121         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30122         conditional code.
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30124         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30125         code unconditional.
30126         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30127         conditional code.
30128         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30129         unconditional.
30130         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30131         conditional code.
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30133         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30134         unconditional.
30135         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30136         conditional code.
30137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30138         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30139         code unconditional.
30140         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30141         conditional code.
30142         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30143         unconditional.
30144         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30145         conditional code.
30146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30147         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30148         code unconditional.
30149         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30150         conditional code.
30151         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30152         unconditional.
30153         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30154         conditional code.
30155
30156 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30157
30158         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30159         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30160         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30161         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30162         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30163         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30164         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30165         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30166         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30167         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30168         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30169         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30170         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30171         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30172         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30173         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30174         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30175         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30176         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30178         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30179         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30180         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30181
30182 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30183
30184         * Versions.def: Add GLIBC_2.17.
30185         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30186         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30187         Introduce __libc_secure_getenv.
30188         * stdlib/Versions (2.17): Add secure_getenv
30189         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30190         * stdlib/secure-getenv.c: Rename __secure_getenv to
30191         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30192         symbol __secure_getenv for GLIBC_2.0.
30193         * stdlib/tst-secure-getenv.c: New.
30194         * stdlib/Makefile (tests): Add testcase.
30195         * manual/startup.texi (Environment Access): Document
30196         secure_getenv.
30197         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30198         __libc_secure_getenv.
30199         * inet/ruserpass.c (ruserpass): Likewise.
30200         * malloc/mtrace.c (mtrace): Likewise.
30201         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30202         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30203         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30204         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30205         HAVE_SECURE_GETENV.
30206         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30207         __secure_getenv to __libc_secure_getenv.
30208         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30210         Likewise.
30211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30212         Likewise.
30213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30215         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30220
30221 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30222
30223         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30224         (struct La_i86_retval): Likewise.
30225         (struct La_x86_64_regs): Likewise.
30226         (struct La_x86_64_retval): Likewise.
30227         (struct La_x32_regs): Likewise.
30228         (struct La_x32_retval): Likewise.
30229         (struct La_ppc32_regs): Likewise.
30230         (struct La_ppc32_retval): Likewise.
30231         (struct La_ppc64_regs): Likewise.
30232         (struct La_ppc64_retval): Likewise.
30233         (struct La_sh_regs): Likewise.
30234         (struct La_sh_retval): Likewise.
30235         (struct La_s390_32_regs): Likewise.
30236         (struct La_s390_32_retval): Likewise.
30237         (struct La_s390_64_regs): Likewise.
30238         (struct La_s390_64_retval): Likewise.
30239         (struct La_sparc32_regs): Likewise.
30240         (struct La_sparc32_retval): Likewise.
30241         (struct La_sparc64_regs): Likewise.
30242         (struct La_sparc64_retval): Likewise.
30243         (struct audit_ifaces): Remove architecture-specific pltenter and
30244         pltexit members.
30245         * sysdeps/i386/ldsodefs.h: New file.
30246         * sysdeps/powerpc/ldsodefs.h: Likewise.
30247         * sysdeps/s390/ldsodefs.h: Likewise.
30248         * sysdeps/sh/ldsodefs.h: Likewise.
30249         * sysdeps/sparc/ldsodefs.h: Likewise.
30250         * sysdeps/x86_64/ldsodefs.h: Likewise.
30251
30252 2012-07-25  Marek Polacek  <polacek@redhat.com>
30253
30254         [BZ #6808]
30255         * math/libm-test.inc (yn_test): Add another test.
30256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30257         to ERANGE when the result is +-Inf.
30258         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30259         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30260         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30261         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30262
30263 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30264
30265         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30266         equal to 0.
30267         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30268         clock_t.
30269         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30270
30271 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30272
30273         * configure.in <sysdeps resolving>: Correct printing
30274         Implies_before.
30275         * configure: Regenerate.
30276
30277 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30278
30279         * math/w_ilogb.c: Include <limits.h>.
30280         * math/w_ilogbl.c: Likewise.
30281
30282 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30283
30284         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30285         va_copy.  Document allowing for unavailable va_copy only as
30286         pre-C99 compatibility.
30287         * manual/string.texi (Copying and Concatenation): Use va_copy
30288         instead of __va_copy in concat example.
30289
30290 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30291
30292         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30293         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30294         it if not null.
30295
30296         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30297         with O_NOLINK passed to __file_name_lookup.
30298
30299         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30300         with O_NOLINK passed to __file_name_lookup.
30301
30302         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30303         negative N or less than NGIDS.
30304
30305         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30306         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30307         enough.  Use memcpy instead of strncpy.
30308
30309 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30310
30311         * elf/Makefile (check-data): Remove.
30312         (localplt.data): New vpath directive.
30313         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30314         instead of $(check-data).
30315         * scripts/data/localplt-generic.data: Move to ...
30316         * sysdeps/generic/localplt.data: ... here.
30317         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30318         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30319         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30321         ... here.
30322         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30324         ... here.
30325         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30327         ... here.
30328         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30330         ... here.
30331         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30333         ... here.
30334         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30336         ... here.
30337
30338 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30339
30340         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30341         PPC32 and PPC64 files.
30342         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30343         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30344
30345 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30346
30347         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30348         __makecontext_ret to ...
30349         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30350         ... here and call exit if uc_link is NULL.  New file.
30351         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30352         __makecontext_ret.S.
30353         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30354         __makecontext_ret to ...
30355         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30356         ... here and call exit if uc_link is NULL.  New file.
30357         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30358         __makecontext_ret.S.
30359
30360 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30361
30362         * elf/elf.h (R_390_IRELATIVE): New definition.
30363         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30364         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30365         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30366         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30367         (elf_machine_lazy_rel): Likewise.
30368         * sysdeps/s390/dl-irel.h: New file.
30369         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30370         * sysdeps/s390/s390-64/memset.S: New asm code.
30371         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30372         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30373         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30374         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30375         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30376         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30377         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30378         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30379         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30380         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30381         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30382         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30383         * sysdeps/s390/s390-32/memset.S: New asm code.
30384         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30385
30386 2012-07-17  Marek Polacek  <polacek@redhat.com>
30387
30388         [BZ #14349]
30389         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30390         * sysdeps/s390/s390-64/configure.in: Likewise.
30391         * sysdeps/sparc/configure.in: Likewise.
30392         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30393         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30394         * sysdeps/i386/configure.in: Likewise.
30395         * sysdeps/x86_64/configure.in: Likewise.
30396         * sysdeps/sh/configure.in: Likewise.
30397         * sysdeps/s390/s390-32/configure: Regenerated.
30398         * sysdeps/s390/s390-64/configure: Likewise.
30399         * sysdeps/x86_64/configure: Likewise.
30400         * sysdeps/sh/configure: Likewise.
30401         * sysdeps/powerpc/powerpc64/configure: Likewise.
30402         * sysdeps/powerpc/powerpc32/configure: Likewise.
30403         * sysdeps/sparc/configure: Likwise.
30404         * sysdeps/i386/configure: Likewise.
30405
30406         * elf/dl-open.c: Comment fixes.
30407
30408 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30409
30410         * Makefile [CXX] (check-data): Remove.
30411         [CXX] (c++-types.data): New vpath directive.
30412         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30413         vpath.  Do not allow for C++ type data being missing.
30414         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30415         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30416         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30417         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30418         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30419         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30420         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30422         ... here.
30423         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30425         ... here.
30426         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30428         ... here.
30429         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30431         ... here.
30432         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30434         ... here.
30435         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30437         ... here.
30438         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30440         ... here.
30441         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30443
30444         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30445         definitions to architecture-specific files.
30446         (TLS_IE): Likewise.
30447         (TLS_LD): Likewise.
30448         (TLS_GD): Likewise.
30449         * sysdeps/i386/tls-macros.h: New file.
30450         * sysdeps/powerpc/tls-macros.h: Likewise.
30451         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30452         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30453         * sysdeps/sh/tls-macros.h: Likewise.
30454         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30455         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30456         * sysdeps/x86_64/tls-macros.h: Likewise.
30457
30458 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30459
30460         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30461         zero value for regular exit case.
30462
30463         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30464         (__start_context): Preserve zero value for regular exit case.
30465
30466 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30467             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30468
30469         * manual/setjmp.texi (setcontext): Clarify normal process
30470         termination when uc_link is the null pointer.
30471         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30472         exit call.
30473
30474 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30475
30476         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30477         preprocessor.  Test for each exception mask separately.
30478
30479 2012-07-16  Andreas Jaeger  <aj@suse.de>
30480
30481         * po/ru.po: Update from translation team.
30482
30483 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30484
30485         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30486         equal to 0.
30487         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30488         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30489         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30490         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30491         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30492
30493 2012-07-13  Andreas Jaeger  <aj@suse.de>
30494
30495         * po/fr.po: Update from translation team.
30496
30497 2012-07-12  Marek Polacek  <polacek@redhat.com>
30498
30499         [BZ #14173]
30500         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30501         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30502         loop condition.
30503
30504 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30505
30506         [BZ #13717]
30507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30508         Change to 2.4.1 where previously 2.4.0.
30509         * sysdeps/unix/sysv/linux/configure: Regenerated.
30510         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30511         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30512         version.
30513         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30514         (__ASSUME_AT_CLKTCK): Remove.
30515         (__ASSUME_AT_PAGESIZE): Likewise.
30516         (__ASSUME_AT_XID): Likewise.
30517         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30518         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30519         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30520         unconditionally.
30521         (HAVE_AUX_PAGESIZE): Likewise.
30522         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30523         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30524         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30525
30526 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30527
30528         [BZ #14307]
30529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30530         the temporary buffer used to invoke __gethostbyname2_r,
30531         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30532         host_data / struct gaih_addrtuple.
30533         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30534         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30535         header file nss/nsswitch.h.
30536         * nss/nsswitch.h (global scope): Add definition of implementation
30537         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30538         resolv/nss_dns/dns-host.c).
30539
30540 2012-07-11  Andreas Jaeger  <aj@suse.de>
30541
30542         * po/fr.po: Update from translation team.
30543
30544         * po/sv.po: Update from translation team
30545         * po/fr.po: Another update from translation team.
30546
30547 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30548
30549         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30550         for subnormals or multiply small sinh result by itself.
30551         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30553
30554 2012-07-11  David S. Miller  <davem@davemloft.net>
30555
30556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30557
30558 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30559
30560         [BZ #14347]
30561         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30562         (INTERNAL_MARK): Shift it here.
30563
30564 2012-07-10  Marek Polacek  <polacek@redhat.com>
30565
30566         [BZ #14151]
30567         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30568         libc_cv_asm_global_directive with .globl.
30569         * configure: Regenerated.
30570         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30571         with .globl.
30572         * sysdeps/i386/configure: Regenerated.
30573         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30574         with .globl.
30575         * sysdeps/x86_64/configure: Regenerated.
30576         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30577         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30578         * elf/tst-unique2mod2.c: Likewise.
30579         * elf/tst-unique2mod1.c: Likewise.
30580         * elf/tst-unique1mod2.c: Likewise.
30581         * elf/tst-unique1mod1.c: Likewise.
30582         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30583         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30584         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30585         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30586         * sysdeps/mach/sysdep.h: Likewise.
30587         * sysdeps/i386/sysdep.h: Likewise.
30588         * sysdeps/i386/i386-mcount.S: Likewise.
30589         * sysdeps/x86_64/_mcount.S: Likewise.
30590         * sysdeps/x86_64/sysdep.h: Likewise.
30591         * sysdeps/sh/_mcount.S: Likewise.
30592         * sysdeps/sh/sysdep.h: Likewise.
30593         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30594         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30595         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30596         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30597         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30598         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30599         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30600         * locale/localeinfo.h: Likewise.
30601         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30602         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30603
30604 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30605
30606         [BZ #14336]
30607         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30608         system".
30609         * manual/message.texi (The Uniforum approach): Likewise.
30610         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30611         (glibc iconv Implementation): Likewise.
30612
30613 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30614
30615         [BZ #14337]
30616         * math/s_clog.c (__clog): Avoid scaling a value down where that
30617         could result in underflow.
30618         * math/s_clog10.c (__clog10): Likewise.
30619         * math/s_clog10f.c (__clog10f): Likewise.
30620         * math/s_clog10l.c (__clog10l): Likewise.
30621         * math/s_clogf.c (__clogf): Likewise.
30622         * math/s_clogl.c (__clogl): Likewise.
30623         * math/libm-test.inc (clog_test): Add more tests.
30624         (clog10_test): Likewise.
30625         * sysdeps/i386/fpu/libm-test-ulps: Update.
30626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30627
30628 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30629
30630         [BZ #14283]
30631         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30632         by 7 not 8 to examine high bit of fractional part.
30633
30634         [BZ #14042]
30635         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30636         for call to __mcount_internal.
30637         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30638         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30639         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30640
30641 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30642
30643         [BZ #14154]
30644         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30645         approximation for values within 0x1p-13f of an odd multiple of
30646         pi/4.
30647         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30648         exception.  Add more tests.
30649         * sysdeps/i386/fpu/libm-test-ulps: Update.
30650
30651         [BZ #6778]
30652         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30653         inputs and return -1 for them.  Do not check for +Inf in case not
30654         reachable for +Inf.
30655         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30656         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30657         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30658         and return -1 for them.  Do not check for +Inf in case not
30659         reachable for +Inf.
30660         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30661         define.
30662         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30663         and return -1 for them.  Do not check for +Inf in case not
30664         reachable for +Inf.
30665         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30666         spurious underflow.
30667         * sysdeps/i386/fpu/libm-test-ulps: Update.
30668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30669
30670 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30671
30672         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30673
30674 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30675
30676         [BZ #14157]
30677         [BZ #14331]
30678         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30679         could result in spurious underflow.  Scale down values above
30680         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30681         * math/s_csqrtf.c (__csqrtf): Likewise.
30682         * math/s_csqrtl.c (__csqrtl): Likewise.
30683         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30684         spurious underflow.
30685         * sysdeps/i386/fpu/libm-test-ulps: Update.
30686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30687
30688 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30689
30690         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30691         xopen-msg.sed.
30692         * catgets/xopen-msg.awk: New file.
30693         * catgets/xopen-msg.sed: Removed.
30694
30695         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30696         po2text.sed.
30697         * intl/po2test.awk: New file.
30698         * intl/po2test.sed: Removed.
30699
30700 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30701
30702         [BZ #14328]
30703         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30704         or multiply small sinh result by itself.
30705         * math/s_ctanf.c (__ctanf): Likewise.
30706         * math/s_ctanh.c (__ctanh): Likewise.
30707         * math/s_ctanhf.c (__ctanhf): Likewise.
30708         * math/s_ctanhl.c (__ctanhl): Likewise.
30709         * math/s_ctanl.c (__ctanl): Likewise.
30710         * math/libm-test.inc (ctan_test_tonearest): New function.
30711         (ctan_test_towardzero): Likewise.
30712         (ctan_test_downward): Likewise.
30713         (ctan_test_upward): Likewise.
30714         (ctanh_test_tonearest): Likewise.
30715         (ctanh_test_towardzero): Likewise.
30716         (ctanh_test_downward): Likewise.
30717         (ctanh_test_upward): Likewise.
30718         (main): Call these new functions.
30719         * sysdeps/i386/fpu/libm-test-ulps: Update.
30720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30721
30722 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30723
30724         * .gitignore: Delete /ports entry.
30725
30726 2012-07-03  Andreas Jaeger  <aj@suse.de>
30727
30728         * po/bg.po: Update from translation team.
30729         * po/cs.po: Likewise.
30730         * po/de.po: Likewise.
30731         * po/hr.po: Likewise.
30732         * po/nl.pl: Likewise.
30733         * po/pl.po: Likewise.
30734         * po/vi.po: Likewise.
30735
30736 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30737
30738         * Makeconfig [!+link] (+link-before-libc): New variable.
30739         [!+link] (+link-after-libc): Likewise.
30740         [!+link] (+link-tests): Likewise.
30741         [!+link] (+link): Define in terms of $(+link-before-libc) and
30742         $(+link-after-libc).
30743         [!+link-static] (+link-static-before-libc): New variable.
30744         [!+link-static] (+link-static-after-libc): Likewise.
30745         [!+link-static] (+link-static-tests): Likewise.
30746         [!+link-static] (+link-static): Define in terms of
30747         $(+link-static-before-libc) and $(+link-static-after-libc).
30748         [build-shared] (link-libc-before-gnulib): New variable.
30749         [build-shared] (link-libc-tests): Likewise.
30750         [build-shared] (link-libc): Define in terms of
30751         $(link-libc-before-gnulib).
30752         [!build-shared] (link-libc-tests): New variable.
30753         (link-libc-static-tests): New variable.
30754         [!gnulib] (gnulib-arch): New variable.
30755         [!gnulib] (gnulib-tests): Likewise.
30756         [!gnulib] (static-gnulib-arch): Likewise.
30757         [!gnulib] (static-gnulib-tests): Likewise.
30758         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30759         Define with "=" instead of ":=".
30760         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30761         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30762         * Rules (binaries-all-notests): New variable.
30763         (binaries-all-tests): Likewise.
30764         (binaries-static-notests): Likewise.
30765         (binaries-static-tests): Likewise.
30766         (binaries-all): Define using $(binaries-all-notests) and
30767         $(binaries-all-tests).
30768         (binaries-static): Define using $(binaries-static-notests) and
30769         $(binaries-static-tests).
30770         (binaries-shared-tests): New variable.
30771         (binaries-shared-notests): Likewise.
30772         (binaries-shared): Remove variable.
30773         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30774         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30775         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30776         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30777         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30778         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30779         * elf/Makefile (sln-modules): New variable.
30780         (extra-objs): Add $(sln-modules:=.o).
30781         (ldconfig-modules): Add static-stubs.
30782         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30783         * elf/static-stubs.c: New file.
30784
30785         [BZ #14283]
30786         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30787         by 7 not 8 to examine high bit of fractional part.  Use volatile
30788         variables when splitting into final array of floats if
30789         __FLT_EVAL_METHOD__ != 0.
30790         * math/libm-test.inc (cos_test): Add another test.
30791         (sin_test): Likewise.
30792         * sysdeps/i386/fpu/libm-test-ulps: Update.
30793
30794         [BZ #14273]
30795         * math/libm-test.inc (cosh_test): Add more tests.
30796
30797         * version.h (RELEASE): Set to "development".
30798         (VERSION): Set to "2.16.90".
30799
30800 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30801
30802         * NEWS: Update copyright. Remove last-updated date.
30803         Mention math library bug fixes and timezone data changes.
30804         * README: Mention GNU/Hurd, x32, and HPPA support status.
30805
30806 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30807
30808         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30809
30810 2012-06-27  Andreas Jaeger  <aj@suse.de>
30811
30812         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30813
30814 2012-06-25  Andreas Jaeger  <aj@suse.de>
30815
30816         * sysdeps/s390/fpu/libm-test-ulps: Update.
30817
30818 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30819             Thomas Schwinge  <thomas@codesourcery.com>
30820
30821         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30822         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30823         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30824         fanotify_mark.
30825
30826 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30827
30828         * sysdeps/mach/start.c: Remove file.
30829         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30830         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30831         * sysdeps/sh/init-first.c: Likewise.
30832
30833         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30834         registers for frame unwinding purposes, add CFI directives.
30835         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30836         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30837         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30838         Likewise.
30839
30840         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30841         __fortify_fail returning.
30842         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30843
30844         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30845         sysdeps/sh/____longjmp_chk.S.
30846         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30847         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30848         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30849         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30850
30851         * sysdeps/sh/abort-instr.h: New file.
30852         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30853         process in case exit returns.
30854
30855         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30856         initialize the GOT register before use.
30857
30858         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30859         calculation of ARGC > 4.
30860
30861         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30862         meaningful names to some local labels.
30863
30864 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30865             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30866
30867         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30868         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30869         (__arch_compare_and_exchange_val_16_acq): Likewise.
30870         (__arch_compare_and_exchange_val_32_acq): Likewise.
30871         (atomic_exchange_and_add): Fix gUSA sequence.
30872         (atomic_add): Likewise.
30873         (atomic_add_negative): Likewise.
30874         (atomic_add_zero): Likewise.
30875         (atomic_bit_test_set): Likewise.
30876
30877 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30878
30879         [BZ #13579]
30880         * include/link.h (struct link_map): Add l_free_initfini.
30881         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30882         l_initfini.
30883         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30884         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30885         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30886         set.
30887
30888 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30889
30890         * configure.in: Use AC_LANG_SOURCE.
30891         * configure: Regenerate.
30892
30893 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30894
30895         * configure.in (libc_cv_localstatedir): New substituted variable.
30896         * configure: Regenerated.
30897         * config.make.in (localstatedir): New variable, substituted from
30898         libc_cv_localstatedir.
30899         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30900         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30901         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30902         * sysdeps/gnu/configure: Regenerated.
30903
30904 2012-06-21  Jeff Law  <law@redhat.com>
30905
30906         [BZ #14277]
30907         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30908         free.  Simplify list management for _LIBC case.
30909
30910 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30911
30912         [BZ #14273]
30913         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30914         Clear sign bit of 64-bit integer value before comparing against
30915         overflow value.
30916
30917         * sysdeps/mach/configure: Regenerated.
30918
30919 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30920
30921         [BZ #14278]
30922         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30923
30924 2012-06-21  Jeff Law  <law@redhat.com>
30925
30926         [BZ #13882]
30927         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30928         uint16_t for elements in the "seen" array to avoid char overflows.
30929         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30930         * elf/dl-open.c (dl_open_worker): Likewise.
30931
30932 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30933
30934         * scripts/list-sources.sh: Scan PORTS for translations.
30935         * po/libc.pot: Regenerated.
30936
30937 2012-06-21  Andreas Jaeger  <aj@suse.de>
30938
30939         [BZ #12194]
30940         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30941         warning.
30942         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30943         * bits/byteswap-16.h (__bswap_16): Likewise.
30944         * bits/byteswap.h (__bswap_constant_16): Likewise.
30945
30946 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30947
30948         [BZ #14117]
30949         * sysdeps/i386/fpu_control.h: Removed.
30950         * sysdeps/x86_64/fpu_control.h: Moved to ...
30951         * sysdeps/x86/fpu_control.h: Here.
30952
30953         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30954         (_FPU_SETCW): Likewise.
30955
30956 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30957
30958         [BZ #14117]
30959         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30960         * sysdeps/x86/fpu/bits/mathinline.h: This.
30961         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30962
30963         [BZ #14050]
30964         [BZ #14117]
30965         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30966         functions if __x86_64__ is defined.
30967
30968 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30969
30970         * string/endian.h: Add !__ASSEMBLER__ condition for including
30971         conversion interfaces.
30972
30973 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30974
30975         [BZ #14241]
30976         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30977         of ABS(x) in calculating zero to negative powers other than odd
30978         integers.
30979         * math/libm-test.inc (pow_test): Add more tests.
30980
30981 2012-06-15  Andreas Jaeger  <aj@suse.de>
30982
30983         * manual/contrib.texi (Contributors): Update entry of Liubov
30984         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30985         Machado Filho.
30986
30987 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30988
30989         * string/string.h: Add __wur to GNU version of strerror_r.
30990
30991 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30992
30993         [BZ #14229]
30994         * string/Makefile (tests): Add tst-strtok_r.
30995         * string/tst-strtok_r.c: New file.
30996         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30997         RAX_LP/RDX_LP on SAVE_PTR.
30998
30999 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31000
31001         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31002
31003 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31004
31005         * libm_test.inc (csqrt_test): Allow more spurious underflow
31006         exceptions.
31007         (j0_test): Likewise.
31008         (j1_test): Likewise.
31009         (y0_test): Likewise.
31010         (y1_test): Likewise.
31011
31012 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31013
31014         * po/Makefile (libc.pot): Use UTF-8 charset.
31015
31016 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31017
31018         [BZ #14210]
31019         Suppress sign-conversion warning from FD_SET.
31020         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31021         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31022         not unsigned long int.
31023         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31024
31025 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31026
31027         [BZ #14050]
31028         [BZ #14117]
31029         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31030         __extern_always_inline instead of __extern_inline.
31031         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31032         (__signbit): Likewise.
31033         (__signbitl): Support C++ namespace.
31034         (lrintf): New inline function.
31035         (lrint): Likewise.
31036         (llrintf): Likewise.
31037         (llrint): Likewise.
31038         (fmaxf): Likewise.
31039         (fmax): Likewise.
31040         (fminf): Likewise.
31041         (fmin): Likewise.
31042         (rint): Likewise.
31043         (rintf): Likewise.
31044         (ceil): Likewise.
31045         (ceilf): Likewise.
31046         (floor): Likewise.
31047         (floorf): Likewise.
31048         (nearbyint): Likewise.
31049         (nearbyintf): Likewise.
31050
31051 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31052
31053         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31054         non-default versions.
31055
31056 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31057
31058         [BZ #14218]
31059         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31060
31061 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31062
31063         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31064         (FE_UPWARD, FE_DOWNWARD): Don't define.
31065         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31066         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31067
31068         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31069         reading it.
31070         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31071         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31072
31073 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31074
31075         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31076         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31077         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31078         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31079
31080 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31081
31082         [BZ #14117]
31083         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31084         * sysdeps/i386/fpu/Implies: New file.
31085         * sysdeps/x86_64/fpu/Implies: Likewise.
31086         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31087         * sysdeps/x86/fpu/bits/fenv.h: This.
31088
31089         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31090         __SSE_MATH__.
31091
31092 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31093
31094         [BZ #14134]
31095         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31096         character 0xffff that matches the last element of the
31097         conversion table.
31098
31099 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31100
31101         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31102         fmodl commit.
31103
31104 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31105
31106         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31107         values higher than 25.6283.
31108
31109 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31110
31111         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31112         subnormal exponent extraction and add some __builtin_expect.
31113         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31114         Fix for subnormal mantissa calculation.
31115
31116 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31117
31118         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31119         cpu2 is -1 and errno is not ENOSYS.
31120
31121 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31122
31123         [BZ #14117]
31124         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31125         * sysdeps/x86/bits/string.h: This.
31126         * sysdeps/x86_64/bits/string.h: Removed.
31127
31128         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31129         if not compiling for x86-64, but compiling for >= i486.
31130
31131         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31132         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31133
31134         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31135         New macro from Linux kernel 3.4.0.
31136         (FP_XSTATE_MAGIC2): Likewise.
31137         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31138         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31139         (struct _fpx_sw_bytes): New struct.
31140         (struct _xsave_hdr): Likewise.
31141         (struct _ymmh_state): Likewise.
31142         (struct _xstate): Likewise.
31143
31144         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31145         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31146         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31147         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31148         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31149         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31150
31151         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31152         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31153         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31154         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31155         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31156         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31157
31158 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31159
31160         [BZ #13743]
31161         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31162         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31163         (sysdep_headers): Include sys/platform/ppc.h.
31164         * sysdeps/powerpc/test-gettimebase.c: Test for
31165         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31166         * manual/Makefile (appendices): Include platform.texi.
31167         * manual/contrib.texi (Contributors): Update @node pointers.
31168         * manual/maint.texi (Maintenance): Likewise.
31169         (Platform): New node.
31170         * manual/platform.texi: New file.  Document the new features.
31171
31172 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31173             Jakub Jelinek  <jakub@redhat.com>
31174
31175         [BZ #14188]
31176         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31177         where __builtin_expect is unavailable.
31178
31179 2012-06-03  David S. Miller  <davem@davemloft.net>
31180
31181         * stdlib/longlong.h: Updated from GCC.
31182
31183 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31184
31185         [BZ #14042]
31186         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31187         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31188         __mcount_internal.
31189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31190         (GLIBC_2.16): Likewise.
31191
31192 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31193
31194         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31195
31196 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31197
31198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31199         (default-abi): New variable.
31200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31201         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31202         variable.
31203         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31204         Likewise.
31205         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31206         Likewise.
31207         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31208         Likewise.
31209
31210         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31211         definition.  Document in comment.
31212
31213 2012-06-01  David S. Miller  <davem@davemloft.net>
31214
31215         * stdlib/longlong.h: Updated from GCC.
31216
31217 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31218
31219         [BZ #14117]
31220         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31221         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31222         sys/debugreg.h sys/io.h here.
31223         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31224         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31225         sys/io.h.
31226         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31227         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31228         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31229         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31230         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31231         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31232
31233         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31234         Define only if __x86_64__ is defined.
31235
31236 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31237
31238         [BZ #14048]
31239         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31240         Use int64_t for variable i.
31241         * math/libm-test.inc (fmod_test): Add more tests.
31242
31243         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31244         z computation is not scheduled after fetestexcept.
31245         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31246         Use math_force_eval instead of asm to ensure calculation scheduled
31247         before exception test.
31248         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31249         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31250
31251 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31252
31253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31254         computation is not scheduled after fetestexcept.
31255
31256 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31257
31258         [BZ #14117]
31259         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31260         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31261
31262 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31263
31264         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31265         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31266
31267 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31268
31269         [BZ #14117]
31270         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31271         <bits/wordsize.h>.
31272         (__WCHAR_MIN): Support __WORDSIZE == 64.
31273         (__WCHAR_MAX): Likewise.
31274
31275         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31276         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31277
31278         [BZ #14183]
31279         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31280         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31281
31282         [BZ #14117]
31283         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31284         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31285
31286         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31287         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31288
31289         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31290         Defined to 1 if __x86_64__ isn't defined.
31291         (_STAT_VER_LINUX_OLD): New.
31292         (st_atime): Remove duplicate.
31293         (st_mtime): Likewise.
31294         (st_ctime): Likewise.
31295
31296 2012-05-31  David S. Miller  <davem@davemloft.net>
31297
31298         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31299         entries.
31300
31301 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31302
31303         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31304         gen-libm-test.pl.
31305
31306         [BZ #14132]
31307         * elf/dl-reloc.c: Include <_itoa.h>.
31308         (_dl_reloc_bad_type): Remove use of INTUSE.
31309         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31310         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31311         * stdio-common/psiginfo.c (psiginfo): Likewise.
31312         * stdio-common/psignal.c (psignal): Likewise.
31313         * string/strsignal.c (strsignal): Likewise.
31314         * include/signal.h (_sys_siglist): Declare hidden proto.
31315         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31316         INTVARDEF with libc_hidden_data_def.
31317         * stdio-common/itoa-udigits.c: Likewise.
31318         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31319         (_itoa_lower_digits_internal): Remove declaration.
31320         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31321         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31322         (_sys_sigabbrev_internal): Remove aliases.
31323         (_sys_siglist): Define hidden alias.
31324
31325 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31326
31327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31328         bits/sysctl.h.
31329
31330 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31331
31332         [BZ #14117]
31333         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31334         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31335
31336         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31337         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31338         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31339         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31340         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31341         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31342
31343         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31344         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31345         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31346
31347         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31348         with __addr.
31349         (insw): Likewise.
31350         (insl): Likewise.
31351         (outsb): Likewise.
31352         (outsw): Likewise.
31353         (outsl): Likewise.
31354
31355         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31356         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31357         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31358
31359         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31360         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31361         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31362         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31363         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31364         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31365
31366         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31367         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31368
31369         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31370         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31371
31372         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31373         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31374         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31375
31376         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31377         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31378         to ...
31379         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31380
31381         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31382         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31383         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31384
31385         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31386         for x86-64.
31387         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31388
31389 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31390
31391         * math/math.h (M_El): Use two more decimal places.
31392         (M_LOG2El): Likewise.
31393         (M_LOG10El): Likewise.
31394         (M_LN2l): Likewise.
31395         (M_LN10l): Likewise.
31396         (M_PIl): Likewise.
31397         (M_PI_2l): Likewise.
31398         (M_PI_4l): Likewise.
31399         (M_1_PIl): Likewise.
31400         (M_2_PIl): Likewise.
31401         (M_2_SQRTPIl): Likewise.
31402         (M_SQRT2l): Likewise.
31403         (M_SQRT1_2l): Likewise.
31404
31405 2012-05-31  David S. Miller  <davem@davemloft.net>
31406
31407         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31408         values between float registers.
31409         * sysdeps/sparc/sparc64/memset.S: Likewise.
31410         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31411
31412 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31413
31414         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31415         -D_FORTIFY_SOURCE=1.
31416         (CPPFLAGS-tst-longjmp_chk.c): Define.
31417         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31418         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31419         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31420         CFLAGS-tst-wchar-h.c.
31421
31422 2012-05-31  Marek Polacek  <polacek@redhat.com>
31423
31424         [BZ #14132]
31425         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31426         __endmntent_internal): Remove declaration.
31427         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31428         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31429         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31430
31431 2012-05-30  David S. Miller  <davem@davemloft.net>
31432
31433         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31434         (___Q_simulate_exceptions): Use real FP ops rather than writing
31435         into the %fsr.
31436         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31437         Likewise.
31438
31439 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31440
31441         [BZ #14117]
31442         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31443         * sysdeps/x86/bits/xtitypes.h: This.
31444
31445         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31446         * sysdeps/x86/bits/wordsize.h: This.
31447
31448         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31449         * sysdeps/x86/bits/huge_vall.h: This.
31450
31451         * sysdeps/i386/bits/select.h: Removed.
31452         * sysdeps/x86_64/bits/select.h: Renamed to ...
31453         * sysdeps/x86/bits/select.h: This.
31454
31455         * sysdeps/i386/bits/setjmp.h: Removed.
31456         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31457         * sysdeps/x86/bits/setjmp.h: This.
31458
31459         * sysdeps/i386/bits/mathdef.h: Removed.
31460         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31461         * sysdeps/x86/bits/mathdef.h: This.
31462
31463 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31464
31465         [BZ #14132]
31466         * include/sys/socket.h (__connect_internal)
31467         (__libc_sa_len_internal): Remove declaration.
31468         (__connect, __libc_sa_len): Declare hidden_proto.
31469         (SA_LEN): Remove use of INTUSE.
31470         * socket/connect.c: Add libc_hidden_def.
31471         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31472         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31473         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31474         alias.
31475         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31476         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31477         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31478         of adding _internal alias.
31479
31480 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31481
31482         [BZ #14117]
31483         * sysdeps/i386/bits/link.h: Removed.
31484         * sysdeps/i386/bits/linkmap.h: Likewise.
31485         * sysdeps/x86_64/bits/link.h: Renamed to ...
31486         * sysdeps/x86/bits/link.h: This.
31487         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31488         * sysdeps/x86/bits/linkmap.h: This.
31489
31490         * sysdeps/i386/bits/endian.h: Removed.
31491         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31492         * sysdeps/x86/bits/endian.h: This.
31493
31494         * sysdeps/i386/bits/byteswap.h: Removed.
31495         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31496         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31497         * sysdeps/x86/bits/byteswap.h: This.
31498         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31499         * sysdeps/x86/bits/byteswap-16.h: This.
31500         * sysdeps/i386/Implies: Add x86.
31501         * sysdeps/x86_64/Implies: Likewise.
31502
31503 2012-05-30  David S. Miller  <davem@davemloft.net>
31504
31505         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31506         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31507         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31508         (FP_TRAPPING_EXCEPTIONS): Define.
31509         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31510         (FP_TRAPPING_EXCEPTIONS): Define.
31511         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31512         subnormals only when inexact has been signalled or underflow
31513         exceptions are enabled.
31514         (_FP_PACK_CANONICAL): Likewise.
31515
31516 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31517
31518         [BZ #14183]
31519         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31520         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31521
31522 2012-05-30  Richard Henderson  <rth@twiddle.net>
31523
31524         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31525         with #ifndef NOT_IN_libc.
31526
31527         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31528         marked to avoid plt entry.
31529
31530 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31531
31532         [BZ #14112]
31533         * Makeconfig (default-abi): New macro.
31534         (abi-includes): Likewise.
31535         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31536         $(abi-$(default-abi)-lib-soname) for soname if defined.
31537         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31538         abi-variants.
31539         * Makefile (installed-stubs): Likewise.
31540         * include/stubs-biarch.h: Removed.
31541         * scripts/lib-names.awk: Only handle one library at a time.
31542         * scripts/soversions.awk: Remove WORDSIZE support.
31543         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31544         entries.
31545         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31546         Removed.
31547         (syscall-list-default-condition): Likewise.
31548         (syscall-list-default-condition): Likewise.
31549         (syscall-list-includes): Likewise.
31550         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31551         syscall-list-* with abi-*.  Handle undefined abi-variants.
31552         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31553         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31554         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31555         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31556         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31557         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31558         Removed.
31559         (syscall-list-32-options): Likewise.
31560         (syscall-list-32-condition): Likewise.
31561         (syscall-list-64-options): Likewise.
31562         (syscall-list-64-condition): Likewise.
31563         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31564         macro.
31565         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31566         Renamed to ...
31567         (abi-*): This.
31568         (abi-64-ld-soname): New macro.
31569         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31570         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31571         Renamed to ...
31572         (abi-*): This.
31573         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31574         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31575
31576 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31577
31578         * sysdeps/unix/sysv/linux/kernel-features.h
31579         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31580         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31581         include <kernel-features.h>.
31582         [!__NR_ftruncate64]: Remove conditional code.
31583         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31584         [__NR_ftruncate64]: Make code unconditional.
31585         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31586         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31587         include <kernel-features.h>.
31588         [!__NR_ftruncate64]: Remove conditional code.
31589         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31590         [__NR_ftruncate64]: Make code unconditional.
31591         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31593         include <kernel-features.h>.
31594         [!__NR_ftruncate64]: Remove conditional code.
31595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31596         [__NR_ftruncate64]: Make code unconditional.
31597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31599         include <kernel-features.h>.
31600         [!__NR_ftruncate64]: Remove conditional code.
31601         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31602         [__NR_ftruncate64]: Make code unconditional.
31603         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31604
31605         * configure.in (libc_cv_fpie): Weaken to a compile test using
31606         LIBC_TRY_CC_OPTION.
31607         * configure: Regenerated.
31608
31609 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31610
31611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31615         Refreshed.
31616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31622         Refreshed.
31623
31624 2012-05-27  David S. Miller  <davem@davemloft.net>
31625
31626         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31627         (___Q_zero): New.
31628         (__Q_simulate_exceptions): Return void.  Change to simulate
31629         exceptions by writing into the %fsr.
31630         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31631         (__Qp_handle_exceptions): Likewise.
31632         (numbers): Delete.
31633         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31634         __Qp_handle_exceptions.
31635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31636         __Qp_handle_exceptions.
31637         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31638         as unused and give dummy FP_RND_NEAREST initializer.
31639         (FP_INHIBIT_RESULTS): Define.
31640         (___Q_simulate_exceptions): Update declaration.
31641         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31642         formatting.
31643         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31644         as unused and give dummy FP_RND_NEAREST initializer.
31645         (__Qp_handle_exceptions): Update declaration.
31646         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31647         formatting.
31648
31649 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31650
31651         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31652         the temporary FPU control word.
31653         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31654         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31655         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31656         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31657         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31658         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31659         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31660         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31661         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31662         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31663         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31664
31665 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31666
31667         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31668         fields.
31669
31670 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31671
31672         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31673         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31674         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31675         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31676         Likewise.
31677         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31678         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31679         Likewise.
31680
31681 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31682
31683         * po/h.po: Update from translation team.
31684
31685 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31686
31687         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31688
31689         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31690         handling of denormals.
31691         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31692         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31693         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31694         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31697         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31698         Likewise.
31699
31700 2012-05-26  Marek Polacek  <polacek@redhat.com>
31701
31702         [BZ #14152]
31703         * math/libm-test.inc (fma_test): Don't always expect underflow
31704         exception.
31705
31706 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31707
31708         [BZ #12416]
31709         * elf/tst-execstack.c: Include stackinfo.h.
31710         (do_test): Adjust test case to ensure that pthread_getattr_np
31711         behaviour remains the same after marking stack executable.
31712
31713 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31714
31715         * sysdeps/unix/sysv/linux/kernel-features.h
31716         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31717         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31718         kernel-features.h.
31719         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31720         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31721         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31722         kernel-features.h.
31723         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31724         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31725
31726 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31727
31728         * configure.in: Define the default includes to being none.
31729         * configure: Regenerated.
31730
31731 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31732
31733         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31734         * sysdeps/x86_64/setjmp.S: Likewise.
31735         * sysdeps/i386/bsd-setjmp.S: Likewise.
31736         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31737         * sysdeps/i386/setjmp.S: Likewise.
31738         * sysdeps/i386/__longjmp.S: Likewise.
31739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31740         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31741
31742         * include/stap-probe.h: New file.
31743         * configure.in: Handle --enable-systemtap.
31744         * configure: Regenerated.
31745         * config.h.in (USE_STAP_PROBE): New #undef.
31746         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31747         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31748         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31749
31750 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31751
31752         [BZ #13717]
31753         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31754         to 2.4.0 where earlier.
31755         * sysdeps/unix/sysv/linux/configure: Regenerated.
31756         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
31765         [__ASSUME_32BITUIDS]: Make code unconditional.
31766         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31767         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31768         <kernel-features.h>.
31769         [__ASSUME_32BITUIDS]: Make code unconditional.
31770         [!__ASSUME_32BITUIDS]: Remove conditional code.
31771         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31772         <kernel-features.h>.
31773         [__ASSUME_32BITUIDS]: Make code unconditional.
31774         [!__ASSUME_32BITUIDS]: Remove conditional code.
31775         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31776         <kernel-features.h>.
31777         [__ASSUME_32BITUIDS]: Make code unconditional.
31778         [!__ASSUME_32BITUIDS]: Remove conditional code.
31779         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31780         <kernel-features.h>.
31781         [__ASSUME_32BITUIDS]: Make code unconditional.
31782         [!__ASSUME_32BITUIDS]: Remove conditional code.
31783         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31784         <kernel-features.h>.
31785         [__ASSUME_32BITUIDS]: Make code unconditional.
31786         [!__ASSUME_32BITUIDS]: Remove conditional code.
31787         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31788         <kernel-features.h>.
31789         [__ASSUME_32BITUIDS]: Make code unconditional.
31790         [!__ASSUME_32BITUIDS]: Remove conditional code.
31791         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31792         <kernel-features.h>.
31793         [__ASSUME_32BITUIDS]: Make code unconditional.
31794         [!__ASSUME_32BITUIDS]: Remove conditional code.
31795         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31796         <kernel-features.h>.
31797         [__ASSUME_32BITUIDS]: Make code unconditional.
31798         [!__ASSUME_32BITUIDS]: Remove conditional code.
31799         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31800         <kernel-features.h>.
31801         [__ASSUME_32BITUIDS]: Make code unconditional.
31802         [!__ASSUME_32BITUIDS]: Remove conditional code.
31803         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31804         <kernel-features.h>.
31805         [__ASSUME_32BITUIDS]: Make code unconditional.
31806         [!__ASSUME_32BITUIDS]: Remove conditional code.
31807         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31808         <kernel-features.h>.
31809         [__NR_setresgid] (__setresgid): Do not declare.
31810         [__ASSUME_32BITUIDS]: Make code unconditional.
31811         [!__ASSUME_32BITUIDS]: Remove conditional code.
31812         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31813         <kernel-features.h>.
31814         [__NR_setresuid] (__setresuid): Do not declare.
31815         [__ASSUME_32BITUIDS]: Make code unconditional.
31816         [!__ASSUME_32BITUIDS]: Remove conditional code.
31817         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31818         <kernel-features.h>.
31819         [__ASSUME_32BITUIDS]: Make code unconditional.
31820         [!__ASSUME_32BITUIDS]: Remove conditional code.
31821         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31822         <kernel-features.h>.
31823         [__ASSUME_32BITUIDS]: Make code unconditional.
31824         [!__ASSUME_32BITUIDS]: Remove conditional code.
31825         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31826         <kernel-features.h>.
31827         [__ASSUME_32BITUIDS]: Make code unconditional.
31828         [!__ASSUME_32BITUIDS]: Remove conditional code.
31829         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31830         <kernel-features.h>.
31831         [__ASSUME_32BITUIDS]: Make code unconditional.
31832         [!__ASSUME_32BITUIDS]: Remove conditional code.
31833         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31834         <kernel-features.h>.
31835         [__ASSUME_32BITUIDS]: Make code unconditional.
31836         [!__ASSUME_32BITUIDS]: Remove conditional code.
31837         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31838         <kernel-features.h>.
31839         [__ASSUME_32BITUIDS]: Make code unconditional.
31840         [!__ASSUME_32BITUIDS]: Remove conditional code.
31841         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31842         <kernel-features.h>.
31843         [__ASSUME_32BITUIDS]: Make code unconditional.
31844         [!__ASSUME_32BITUIDS]: Remove conditional code.
31845         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31846         <kernel-features.h>.
31847         [__ASSUME_32BITUIDS]: Make code unconditional.
31848         [!__ASSUME_32BITUIDS]: Remove conditional code.
31849         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31850         <kernel-features.h>.
31851         [__ASSUME_32BITUIDS]: Make code unconditional.
31852         [!__ASSUME_32BITUIDS]: Remove conditional code.
31853         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31854         <kernel-features.h>.
31855         [__ASSUME_32BITUIDS]: Make code unconditional.
31856         [!__ASSUME_32BITUIDS]: Remove conditional code.
31857         * sysdeps/unix/sysv/linux/kernel-features.h
31858         (__ASSUME_SETRESUID_SYSCALL): Remove.
31859         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31860         (__ASSUME_32BITUIDS): Likewise.
31861         (__ASSUME_LDT_WORKS): Likewise.
31862         (__ASSUME_O_DIRECTORY): Likewise.
31863         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31864         architecture but not kernel version.
31865         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31866         (__ASSUME_MMAP2_SYSCALL): Likewise.
31867         (__ASSUME_STAT64_SYSCALL): Likewise.
31868         (__ASSUME_IPC64): Likewise.
31869         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31870         <kernel-features.h>.
31871         [__ASSUME_32BITUIDS]: Make code unconditional.
31872         [!__ASSUME_32BITUIDS]: Remove conditional code.
31873         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31874         <kernel-features.h>.
31875         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31876         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31877         132096]: Remove conditional code.
31878         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31879         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31880         <kernel-features.h>.
31881         [__ASSUME_32BITUIDS]: Make code unconditional.
31882         [!__ASSUME_32BITUIDS]: Remove conditional code.
31883         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31884         <kernel-features.h>.
31885         [__ASSUME_32BITUIDS]: Make code unconditional.
31886         [!__ASSUME_32BITUIDS]: Remove conditional code.
31887         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31888         <kernel-features.h>.
31889         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31890         unconditional.
31891         (__setresgid): Do not declare.
31892         [__ASSUME_32BITUIDS]: Make code unconditional.
31893         [!__ASSUME_32BITUIDS]: Remove conditional code.
31894         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31895         <kernel-features.h>.
31896         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31897         unconditional.
31898         (__setresuid): Do not declare.
31899         [__ASSUME_32BITUIDS]: Make code unconditional.
31900         [!__ASSUME_32BITUIDS]: Remove conditional code.
31901         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31902         <kernel-features.h>.
31903         [__ASSUME_32BITUIDS]: Make code unconditional.
31904         [!__ASSUME_32BITUIDS]: Remove conditional code.
31905         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31906         <kernel-features.h>.
31907         [__ASSUME_32BITUIDS]: Make code unconditional.
31908         [!__ASSUME_32BITUIDS]: Remove conditional code.
31909
31910 2012-05-25  Richard Henderson  <rth@twiddle.net>
31911
31912         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31913         dl_hwcap to ifunc resolver.
31914         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31915         elf_ifunc_invoke.
31916         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31917         dl_hwcap to ifunc resolver.
31918         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31919
31920 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31921
31922         [BZ #14153]
31923         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31924         for |x| <= 2**-26, not 2**-57.
31925         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31926         exception.
31927
31928 2012-05-24  Jeff Law  <law@redhat.com>
31929
31930         * stdio-common/Makefile (tests): Add bug25.
31931         * stdio-common/bug25.c: New test.
31932
31933 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31934
31935         [BZ #13576]
31936         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31937         multiple of MALLOC_ALIGNMENT in size.
31938         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31939
31940 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31941
31942         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31943         Require >= 256.
31944         (FILENAME_MAX): Use macro-int-constant.
31945         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31946         (_IOFBF): Use macro-int-constant.
31947         (_IOLBF): Likewise.
31948         (_IONBF): Likewise.
31949         (SEEK_CUR): Likewise.
31950         (SEEK_END): Likewise.
31951         (SEEK_SET): Likewise.
31952         (TMP_MAX): Likewise.
31953         (EOF): Use macro-int-constant.  Require < 0.
31954         (NULL): Use macro-constant.  Require == 0.
31955         (stdin): Require type to be FILE *.
31956         (stdout): Likewise.
31957         (stderr): Likewise.
31958         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31959         macro-int-constant.
31960         (EXIT_SUCCESS): Likewise.
31961         (NULL): Use macro-constant.  Require == 0.
31962         (RAND_MAX): Use macro-int-constant.
31963         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31964         [C99-based standards] (strtof): Require function.
31965         [C99-based standards] (strtold): Likewise.
31966         [C99-based standards] (strtoll): Likewise.
31967         [C99-based standards] (strtoull): Likewise.
31968         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31969         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31970         [ISO || ISO99 || ISO11] (math.h): Likewise.
31971         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31972         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31973         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31974
31975 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31976
31977         [BZ #14132]
31978         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31979         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31980         * intl/dgettext.c (DCGETTEXT): Likewise.
31981         * intl/gettext.c (DCGETTEXT): Likewise.
31982         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31983         * posix/regex_internal.h (gettext): Likewise.
31984         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31985         Remove declaration.
31986         * include/argz.h (__argz_count_internal)
31987         (__argz_stringify_internal): Remove declaration.
31988         (__argz_count, __argz_stringify): Declare hidden proto.
31989         * intl/dcgettext.c: Remove use of INTDEF.
31990         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31991         * string/argz-stringify.c: Likewise.
31992         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31993         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31994         Declare hidden proto.
31995         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31996         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31997         Declare hidden proto.
31998         * include/stdio.h (__asprintf_internal): Don't declare.
31999         (__asprintf): Don't define as macro.  Declare hidden proto.
32000         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32001         (__fsetlocking): Declare hidden proto.
32002         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32003         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32004         hidden proto.
32005         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32006         (_IO_setlinebuf): Remove use of INTUSE.
32007         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32008         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32009         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32010         Remove declaration.
32011         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32012         (_IO_do_flush): Remove use of INTUSE.
32013         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32014         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32015         (_IO_adjust_column, _IO_least_wmarker)
32016         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32017         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32018         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32019         (_IO_default_doallocate, _IO_wdefault_doallocate)
32020         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32021         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32022         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32023         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32024         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32025         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32026         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32027         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32028         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32029         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32030         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32031         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32032         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32033         proto.
32034         (_IO_flush_all_internal, _IO_adjust_column_internal)
32035         (_IO_default_uflow_internal, _IO_default_finish_internal)
32036         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32037         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32038         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32039         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32040         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32041         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32042         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32043         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32044         (_IO_file_close_internal, _IO_file_close_it_internal)
32045         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32046         (_IO_file_init_internal, _IO_file_attach_internal)
32047         (_IO_file_fopen_internal, _IO_file_read_internal)
32048         (_IO_file_sync_internal, _IO_file_seek_internal)
32049         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32050         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32051         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32052         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32053         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32054         (_IO_list_all_internal, _IO_link_in_internal)
32055         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32056         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32057         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32058         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32059         (_IO_do_write_internal, _IO_padn_internal)
32060         (_IO_getline_info_internal, _IO_getline_internal)
32061         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32062         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32063         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32064         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32065         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32066         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32067         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32068         with libc_hidden_ver, remove use of INTUSE.
32069         * libio/genops.c: Likewise.
32070         * libio/freopen.c: Likewise.
32071         * libio/freopen64.c: Likewise.
32072         * libio/iofclose.c: Likewise.
32073         * libio/iofdopen.c: Likewise.
32074         * libio/iofflush.c: Likewise.
32075         * libio/iofflush_u.c: Likewise.
32076         * libio/iofgets.c: Likewise.
32077         * libio/iofgets_u.c: Likewise.
32078         * libio/iofopen.c: Likewise.
32079         * libio/iofopncook.c: Likewise.
32080         * libio/iofread.c: Likewise.
32081         * libio/iofread_u.c: Likewise.
32082         * libio/ioftell.c: Likewise.
32083         * libio/iofwrite.c: Likewise.
32084         * libio/iogetline.c: Likewise.
32085         * libio/iogets.c: Likewise.
32086         * libio/iogetwline.c: Likewise.
32087         * libio/iopadn.c: Likewise.
32088         * libio/iopopen.c: Likewise.
32089         * libio/ioseekoff.c: Likewise.
32090         * libio/ioseekpos.c: Likewise.
32091         * libio/iosetbuffer.c: Likewise.
32092         * libio/iosetvbuf.c: Likewise.
32093         * libio/ioungetc.c: Likewise.
32094         * libio/ioungetwc.c: Likewise.
32095         * libio/iovdprintf.c: Likewise.
32096         * libio/iovsprintf.c: Likewise.
32097         * libio/iovsscanf.c: Likewise.
32098         * libio/memstream.c: Likewise.
32099         * libio/obprintf.c: Likewise.
32100         * libio/oldfileops.c: Likewise.
32101         * libio/oldiofclose.c: Likewise.
32102         * libio/oldiofdopen.c: Likewise.
32103         * libio/oldiofopen.c: Likewise.
32104         * libio/oldiopopen.c: Likewise.
32105         * libio/oldstdfiles.c: Likewise.
32106         * libio/putc.c: Likewise.
32107         * libio/setbuf.c: Likewise.
32108         * libio/setlinebuf.c: Likewise.
32109         * libio/stdfiles.c: Likewise.
32110         * libio/strops.c: Likewise.
32111         * libio/vasprintf.c: Likewise.
32112         * libio/vscanf.c: Likewise.
32113         * libio/vsnprintf.c: Likewise.
32114         * libio/vswprintf.c: Likewise.
32115         * libio/wfiledoalloc.c: Likewise.
32116         * libio/wfileops.c: Likewise.
32117         * libio/wgenops.c: Likewise.
32118         * libio/wmemstream.c: Likewise.
32119         * libio/wstrops.c: Likewise.
32120         * libio/__fpurge.c: Likewise.
32121         * libio/__fsetlocking.c: Likewise.
32122         * assert/assert.c: Likewise.
32123         * debug/fgets_chk.c: Likewise.
32124         * debug/fgets_u_chk.c: Likewise.
32125         * debug/fread_chk.c: Likewise.
32126         * debug/fread_u_chk.c: Likewise.
32127         * debug/gets_chk.c: Likewise.
32128         * debug/obprintf_chk.c: Likewise.
32129         * debug/vasprintf_chk.c: Likewise.
32130         * debug/vdprintf_chk.c: Likewise.
32131         * debug/vsnprintf_chk.c: Likewise.
32132         * debug/vsprintf_chk.c: Likewise.
32133         * malloc/mtrace.c: Likewise.
32134         * misc/error.c: Likewise.
32135         * misc/syslog.c: Likewise.
32136         * stdio-common/asprintf.c: Likewise.
32137         * stdio-common/fxprintf.c: Likewise.
32138         * stdio-common/getw.c: Likewise.
32139         * stdio-common/isoc99_fscanf.c: Likewise.
32140         * stdio-common/isoc99_scanf.c: Likewise.
32141         * stdio-common/isoc99_vfscanf.c: Likewise.
32142         * stdio-common/isoc99_vscanf.c: Likewise.
32143         * stdio-common/isoc99_vsscanf.c: Likewise.
32144         * stdio-common/printf-prs.c: Likewise.
32145         * stdio-common/printf_fp.c: Likewise.
32146         * stdio-common/printf_fphex.c: Likewise.
32147         * stdio-common/printf_size.c: Likewise.
32148         * stdio-common/putw.c: Likewise.
32149         * stdio-common/scanf.c: Likewise.
32150         * stdio-common/sprintf.c: Likewise.
32151         * stdio-common/tmpfile.c: Likewise.
32152         * stdio-common/vfprintf.c: Likewise.
32153         * stdio-common/vfscanf.c: Likewise.
32154         * stdlib/strfmon_l.c: Likewise.
32155         * sunrpc/openchild.c: Likewise.
32156         * sunrpc/xdr_stdio.c: Likewise.
32157         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32158         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32159
32160 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32161
32162         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32163
32164         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32165         in the third column, to generate for the shared library an IFUNC
32166         that uses _dl_vdso_vsym.
32167         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32168         * Makeconfig (object-suffixes-noshared): New variable.
32169
32170         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32171         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32172         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32173         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32174
32175         [BZ #14132]
32176         * include/sys/time.h (__gettimeofday): Remove macro.
32177         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32178         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32179         Remove INTDEF.
32180         (__gettimeofday): Add libc_hidden_def.
32181         (gettimeofday): Add libc_hidden_weak.
32182         * sysdeps/mach/gettimeofday.c: Likewise.
32183         * sysdeps/posix/gettimeofday.c: Likewise.
32184         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32185         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32186         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32187         (__gettimeofday_internal): Remove strong_alias.
32188         (__gettimeofday): Add libc_hidden_def.
32189         (gettimeofday): Add libc_hidden_weak.
32190         * sysdeps/unix/syscalls.list (gettimeofday):
32191         Remove __gettimeofday_internal alias.
32192
32193 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32194             H.J. Lu  <hongjiu.lu@intel.com>
32195
32196         [BZ #12495]
32197         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32198         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32199         (largebin_index_32_big): New.
32200         (largebin_index): Use it for 16-byte alignment.
32201         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32202         correction with front_misalign.
32203
32204 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32205
32206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32208         Likewise.
32209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32210         Likewise.
32211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32212         Likewise.
32213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32214         Likewise.
32215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32216         Likewise.
32217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32218         Likewise.
32219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32220         Likewise.
32221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32222         Likewise.
32223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32224         Likewise.
32225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32226         Likewise.
32227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32228         Likewise.
32229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32230         Likewise.
32231
32232         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32233         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32234
32235 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32236
32237         [BZ #10846]
32238         [BZ #14036]
32239         * math/libm-test.inc (exp_test): Add test from bug 14036.
32240         (pow_test): Add test from bug 10846.
32241
32242         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32243         and other flags.
32244         (special_function): Do not include flags in test name.
32245         (parse_args): Likewise.
32246         * sysdeps/i386/fpu/libm-test-ulps: Update.
32247         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32248         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32249         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32251
32252         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32253         exceptions.
32254         * math/libm-test.inc ("Philosophy"): Update comment about
32255         exception testing.
32256         (UNDERFLOW_EXCEPTION): New macro.
32257         (UNDERFLOW_EXCEPTION_OK): Likewise.
32258         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32259         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32260         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32261         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32262         (INVALID_EXCEPTION_OK): Update value.
32263         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32264         (OVERFLOW_EXCEPTION_OK): Likewise.
32265         (IGNORE_ZERO_INF_SIGN): Likewise.
32266         (test_exceptions): Handle underflow exceptions.
32267         (acos_test): Update for underflow exception expectations.
32268         (cexp_test): Likewise.
32269         (clog_test): Likewise.
32270         (clog10_test): Likewise.
32271         (csqrt_test): Likewise.
32272         (ctan_test): Likewise.
32273         (ctanh_test): Likewise.
32274         (exp_test): Likewise.
32275         (exp10_test): Likewise.
32276         (exp2_test): Likewise.
32277         (expm1_test): Likewise.
32278         (fma_test): Likewise.
32279         (j0_test): Likewise.
32280         (jn_test): Likewise.
32281         (nexttoward_test): Likewise.
32282         (pow_test): Likewise.
32283         (scalbn_test): Likewise.
32284         (scalbln_test): Likewise.
32285         (tan_test): Likewise.
32286         (y1_test): Likewise.
32287         * sysdeps/i386/fpu/libm-test-ulps: Update.
32288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32289
32290 2012-05-23  David S. Miller  <davem@davemloft.net>
32291
32292         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32293         (__libc_sigaction): Remove unused local variables.
32294
32295 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32296
32297         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32298
32299 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32300
32301         mktime: avoid signed integer overflow
32302         * time/mktime.c (__mktime_internal): Do not mishandle the case
32303         where diff == INT_MIN.
32304
32305         mktime: simplify computation of average
32306         * time/mktime.c (ranged_convert): Use new time_t_avg function
32307         instead of rolling our own (probably-slower) code.
32308
32309         mktime: do not assume signed right shift propagates sign bit
32310         * time/mktime.c (isdst_differ): New static function.
32311         (__mktime_internal): No need to normalize tm_isdst now.
32312         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32313         tm_isdst values.
32314
32315         mktime: merge another wrapv change from gnulib
32316         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32317         from some compilers.
32318
32319         mktime: remove incorrect attempt at unusual arithmetics
32320         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32321         The code didn't really work on such machines anyway.
32322         (TYPE_MINIMUM): Assume two's complement.
32323         (twos_complement_arithmetic): Verify that long_int and time_t
32324         are two's complement (or unsigned, in the latter case).
32325
32326         mktime: check signed shifts on long_int and time_t, too
32327         * time/mktime.c (SHR): Check that shifts work as desired
32328         on the types long_int and time_t too, as SHR is used on
32329         such types.
32330
32331         mktime: do not assume 'long' is wide enough
32332         * time/mktime.c (verify): Move decl up.
32333         (long_int): New type.
32334         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32335         to remove assumption in the code that 'long' is wide enough to
32336         store year values.  This assumption is not true on x32 and on
32337         some non-glibc platforms.
32338
32339         mktime: merge wrapv change from gnulib
32340         * time/mktime.c (WRAPV): New macro.
32341         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32342         (guess_time_tm, __mktime_internal): Do not assume that signed
32343         integer overflow wraps around; modern compilers generate code
32344         where this assumption is no longer valid.
32345
32346 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32347
32348         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32349         Replace "jmp L(pseudo_end)" with "ret".
32350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32351         Likewise.
32352
32353 2012-05-23  Andreas Jaeger  <aj@suse.de>
32354
32355         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32356         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32357
32358 2012-05-23  Andreas Jaeger  <aj@suse.de>
32359             Maximilian Attems  <max@stro.at>
32360
32361         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32362         New macros.
32363
32364 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32365
32366         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32367         code so that pseudo_end is just ret and the stack pointer is
32368         correct also for static library in error case.
32369
32370 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32371
32372         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32373         move to syscalls.list.
32374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32378
32379         * manual/install.texi (Running make install): Do not mention Linux
32380         kernel version for which pt_chown is not needed.
32381         (Linux): Do not mention problems with nscd with 2.0 kernels.
32382         * INSTALL: Regenerated.
32383
32384 2012-05-23  Andreas Jaeger  <aj@suse.de>
32385
32386         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32387         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32388         macro.
32389         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32390         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32391         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32392         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32393         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32394         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32395         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32397         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32399         * sysdeps/unix/sysv/linux/bits/in.h
32400         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32401
32402 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32403
32404         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32405         (PREPARE_VERSION): Just use assert instead, it will be elided
32406         under [NDEBUG] anyway.
32407
32408 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32409
32410         * sysdeps/unix/sysv/linux/Makefile: Include
32411         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32412         (sysdep_routines): Remove sysctl.
32413         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32414         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32415         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32416         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32417         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32418
32419 2012-05-22  Andreas Jaeger  <aj@suse.de>
32420
32421         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32422         that pseudo_end is just ret and the stack pointer is correct also
32423         for static library in error case.
32424
32425 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32426
32427         [BZ #14122]
32428         * nss/nsswitch.c (defconfig_entries): New variable.
32429         (__nss_database_lookup): Don't leak defconfig entries.
32430         (nss_parse_service_list): Don't leak on error paths.
32431         (free_database_entries): New function.
32432         (free_defconfig): New function.
32433         (free_mem): Move common code to free_database_entries.
32434
32435 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32436
32437         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32438         Add arch_prctl.
32439         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32440
32441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32442         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32443         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32444         New macro.
32445         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32446         (INTERNAL_SYSCALL_TYPES): Likewise.
32447         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32448         (LOAD_REGS_TYPES_[1-6]): Likewise.
32449         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32450         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32451
32452 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32453
32454         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32455         copysignl for GLIBC_2_0.
32456         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32457         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32458         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32459         logbl for GLIBC_2_0.
32460         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32461         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32462
32463 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32464
32465         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32466         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32467
32468         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32469         Use "neg %eax".
32470
32471         * time/mktime.c: Update copyright years.
32472
32473 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32474
32475         mktime: merge comment-quoting-style change from gnulib
32476         * time/mktime.c: Quote 'like this' in comments.
32477         The GNU coding standards suggest that we no longer quote `like this',
32478         as "`" and "'" are typically rendered asymmetrically nowadays.
32479         The typical gnulib style is to quote 'like this' when quoting
32480         code, and "like this" when quoting English.
32481
32482         * time/mktime.c (compile-command): Add "-I.".
32483
32484         mktime: merge mktime-internal.h change from gnulib
32485         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32486
32487         mktime: merge time_r change from gnulib
32488         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32489
32490         mktime: merge DEBUG change from gnulib
32491         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32492         case system <time.h> has a #define.
32493
32494         mktime: merge <sys/types.h> change from gnulib
32495         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32496         since <time.t> is now guaranteed to define time_t.
32497
32498         mktime: merge HAVE_CONFIG_H change from gnulib
32499         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32500
32501 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32502
32503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32504         Use "neg %eax".
32505
32506         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32507         __rlim_t cast.
32508         (struct rusage): Use anonymous union to pad each field to
32509         __syscall_slong_t.
32510
32511 2012-05-21  David S. Miller  <davem@davemloft.net>
32512
32513         * Makefules (o-iterator): Remove .s cases.
32514         (compile-command.s): Delete.
32515         (COMPILE.s): Delete.
32516         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32517
32518 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32519
32520         * configure.in (libc_cv_predef_stack_protector): Only consider
32521         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32522         * configure: Regenerated.
32523
32524 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32525
32526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32527         New macro.  Use R*LP on int and pointer.
32528         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32529         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32530         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32531         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32532
32533         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32534         [__WORDSIZE_TIME64_COMPAT32] instead of
32535         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32536         (struct utmp): Likewise.
32537         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32538         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32539         Renamed to ...
32540         (__WORDSIZE_TIME64_COMPAT32): This.
32541         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32542         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32543         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32544         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32545         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32546         (__WORDSIZE_TIME64_COMPAT32): New macro.
32547
32548 2012-05-21  Andreas Jaeger  <aj@suse.de>
32549
32550         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32551         only if [SHARED]. Add prototype for __wcschr_ia32.
32552
32553 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32554
32555         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32556         of %rbp unmolested in the jmp_buf while mangling the low bits.
32557         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32558         unmolested high bits of %rbp while demangling the low bits.
32559         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32560
32561 2012-05-21  Andreas Jaeger  <aj@suse.de>
32562
32563         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32564         * sunrpc/svc_simple.c: Use it for registerrpc.
32565         * sunrpc/xcrypt.c: Use it for passwd2des.
32566
32567         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32568
32569 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32570
32571         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32572         Don't define if [__SYSCALL_WORDSIZE != 32].
32573         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32574         New macro.
32575
32576 2012-05-21  Bruno Haible  <bruno@clisp.org>
32577             Andreas Jaeger  <aj@suse.de>
32578
32579         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32580         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32581         inptr and inend for must_buffer_ch.
32582         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32583         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32584         * stdio-common/Makefile (tests): Remove bug15.
32585         (bug15-ENV): Remove macro.
32586         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32587         anymore.
32588
32589 2012-05-19  Andreas Jaeger  <aj@suse.de>
32590             Roland McGrath  <roland@hack.frob.com>
32591
32592         * manual/contrib.texi: Completely rewritten. It contains now an
32593         alphabetical list of contributors and their contributions.
32594
32595 2012-05-21  Richard Henderson  <rth@twiddle.net>
32596
32597         * misc/getauxval.c (__getauxval): Use unsigned long int.
32598         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32599         (getauxval): Use unsigned long int.
32600
32601 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32602
32603         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32604
32605 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32606
32607         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32608         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32609         __alignof__ (long double).
32610
32611 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32612
32613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32614
32615 2012-05-20  Richard Henderson  <rth@twiddle.net>
32616
32617         * misc/getauxval.c: New file.
32618         * misc/sys/auxv.h: New file.
32619         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32620         (routines): Add getauxval.
32621         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32622         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32623         * elf/dl-sysdep.c (_dl_auxv): Remove.
32624         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32625         * elf/dl-support.c (_dl_auxv): New variable.
32626         (_dl_aux_init): Initialize it.
32627         * manual/startup.texi (Auxiliary Vector): New node.
32628         * sysdeps/generic/bits/hwcap.h: New file.
32629         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32630         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32631         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32632         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32633         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32634         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32636         Update.
32637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32640         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32645
32646 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32647
32648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32649
32650 2012-05-19  David S. Miller  <davem@davemloft.net>
32651
32652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32653
32654 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32655
32656         [BZ #14123]
32657         * math/s_ccosh.c: Include <float.h>
32658         (__ccosh): Avoid internal overflow calculating sinh and cosh
32659         values before multiplying by sin and cos values.
32660         * math/s_ccoshf.c: Likewise.
32661         * math/s_ccoshl.c: Likewise.
32662         * math/s_csin.c: Likewise.
32663         * math/s_csinf.c: Likewise.
32664         * math/s_csinl.c: Likewise.
32665         * math/s_csinh.c: Likewise.
32666         * math/s_csinhf.c: Likewise.
32667         * math/s_csinhl.c: Likewise.
32668         * math/libm-test.inc (ccos_test): Add more tests.
32669         (ccosh_test): Likewise.
32670         (csin_test): Likewise.
32671         (csinh_test): Likewise.
32672         * sysdeps/i386/fpu/libm-test-ulps: Update.
32673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32674
32675 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32676
32677         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32678         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32679
32680         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32681
32682 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32683
32684         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32685         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32686         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32687         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32688         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32689         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32690         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32691         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32692         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32693         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32694         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32695         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32696         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32697         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32698         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32699         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32700         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32701         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32702         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32703         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32704         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32705         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32706         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32707         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32708         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32709         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32710         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32711         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32712         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32713         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32714         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32715
32716 2012-05-18  Andreas Jaeger  <aj@suse.de>
32717
32718         * csu/.gitignore: Delete.
32719
32720 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32721
32722         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32723         (timex): Use __syscall_slong_t.
32724
32725 2012-05-18  Andreas Jaeger  <aj@suse.de>
32726             Carlos O'Donell  <carlos_odonell@mentor.com>
32727
32728         * manual/install.texi (Configuring and compiling): Update
32729         description about files modified in the source directory.
32730         * INSTALL: Regenerated.
32731
32732 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32733
32734         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32735         value.  Use "or" to set return value to -1.
32736         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32737         negate return value.
32738
32739 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32740
32741         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32742         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32743         failure if the compiler has Graphite support disabled.
32744         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32745         Likewise.
32746         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32747         (CFLAGS-memmove.c): Likewise.
32748         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32749         Likewise.
32750
32751 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32752
32753         * sysdeps/x86_64/x32/_itoa.h: New file.
32754
32755         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32756         getdents system call only if kernel and user dirents have the
32757         same d_ino and d_off.
32758
32759         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32760         LLONG_MAX != LONG_MAX.
32761         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32762         (_fitoa_word): Likewise.
32763
32764         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32765         years.
32766         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32767         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32768         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32769
32770         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32771         include <bits/wordsize.h>.  Check __x86_64__ instead of
32772         __WORDSIZE.
32773         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32774         if __x86_64__ is defined.  Use anonymous union on fpstate.
32775
32776         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32777         anonymous union.
32778
32779 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32780
32781         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32782         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32783         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32784         Refer to _rtld_local_ro instead of _rtld_global_ro.
32785         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32786         Likewise.
32787         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32788         Likewise.
32789         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32790         Likewise.
32791         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32792         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32793         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32794
32795         * sysdeps/powerpc/powerpc32/dl-machine.c
32796         (__elf_machine_runtime_setup) [PROF]: Don't reference
32797         _dl_prof_resolve.
32798
32799 2012-05-18  Andreas Jaeger  <aj@suse.de>
32800
32801         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32802         function only available for GCCs before 3.4 since GCC 3.4
32803         introduced a builtin.
32804         (lrint): Likewise.
32805         (llrintf): Likewise.
32806         (llrint): Likewise.
32807         (fmaxf): Likewise.
32808         (fmax): Likewise.
32809         (fminf): Likewise.
32810         (fmin): Likewise.
32811         (rint): Likewise.
32812         (rintf): Likewise.
32813         (nearbyint): Likewise.
32814         (nearbyintf): Likewise.
32815         (ceil): Likewise.
32816         (ceilf): Likewise.
32817         (floor): Likewise.
32818         (floorf): Likewise.
32819
32820 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32821
32822         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32823         on both fields and cast pointer to __syscall_ulong_t.
32824
32825         * bits/types.h (__fsword_t): New type.
32826         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32827         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32828         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32829         (__FSWORD_T_TYPE): Likewise.
32830         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32831         (__FSWORD_T_TYPE): Likewise.
32832         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32833         (__FSWORD_T_TYPE): Likewise.
32834         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32835         (__FSWORD_T_TYPE): Likewise.
32836         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32837         __SWORD_TYPE with __fsword_t.
32838         (statfs64): Likewise.
32839
32840 2012-05-17  David S. Miller  <davem@davemloft.net>
32841
32842         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32843
32844 2012-05-17  Andreas Jaeger  <aj@suse.de>
32845
32846         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32847         warning.
32848
32849 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32850
32851         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32852
32853 2012-05-17  Andreas Jaeger  <aj@suse.de>
32854
32855         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32856         when it is used.
32857
32858 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32859
32860         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32861
32862 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32863
32864         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32865         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32866
32867 2012-05-17  Andreas Jaeger  <aj@suse.de>
32868             Carlos O'Donell  <carlos_odonell@mentor.com>
32869
32870         [BZ #14059]
32871         * sysdeps/x86_64/multiarch/init-arch.h
32872         (bit_YMM_Usable): Rename to...
32873         (bit_AVX_Usable): ... this.
32874         (bit_FMA4_Usable): New macro.
32875         (bit_XMM_state): New macro.
32876         (bit_YMM_state): New macro.
32877         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32878         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32879         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32880         (CPUID_OSXSAVE): New macro.
32881         (CPUID_AVX): New macro.
32882         (CPUID_FMA4): New macro.
32883         (index_YMM_Usable): Rename to...
32884         (index_AVX_Usable): ... this.
32885         (HAS_AVX): Use HAS_ARCH_FEATURE.
32886         (HAS_FMA4): Likewise.
32887         (HAS_YMM_USABLE): Remove.
32888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32889         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32890         are present.
32891         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32892         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32893         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32894         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32895         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32896
32897 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32898
32899         * math/libm-test.c: Support platforms without multiple rounding modes.
32900         * math/bug-nextafter.c: Support platforms without FP exceptions.
32901         * math/bug-nexttoward.c: Likewise.
32902         * math/test-fenv.c: Likewise.
32903         * math/test-misc.c: Likewise.
32904         * stdlib/bug-getcontext.c: Likewise.
32905
32906 2012-05-17  Andreas Jaeger  <aj@suse.de>
32907
32908         * manual/examples/search.c (critter_cmp): Change signature to
32909         avoid warnings.
32910         * manual/string.texi (Collation Functions): Likewise.
32911
32912 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32913
32914         * bits/types.h: Fold copyright years.
32915         * bits/typesizes.h: Likewise.
32916         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32918         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32920         * time/time.h: Likewise.
32921
32922 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32923
32924         [BZ #208]
32925         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32926         in instead of returning them.  Return void.
32927         (__libc_mallinfo): Accumulate over all arenas.
32928         (__malloc_stats): Adjust for change in int_mallinfo interface.
32929
32930 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32931
32932         [BZ #10375]
32933         * configure.in (NM): Add AC_CHECK_TOOL for it.
32934         (libc_extra_cflags): New substituted variable.
32935         Check for -fstack-protector being used implicitly.
32936         * configure: Regenerated.
32937         * config.make.in (config-extra-cflags): New variable,
32938         gets @libc_extra_cflags@.
32939         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32940
32941         [BZ #10375]
32942         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32943         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32944         * configure: Regenerated.
32945         * config.make.in (CPPUNDEFS): New substituted variable.
32946         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32947         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32948         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32949
32950 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32951
32952         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32953         (mq_attr): Use __syscall_slong_t.
32954
32955 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32956
32957         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32958         Check __x86_64__ instead of __WORDSIZE.
32959         (_STAT_VER_LINUX): Likewise.
32960         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32961         __syscall_ulong_t and __syscall_slong_t.
32962         (stat64): Likewise.
32963
32964 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32965
32966         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32967
32968 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32969
32970         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32971
32972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32973
32974         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32975         __syscall_ulong_t.
32976
32977         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32978         include <bits/wordsize.h>.  Check __x86_64__ instead of
32979         __WORDSIZE.
32980         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32981         defined.
32982         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32983
32984         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32985         include <bits/wordsize.h>.  Check __x86_64__ instead of
32986         __WORDSIZE.
32987         (user_regs_struct): Use "__extension__ unsigned long long"
32988         instead of "unsigned long" if __x86_64__ is defined.
32989         (user): Likewise.  Pad after pointer field if __ILP32__ is
32990         defined.
32991
32992 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32993
32994         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32995         versions 5 to 9.
32996         * configure: Regenerated.
32997         * manual/install.texi (texinfo): Increase version requirement to
32998         4.5 or later.
32999         * INSTALL: Regenerated.
33000
33001         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33002
33003 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33004
33005         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33006
33007         * sysdeps/x86_64/x32/ffs.c: New file.
33008
33009         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33010         __syscall_ulong_t.
33011         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33012         defined.  Use __syscall_ulong_t.
33013         (shminfo): Use __syscall_ulong_t.
33014         (shm_info): Likewise.
33015
33016         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33017         __syscall_ulong_t.
33018
33019         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33020         <bits/wordsize.h>.
33021         (msgqnum_t): Use __syscall_ulong_t.
33022         (msglen_t): Likewise.
33023         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33024         __syscall_ulong_t.
33025
33026         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33027         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33028
33029         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33030
33031         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33032         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33033
33034         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33035         __syscall_slong_t.
33036
33037         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33038         include <bits/wordsize.h>.  Check __x86_64__ instead of
33039         __WORDSIZE.
33040
33041         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33042         "unsigned long long int" if __x86_64__ is defined.
33043         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33044
33045         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33046         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33047         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33048
33049         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33050         <stdint.h>.
33051         (GET_PC): Cast to uintptr_t first.
33052         (GET_FRAME): Likewise.
33053         (GET_STACK): Likewise.
33054
33055         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33056         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33057         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33058         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33059         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33060         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33061         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33062         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33063         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33064         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33065         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33066         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33067         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33068         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33069         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33070         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33071         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33072         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33073         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33074         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33075         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33076         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33077         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33078         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33079         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33080         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33081         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33082         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33083         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33084
33085 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33086
33087         * Makerules (+depfiles): Also collect depfiles from .oS in
33088         $(extra-objs).
33089         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33090         .oS, $(libnldbl-routines)).
33091
33092         * Makerules (native-compile-mkdep-flags): Define.
33093         * sunrpc/Makefile (extra-objs): Add $(addprefix
33094         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33095         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33096         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33097         calling $(make-target-directory).
33098
33099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33100
33101         * bits/types.h (__snseconds_t): Removed.
33102         * time/time.h (struct timespec): Replace __snseconds_t with
33103         __syscall_slong_t.
33104         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33105         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33106         Likewise.
33107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33108         (__SNSECONDS_T_TYPE): Likewise.
33109         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33110         (__SNSECONDS_T_TYPE): Likewise.
33111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33112         (__SNSECONDS_T_TYPE): Likewise.
33113
33114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33115
33116         * sysdeps/mach/hurd/bits/typesizes.h
33117         (__SYSCALL_SLONG_TYPE): New macro.
33118         (__SYSCALL_ULONG_TYPE): Likewise.
33119
33120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33121
33122         * bits/types.h (__syscall_slong_t): New type.
33123         (__syscall_ulong_t): Likewise.
33124
33125         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33126         (__SYSCALL_ULONG_TYPE): Likewise.
33127         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33128         (__SYSCALL_SLONG_TYPE): Likewise.
33129         (__SYSCALL_ULONG_TYPE): Likewise.
33130         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33131         (__SYSCALL_SLONG_TYPE): Likewise.
33132         (__SYSCALL_ULONG_TYPE): Likewise.
33133         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33134         (__SYSCALL_SLONG_TYPE): Likewise.
33135         (__SYSCALL_ULONG_TYPE): Likewise.
33136
33137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33138
33139         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33140         Add sigaltstack-offsets.sym.
33141         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33142         <sigaltstack-offsets.h>.
33143         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33144         longjmp_msg pointer.
33145         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33146         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33147         signal stack.
33148         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33149
33150 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33151
33152         * elf/stackguard-macros.h: Remove file.
33153         * sysdeps/generic/stackguard-macros.h: New file.
33154         * sysdeps/i386/stackguard-macros.h: Likewise.
33155         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33156         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33157         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33158         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33159         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33160         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33161         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33162         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33163         <elf/stackguard-macros.h>.
33164
33165         [BZ #14109]
33166         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33167         __aligned__ in attribute.
33168         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33169         (gregset_t): Likewise.
33170
33171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33172
33173         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33174         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33175         * sysdeps/x86_64/x32/Implies-after: New file.
33176
33177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33178
33179         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33180         and access return value for _dl_profile_fixup.  Use R10_LP to
33181         load frame size.
33182
33183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33184
33185         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33186
33187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33188
33189         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33190         * sysdeps/x86_64/x32/sysdep.h: New file.
33191
33192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33193
33194         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33195         * sysdeps/x86_64/setjmp.S: Likewise.
33196
33197 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33198
33199         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33200         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33201         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33202         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33203         remove unused global constant.
33204
33205 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33206
33207         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33208         include of <not-cancel.h>.
33209
33210 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33211
33212         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33213
33214 2012-05-15  Jeff Law  <law@redhat.com>
33215             Andreas Jaeger  <aj@suse.de>
33216
33217         [BZ #13594]
33218         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33219         out from...
33220         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33221         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33222         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33223         code changing __hst_map_handle.map.
33224
33225 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33226
33227         * configure.in (sysnames): Look for Implies-before and Implies-after
33228         files.
33229         * configure: Regenerated.
33230
33231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33232
33233         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33234         8-byte data alignment with LP_SIZE alignment.
33235
33236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33237
33238         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33239         into R10_LP.
33240
33241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33242
33243         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33244
33245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33246
33247         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33248         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33250         Likewise.
33251         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33252
33253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33254
33255         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33256         (stackinfo_sub_sp): Likewise.
33257
33258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33259
33260         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33261         RAX_LP.
33262
33263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33264
33265         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33266         into R*_LP.
33267
33268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33269
33270         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33271         sizes into R*_LP.
33272
33273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33274
33275         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33276
33277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33278
33279         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33280         into R11_LP and load __x86_64_shared_cache_size_half into
33281         R8_LP.
33282
33283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33284
33285         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33286         R8_LP.
33287
33288 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33289
33290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33291         logb for POWER7.
33292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33293         logbf for POWER7.
33294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33295         logbl for POWER7.
33296         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33297         powerpc32/power7/fpu/s_logb.c via #include.
33298         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33299         powerpc32/power7/fpu/s_logbf.c via #include.
33300         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33301         powerpc32/power7/fpu/s_logbl.c via #include.
33302
33303 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33304
33305         * README.libm: Remove file.
33306
33307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33308
33309         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33310         count for x32.  Use R*_LP and omit operand-size suffix.
33311
33312 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33313
33314         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33315         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33316         * sysdeps/x86_64/x32/shlib-versions: New file.
33317
33318 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33319
33320         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33321         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33322         Use _dl_fatal_printf instead.
33323
33324 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33325
33326         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33327         set if not set by the user.  Do not allow for being unset.
33328         * sysdeps/unix/sysv/linux/configure: Regenerated.
33329
33330 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33331
33332         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33333         the `q' suffix from lea and replace .quad with ASM_ADDR.
33334
33335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33336
33337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33338         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33339         instead of $17.
33340         (PTR_DEMANGLE): Likewise.
33341
33342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33343
33344         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33345         (LP_OP): Likewise.
33346         (ASM_ADDR): Likewise.
33347         (RAX_LP): Likewise.
33348         (RBP_LP): Likewise.
33349         (RBX_LP): Likewise.
33350         (RCX_LP): Likewise.
33351         (RDI_LP): Likewise.
33352         (RSI_LP): Likewise.
33353         (RSP_LP): Likewise.
33354         (R8_LP): Likewise.
33355         (R9_LP): Likewise.
33356         (R10_LP): Likewise.
33357         (R10_LP): Likewise.
33358         (R11_LP): Likewise.
33359         (R12_LP): Likewise.
33360         (R13_LP): Likewise.
33361         (R14_LP): Likewise.
33362         (R15_LP): Likewise.
33363
33364 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33365
33366         * sysdeps/x86_64/x32/dl-machine.h: New file.
33367
33368 2012-05-14  Andreas Jaeger  <aj@suse.de>
33369
33370         * manual/Makefile (subdir): Remove export of subdir.
33371         (all): Remove target.
33372         (.PHONY): Remove all from list.
33373         (mkinstalldirs): Remove.
33374         (.PHONY): Remove installdirs from list.
33375         ($(inst_infodir)/libc.info): Use make-target-directory.
33376         (installdirs): Remove.
33377         (subdir_%): Remove.
33378         (glibc-targets): Remove.
33379         (lib): Remove.
33380         (stubs): Remove.
33381         ($(objpfx)stubs ../po/manual.pot): Remove.
33382         ($(objpfx)stamp%): Remove.
33383         (make-target-directory): Remove.
33384         (subdir_install): Remove.
33385         (routines): Remove.
33386         (aux): Remove.
33387         (sources): Remove.
33388         (objects): Remove.
33389         (headers): Remove.
33390
33391         [BZ #13750]
33392         * manual/.gitignore: Remove, it's not needed anymore.
33393         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33394         all files in it.
33395         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33396         directory.
33397         (texis): Renamed to $(objpfx)texis.
33398         (texis-path): New, contains path to generated files.
33399         (chapters.%): Use texis-path for complete path, add extra argument
33400         libc-texinfo.sh.
33401         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33402         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33403         (summary,texi, stamp-summary): Use complete path of
33404         files. Generate files in build dir.
33405         (dir-add.texi): Build in build dir.
33406         (libm-err.texi,stamp-libm-err): Likewise.
33407         (version.texi, stamp-version): Likewise.
33408         (.%c.texi): Likewise.
33409         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33410         (mostlyclean): Remove target.
33411         (realclean): Remove target.
33412         (generated): Add new variable with contents from mostlyclean and
33413         realclean, remove entries duplicated in common-mostlyclean, add
33414         stamp-libm-err and stamp-version.
33415         (generated-dirs): Add libc directory.
33416         ($(inst_infodir)/libc.info): Install files from build dir.
33417
33418         * manual/install.texi (Configuring and compiling): Adjust since
33419         the info files are not part of the tar ball anymore.
33420
33421 2012-05-14  Andreas Jaeger  <aj@suse.de>
33422
33423         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33424         variable.
33425
33426 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33427
33428         [BZ #13717]
33429         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33430         to 2.2.0 where earlier.
33431         * sysdeps/unix/sysv/linux/configure: Regenerated.
33432         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33433         Remove conditional code.
33434         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33435         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33436         Remove conditional code.
33437         [!__NR_lchown]: Likewise.
33438         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33439         [__NR_lchown]: Likewise.
33440         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33441         comment referencing __ASSUME_LCHOWN_SYSCALL.
33442         * sysdeps/unix/sysv/linux/i386/sigaction.c
33443         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33444         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33445         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33446         Remove conditional code.
33447         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33448         (__protocol_available): Remove #if 0 code.
33449         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33450         conditional code.
33451         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33452         * sysdeps/unix/sysv/linux/kernel-features.h
33453         (__ASSUME_GETCWD_SYSCALL): Don't define.
33454         (__ASSUME_REALTIME_SIGNALS): Likewise.
33455         (__ASSUME_PREAD_SYSCALL): Likewise.
33456         (__ASSUME_PWRITE_SYSCALL): Likewise.
33457         (__ASSUME_POLL_SYSCALL): Likewise.
33458         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33459         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33460         non-SPARC.
33461         (__ASSUME_SIOCGIFNAME): Don't define.
33462         (__ASSUME_MSG_NOSIGNAL): Likewise.
33463         (__ASSUME_SENDFILE): Define unconditionally.
33464         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33465         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33466         conditional code.
33467         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33468         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33469         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33470         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33471         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33472         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33473         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33475         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33476         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33478         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33479         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33481         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33482         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33484         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33485         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33487         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33488         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33490         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33491         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33493         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33494         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33496         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33497         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33498         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33499         Remove conditional code.
33500         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33501         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33502         Remove conditional code.
33503         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33504         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33505         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33506         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33507         Remove conditional code.
33508         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33509         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33510         Remove conditional code.
33511         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33512         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33513         Remove conditional code.
33514         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33515         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33516         Remove conditional code.
33517         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33518         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33519         Remove conditional code.
33520         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33521         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33522         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33523         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33524         * sysdeps/unix/sysv/linux/sigaction.c
33525         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33526         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33527         * sysdeps/unix/sysv/linux/sigpending.c
33528         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33529         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33530         * sysdeps/unix/sysv/linux/sigprocmask.c
33531         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33532         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33533         * sysdeps/unix/sysv/linux/sigsuspend.c
33534         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33535         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33536         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33537         (__libc_missing_rt_sigs): Remove.
33538         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33539         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33540         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33541         Remove conditional code.
33542         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33543         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33544         return 1.
33545         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33546         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33547         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33548         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33549
33550 2012-05-14  Andreas Jaeger  <aj@suse.de>
33551
33552         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33553         it's not used in glibc.
33554         (__coshm1): Likewise.
33555         (__acosh1p): Likewise.
33556         (__sgn): Likewise.
33557
33558         * manual/string.texi (Copying and Concatenation): Add missing
33559         variable in concat example.
33560         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33561
33562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33563
33564         [BZ #14103]
33565         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33566         __builtin_clzl with __builtin_clzll.
33567
33568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33569
33570         [BZ #14104]
33571         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33572         libc_freeres_ptr.
33573
33574 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33575
33576         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33577         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33578         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33579         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33580
33581 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33582
33583         * NEWS: Update ia64 info.
33584
33585 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33586
33587         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33588         used as bcopy.
33589
33590 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33591
33592         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33593         * sysdeps/unix/syscalls.list (dup3): Likewise.
33594         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33595         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33596
33597 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33598
33599         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33600         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33601
33602 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33603
33604         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33605         thread pointer.
33606         (TLS_IE): Use mov/add instead of movq/addq to load thread
33607         pointer.
33608         (TLS_GD_PREFIX): New.
33609         (TLS_GD): Use it.
33610
33611 2012-05-11  David S. Miller  <davem@davemloft.net>
33612
33613         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33614         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33615         (_FPU_SETCW): Likewise.
33616
33617 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33618
33619         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33620         is 32-byte aligned.
33621
33622 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33623
33624         [BZ #11837]
33625         * iconvdata/gb18030.c: Update tables.
33626         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33627         characters specially.
33628         (BODY for TO_LOOP): Add encoding of missing ranges.
33629
33630 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33631
33632         [BZ #13673]
33633         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33634         * sysdeps/mach/hurd/dup3.c: Likewise.
33635         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33636         * sysdeps/powerpc/memmove.c:: Likewise.
33637
33638 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33639
33640         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33641         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33642
33643 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33644
33645         * elf/elf.h (R_X86_64_RELATIVE64): New.
33646         (R_X86_64_NUM): Updated.
33647         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33648         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33649         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33650         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33651         tst-quad1pie tst-quad2pie
33652         (modules-names): Add tst-quadmod1 tst-quadmod2.
33653         ($(objpfx)tst-quad1): New dependency.
33654         ($(objpfx)tst-quad2): Likewise.
33655         ($(objpfx)tst-quad1pie): Likewise.
33656         ($(objpfx)tst-quad2pie): Likewise.
33657         * sysdeps/x86_64/tst-quad1.c: New file.
33658         * sysdeps/x86_64/tst-quad1pie.c: New file.
33659         * sysdeps/x86_64/tst-quad2.c: Likewise.
33660         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33661         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33662         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33663         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33664         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33665
33666 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33667
33668         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33669         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33670         * streams/stropts.h (t_scalar_t): Define type.
33671
33672         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33673         (_PATH_PRESERVE): Set to "/var/lib".
33674         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33675
33676         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33677         instead of int.
33678
33679         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33680         if __dir_mkfile succeeded.
33681
33682         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33683         checking for _hurd_dtablesize.  Unlock it right after having
33684         finished _hurd_dtable allocation.
33685
33686 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33687
33688         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33689         * sysdeps/mach/hurd/configure: Regenerated.
33690         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33691         special-casing to...
33692         * sysdeps/gnu/configure.in: ... this new file.
33693         * sysdeps/unix/sysv/linux/configure: Regenerated.
33694         * sysdeps/gnu/configure: New generated file.
33695
33696         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33697         for Linux: use nsec instead of usec, as well as:
33698         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33699         members of type struct timespec.
33700         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33701         New macros.
33702         (struct stat64): Likewise.
33703         (_STATBUF_ST_NSEC): New macro.
33704         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33705
33706         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33707         __strtoul_internal rather than strtoul.
33708
33709 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33710
33711         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33712         and reject them.
33713
33714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33715
33716         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33717         which preserves existing values.
33718         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33719
33720 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33721
33722         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33723         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33724         greater than FD_SETSIZE.
33725
33726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33727
33728         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33729         allocated, call __vm_protect to finish enabling the existing space, and
33730         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33731         allocate the remainder.
33732
33733 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33734
33735         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33736         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33737
33738 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33739
33740         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33741         sysdeps/mach/hurd/readlink.c.
33742
33743         * posix/tst-sysconf.c (posix_options): Only use
33744         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33745         _POSIX_SYNCHRONIZED_IO when they are defined
33746         * sysdeps/mach/hurd/bits/posix_opt.h:
33747         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33748         (_XOPEN_REALTIME): Undefine macro.
33749         (_XOPEN_REALTIME_THREADS): Undefine macro.
33750         (_XOPEN_SHM): Undefine macro.
33751         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33752         macro to -1.
33753         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33754         macro to -1.
33755         (_POSIX_ASYNC_IO): Undefine macro.
33756         (_POSIX_PRIORITIZED_IO): Undefine macro.
33757         (_POSIX_SPIN_LOCKS): Define macro to -1.
33758
33759         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33760         SA_NODEFER, SA_RESETHAND.
33761         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33762         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33763         F_DUPFD_CLOEXEC.
33764
33765 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33766
33767         * elf/Makefile (pldd-modules): Define unconditionally.
33768
33769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33770
33771         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33772
33773 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33774
33775         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33776         Return ENOENT when name is empty.
33777         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33778
33779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33780
33781         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33782
33783         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33784
33785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33786
33787         Fix mlock in all cases except non-readable pages.
33788         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33789         instead of VM_PROT_ALL as parameter to __vm_wire function.
33790
33791         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33792         (__mkdir): When path is `/', just fail with EEXIST.
33793         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33794
33795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33796
33797         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33798         <sys/uio.h> (for writev).
33799         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33800         and <sys/param.h> (for MIN).
33801
33802 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33803
33804         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33805         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33806         if interrupted.
33807
33808 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33809
33810         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33811         Depend on against $(link-rpcuserlibs).
33812
33813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33814
33815         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33816         (__libc_stack_end): Do not use attribute_relro.
33817         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33818         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33819         to libthread-provided value.
33820         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33821         attribute_relro.
33822
33823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33824
33825         [BZ #3748]
33826         * bits/libc-lock.h (__libc_once_get): New macro.
33827         * sysdeps/mach/bits/libc-lock.h: Likewise.
33828         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33829         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33830         instead of using implementation details.
33831
33832         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33833         * libio/freopen.c: Likewise.
33834         * libio/freopen64.c: Likewise.
33835         * misc/syslog.c: Likewise.
33836         * nscd/connections.c: Likewise.
33837         * nscd/netgroupcache.c: Likewise.
33838         * sysdeps/posix/getcwd.c: Likewise.
33839
33840 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33841
33842         * math/w_ilogbf.c: Add #include <limits.h>.
33843
33844 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33845
33846         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33847         path instead of returning without unlocking.
33848
33849         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33850         immediate-write ioctls.
33851         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33852
33853 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33854
33855         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33856         __builtin_frame_address instead of making assumptions about the
33857         location of the return address relative to DATA.  Force early load of
33858         the return address.
33859         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33860         __builtin_frame_address.
33861
33862         dup3 for GNU Hurd.
33863         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33864         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33865         implement dup3 and do some further code clean-ups.
33866         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33867         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33868
33869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33870
33871         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33872
33873         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33874         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33875         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33876         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33877         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33878         d->port.lock.
33879
33880         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33881         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33882         when handler == SIG_ERR, not when handler != SIG_ERR.
33883
33884 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33885
33886         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33887         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33888         definitions.
33889
33890         accept4 for GNU Hurd.
33891         * include/sys/socket.h (__libc_accept4): New prototype.
33892         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33893         to implement __libc_accept4.
33894         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33895         __libc_accept4.
33896         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33897
33898         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33899         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33900         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33901         signal-defines.sym.
33902
33903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33904
33905         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33906
33907 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33908
33909         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33910         assertion on O_CLOEXEC flag.
33911         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33912         * hurd/intern-fd.c: Likewise.
33913         * hurd/port2fd.c: Likewise.
33914
33915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33916
33917         [BZ #3906]
33918         * bits/in.h (IPV6_PKTINFO): Define new macro.
33919         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33920
33921 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33922
33923         [BZ #13954]
33924         [BZ #13955]
33925         [BZ #13956]
33926         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33927         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33928         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33929         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33930         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33931         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33932         * math/libm-test.inc (logb_test) : Additional logb tests.
33933
33934 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33935             Andreas Jaeger  <aj@suse.de>
33936
33937         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33938         * configure: Regenerated.
33939         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33940         * config.make.in (link-obsolete-rpc): New substituted variable.
33941         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33942         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33943         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33944         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33945         so that libc.a contains the symbols.
33946         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33947         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33948         * sunrpc/auth_none.c: Likewise.
33949         * sunrpc/auth_unix.c: Likewise.
33950         * sunrpc/authdes_prot.c: Likewise.
33951         * sunrpc/authuxprot.c: Likewise.
33952         * sunrpc/clnt_gen.c: Likewise.
33953         * sunrpc/clnt_perr.c: Likewise.
33954         * sunrpc/clnt_raw.c: Likewise.
33955         * sunrpc/clnt_simp.c: Likewise.
33956         * sunrpc/clnt_tcp.c: Likewise.
33957         * sunrpc/clnt_udp.c: Likewise.
33958         * sunrpc/clnt_unix.c: Likewise.
33959         * sunrpc/des_crypt.c: Likewise.
33960         * sunrpc/des_soft.c: Likewise.
33961         * sunrpc/get_myaddr.c: Likewise.
33962         * sunrpc/key_call.c: Likewise.
33963         * sunrpc/key_prot.c: Likewise.
33964         * sunrpc/netname.c: Likewise.
33965         * sunrpc/pm_getmaps.c: Likewise.
33966         * sunrpc/pm_getport.c: Likewise.
33967         * sunrpc/pmap_clnt.c: Likewise.
33968         * sunrpc/pmap_prot.c: Likewise.
33969         * sunrpc/pmap_prot2.c: Likewise.
33970         * sunrpc/pmap_rmt.c: Likewise.
33971         * sunrpc/publickey.c: Likewise.
33972         * sunrpc/rpc_cmsg.c: Likewise.
33973         * sunrpc/rpc_common.c: Likewise.
33974         * sunrpc/rpc_dtable.c: Likewise.
33975         * sunrpc/rpc_prot.c: Likewise.
33976         * sunrpc/rpc_thread.c: Likewise.
33977         * sunrpc/rtime.c: Likewise.
33978         * sunrpc/svc.c: Likewise.
33979         * sunrpc/svc_auth.c: Likewise.
33980         * sunrpc/svc_raw.c: Likewise.
33981         * sunrpc/svc_run.c: Likewise.
33982         * sunrpc/svc_tcp.c: Likewise.
33983         * sunrpc/svc_udp.c: Likewise.
33984         * sunrpc/svc_unix.c: Likewise.
33985         * sunrpc/svcauth_des.c: Likewise.
33986         * sunrpc/xcrypt.c: Likewise.
33987         * sunrpc/xdr.c: Likewise.
33988         * sunrpc/xdr_array.c: Likewise.
33989         * sunrpc/xdr_float.c: Likewise.
33990         * sunrpc/xdr_intXX_t.c: Likewise.
33991         * sunrpc/xdr_mem.c: Likewise.
33992         * sunrpc/xdr_rec.c: Likewise.
33993         * sunrpc/xdr_ref.c: Likewise.
33994         * sunrpc/xdr_sizeof.c: Likewise.
33995         * sunrpc/xdr_stdio.c: Likewise.
33996
33997 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33998
33999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34000         change.  Update copyright years.
34001
34002 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34003
34004         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34005
34006 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34007             Joseph Myers  <joseph@codesourcery.com>
34008             Paul Pluzhnikov  <ppluzhnikov@google.com>
34009
34010         [BZ #14012]
34011         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34012         requiring rpcgen.
34013         [cross-compiling] (extra-libs): Likewise.
34014         [cross-compiling] (extra-libs-others): Likewise.
34015         [cross-compiling] (librpcsvc-routines): Likewise.
34016         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34017         [cross-compiling] (omit-deps): Likewise.
34018         (sunrpc-CPPFLAGS): New variable.
34019         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34020         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34021         (cross-rpcgen-objs): New variable.
34022         (extra-objs): Append $(cross-rpcgen-objs).
34023         ($(cross-rpcgen-objs)): New rule.
34024         ($(objpfx)cross-rpcgen): Likewise.
34025         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34026         comment.
34027         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34028         ($(objpfx)x%.stmp): Likewise.
34029         * sunrpc/proto.h [IS_IN_build] (_): Define.
34030         [IS_IN_build] (_libc_intl_domainname): Likewise.
34031
34032 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34033
34034         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34035         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34036         and R_X86_64_TPOFF64.
34037
34038 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34039
34040         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34041         sysdeps/unix/sysv/syscalls.list.
34042         (stime): Likewise.
34043         (utime): Likewise.
34044         * sysdeps/unix/sysv/syscalls.list: Remove file.
34045
34046 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34047
34048         [BZ #3440]
34049         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34050         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34051         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34052         (__LC_IDENTIFICATION): Make these macros useful in #if
34053         expressions, as required by C99.
34054
34055 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34056
34057         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34058         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34059         after this.
34060
34061 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34062
34063         * stdlib/longlong.h: Updated from GCC.
34064
34065 2012-05-09  Andreas Jaeger  <aj@suse.de>
34066
34067         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34068         default is first entry.
34069         (run_mode): Set type.
34070         (main): Remove informal message about syslog.
34071         (options): Fix typo.
34072
34073         [BZ #14053]
34074         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34075         to asm.
34076         (lrint): Likewise.
34077         (llrintf): Likewise.
34078         (llrint): Likewise.
34079         (rint): Likewise.
34080         (rintf): Likewise.
34081         (nearbyint): Likewise.
34082         (nearbyintf): Likewise.
34083
34084 2012-05-09  Andreas Jaeger  <aj@suse.de>
34085             Pedro Alves  <palves@redhat.com>
34086
34087         * nscd/nscd.c (run_mode): Use enum.
34088         (main): Cleanup coding style issue.
34089
34090 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34091             Andreas Jaeger  <aj@suse.de>
34092
34093         * nscd/nscd.c (go_background): Replaced with...
34094         (run_mode): ... this.
34095         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34096         (options): Add -F --foreground.
34097         (main): Implement it.
34098         (parse_opt): Parse it.
34099
34100 2012-05-09  Andreas Jaeger  <aj@suse.de>
34101
34102         [BZ #14083]
34103         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34104         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34105         -Wconversion warning.
34106         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34107         Likewise.
34108
34109 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34110
34111         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34112         == 0.
34113         (LC_ALL): Use macro-int-constant.
34114         (LC_COLLATE): Likewise.
34115         (LC_CTYPE): Likewise.
34116         (LC_MESSAGES): Likewise.
34117         (LC_MONETARY): Likewise.
34118         (LC_NUMERIC): Likewise.
34119         (LC_TIME): Likewise.
34120         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34121         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34122         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34123         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34124         Specify type.
34125         [C99-based standards] (float_t): Expect type.
34126         [C99-based standards] (double_t): Expect type.
34127         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34128         type.
34129         [C99-based standards] (HUGE_VALL): Likewise.
34130         [C99-based standards] (INFINITY): Likewise.
34131         [C99-based standards] (NAN): Likewise.
34132         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34133         [C99-based standards] (FP_NAN): Likewise.
34134         [C99-based standards] (FP_NORMAL): Likewise.
34135         [C99-based standards] (FP_SUBNORMAL): Likewise.
34136         [C99-based standards] (FP_ZERO): Likewise.
34137         [C99-based standards] (FP_FAST_FMA): Use
34138         optional-macro-int-constant.  Specify type.  Require == 1.
34139         [C99-based standards] (FP_FAST_FMAF): Likewise.
34140         [C99-based standards] (FP_FAST_FMAL): Likewise.
34141         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34142         [C99-based standards] (FP_ILOGBNAN): Likewise.
34143         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34144         Specify type.
34145         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34146         [C99-based standards] (math_errhandling): Specify type.
34147         [ISO99 || ISO11] (signgam): Do not allow.
34148         [non-C99-based standards] (copysignf): Do not allow.
34149         [non-C99-based standards] (exp2f): Likewise.
34150         [non-C99-based standards] (log2f): Likewise.
34151         [non-C99-based standards] (modff): Allow.
34152         [non-C99-based standards] (erff): Do not allow.
34153         [non-C99-based standards] (erfcf): Likewise.
34154         [non-C99-based standards] (gammaf): Likewise.
34155         [non-C99-based standards] (hypotf): Likewise.
34156         [non-C99-based standards] (j0f): Likewise.
34157         [non-C99-based standards] (j1f): Likewise.
34158         [non-C99-based standards] (jnf): Likewise.
34159         [non-C99-based standards] (lgammaf): Likewise.
34160         [non-C99-based standards] (tgammaf): Likewise.
34161         [non-C99-based standards] (y0f): Likewise.
34162         [non-C99-based standards] (y1f): Likewise.
34163         [non-C99-based standards] (ynf): Likewise.
34164         [non-C99-based standards] (isnanf): Likewise.
34165         [non-C99-based standards] (acoshf): Likewise.
34166         [non-C99-based standards] (asinhf): Likewise.
34167         [non-C99-based standards] (atanhf): Likewise.
34168         [non-C99-based standards] (cbrtf): Likewise.
34169         [non-C99-based standards] (expm1f): Likewise.
34170         [non-C99-based standards] (ilogbf): Likewise.
34171         [non-C99-based standards] (log1pf): Likewise.
34172         [non-C99-based standards] (logbf): Likewise.
34173         [non-C99-based standards] (nextafterf): Likewise.
34174         [non-C99-based standards] (remainderf): Likewise.
34175         [non-C99-based standards] (rintf): Likewise.
34176         [non-C99-based standards] (scalbf): Likewise.
34177         [non-C99-based standards] (copysignl): Likewise.
34178         [non-C99-based standards] (exp2l): Likewise.
34179         [non-C99-based standards] (log2l): Likewise.
34180         [non-C99-based standards] (modfl): Allow.
34181         [non-C99-based standards] (erfl): Do not allow.
34182         [non-C99-based standards] (erfcl): Likewise.
34183         [non-C99-based standards] (gammal): Likewise.
34184         [non-C99-based standards] (hypotl): Likewise.
34185         [non-C99-based standards] (j0l): Likewise.
34186         [non-C99-based standards] (j1l): Likewise.
34187         [non-C99-based standards] (jnl): Likewise.
34188         [non-C99-based standards] (lgammal): Likewise.
34189         [non-C99-based standards] (tgammal): Likewise.
34190         [non-C99-based standards] (y0l): Likewise.
34191         [non-C99-based standards] (y1l): Likewise.
34192         [non-C99-based standards] (ynl): Likewise.
34193         [non-C99-based standards] (isnanl): Likewise.
34194         [non-C99-based standards] (acoshl): Likewise.
34195         [non-C99-based standards] (asinhl): Likewise.
34196         [non-C99-based standards] (atanhl): Likewise.
34197         [non-C99-based standards] (cbrtl): Likewise.
34198         [non-C99-based standards] (expm1l): Likewise.
34199         [non-C99-based standards] (ilogbl): Likewise.
34200         [non-C99-based standards] (log1pl): Likewise.
34201         [non-C99-based standards] (logbl): Likewise.
34202         [non-C99-based standards] (nextafterl): Likewise.
34203         [non-C99-based standards] (remainderl): Likewise.
34204         [non-C99-based standards] (rintl): Likewise.
34205         [non-C99-based standards] (scalbl): Likewise.
34206         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34207         [non-C99-based standards] (FP_*): Do not allow.
34208         [C99-based standards] (FP_*): Change to
34209         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34210         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34211         allow.
34212         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34213         (SIG_ERR): Likewise.
34214         [X/Open-based standards] (SIG_HOLD): Likewise.
34215         (SIG_IGN): Likewise.
34216         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34217         positive value.
34218         (SIGFPE): Likewise.
34219         (SIGILL): Likewise.
34220         (SIGINT): Likewise.
34221         (SIGSEGV): Likewise.
34222         (SIGTER): Likewise.
34223         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34224         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34225         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34226         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34227         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34228         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34229         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34230         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34231         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34232         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34233         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34234         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34235         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34236         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34237         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34238         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34239         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34240         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34241         [X/Open-based standards] (SIGTRAP): Likewise.
34242         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34243         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34244         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34245         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34246         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34247         allow.
34248
34249 2012-05-08  Ian Wienand  <ianw@vmware.com>
34250
34251         [BZ #14080]
34252         * time/tzset.c (__tzset_parse_tz): Update default rules for
34253         daylight time changes in the Energy Policy Act of 2005.
34254
34255 2012-05-09  Andreas Jaeger  <aj@suse.de>
34256
34257         [BZ #13983]
34258         * elf/ldconfig.c (parse_conf): Change string to make clear that
34259         ldconfig only issued a warning if ld.so.conf does not exist.
34260
34261 2012-05-08  David S. Miller  <davem@davemloft.net>
34262
34263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34264         movxtod instead of popping the value on the stack.
34265
34266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34267
34268 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34269
34270         * config.h.in: Add HAVE_ARM_PCS_VFP.
34271
34272 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34273
34274         [BZ #13979]
34275         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34276         checking but the checks are disabled for any reason.
34277
34278 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34279
34280         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34281         and ELF64_R_TYPE with ELFW(R_TYPE).
34282
34283 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34284
34285         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34286         (ulimit): Likewise.
34287
34288         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34289         (settimeofday): Likewise.
34290
34291 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34292
34293         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34294         a struct th_u2 inside the union, and move tu_block/tu_code into
34295         a new th_u3 union of tu_block/tu_code inside of that.  Move
34296         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34297         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34298         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34299         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34300         (th_stuff): Change to th_u1.tu_stuff.
34301         (th_data): Define.
34302         (th_msg): Change to th_u1.th_u2.tu_data.
34303
34304 2012-05-07  David S. Miller  <davem@davemloft.net>
34305
34306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34307
34308         [BZ #14074]
34309         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34310         (SETUP_PIC_REG): Use it.
34311         (SETUP_PIC_REG_LEAF): Use it.
34312
34313 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34314
34315         [BZ #13885]
34316         [BZ #13923]
34317         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34318         USE_AS_EXPM1L.
34319         (EXPL_FINITE): Likewise.
34320         (FLDLOG): Likewise.
34321         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34322         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34323         e_expl.S.
34324         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34325         USE_AS_EXPM1L.
34326         (EXPL_FINITE): Likewise.
34327         (FLDLOG): Likewise.
34328         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34329         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34330         e_expl.S.
34331         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34332         test of -max_value argument for long double.
34333         * sysdeps/i386/fpu/libm-test-ulps: Update.
34334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34335
34336 2012-05-06  David S. Miller  <davem@davemloft.net>
34337
34338         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34339         quad soft-float symbols whose references which are compiler
34340         generated.
34341         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34342
34343 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34344
34345         [BZ #13884]
34346         [BZ #13914]
34347         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34348         USE_AS_EXP10L.
34349         (EXPL_FINITE): Likewise.
34350         (FLDLOG): Likewise.
34351         (c0): Likewise.
34352         (c1): Likewise.
34353         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34354         Adjust comments for base varying.
34355         (__expl_finite): Change alias to EXPL_FINITE.
34356         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34357         e_expl.S.
34358         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34359         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34360         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34361         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34362         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34363         USE_AS_EXP10L.
34364         (EXPL_FINITE): Likewise.
34365         (FLDLOG): Likewise.
34366         (c0): Likewise.
34367         (c1): Likewise.
34368         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34369         Adjust comments for base varying.
34370         (__expl_finite): Change alias to EXPL_FINITE.
34371         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34372         tests for bugs.
34373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34374
34375         [BZ #14064]
34376         * math/libm-test.inc (check_float_internal): Correct ulp
34377         calculation for subnormal expected results.
34378
34379 2012-05-06  Andreas Jaeger  <aj@suse.de>
34380
34381         * Makeconfig (+math-flags): New, set to -frounding-math.
34382         (+cflags): Add +math-flags so that all of glibc gets compiled with
34383         it.
34384
34385         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34386
34387 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34388
34389         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34390         Disable one test.
34391
34392         [BZ #13787]
34393         [BZ #13922]
34394         [BZ #14036]
34395         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34396         (__ieee754_expl): Allow for and saturate large arguments.
34397         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34398         (u_threshold): Likewise.
34399         (__exp): Call __ieee754_exp before checking for overflow and
34400         underflow.
34401         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34402         (u_threshold): Likewise.
34403         (__expf): Call __ieee754_expf before checking for overflow and
34404         underflow.
34405         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34406         (u_threshold): Likewise.
34407         (__expl): Call __ieee754_expl before checking for overflow and
34408         underflow.
34409         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34410         (__ieee754_expl): Allow for and saturate large arguments.
34411         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34412         missing overflow exception on overflow.
34413         (expm1_test): Do not allow missing overflow exception on overflow.
34414
34415         * sysdeps/i386/fpu/e_expl.c: Move to ...
34416         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34417         rather than using inline asm.
34418         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34419         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34420         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34421
34422         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34423         (nice): Likewise.
34424         (poll): Likewise.
34425         (signal): Likewise.
34426         (time): Likewise.
34427         (times): Likewise.
34428
34429 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34430
34431         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34432         sysdeps/unix/common/syscalls.list.
34433         (fchmod): Likewise.
34434         (fchown): Likewise.
34435         (ftruncate): Likewise.
34436         (getrusage): Likewise.
34437         (gettimeofday): Likewise.
34438         (setpgid): Likewise.
34439         (setregid): Likewise.
34440         (setreuid): Likewise.
34441         (sigaction): Likewise.
34442         (truncate): Likewise.
34443         (vhangup): Likewise.
34444         * sysdeps/unix/common/syscalls.list: Remove file.
34445         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34446         * sysdeps/unix/sysv/linux/Implies: Likewise.
34447
34448 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34449
34450         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34452         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34453         Moved to ...
34454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34455         Here.
34456         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34457         to ...
34458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34459         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34460         to ...
34461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34462         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34463         to ...
34464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34465         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34466         to ...
34467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34468         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34469         to ...
34470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34471         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34472         to ...
34473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34474         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34475         to ...
34476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34477         Here.
34478         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34479         to ...
34480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34481         Here.
34482         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34483         to ...
34484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34485         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34486         Moved to ...
34487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34488         Here.
34489         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34490         to ...
34491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34492
34493 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34494
34495         * sysdeps/unix/common/bits/dirent.h: Remove file.
34496         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34497
34498         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34499         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34500         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34501         * sysdeps/unix/bsd/isatty.c: Likewise.
34502         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34503         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34504         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34505
34506 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34507
34508         [BZ #13563]
34509         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34510         long double comparison inaccuracies.
34511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34513
34514 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34515
34516         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34517         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34518
34519 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34520
34521         [BZ #14049]
34522         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34523         nonzero digits before rounding a hex value.
34524         * stdlib/tst-strtod.c (tests): Add another test.
34525
34526 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34527
34528         * sysdeps/s390/fpu/libm-test-ulps: Update.
34529
34530 2012-05-03  Andreas Jaeger  <aj@suse.de>
34531
34532         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34533         does not get optimized out.
34534         (malloc_opt_barrier): New.
34535
34536 2012-05-03  Andreas Jaeger  <aj@suse.de>
34537             Roland McGrath  <roland@hack.frob.com>
34538
34539         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34540         intermediate file deletion.
34541         (generated): Add .symlist files.
34542
34543 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34544
34545         [BZ #13775]
34546         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34547         Redirect under this condition.
34548         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34549         [__USE_GNU] (__dprintf_chk): Not under this condition.
34550         [__USE_GNU] (__vdprintf_chk): Likewise.
34551         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34552         under this condition.
34553         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34554         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34555         [__USE_XOPEN2K8] (vdprintf): Likewise.
34556         [__USE_GNU] (__dprintf_chk): Not under this condition.
34557         [__USE_GNU] (__vdprintf_chk): Likewise.
34558         [__USE_GNU] (dprintf): Likewise.
34559         [__USE_GNU] (vdprintf): Likewise.
34560
34561 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34562
34563         * elf/Makefile (common-generated): Set this instead of generated for
34564         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34565         $(all-built-dso)-derived lists.
34566
34567 2012-05-03  Andreas Jaeger  <aj@suse.de>
34568
34569         * sysdeps/i386/fpu/libm-test-ulps: Update.
34570
34571         * FAQ: Removed.
34572         * FAQ.in: Likewise.
34573         * scripts/gen-FAQ.pl: Likewise.
34574         * manual/install.texi (Installation): Point to online location of
34575         FAQ.
34576         * Makefile (files-for-dist): Remove FAQ.
34577         (FAQ): Remove.
34578
34579 2012-05-02  Allan McRae  <allan@archlinux.org>
34580
34581         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34582         (LDFLAGS-reldepmod5.so): Likewise.
34583         (LDFLAGS-reldep6mod1.so): Likewise.
34584         (LDFLAGS-reldep6mod4.so): Likewise.
34585         (LDFLAGS-reldep8mod3.so): Likewise.
34586         (LDFLAGS-unload4mod1.so): Likewise.
34587         (LDFLAGS-unload4mod2.so): Likewise.
34588         (LDFLAGS-tst-initorder): Likewise.
34589         (LDFLAGS-tst-initordera2.so): Likewise.
34590         (LDFLAGS-tst-initordera3.so): Likewise.
34591         (LDFLAGS-tst-initordera4.so): Likewise.
34592         (LDFLAGS-tst-initorderb2.so): Likewise.
34593         (LDFLAGS-noload): Likewise.
34594         (LDFLAGS-next): Likewise.
34595         (LDFLAGS-order2mod1.so): Likewise.
34596         (LDFLAGS-order2mod2.so): Likewise.
34597         (LDFLAGS-tst-initorder2): Likewise.
34598         (LDFLAGS-tst-initorder2a.so): Likewise.
34599         (LDFLAGS-tst-initorder2b.so): Likewise.
34600         (LDFLAGS-tst-initorder2c.so): Likewise.
34601         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34602
34603 2012-05-02  David S. Miller  <davem@davemloft.net>
34604
34605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34606
34607 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34608
34609         [BZ #14055]
34610         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34611
34612 2012-05-02  Andreas Jaeger  <aj@suse.de>
34613
34614         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34615         since we manipulate rounding mode.
34616         (CPPFLAGS-test-idouble.c): Likewise.
34617         (CPPFLAGS-test-ifloat.c): Likewise.
34618         (CFLAGS-test-ldouble.c): Likewise.
34619         (CFLAGS-test-double.c): Likewise.
34620         (CFLAGS-test-float.c): Likewise.
34621         (CFLAGS-test-misc.c): Likewise.
34622         (CFLAGS-test-test-fenv.c): Likewise.
34623
34624 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34625
34626         [BZ #2550]
34627         [BZ #2570]
34628         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34629         comparisons to determine direction to adjust input.
34630
34631 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34632
34633         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34634         output to the target.
34635
34636         * scripts/localplt.awk: New file.
34637         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34638         (check-localplt-CFLAGS): Variable removed.
34639         ($(all-built-dso:=.jmprel)): New static pattern rule.
34640         (generated): Add those targets.
34641         (localplt-built-dso): New variable.
34642         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34643
34644         * elf/check-localplt.c: File removed.
34645
34646         * scripts/check-execstack.awk: New file.
34647         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34648         (check-execstack-CFLAGS): Variable removed.
34649         ($(objpfx)check-execstack.h): Target removed.
34650         ($(objpfx)execstack-default): New target.
34651         (generated): Add that instead of check-execstack.h.
34652         ($(all-built-dso:=.phdr)): New static pattern rule.
34653         (generated): Add those targets.
34654         * elf/check-execstack.c: File removed.
34655
34656         * scripts/check-textrel.awk: New file.
34657         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34658         (check-textrel-CFLAGS): Variable removed.
34659         (all-built-dso): Use := to define.o
34660         ($(all-built-dso:=.dyn)): New static pattern rule.
34661         (generated): Add those targets.
34662         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34663         * config.make.in (READELF): New substituted variable.
34664         * elf/check-textrel.c: File removed.
34665
34666 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34667
34668         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34669         allow.
34670         * conform/data/ctype.h-data [C99-based standards] (isblank):
34671         Expect function.
34672         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34673         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34674         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34675         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34676         Specify type.  Require positive value.
34677         (EILSEQ): Likewise.
34678         (ERANGE): Likewise.
34679         [ISO || POSIX] (EILSEQ): Do not expect.
34680         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34681         Specify type.  Require positive value.
34682         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34683         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34684         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34685         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34686         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34687         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34688         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34689         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34690         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34691         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34692         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34693         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34694         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34695         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34696         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34697         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34698         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34699         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34700         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34701         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34702         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34703         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34704         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34705         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34706         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34707         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34708         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34709         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34710         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34711         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34712         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34713         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34714         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34715         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34716         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34717         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34718         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34719         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34720         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34721         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34722         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34723         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34724         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34725         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34726         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34727         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34728         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34729         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34730         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34731         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34732         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34733         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34734         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34735         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34736         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34737         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34738         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34739         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34740         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34741         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34742         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34743         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34744         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34745         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34746         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34747         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34748         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34749         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34750         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34751         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34752         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34753         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34754         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34755         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34756         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34757         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34758         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34759         Require >= 2.
34760         (FLT_ROUNDS): Expect as macro, not constant.
34761         (FLT_MANT_DIG): Use macro-int-constant.
34762         (DBL_MANT_DIG): Likewise.
34763         (LDBL_MANT_DIG): Likewise.
34764         (FLT_DIG): Likewise.
34765         (DBL_DIG): Likewise.
34766         (LDBL_DIG): Likewise.
34767         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34768         (DBL_MIN_EXP): Likewise.
34769         (LDBL_MIN_EXP): Likewise.
34770         (FLT_MAX_EXP): Use macro-int-constant.
34771         (DBL_MAX_EXP): Likewise.
34772         (LDBL_MAX_EXP): Likewise.
34773         (FLT_MAX_10_EXP): Likewise.
34774         (DBL_MAX_10_EXP): Likewise.
34775         (LDBL_MAX_10_EXP): Likewise.
34776         (FLT_MAX): Use macro-constant.
34777         (DBL_MAX): Likewise.
34778         (LDBL_MAX): Likewise.
34779         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34780         (DBL_EPSILON): Likewise.
34781         (LDBL_EPSILON): Likewise.
34782         (FLT_MIN): Likewise.
34783         (DBL_MIN): Likewise.
34784         (LDBL_MIN): Likewise.
34785         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34786         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34787         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34788         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34789         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34790         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34791         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34792         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34793         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34794         [ISO11] (FLT_TRUE_MIN): Likewise.
34795         [ISO11] (LDBL_TRUE_MIN): Likewise.
34796         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34797         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34798         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34799         (SCHAR_MAX): Likewise.
34800         (UCHAR_MAX): Likewise.
34801         (CHAR_MIN): Likewise.
34802         (CHAR_MAX): Likewise.
34803         (MB_LEN_MAX): Use macro-int-constant.
34804         (SHRT_MIN): Use macro-int-constant.  Specify type.
34805         (SHRT_MAX): Likewise.
34806         (USHRT_MAX): Likewise.
34807         (INT_MAX): Likewise.
34808         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34809         bound negative.
34810         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34811         bound with "U".
34812         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34813         bound with "L".
34814         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34815         bound negative.  Suffix upper bound with "L".
34816         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34817         bound with "UL".
34818         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34819         Specify type.
34820         [C99-based standards] (LLONG_MAX): Likewise.
34821         [C99-based standards] (ULLONG_MAX): Likewise.
34822         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34823         == 0.
34824         [ISO11] (max_align_t): Require type.
34825         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34826
34827         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34828         from $CFLAGS, without defining away __attribute__ calls.
34829         (checknamespace): Use $CFLAGS_namespace.
34830
34831         * conform/conformtest.pl (@keywords): Only include C99 keywords
34832         for standards based on C99 or C11.
34833
34834         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34835         Disable tests.
34836         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34837         UNIX98]: Likewise.
34838
34839         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34840         usability of symbols in #if.
34841
34842         * conform/conformtest.pl: If macro or constant types start
34843         "promoted:", expect the symbol to be of the following type
34844         promoted by the integer promotions.
34845
34846         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34847         in one place.  Also handle "macro-constant".
34848
34849         * conform/conformtest.pl: Only accept expected macro values with
34850         "==".  Parse all "macro" lines in one place.
34851         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34852
34853         * conform/conformtest.pl: Handle braced types on "constant" lines
34854         instead of handling "typed-constant".
34855         * conform/data/signal.h-data: Use "constant" instead of
34856         "typed-constant".
34857
34858         * conform/conformtest.pl: Handle "optional-" at start of lines in
34859         one place rather than duplicating several cases.  Handle each
34860         format of "macro" line with initial "optional-".
34861
34862         * conform/conformtest.pl: Only accept expected constant or
34863         optional-constant values with "==".  Parse all "constant" lines in
34864         one place.  Parse all "optional-constant" lines in one place.
34865         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34866         * conform/data/fmtmsg.h-data: Likewise.
34867         * conform/data/netinet/in.h-data: Likewise.
34868         * conform/data/tar.h-data: Likewise.
34869         * conform/data/limits.h-data: Use "==" form on "constant" and
34870         "optional-constant" lines.
34871
34872         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34873         Use -std=c99 for XOPEN2K.
34874         (@knownproblems): Remove.
34875         (newtoken): Don't check %isknown.
34876
34877         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34878         Do not expect macro.
34879         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34880         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34881         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34882         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34883         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34884         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34885         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34886         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34887         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34888         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34889         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34890         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34891         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34892         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34893         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34894         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34895         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34896         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34897         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34898         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34899         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34900         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34901         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34902         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34903         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34904         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34905         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34906         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34907         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34908         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34909         [XPG3] (acosh): Likewise.
34910         [XPG3] (asinh): Likewise.
34911         [XPG3] (atanh): Likewise.
34912         [XPG3] (cbrt): Likewise.
34913         [XPG3] (expm1): Likewise.
34914         [XPG3] (ilogb): Likewise.
34915         [XPG3] (log1p): Likewise.
34916         [XPG3] (logb): Likewise.
34917         [XPG3] (nextafter): Likewise.
34918         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34919         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34920         [XPG3] (remainder): Likewise.
34921         [XPG3] (rint): Likewise.
34922         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34923         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34924         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34925         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34926         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34927         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34928         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34929         [UNIX98 || XOPEN2K] (scalb): Expect.
34930         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34931         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34932         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34933         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34934         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34935         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34936         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34937         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34938         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34939         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34940         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34941         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34942         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34943         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34944         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34945         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34946         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34947         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34948         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34949         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34950         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34951         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34952         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34953         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34954         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34955         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34956         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34957         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34958         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34959         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34960         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34961         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34962         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34963         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34964         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34965         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34966         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34967         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34968         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34969         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34970         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34971         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34972         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34973         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34974         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34975         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34976         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34977         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34978         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34979         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34980         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34981         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34982         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34983         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34984         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34985         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34986         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34987         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34988         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34989         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34990         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34991         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34992         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34993         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34994         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34995         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34996         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34997         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34998         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34999         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35000         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35001         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35002         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35003         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35004         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35005         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35006         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35007         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35008         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35009         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35010         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35011         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35012         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35013         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35014         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35015         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35016         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35017         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35018         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35019         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35020         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35021         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35022         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35023         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35024         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35025         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35026         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35027         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35028         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35029         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35030         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35031         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35032         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35033         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35034         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35035         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35036         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35037         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35038         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35039         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35040         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35041         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35042         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35043         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35044         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35045         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35046         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35047         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35048         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35049         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35050         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35051         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35052         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35053         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35054         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35055         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35056         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35057         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35058         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35059         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35060         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35061         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35062         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35063         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35064         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35065         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35066         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35067
35068         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35069         _XOPEN_SOURCE_EXTENDED for XPG4.
35070
35071         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35072
35073         * Makeconfig (localtime): Remove variable.
35074         (inst_localtime-file): Likewise.
35075
35076 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35077
35078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35079         Update.
35080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35081         Update.
35082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35083         Update.
35084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35085         Update.
35086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35087         Update.
35088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35089         Update.
35090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35091         Update.
35092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35093         Update.
35094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35095         Update.
35096
35097 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35098
35099         [BZ #2550]
35100         [BZ #2570]
35101         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35102         comparisons to determine direction to adjust input.
35103         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35104         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35105         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35106         Likewise.
35107         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35108         Likewise.
35109         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35110         Likewise.
35111         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35112         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35113         Likewise.
35114         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35115         Likewise.
35116         * math/libm-test.inc (nexttoward_test): Add more tests.
35117
35118 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35119
35120         [BZ #14040]
35121         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35122         in version GLIBC_2.1, not GLIBC_2.0.
35123         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35124         Likewise.
35125
35126 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35127
35128         [BZ #13942]
35129         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35130         (1 - x) * (1 + x).
35131         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35132         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35133         * math/libm-test.inc (acos_test): Add more tests.
35134         (asin_test): Likewise.
35135         * sysdeps/i386/fpu/libm-test-ulps: Update.
35136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35137
35138         [BZ #14034]
35139         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35140         of square root.
35141         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35142         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35143         * math/libm-test.inc (acos_test_tonearest): New function.
35144         (acos_test_towardzero): Likewise.
35145         (acos_test_downward): Likewise.
35146         (acos_test_upward): Likewise.
35147         (asin_test_tonearest): Likewise.
35148         (asin_test_towardzero): Likewise.
35149         (asin_test_downward): Likewise.
35150         (asin_test_upward): Likewise.
35151         (main): Call the new functions.
35152         * sysdeps/i386/fpu/libm-test-ulps: Update.
35153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35154
35155         [BZ #13884]
35156         [BZ #13924]
35157         * math/e_exp10.c: Include <float.h>.
35158         (__ieee754_exp10): Handle underflow here rather than multiplying
35159         large negative argument by M_LN10.
35160         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35161         of __ieee754_expf.
35162         * math/e_exp10l.c: Include <float.h>.
35163         (__ieee754_exp10l): Handle underflow here rather than multiplying
35164         large negative argument by M_LN10l.
35165         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35166         spurious overflow exception on underflow.
35167
35168 2012-04-29  Marek Polacek  <polacek@redhat.com>
35169
35170         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35171         (__fortify_function): New macro.
35172         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35173         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35174         __extern_always_inline.
35175         * libio/bits/stdio2.h: Likewise.
35176         * libio/bits/stdio.h: Likewise.
35177         * string/string.h: Likewise.
35178         * string/bits/string3.h: Likewise.
35179         * include/stdio.h: Likewise.
35180         * stdlib/bits/stdlib.h: Likewise.
35181         * stdlib/stdlib.h: Likewise.
35182         * rt/bits/mqueue2.h: Likewise.
35183         * rt/mqueue.h: Likewise.
35184         * posix/bits/unistd.h: Likewise.
35185         * posix/unistd.h: Likewise.
35186         * io/bits/poll2.h: Likewise.
35187         * io/bits/fcntl2.h: Likewise.
35188         * io/fcntl.h: Likewise.
35189         * io/sys/poll.h: Likewise.
35190         * misc/bits/syslog.h: Likewise.
35191         * misc/bits/syslog-ldbl.h: Likewise.
35192         * misc/sys/syslog.h: Likewise.
35193         * socket/bits/socket2.h: Likewise.
35194         * socket/sys/socket.h: Likewise.
35195         * debug/tst-chk1.c: Likewise.
35196         * wcsmbs/bits/wchar2.h: Likewise.
35197         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35198         * wcsmbs/wchar.h: Likewise.
35199
35200 2012-04-29  Andreas Jaeger  <aj@suse.de>
35201
35202         * Makerules (tests): Remove enable-check-abi protection.
35203         (check-abi-warn): Remove.
35204         (check-abi-%): Remove check-abi-warn usage.
35205
35206         * configure.in: Remove check-abi configure option.
35207         * configure: Regenerated.
35208         * config.make.in (enable-check-abi): Remove.
35209
35210 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35211
35212         [BZ #14033]
35213         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35214         double functions to double *_finite functions.
35215
35216         [BZ #13941]
35217         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35218         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35219         LDBL_MIN_EXP.
35220         * stdio-common/Makefile (tests): Add tst-sprintf3.
35221         * stdio-common/tst-sprintf3.c: New file.
35222
35223         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35224         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35225
35226 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35227
35228         * conform/conformtest.pl: Remove duplicate typed-constant
35229         handling.
35230
35231 2012-04-28  David S. Miller  <davem@davemloft.net>
35232
35233         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35234         (check-abi-%): Remove AWK script prerequisite and explicit
35235         abilist directory.
35236         (check-abi): Rewrite to just diff the symlist with the abilist.
35237         (config-tls, config-abi-config): Delete, no longer used.
35238         (update-abi-%): Remove AWK script and explicit abilist directory.
35239         (update-abi): Rewrite to simply compare and conditionally copy the
35240         symlist and the sysdep abilist file.  Remove update-abi-config
35241         checks.
35242         * abilist/ld.abilist: Remove.
35243         * abilist/libBrokenLocale.abilist: Remove.
35244         * abilist/libanl.abilist: Remove.
35245         * abilist/libcrypt.abilist: Remove.
35246         * abilist/libdl.abilist: Remove.
35247         * abilist/librt.abilist: Remove.
35248         * abilist/libthread_db.abilist: Remove.
35249         * abilist/libutil.abilist: Remove.
35250         * scripts/extract-abilist.awk: Remove.
35251         * scripts/merge-abilist.awk: Remove.
35252         * sysdeps/generic/libcidn.abilist: New file.
35253         * sysdeps/generic/libnss_compat.abilist: New file.
35254         * sysdeps/generic/libnss_db.abilist: New file.
35255         * sysdeps/generic/libnss_dns.abilist: New file.
35256         * sysdeps/generic/libnss_files.abilist: New file.
35257         * sysdeps/generic/libnss_hesiod.abilist: New file.
35258         * sysdeps/generic/libnss_nis.abilist: New file.
35259         * sysdeps/generic/libnss_nisplus.abilist: New file.
35260         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35261         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35262         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35263         file.
35264         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35265         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35266         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35267         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35268         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35269         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35270         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35271         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35272         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35273         file.
35274         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35275         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35276         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35277         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35278         file.
35279         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35280         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35281         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35282         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35283         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35284         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35285         file.
35286         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35287         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35288         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35289         file.
35290         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35292         New file.
35293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35294         New file.
35295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35296         New file.
35297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35298         New file.
35299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35300         New file.
35301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35302         New file.
35303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35304         New file.
35305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35306         New file.
35307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35308         New file.
35309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35310         New file.
35311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35312         New file.
35313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35314         New file.
35315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35316         New file.
35317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35318         file.
35319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35320         New file.
35321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35322         New file.
35323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35324         file.
35325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35326         New file.
35327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35328         New file.
35329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35330         file.
35331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35332         New file.
35333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35334         New file.
35335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35336         New file.
35337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35338         New file.
35339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35340         New file.
35341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35342         New file.
35343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35345         file.
35346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35347         New file.
35348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35349         file.
35350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35351         file.
35352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35353         file.
35354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35355         file.
35356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35357         file.
35358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35359         New file.
35360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35361         file.
35362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35363         file.
35364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35365         New file.
35366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35367         file.
35368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35370         file.
35371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35372         New file.
35373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35374         file.
35375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35376         file.
35377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35378         file.
35379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35380         file.
35381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35382         file.
35383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35384         New file.
35385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35386         file.
35387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35388         file.
35389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35390         New file.
35391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35392         file.
35393         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35394         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35395         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35396         file.
35397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35398         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35399         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35400         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35401         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35402         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35403         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35404         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35405         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35406         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35409         file.
35410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35411         New file.
35412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35413         file.
35414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35415         file.
35416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35417         file.
35418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35419         file.
35420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35421         file.
35422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35423         New file.
35424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35425         New file.
35426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35427         file.
35428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35429         New file.
35430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35431         file.
35432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35434         file.
35435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35436         New file.
35437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35438         file.
35439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35440         file.
35441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35442         file.
35443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35444         file.
35445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35446         file.
35447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35448         New file.
35449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35450         New file.
35451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35452         file.
35453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35454         New file.
35455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35456         file.
35457
35458 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35459
35460         * conform/conformtest.pl: Fix typo in handling typed-constant from
35461         allow-header.
35462
35463 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35464
35465         * README: Cut down references to pre-2.6 Linux kernels and
35466         Linuxthreads.  Update lists of configurations in libc and ports
35467         and sort alphabetically.  Say "or newer" with Linux kernel version
35468         requirements.
35469
35470         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35471
35472 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35473
35474         [BZ #887]
35475         * math/libm-test.inc (logb_test_downward): New test to expose
35476         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35477         rounding mode.
35478
35479 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35480
35481         [BZ #14027]
35482         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35483         to be done.
35484         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35485         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35486
35487 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35488
35489         * sysdeps/unix/i386/brk.S: Remove file.
35490         * sysdeps/unix/i386/dl-brk.S: Likewise.
35491         * sysdeps/unix/i386/pipe.S: Likewise.
35492         * sysdeps/unix/i386/sigreturn.S: Likewise.
35493         * sysdeps/unix/i386/syscall.S: Likewise.
35494         * sysdeps/unix/i386/vfork.S: Likewise.
35495         * sysdeps/unix/i386/wait.S: Likewise.
35496
35497         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35498         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35499
35500         * configure.in (arm*-none*): Do not allow without
35501         --enable-hacker-mode.
35502         (netbsd*): Remove case setting base_os.
35503         (386bsd*): Likewise.
35504         (freebsd*): Likewise.
35505         (bsdi*): Likewise.
35506         (osf*): Likewise.
35507         (sunos*): Likewise.
35508         (ultrix*): Likewise.
35509         (newsos*): Likewise.
35510         (dynix*): Likewise.
35511         (*bsd*): Likewise.
35512         (sysv*): Likewise.
35513         (isc*): Likewise.
35514         (esix*): Likewise.
35515         (sco*): Likewise.
35516         (minix*): Likewise.
35517         (irix4*): Likewise.
35518         (irix6*): Likewise.
35519         (solaris[2-9]*): Likewise.
35520         (none): Likewise.
35521         * configure: Regenerated.
35522
35523 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35524
35525         [BZ #11521]
35526         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35527         overflow or cancellation in calculating denominator.
35528         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35529         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35530         down expression to avoid unexpected rounding in newer GCCs.
35531         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35532
35533 2012-04-26  David S. Miller  <davem@davemloft.net>
35534
35535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35536         long-double compat symbols.
35537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35550
35551 2012-04-25  David S. Miller  <davem@davemloft.net>
35552
35553         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35554         HWCAP_* values only after the memory barriers have been defined.
35555         (atomic_full_barrier): Define.
35556         (atomic_read_barrier): Define.
35557         (atomic_write_barrier): Define.
35558
35559 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35560
35561         * shlib-versions: Add libgcc_s version information.
35562         * sysdeps/generic/libgcc_s.h: Remove.
35563         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35564         libgcc_s.h.
35565         * sysdeps/gnu/unwind-resume.c: Likewise.
35566         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35567
35568 2012-04-25  David S. Miller  <davem@davemloft.net>
35569
35570         * sysdeps/unix/sparc/brk.S: Delete.
35571         * sysdeps/unix/sparc/dl-brk.S: Delete.
35572         * sysdeps/unix/sparc/pipe.S: Delete.
35573         * sysdeps/unix/sparc/sysdep.S: Delete.
35574         * sysdeps/unix/sparc/sysdep.h: Delete.
35575         * sysdeps/unix/sparc/vfork.S: Delete.
35576         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35577         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35578         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35579         (ret_ERRVAL, r0, r1, MOVE): Define.
35580         (JUMPTARGET): Remove.
35581         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35582         sysdeps/unix/sparc/sysdep.h
35583         (ENTRY, END): Remove.
35584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35585
35586 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35587
35588         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35589         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35590         -DIS_IN_build.
35591
35592         * timezone/README: Update upstream location and email address for
35593         tzcode and tzdata.
35594         * timezone/zdump.c: Update from tzcode 2012b.
35595         * timezone/zic.c: Likewise.
35596
35597         * configure.in (libc_cv_as_needed): Remove test.
35598         * configure: Regenerated.
35599         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35600         conditional definition.
35601         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35602         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35603         * config.make.in (have-as-needed): Remove variable.
35604
35605 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35606             Paul Pluzhnikov  <ppluzhnikov@google.com>
35607
35608         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35609         strings correctly.
35610
35611 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35612
35613         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35614         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35615         * sysdeps/sh/strlen.S: Likewise.
35616
35617 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35618
35619         * sysdeps/unix/fork.S: Remove file.
35620         * sysdeps/unix/i386/fork.S: Likewise.
35621         * sysdeps/unix/sparc/fork.S: Likewise.
35622
35623         * sysdeps/unix/system.c: Remove file.
35624         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35625
35626         * sysdeps/unix/getegid.S: Remove file.
35627         * sysdeps/unix/geteuid.S: Likewise.
35628
35629 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35630
35631         * scripts/check-localplt.awk: New file.
35632         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35633         of diff.
35634         * scripts/data/localplt-generic.data: Add a comment.
35635
35636         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35637         NODE when __dir_mkfile failed.
35638         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35639         Reported by Ludovic Courtès <ludo@gnu.org>.
35640
35641 2012-04-24  Andreas Jaeger  <aj@suse.de>
35642
35643         * Makerules (common-clean): Also remove gen-as-const-headers
35644         files.
35645
35646 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35647
35648         * Makerules (native-compile): Do not change working directory for
35649         build.  Use $(OUTPUT_OPTION) in command.
35650         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35651
35652 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35653
35654         [BZ #13886]
35655         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35656         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35657         * math/libm-test.inc (floor_test): Add more tests.
35658         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35659
35660 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35661
35662         * sysdeps/unix/getdents.c: Remove file.
35663         * sysdeps/unix/sysv/getdents.c: Likewise.
35664         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35665
35666         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35667         sysdeps/unix/mman/syscalls.list.
35668         (mmap): Likewise.
35669         (mprotect): Likewise.
35670         (msync): Likewise.
35671         (munmap): Likewise.
35672         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35673         * sysdeps/unix/mman/syscalls.list: Remove.
35674         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35675
35676         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35677         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35678         * configure: Regenerated.
35679         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35680         $(libgcc_s_suffix).
35681         * config.make.in (libgcc_s_suffix): Remove variable.
35682
35683 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35684
35685         * sysdeps/unix/sysv/gethostname.c: Move to ...
35686         * sysdeps/posix/gethostname.c: ... here.
35687
35688         * sysdeps/unix/execve.S: Remove file.
35689
35690         * sysdeps/unix/_exit.S: Remove file.
35691
35692 2012-04-23  Andreas Jaeger  <aj@suse.de>
35693
35694         [BZ #13739]
35695         * manual/Makefile: Remove make dist support, there's no
35696         need for a stand-alone documentation tar ball.
35697         (TEXI2DVI): Define always, it's not in Makeconfig.
35698         (dist): Removed.
35699         (tar-it): Removed.
35700         (edition): Removed.
35701         (glibc-doc-$(edition).tar): Removed
35702         (%.Z): Removed.
35703         (%.gz): Removed.
35704         (%.uu): Removed.
35705         (ETAGS): Remove, it's in Makeconfig.
35706         (move-if-change): Remove, it's in Makeconfig.
35707
35708 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35709
35710         [BZ #13970]
35711         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35712         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35713         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35714         (strtod_l, strtof_l, strtold_l): Remove __wur.
35715         It is not necessarily an error to ignore strtol's return value.
35716         One can reliably look at the stored endptr to decide whether
35717         the number had valid syntax.
35718
35719 2012-04-21  Andreas Jaeger  <aj@suse.de>
35720
35721         [BZ #13739]
35722         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35723
35724 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35725
35726         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35727         * sysdeps/unix/sysv/Versions: Remove file.
35728
35729 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35730
35731         [BZ #13927]
35732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35733
35734 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35735
35736         [BZ #7064]
35737         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35738         version from __vm86.
35739
35740 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35741
35742         * sysdeps/unix/common/lxstat.c: Remove file.
35743         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35744
35745         * sysdeps/unix/sysv/Makefile: Remove file.
35746
35747         * sysdeps/unix/sysv/direct.h: Remove file.
35748
35749         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35750         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35751         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35752         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35753         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35754         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35755         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35756
35757         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35758
35759         * sysdeps/unix/xmknod.c: Remove file.
35760         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35761
35762         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35763
35764         * sysdeps/unix/sysv/i386/time.S: Remove file.
35765
35766         * sysdeps/unix/fxstat.c: Remove file.
35767         * sysdeps/unix/xstat.c: Likewise.
35768         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35769
35770         * sysdeps/unix/sysv/sigaction.c: Remove file.
35771
35772         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35773         (sysdep_headers): Remove variable.
35774         [termio.h not in sysdep_headers] (generated): Likewise.
35775         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35776         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35777         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35778         * sysdeps/unix/sysv/tcflow.c: Likewise.
35779         * sysdeps/unix/sysv/tcflush.c: Likewise.
35780         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35781         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35782         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35783         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35784         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35785
35786         * sysdeps/unix/siglist.c: Remove file.
35787
35788         * sysdeps/unix/getppid.S: Remove file.
35789
35790         * sysdeps/unix/mkdir.c: Remove file.
35791         * sysdeps/unix/rmdir.c: Likewise.
35792
35793 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35794
35795         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35796         ERR_MAX value.
35797         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35798         errlist-compat value.
35799
35800 2012-04-18  David S. Miller  <davem@davemloft.net>
35801
35802         * sysdeps/generic/memcopy.h (reg_char): Delete.
35803         * debug/strcat_chk.c: Use char, not reg_char.
35804         * debug/strcpy_chk.c: Likewise.
35805         * debug/strncat_chk.c: Likewise.
35806         * debug/strncpy_chk.c: Likewise.
35807         * string/memchr.c: Likewise.
35808         * string/memrchr.c: Likewise.
35809         * string/rawmemchr.c: Likewise.
35810         * string/strcat.c: Likewise.
35811         * string/strchr.c: Likewise.
35812         * string/strchrnul.c: Likewise.
35813         * string/strcmp.c: Likewise.
35814         * string/strcpy.c: Likewise.
35815         * string/strncat.c: Likewise.
35816         * string/strncmp.c: Likewise.
35817         * string/strncpy.c: Likewise.
35818
35819 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35820
35821         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35822         __builtin_memcopy is called when src and dest ranges are known to not
35823         overlap.
35824
35825 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35826
35827         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35828         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35829         fwd_align_merge macro call.
35830         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35831         bwd_align_merge macro call.
35832         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35833
35834 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35835
35836         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35837         bwd_align_merge macros.
35838         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35839         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35840         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35841
35842 2012-04-18  David S. Miller  <davem@davemloft.net>
35843
35844         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35845
35846 2012-04-18  Andreas Jaeger  <aj@suse.de>
35847
35848         [BZ# 6794]
35849         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35850         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35851         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35852
35853         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35854         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35855         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35856
35857         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35858         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35859         Adjust for changed ldbl-128 files.
35860
35861         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35862         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35863         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35864
35865 2012-04-17  David S. Miller  <davem@davemloft.net>
35866
35867         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35868
35869 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35870
35871         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35872         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35873         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35874         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35875         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35876         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35877
35878 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35879
35880         [BZ #6794]
35881         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35882         * math/libm-test.inc: Add ilogb errno and exception tests.
35883         * math/w_ilogb.c: New file: ilogb wrapper.
35884         * math/w_ilogbf.c: New file: ilogbf wrapper.
35885         * math/w_ilogbl.c: New file: ilogbl wrapper.
35886         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35887         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35888         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35889         exception being thrown with 0.0 as argument.
35890         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35891         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35892         exception being thrown with 0.0 as argument.
35893         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35894         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35895         exception being thrown with 0.0 as argument.
35896         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35897         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35898         exception being thrown with 0.0 as argument.
35899         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35900         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35901         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35902         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35903         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35904         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35905         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35906         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35907         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35908
35909 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35910
35911         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35912         with altivec.
35913
35914 2012-04-16  Marek Polacek  <polacek@redhat.com>
35915
35916         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35917
35918 2012-04-16  Marek Polacek  <polacek@redhat.com>
35919
35920         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35921         operands of fdivp instruction.
35922
35923 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35924
35925         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35926         * elf/tst-auditmod3b.c: Likewise.
35927         * elf/tst-auditmod4b.c: Likewise.
35928         * elf/tst-auditmod5b.c: Likewise.
35929         * elf/tst-auditmod6b.c: Likewise.
35930         * elf/tst-auditmod6c.c: Likewise.
35931         * elf/tst-auditmod7b.c: Likewise.
35932         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35933         * sysdeps/x86_64/preconfigure.in: Likewise.
35934         * sysdeps/x86_64/preconfigure: Regenerated.
35935
35936 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35937
35938         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35939         __ILP32__.
35940
35941 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35942
35943         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35944         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35945
35946 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35947
35948         [BZ #13973]
35949         * locale/iso-639.def: Fix gl language name. Spotted by
35950         Yaron Shahrabani.
35951
35952 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35953
35954         [BZ #2074]
35955         * libio/libio.h (__io_write_fn): Update comment.
35956
35957 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35958
35959         [BZ #2074]
35960         * stdio.texi (Hook Functions): The user provided writer function
35961         is not allowed to return -1.
35962
35963 2012-04-11  David S. Miller  <davem@davemloft.net>
35964
35965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35966
35967 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35968
35969         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35970         Add a leading slash to rtkaio.
35971
35972 2012-04-11  Jim Meyering  <meyering@redhat.com>
35973
35974         [BZ #11959]
35975         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35976         It is not necessarily an error to ignore fwrite's return
35977         value.  One can reliably use ferror to test for errors after
35978         the fact.
35979
35980 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35981
35982         * bits/types.h (__snseconds_t): New type.
35983         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35984
35985         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35987         (__SNSECONDS_T_TYPE): Likewise.
35988         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35989         (__SNSECONDS_T_TYPE): Likewise.
35990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35991         (__SNSECONDS_T_TYPE): Likewise.
35992
35993 2012-04-10  Andreas Jaeger  <aj@suse.de>
35994
35995         [BZ #2636]
35996         * manual/time.texi (Processor Time): Return type of times is
35997         elapsed real time since an arbitrary point in the past.
35998         (CPU Time): Move CLK_TCK from here...
35999         (Processor Time): ...to here.  Correct description.
36000         * manual/conf.texi (Constants for Sysconf): Correct description of
36001         _SC_CLK_TCK.
36002
36003 2012-04-10  David S. Miller  <davem@davemloft.net>
36004
36005         [BZ #13967]
36006         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36007         where the is a gap between DT_REL(A) and DT_JMPREL.
36008
36009 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36010
36011         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36012         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36013         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36014
36015 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36016
36017         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36018         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36019         (dl_main): Handle --inhibit-cache.
36020         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36021         _dl_inhibit_cache.
36022         * elf/dl-load.c (_dl_map_object): Use it.
36023         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36024
36025 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36026
36027         [BZ #13872]
36028         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36029         (__ieee754_powl): Saturate large exponents rather than testing for
36030         overflow of y*log2(x).
36031         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36032         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36033         exceptions.
36034
36035         [BZ #11521]
36036         * math/s_ctan.c: Include <float.h>.
36037         (__ctan): Avoid internal overflow or cancellation in calculating
36038         denominator.
36039         * math/s_ctanf.c: Likewise.
36040         * math/s_ctanl.c: Likewise.
36041         * math/s_ctanh.c: Likewise.
36042         * math/s_ctanhf.c: Likewise.
36043         * math/s_ctanhl.c: Likewise.
36044         * math/libm-test.inc (ctan_test): Add more tests.
36045         (ctanh_test): Likewise.
36046         * sysdeps/i386/fpu/libm-test-ulps: Update.
36047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36048
36049 2012-04-09  Andreas Jaeger  <aj@suse.de>
36050
36051         [BZ #6894]
36052         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36053         is an optional BSD extension.
36054
36055         [BZ #10254]
36056         * manual/stdio.texi (Opening Streams): Document additional fopen
36057         parameters.
36058
36059 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36060
36061         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36062         %eax without telling the compiler.
36063
36064 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36065
36066         [BZ # 13963]
36067         * manual/install.texi: Use sourceware.org.
36068
36069 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36070
36071         [BZ #13873]
36072         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36073         (__ieee754_pow): Generate overflow and underflow using huge*huge
36074         and tiny*tiny rather than just returning constant infinity or zero
36075         for large exponents.
36076         * math/libm-test.inc (pow_test): Require overflow exceptions for
36077         applicable cases of large exponents.
36078
36079         [BZ #706]
36080         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36081         (__ieee754_pow): Use iterative multiplication algorithm only for
36082         integer exponents with absolute value below 1024.  Check for odd
36083         integer exponents when using algorithm for real exponents.
36084         * math/libm-test.inc (pow_test): Add more tests.
36085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36086
36087 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36088
36089         [BZ #13705]
36090         * math/libm-test.inc (exp_test): Do not allow overflow exception
36091         on underflow test.
36092
36093 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36094
36095         [BZ #13705]
36096         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36097         instead of __kernel_standard_f.
36098
36099 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36100
36101         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36102         * sysdeps/x86_64/memset_chk.S: Likewise.
36103
36104 2012-04-08  Andreas Jaeger  <aj@suse.de>
36105
36106         [BZ #10153]
36107         * manual/startup.texi (Environment Access): Describe return value
36108         for putenv and setenv.
36109
36110         [BZ #6895]
36111         * manual/filesys.texi (Directory Entries): Add description for
36112         DT_LNK.
36113
36114         [BZ #6890]
36115         * manual/filesys.texi (Directory Entries): Clarify that it's file
36116         system not operating system in the description of DT_UNKNOWN.
36117
36118         [BZ #6578]
36119         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36120
36121 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36122
36123         [BZ #6649]
36124         * manual/llio.texi (Opening and Closing Files): Add cross
36125         reference to explain mode argument.
36126
36127 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36128
36129         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36130         * sysdeps/x86_64/memset_chk.S: Likewise.
36131
36132 2012-04-07  David S. Miller  <davem@davemloft.net>
36133
36134         * elf/elf.h (R_SPARC_WDISP10): Define.
36135         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36136         R_SPARC_SIZE32.
36137         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36138         R_SPARC_SIZE64 and R_SPARC_H34.
36139
36140 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36141
36142         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36143         conditions and remove no longer applicable assertion.
36144
36145 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36146
36147         * bits/byteswap.h: Include <features.h>.
36148         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36149         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36150
36151 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36152
36153         * bits/byteswap.h (__bswap_16): Removed.
36154         Include <bits/byteswap-16.h> to get __bswap_16.
36155         * sysdeps/i386/bits/byteswap.h: Likewise.
36156         * sysdeps/s390/bits/byteswap.h: Likewise.
36157         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36158         * bits/byteswap-16.h: New file.
36159         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36160         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36161         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36162         * string/Makefile (headers): Add bits/byteswap-16.h.
36163
36164 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36165
36166         [BZ #13895]
36167         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36168         extra indirection.
36169         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36170         * nss/tst-nss-static.c: New.
36171
36172 2012-04-06  Robert Millan  <rmh@gnu.org>
36173
36174         [BZ #6486]
36175         * manual/llio.texi (File Position Primitive): lseek
36176         refers to WHENCE when it really means OFFSET.
36177
36178 2012-04-06  Andreas Jaeger  <aj@suse.de>
36179
36180         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36181         strncmp declarations.
36182
36183         * abilist/libc.abilist: Add __poll and __ppoll.
36184
36185 2012-04-05  David S. Miller  <davem@davemloft.net>
36186
36187         * scripts/check-local-headers.sh: Accept a host triplet in the
36188         path matched by the exclude regexp.
36189
36190         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36191         definition.
36192         * sysdeps/powerpc/powerpc32/dl-machine.h
36193         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36194         * sysdeps/s390/s390-32/dl-machine.h
36195         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36196         * sysdeps/sparc/sparc32/dl-machine.h
36197         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36198         * sysdeps/sparc/sparc64/dl-machine.h
36199         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36200
36201         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36202         lazy binding.
36203         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36204         undefined symbol errors.
36205
36206         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36207         DT_NEEDED entries.
36208
36209 2012-04-05  Michael Matz  <matz@suse.de>
36210
36211         [BZ #13592]
36212         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36213
36214 2012-04-05  Andreas Jaeger  <aj@suse.de>
36215
36216         [BZ #13908]
36217         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36218         comment.
36219
36220 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36221
36222         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36223         which ROUND is no valid rounding mode.
36224
36225 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36226
36227         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36228         read again.
36229         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36230
36231 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36232
36233         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36234         an exception using FPU order intentionally.
36235
36236 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36237
36238         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36239         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36240         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36241         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36242
36243 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36244
36245         [BZ #12340]
36246         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36247         EINVAL when BUFLEN is too smal.
36248
36249 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36250
36251         [BZ #13553]
36252         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36253         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36254
36255 2012-04-03  Andreas Jaeger  <aj@suse.de>
36256
36257         [BZ #13938]
36258         * manual/setjmp.texi (System V contexts): Fix sentence.
36259
36260         [BZ #13926]
36261         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36262         New macro for this case.
36263         [!__GNUC__] (__bswap_64): New inline function for this case.
36264         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36265         * bits/byteswap.h: Likewise.
36266         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36267         ull, guard with __GLIBC_HAVE_LONG_LONG.
36268
36269         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36270         __GLIBC_HAVE_LONG_LONG.
36271
36272         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36273         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36274
36275 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36276
36277         [BZ #13691]
36278         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36279         inptr and inend, rather than using last_ch.
36280
36281 2012-04-02  David S. Miller  <davem@davemloft.net>
36282
36283         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36284         * stdio-common/printf-parse.h (read_int): Change return type to
36285         'int', return -1 on INT_MAX overflow.
36286         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36287         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36288         overflows INT_MAX.  Check for overflow of in-format-string precision
36289         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36290         SIZE_MAX not INT_MAX for integer overflow test.
36291         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36292         skip the construct in the format string but do not record anything.
36293         * stdio-common/bug22.c: Adjust to test both width/prevision
36294         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36295         explicitly for proper errno values.
36296
36297 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36298
36299         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36300         CHAR_MAX.
36301         * string/test-strcmp.c [! WIDE]: Likewise.
36302         * time/tst-mktime2.c: Likewise for INT_MAX.
36303         * string/test-string.h: #include <sys/param.h> for MIN.
36304
36305         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36306         * sysdeps/i386/init-first.c (init): Likewise.
36307         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36308         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36309         * sysdeps/sh/init-first.c (init): Likewise.
36310
36311 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36312
36313         * po/ru.po: Update from translation team.
36314         * po/vi.po: Likewise.
36315
36316 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36317
36318         * resolv/nss_dns/dns-host.c: Merge copyright years.
36319
36320 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36321
36322         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36323         Optimize memcpy with prefetch if
36324         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36325         src, dst pointers have unequal 16 byte alignments.
36326
36327 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36328
36329         [BZ #13928]
36330         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36331         from a CNAME entry and return the minimum ttl for the query.
36332         (gaih_getanswer_slice): Likewise.
36333
36334 2012-03-30  Jeff Law  <law@redhat.com>
36335
36336         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36337         due to long keys.
36338         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36339         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36340
36341         * resolv/nss_dns/dns-host.c: Update copyright year.
36342
36343 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36344
36345         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36346         requests to save a system call.  Fix check that all bytes are sent.
36347
36348         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36349         comments for sendmmsg.
36350
36351 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36352
36353         [BZ #13691]
36354         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36355         with only 1 character between 0x0041 and 0x01b0.
36356         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36357         * wcsmbs/tst-mbsnrtowcs.c: New file.
36358
36359 2012-03-29  David S. Miller  <davem@davemloft.net>
36360
36361         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36362         small copies by hand.
36363
36364 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36365
36366         [BZ #13761]
36367         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36368         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36369         group memberships.
36370
36371 2012-03-28  David S. Miller  <davem@davemloft.net>
36372
36373         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36374         that branches into memcpy.
36375         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36376         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36377         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36378         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36379         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36380         bits.
36381         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36382         implementation too.
36383         * sysdeps/sparc/mempcpy.S: New file.
36384
36385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36386         the IFUNC routine in the libc case.
36387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36388
36389         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36390         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36391         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36392         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36393         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36394         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36395         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36396         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36397
36398         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36399         loop to 256 bytes instead of 64 bytes and fix test signedness.
36400
36401         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36402         * sysdeps/sparc/sparc32/Makefile: rather than here...
36403         * sysdeps/sparc/sparc64/Makefile: and here.
36404
36405 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36406
36407         * malloc/mallocbug.c: Avoid warnings about unused variables.
36408
36409 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36410
36411         [BZ #13760]
36412         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36413         in the right place. Discard and retry query if response is
36414         larger than input buffer size.
36415
36416 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36417
36418         [BZ #369]
36419         [BZ #2678]
36420         [BZ #3866]
36421         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36422         x for large integer exponent.
36423         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36424         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36425         sign of result as needed afterwards.
36426         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36427         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36428         result for underflowing pow the same as for overflow.
36429         (__kernel_standard_l): Handle powl overflow and underflow here
36430         rather than calling __kernel_standard.
36431         * math/libm-test.inc (pow_test): Add more tests.
36432
36433         [BZ #3868]
36434         [BZ #13879]
36435         [BZ #13910]
36436         [BZ #13911]
36437         [BZ #13912]
36438         [BZ #13913]
36439         [BZ #13915]
36440         [BZ #13916]
36441         [BZ #13917]
36442         [BZ #13918]
36443         [BZ #13919]
36444         [BZ #13920]
36445         [BZ #13921]
36446         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36447         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36448         (__kernel_standard_l): New function.
36449         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36450         __kernel_standard.
36451         * math/w_acosl.c (__acosl): Likewise.
36452         * math/w_asinl.c (__asinl): Likewise.
36453         * math/w_atan2l.c (__atan2l): Likewise.
36454         * math/w_atanhl.c (__atanhl): Likewise.
36455         * math/w_coshl.c (__coshl): Likewise.
36456         * math/w_exp10l.c (__exp10l): Likewise.
36457         * math/w_exp2l.c (__exp2l): Likewise.
36458         * math/w_fmodl.c (__fmodl): Likewise.
36459         * math/w_hypotl.c (__hypotl): Likewise.
36460         * math/w_j0l.c (__j0l, __y0l): Likewise.
36461         * math/w_j1l.c (__j1l, __y1l): Likewise.
36462         * math/w_jnl.c (__jnl, __ynl): Likewise.
36463         * math/w_lgammal.c (__lgammal): Likewise.
36464         * math/w_log10l.c (__log10l): Likewise.
36465         * math/w_log2l.c (__log2l): Likewise.
36466         * math/w_logl.c (__logl): Likewise.
36467         * math/w_powl.c (__powl): Likewise.
36468         * math/w_remainderl.c (__remainderl): Likewise.
36469         * math/w_scalbl.c (sysv_scalbl): Likewise.
36470         * math/w_sinhl.c (__sinhl): Likewise.
36471         * math/w_sqrtl.c (__sqrtl): Likewise.
36472         * math/w_tgammal.c (__tgammal): Likewise.
36473         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36474         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36475         * math/libm-test.inc (acos_test): Add more tests.
36476         (acosh_test): Likewise.
36477         (asin_test): Likewise.
36478         (atanh_test): Likewise.
36479         (exp_test): Likewise.
36480         (exp10_test): Likewise.
36481         (exp2_test): Likewise.
36482         (expm1_test): Likewise.
36483         (lgamma_test): Likewise.
36484         (log_test): Likewise.
36485         (log10_test): Likewise.
36486         (log1p_test): Likewise.
36487         (log2_test): Likewise.
36488         (pow_test): Do not allow some spurious overflow exceptions.
36489         (sqrt_test): Add more tests.
36490         (tgamma_test): Likewise.
36491         (y0_test): Likewise.
36492         (y1_test): Likewise.
36493         (yn_test): Likewise.
36494
36495 2012-03-27  Anton Blanchard  <anton@samba.org>
36496
36497         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36498         MAP_HUGETLB.
36499         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36500         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36501         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36502
36503 2012-03-27  David S. Miller  <davem@davemloft.net>
36504
36505         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36506
36507         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36508         have-as-vis3 check.
36509
36510 2012-03-27  Andreas Jaeger  <aj@suse.de>
36511
36512         * sysdeps/x86_64/elf/configure.in: Moved to ...
36513         * sysdeps/x86_64/configure.in: ... here.
36514         * sysdeps/x86_64/elf/start.S: Moved to ...
36515         * sysdeps/x86_64/start.S: ... here.
36516         * sysdeps/x86_64/elf/configure: Delete.
36517
36518         * sysdeps/x86_64/configure.in: Merge contents from
36519         sysdeps/i386/configure.in (without i686 check).
36520
36521         * sysdeps/i386/elf/Versions: Merge into ...
36522         * sysdeps/i386/Versions: ... this.
36523         * sysdeps/i386/elf/Versions: Delete file.
36524         * sysdeps/i386/elf/start.S: Moved to ...
36525         * sysdeps/i386/start.S: ...here.
36526         * sysdeps/i386/elf/configure.in: Merge into...
36527         * sysdeps/i386/configure.in: ...here.
36528         * sysdeps/i386/elf/configure.in: Delete file.
36529         * sysdeps/i386/elf/configure: Delete file.
36530
36531         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36532         * debug/backtracesyms.c: ... here.
36533         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36534         * debug/backtracesymsfd.c: ... here.
36535         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36536         * sysdeps/generic/ifunc-sel.h: ... here.
36537
36538         * sysdeps/unix/i386/start.c: Delete file.
36539         * sysdeps/unix/sparc/start.c: Delete file.
36540         * sysdeps/unix/start.c: Delete file.
36541
36542         * sysdeps/sh/elf/configure.in: Moved to ...
36543         * sysdeps/sh/configure.in: ... here.
36544         * sysdeps/sh/elf/start.S: Moved to ...
36545         * sysdeps/sh/start.S: ... here.
36546         * sysdeps/sh/elf/configure: Delete file.
36547
36548         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36549         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36550         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36551         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36552         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36553         * sysdeps/powerpc/powerpc64/start.S: here.
36554         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36555         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36556         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36557         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36558         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36559
36560         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36561         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36562         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36563         * sysdeps/powerpc/powerpc32/start.S: ... here.
36564         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36565         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36566         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36567
36568         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36569         * sysdeps/powerpc/ifunc-sel.h: ... here.
36570         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36571         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36572
36573         * sysdeps/sparc/elf/configure.in: Moved to ...
36574         * sysdeps/sparc/configure.in: ... here.
36575         * sysdeps/sparc/elf/configure: Delete file.
36576         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36577         * sysdeps/sparc/sparc32/start.S: ... here.
36578         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36579         * sysdeps/sparc/sparc64/start.S: ... here.
36580         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36581         * sysdeps/sparc/sparc32/Makefile: ... this.
36582         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36583         * sysdeps/sparc/sparc64/Makefile: ... this.
36584
36585         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36586         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36587         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36588         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36589         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36590         * sysdeps/s390/s390-32/setjmp.S: ... here.
36591         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36592         * sysdeps/s390/s390-32/configure.in: ... here.
36593         * sysdeps/s390/s390-32/elf/configure: Delete file.
36594         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36595         * sysdeps/s390/s390-32/start.S: ... here.
36596
36597         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36598         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36599         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36600         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36601         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36602         * sysdeps/s390/s390-64/setjmp.S: ... here.
36603         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36604         * sysdeps/s390/s390-64/configure.in: ... here
36605         * sysdeps/s390/s390-64/elf/configure: Delete file.
36606         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36607         * sysdeps/s390/s390-64/start.S: ... here.
36608         * sysdeps/s390/s390-64/elf/configure: Delete.
36609
36610         * configure.in: Remove support for elf directories in sysdeps.
36611
36612         * configure: Regenerated.
36613         * sysdeps/i386/configure: Regenerated.
36614         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36615         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36616         * sysdeps/s390/s390-32/configure: Regenerated.
36617         * sysdeps/s390/s390-64/configure: Regenerated.
36618         * sysdeps/sh/configure: Regenerated.
36619         * sysdeps/sparc/configure: Regenerated.
36620         * sysdeps/x86_64/configure: Regenerated.
36621
36622 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36623
36624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36625
36626         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36627         denormal result into account.
36628
36629 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36630
36631         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36632         Reported by Allan McRae <allan@archlinux.org>.
36633
36634 2012-03-23  Jeff Law  <law@redhat.com>
36635
36636         * nss/getnssent.c (__nss_getent): Fix typo.
36637
36638 2012-03-23  David S. Miller  <davem@davemloft.net>
36639
36640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36641
36642 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36643
36644         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36645         to pad to uint64_t for each field.
36646         (dl_tls_index): Replace unsigned long with uint64_t.
36647
36648 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36649         Paul Pluzhnikov  <ppluzhnikov@google.com>
36650
36651         [BZ #6528]
36652         * grp/Makefile (otherlibs): Don't set it.
36653         * inet/Makefile (otherlibs): Likewise.
36654         * login/Makefile (otherlibs): Likewise.
36655         * nscd/Makefile (otherlibs): Likewise.
36656         * posix/Makefile (otherlibs): Likewise.
36657         * pwd/Makefile (otherlibs): Likewise.
36658         * rt/Makefile (otherlibs): Likewise.
36659         * sunrpc/Makefile (otherlibs): Likewise.
36660         * nss/Makefile (otherlibs): Likewise.
36661         Add libnss_files to routines and static-only-routines.
36662         ($(objpfx)getent): Remove rule.
36663         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36664         static-only-routines.
36665
36666 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36667
36668         [BZ #13892]
36669         * math/s_cexp.c: Include <float.h>.
36670         (__cexp): Handle exp result overflowing not necessarily
36671         overflowing both real and imaginary parts of result.
36672         * math/s_cexpf.c: Likewise.
36673         * math/s_cexpl.c: Likewise.
36674         * math/libm-test.inc (cexp_test): Add more tests.
36675         * sysdeps/i386/fpu/libm-test-ulps: Update.
36676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36677
36678 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36679
36680         * include/link.h (ELFW): New macro.
36681         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36682         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36683
36684 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36685
36686         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36687         with uint64_t.
36688
36689 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36690
36691         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36692         declaration.
36693         (struct La_x32_retval): Likewise.
36694
36695 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36696
36697         * sysdeps/x86_64/preconfigure.in: New file.
36698         * sysdeps/x86_64/preconfigure: New generated file.
36699
36700 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36701
36702         [BZ #13824]
36703         * math/e_exp2l.c: Include <float.h>.
36704         (__ieee754_exp2l): Handle overflow and underflow cases
36705         separately.  Only pass fractional part of argument to
36706         __ieee754_expl.
36707         * math/libm-test.inc (exp2_test): Add more tests.
36708
36709         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36710         negating x to take absolute value.
36711         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36712         Likewise.
36713         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36714         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36715         Likewise.
36716         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36717         computing low part if x was negated.
36718         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36719
36720 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36721
36722         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36723         la_x32_gnu_pltexit.
36724         (pltexit): Cast int_retval to ptrdiff_t.
36725         * elf/tst-auditmod3b.c: Likewise.
36726         * elf/tst-auditmod4b.c: Likewise.
36727         * elf/tst-auditmod5b.c: Likewise.
36728         * elf/tst-auditmod6b.c: Likewise.
36729         * elf/tst-auditmod6c.c: Likewise.
36730         * elf/tst-auditmod7b.c: Likewise.
36731
36732         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36733         and x32_gnu_pltexit.
36734
36735         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36736         __ELF_NATIVE_CLASS.
36737         (La_x32_regs): New macro.
36738         (La_x32_retval): Likewise.
36739         (la_x32_gnu_pltenter): New function prototype.
36740         (la_x32_gnu_pltexit): Likewise.
36741
36742 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36743
36744         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36745         exponent.
36746
36747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36748
36749         * configure.in (libc_cv_cc_nofma): Check for option to disable
36750         generation of FMA instructions.
36751         * configure: Regenerate.
36752         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36753         * sysdeps/ieee754/dbl-64/Makefile: New file.
36754         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36755         Remove brandred-fma4.
36756         (CFLAGS-brandred-fma4.c): Remove.
36757         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36758         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36759         define.
36760         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36761         define.
36762
36763 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36764
36765         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36766         LLONG_MAX != LONG_MAX.
36767         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36768         (_fitoa_word): Likewise.
36769         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36770         LLONG_MAX != LONG_MAX.
36771         * stdio-common/_itowa.h: Include <_itoa.h>.
36772         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36773         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36774         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36775         only if not defined.
36776         (_ITOA_WORD_TYPE): Likewise.
36777         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36778         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36779
36780 2012-03-21  David S. Miller  <davem@davemloft.net>
36781
36782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36783
36784 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36785
36786         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36787         of x86_64 when setting libc_cv_slibdir, libdir and
36788         libc_cv_localedir.
36789         * sysdeps/unix/sysv/linux/configure: Regenerated.
36790
36791 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36792
36793         * manual/lang.texi (Old Varargs): Remove section.
36794         (How Variadic): Update menu.
36795         (va_start): Do not mention varargs.h.
36796
36797 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36798             Joseph Myers  <joseph@codesourcery.com>
36799
36800         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36801         link test.
36802         * configure: Regenerated.
36803
36804 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36805
36806         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36807         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36808         conformtest.pl
36809
36810 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36811
36812         * NOTES: Remove.
36813         * Makefile (files-for-dist): Remove NOTES.
36814         (NOTES): Remove rule.
36815         * README: Don't refer to NOTES.
36816         * manual/creature.texi: Don't include macros.texi.
36817         * manual/intro.texi (creature.texi): Remove comment referring to
36818         NOTES.
36819
36820         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36821         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36822         * configure: Regenerated.
36823         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36824         LIBC_TRY_CC_OPTION.
36825         (libc_cv_as_i686): Likewise.
36826         (libc_cv_cc_avx): Likewise.
36827         (libc_cv_cc_sse2avx): Likewise.
36828         (libc_cv_cc_fma4): Likewise.
36829         (libc_cv_cc_novzeroupper): Likewise.
36830         * sysdeps/i386/configure: Regenerated.
36831
36832         [BZ #13883]
36833         * sysdeps/i386/fpu/s_cexp.S: Remove.
36834         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36835         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36836         * math/libm-test.inc (cexp_test): Add more tests.
36837         * sysdeps/i386/fpu/libm-test-ulps: Update.
36838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36839
36840 2012-03-21  Allan McRae  <allan@archlinux.org>
36841
36842         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36843
36844 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36845
36846         [BZ #13871]
36847         * math/w_exp2.c: Do not include <float.h>.
36848         (o_threshold, u_threshold): Remove.
36849         (__exp2): Calculate result before checking finiteness and calling
36850         __kernel_standard.
36851         * math/w_exp2f.c: Likewise.
36852         * math/w_exp2l.c: Likewise.
36853         * math/libm-test.inc (exp2_test): Require overflow exception for
36854         1e6 input.
36855
36856         [BZ #3866]
36857         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36858         range of signed 64-bit integers before using fistpll.  Remove
36859         checks for whether integers fit in mantissa bits.
36860         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36861         the range of signed 32-bit integers before using fistpl.  Remove
36862         checks for whether integers fit in mantissa bits.
36863         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36864         (__ieee754_powl): Test for y outside the range of signed 64-bit
36865         integers before using fistpll.  Reduce 64-bit values to 63-bit
36866         ones as needed.
36867         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36868         divide-by-zero is raised for zero to large negative powers.
36869         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36870         (__ieee754_powl): Test for y outside the range of signed 64-bit
36871         integers before using fistpll.  Reduce 64-bit values to 63-bit
36872         ones as needed.
36873         * math/libm-test.inc (pow_test): Add more tests.
36874
36875 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36876
36877         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36878         <stdio-common/_itoa.h>.
36879         * debug/segfault.c: Likewise.
36880         * elf/dl-cache.c: Likewise.
36881         * elf/dl-minimal.c: Likewise.
36882         * elf/dl-misc.c: Likewise.
36883         * elf/dl-sysdep.c: Likewise.
36884         * elf/dl-version.c: Likewise.
36885         * elf/rtld.c: Likewise.
36886         * hurd/hurdsock.c: Likewise.
36887         * hurd/lookup-retry.c: Likewise.
36888         * malloc/malloc.c: Likewise.
36889         * malloc/mtrace.c: Likewise.
36890         * nscd/nscd_getgr_r.c: Likewise.
36891         * nscd/nscd_getpw_r.c: Likewise.
36892         * nscd/nscd_getserv_r.c: Likewise.
36893         * posix/getopt_init.c: Likewise.
36894         * posix/wordexp.c: Likewise.
36895         * stdio-common/_itoa.c: Likewise.
36896         * stdio-common/printf_fphex.c: Likewise.
36897         * stdio-common/vfprintf.c: Likewise.
36898         * string/_strerror.c: Likewise.
36899         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36900         * sysdeps/i386/i686/hp-timing.h: Likewise.
36901         * sysdeps/mach/_strerror.c: Likewise.
36902         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36903         * sysdeps/mach/hurd/sethostid.c: Likewise.
36904         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36905         * sysdeps/mach/xpg-strerror.c: Likewise.
36906         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36907         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36908         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36909         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36910         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36911         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36912         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36913         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36914         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36915         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36916         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36917         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36918         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36919         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36920         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36921         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36922         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36923         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36924         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36925         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36926         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36927
36928         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36929
36930         * stdio-common/_itoa.h: Moved to ...
36931         * sysdeps/generic/_itoa.h: Here.
36932
36933         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36934
36935         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36936         instead of "_itoa.h" and "_itowa.h".
36937         * stdio-common/vfprintf.: Likewise.
36938
36939 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36940
36941         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36942         <bits/wordsize.h>.
36943         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36944         (__signbit): Likwise.
36945         (llrintf): Likwise.
36946         (llrint): Likwise.
36947
36948 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36949
36950         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36951         __WORDSIZE != 64.
36952
36953 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36954
36955         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36956         OVERFLOW_EXCEPTION_OK.
36957         * math/libm-test.inc ("Philosophy"): Update comment about
36958         exception testing.
36959         (OVERFLOW_EXCEPTION): Define.
36960         (OVERFLOW_EXCEPTION_OK): Likewise.
36961         (INVALID_EXCEPTION_OK): Renumber.
36962         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36963         (IGNORE_ZERO_INF_SIGN): Likewise.
36964         (test_exceptions): Handle FE_OVERFLOW.
36965         (exp10_test): Expect overflow exceptions.
36966         (exp2_test): Likewise.
36967         (expm1_test): Likewise.
36968         (nextafter_test): Likewise.
36969         (pow_test): Likewise.
36970         (scalbn_test): Likewise.
36971         (scalbln_test): Likewise.
36972
36973 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36974
36975         * sysdeps/x86_64/bits/atomic.h
36976         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36977         64bit integer.
36978         (atomic_exchange_acq): Likewise.
36979         (__arch_exchange_and_add_body): Likewise.
36980         (__arch_add_body): Likewise.
36981         (atomic_add_negative): Likewise.
36982         (atomic_add_zero): Likewise.
36983
36984 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36985
36986         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36987         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36988
36989 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36990
36991         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36992         Check __x86_64__ instead of __WORDSIZE.
36993
36994 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36995
36996         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36997
36998 2012-03-19  David S. Miller  <davem@davemloft.net>
36999
37000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37001
37002         * sysdeps/sparc/fpu/fenv_private.h: New file.
37003         * sysdeps/sparc/fpu/math_private.h: Use it.
37004         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37005         Remove.
37006         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37007         (libc_feholdexcept_setroundl): Remove.
37008         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37009         Remove.
37010         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37011         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37012
37013 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37014
37015         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37016         int64_t instead of long int.
37017         (INSERT_WORDS64): Likwise.
37018
37019 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37020
37021         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37022         _Unwind_GetCFA return to _Unwind_Ptr first.
37023
37024 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37025
37026         [BZ #13629]
37027         * math/s_clog.c: Include <float.h>.
37028         (__clog): Scale large or subnormal inputs.
37029         * math/s_clogf.c: Likewise.
37030         * math/s_clogl.c: Likewise.
37031         * math/s_clog10.c: Include <float.h>.
37032         (M_LOG10_2): Define.
37033         (__clog10): Scale large or subnormal inputs.
37034         * math/s_clog10f.c: Likewise.
37035         * math/s_clog10l.c: Likewise.
37036         * math/libm-test.inc (clog_test): Add more tests.
37037         (clog10_test): Likewise.
37038         * sysdeps/i386/fpu/libm-test-ulps: Update.
37039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37040
37041         [BZ #11451]
37042         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37043         x and y.
37044         * math/libm-test.inc (atan2_test): Add another test.
37045
37046         * Makerules (common-objdir-compile): Remove.
37047         * sysdeps/unix/Makefile (config-generated): Do not add
37048         $(unix-generated) to variable.
37049         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37050         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37051         Remove rule.
37052         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37053         Likewise.
37054         [generic bits/local_lim.h] (before-compile): Do not append to
37055         variable.
37056         [generic bits/local_lim.h] (common-generated): Likewise.
37057         [generic sys/param.h] (before-compile): Do not append to variable.
37058         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37059         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37060         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37061         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37062         include.
37063         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37064         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37065         [generic sys/param.h] ($(addprefix
37066         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37067         [generic sys/param.h] (common-generated): Do not append to
37068         variable.
37069         [generic sys/param.h] (sysdep_headers): Likewise.
37070         [generic bits/errno.h] (before-compile): Do not append to
37071         variable.
37072         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37073         rule.
37074         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37075         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37076         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37077         [generic bits/errno.h] (common-generated): Do not append to
37078         variable.
37079         [generic bits/ioctls.h] (before-compile): Do not append to
37080         variable.
37081         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37082         rule.
37083         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37084         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37085         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37086         rule.
37087         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37088         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37089         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37090         [generic bits/ioctls.h] (common-generated): Do not append to
37091         variable.
37092         [generic sys/syscall.h] (syscall.h): Remove variable.
37093         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37094         rule.
37095         [generic sys/syscall.h] (before-compile): Do not append to
37096         variable.
37097         [generic sys/syscall.h] (common-generated): Likewise.
37098         * sysdeps/unix/errnos-tmpl.c: Remove file.
37099         * sysdeps/unix/errnos.awk: Likewise.
37100         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37101         * sysdeps/unix/ioctls.awk: Likewise.
37102         * sysdeps/unix/mk-local_lim.c: Likewise.
37103         * sysdeps/unix/snarf-ioctls: Likewise.
37104
37105 2012-03-19  Richard Henderson  <rth@twiddle.net>
37106
37107         * sysdeps/i386/fpu/fenv_private.h: New file.
37108         * sysdeps/i386/fpu/math_private.h: Use it.
37109         (math_opt_barrier, math_force_eval): Remove.
37110         (libc_feholdexcept_setround_53bit): Remove.
37111         (libc_feupdateenv_53bit): Remove.
37112         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37113         (math_opt_barrier, math_force_eval): Remove.
37114         (libc_feholdexcept): Remove.
37115         (libc_feholdexcept_setround): Remove.
37116         (libc_fetestexcept, libc_fesetenv): Remove.
37117         (libc_feupdateenv_test): Remove.
37118         (libc_feupdateenv, libc_feholdsetround): Remove.
37119         (libc_feresetround): Remove.
37120
37121         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37122         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37123
37124         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37125         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37126         (libc_feupdateenv_testl): New.
37127         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37128         (libc_feupdateenv_testf): New.
37129         (libc_feupdateenv): Use libc_feupdateenv_test.
37130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37131         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37132
37133         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37134         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37135         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37136         (libc_feresetround_noex): New.
37137         (libc_feresetround_noexf): New.
37138         (libc_feresetround_noexl): New.
37139         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37140         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37141         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37142         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37143         SET_RESTORE_ROUND.
37144         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37145         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37146         (__cos): Likewise.
37147         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37148         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37149         SET_RESTORE_ROUND_NOEX.
37150         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37151         SET_RESTORE_ROUND_NOEXF.
37152         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37153         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37154         (libc_feholdsetroundf): New.
37155         (libc_feresetround, libc_feresetroundf): New.
37156
37157         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37158         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37159         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37160
37161         * sysdeps/generic/math_private.h: Include <fenv.h>.
37162         (default_libc_feholdexcept): New.
37163         (default_libc_feholdexcept_setround): New.
37164         (default_libc_fesetenv, default_libc_feupdateenv): New.
37165         (libc_feholdexcept): Only define if undefined.
37166         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37167         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37168         (libc_feholdexcept_setroundl): Likewise.
37169         (libc_feholdexcept_setround_53bit): Likewise.
37170         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37171         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37172         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37173         (libc_feupdateenv_53bit): Likewise.
37174         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37175         (libc_feholdexcept): Convert from macro to inline function.
37176         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37177         (libc_fesetenv, libc_feupdateenv): Likewise.
37178
37179         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37180         not previously defined.
37181         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37182         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37183         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37184         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37185         * sysdeps/ieee754/flt-32/math_private.h: New file.
37186         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37187         math_private.h below SET_FLOAT_WORD.
37188         (__isnan, __isinf_ns, __finite): Remove.
37189         (__isnanf, __isinf_nsf, __finitef): Remove.
37190
37191 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37192
37193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37194
37195 2012-03-17  David S. Miller  <davem@davemloft.net>
37196
37197         [BZ #6471]
37198         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37199         for 2.16.
37200
37201 2012-03-16  David S. Miller  <davem@davemloft.net>
37202
37203         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37204         warnings.
37205
37206         [BZ #6471]
37207         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37208         properly.
37209         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37210         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37211         sysdep_routines when subdir is sysvipc.
37212         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37213         __getshmlba helper.
37214
37215         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37216
37217 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37218
37219         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37220         [__LP64__].
37221
37222 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37223
37224         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37225         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37226         (__lround): Renamed to ...
37227         (__llround): This.  Replace long int with long long int.
37228         Define lround functions as aliases of llround functions.
37229         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37230
37231 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37232
37233         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37234         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37235         adresses to uintptr_t.  Replace "long int" and "unsigned long
37236         int" with "greg_t" on va_arg.
37237
37238 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37239
37240         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37241         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37242
37243         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37244         Move e_machine check before EI_CLASS check.  Handle x32
37245         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37246         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37247         SKIP_EM_IA_64 and include
37248         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37249
37250         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37251         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37252         (add_system_dir): New macro.
37253
37254         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37255         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37256
37257 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37258
37259         [BZ #2551]
37260         [BZ #2552]
37261         [BZ #2553]
37262         [BZ #2554]
37263         [BZ #2562]
37264         [BZ #2563]
37265         [BZ #2565]
37266         [BZ #2566]
37267         [BZ #2576]
37268         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37269         (y0): Likewise.
37270         * math/w_j0f.c (j0f): Likewise.
37271         (y0f): Likewise.
37272         * math/w_j0l.c (__j0l): Likewise.
37273         (__y0l): Likewise.
37274         * math/w_j1.c (j1): Likewise.
37275         (y1): Likewise.
37276         * math/w_j1f.c (j1f): Likewise.
37277         (y1f): Likewise.
37278         * math/w_j1l.c (__j1l): Likewise.
37279         (__y1l): Likewise.
37280         * math/w_jn.c (jn): Likewise.
37281         (yn): Likewise.
37282         * math/w_jnf.c (jnf): Likewise.
37283         (ynf): Likewise.
37284         * math/w_jnl.c (__jnl): Likewise.
37285         (__ynl): Likewise.
37286         * math/libm-test.inc (j0_test): Add more tests.
37287         (j1_test): Likewise.
37288         (jn_test): Likewise.  Add trailing semicolon to existing test.
37289         (y0_test): Likewise.
37290         (y1_test): Likewise.
37291         * sysdeps/i386/fpu/libm-test-ulps: Update.
37292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37293
37294         [BZ #13851]
37295         [BZ #13854]
37296         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37297         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37298         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37299         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37300         (__tanl): Set errno for infinite argument.
37301         * sysdeps/i386/fpu/mptan.c: Remove.
37302         * sysdeps/i386/fpu/s_tan.S: Likewise.
37303         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37304         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37305         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37306         * math/libm-test.inc (tan_test): Add more tests and enable more
37307         tests for double and long double.
37308         * sysdeps/i386/fpu/libm-test-ulps: Update.
37309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37310
37311 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37312
37313         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37314         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37315
37316 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37317
37318         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37319         * configure.in: Use it for both main tree and add-ons.
37320         * configure: Regenerated.
37321
37322 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37323
37324         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37325
37326 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37327
37328         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37329         in comment.
37330
37331         [BZ #13851]
37332         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37333         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37334         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37335         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37337         infinite argument.
37338         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37339         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37340         != 0 for prec == 2.
37341         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37342         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37343         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37344         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37345         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37346         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37347         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37348         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37349         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37350         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37351         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37352         * math/libm-test.inc (cos_test): Add more tests and enable more
37353         tests for long double.
37354         (sin_test): Likewise.
37355         (sincos_test): Likewise.
37356         * sysdeps/i386/fpu/libm-test-ulps: Update.
37357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37358
37359 2012-03-16  David S. Miller  <davem@davemloft.net>
37360
37361         * sysdeps/sparc/fpu/math_private.h: New file.
37362
37363 2012-03-15  David S. Miller  <davem@davemloft.net>
37364
37365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37366         file.
37367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37369         file.
37370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37375         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37376         sysdep routines.
37377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37378
37379         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37380         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37381
37382         * sysdeps/sparc/sparc-ifunc.h: New file.
37383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37384         sparc-ifunc.h
37385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37387         Likewise.
37388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37389         Likewise.
37390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37394         Likewise.
37395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37400         Likewise.
37401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37402         Likewise.
37403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37409         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37410         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37411         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37412         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37417         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37419         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37420         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37421         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37422         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37423         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37424         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37425         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37426         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37427
37428 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37429
37430         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37431         scaling.
37432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37433
37434 2012-03-15  Andreas Jaeger  <aj@suse.de>
37435
37436         [BZ #13852]
37437         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37438         ieee754/flt-32 implementation for sin, cos and sincos.
37439         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37440         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37441         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37442         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37443         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37444         ieee754/flt-32 implementation for tan.
37445
37446         * math/libm-test.inc (cos_test): Enable some large input tests for
37447         float as well
37448         (sin_test): Likewise.
37449         (sincos_test): Likewise.
37450         (tan_test): Add tests for large input.
37451
37452         * sysdeps/i386/fpu/libm-test-ulps: Update.
37453
37454 2012-03-15  Andreas Jaeger  <aj@suse.de>
37455
37456         [BZ #13658]
37457         * math/libm-test.inc (cos_test): Add more test cases.
37458         (sin_test): Likewise.
37459         (sincos_test): Likewise.
37460
37461 2012-03-15  Andreas Jaeger  <aj@suse.de>
37462
37463         [BZ #13837]
37464         * math/libm-test.inc (cos_test): Add a test case for large input
37465         value.
37466         (sin_test): Likewise.
37467         (sincos_test): Likewise.
37468
37469 2012-03-15  Andreas Jaeger  <aj@suse.de>
37470             Joseph Myers  <joseph@codesourcery.com>
37471
37472         [BZ #13658]
37473         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37474         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37475         * sysdeps/i386/fpu/branred.c: Likewise.
37476         * sysdeps/i386/fpu/dosincos.c: Likewise.
37477         * sysdeps/i386/fpu/mpa.c: Likewise.
37478         * sysdeps/i386/fpu/s_cos.S: Likewise.
37479         * sysdeps/i386/fpu/s_sin.S: Likewise.
37480         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37481         * sysdeps/i386/fpu/sincos32.c: Likewise.
37482
37483         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37484         Define.
37485         (libc_feupdateenv_53bit): Define.
37486         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37487         Define.
37488         (libc_feupdateenv_53bit): Define.
37489
37490         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37491         53 bit (without extend i386 double precision).
37492
37493         * math/libm-test.inc (sincos_test): Add tests for large input.
37494         (sin): Likewise.
37495         (cos): Likewise.
37496
37497         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37498
37499 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37500
37501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37502
37503 2012-03-15  David S. Miller  <davem@davemloft.net>
37504
37505         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37506         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37507         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37508         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37521         file.
37522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37524         file.
37525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37527         file.
37528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37530         file.
37531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37532         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37533         fmin/fmax sysdep routines.
37534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37535
37536 2012-03-14  David S. Miller  <davem@davemloft.net>
37537
37538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37541         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37543         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37544         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37545         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37546         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37558         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37559         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37560         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37561         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37562         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37563         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37564         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37565         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37567         routines.
37568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37569         file.
37570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37572         file.
37573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37575         file.
37576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37578         file.
37579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37581         file.
37582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37584         file.
37585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37586         file.
37587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37588         file.
37589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37590         file.
37591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37592         New file.
37593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37594         file.
37595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37596         file.
37597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37599         file.
37600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37602         file.
37603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37605         file.
37606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37608         VIS3 routines.
37609
37610         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37611         New file.
37612
37613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37614
37615         * sysdeps/sparc/configure.in: New file.
37616         * sysdeps/sparc/configure: Generate.
37617         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37618         * configure: Regenerate.
37619         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37620         * config.make.in (have-as-vis3): New.
37621         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37622         available use -Av9d instead of -Av9a.
37623         * sysdeps/sparc/sparc64/Makefile: Likewise.
37624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37626         New file.
37627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37628         file.
37629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37630         New file.
37631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37632         file.
37633         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37634         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37635         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37636         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37637         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37638
37639         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37640         fzeros/fnegs to load 0x80000000 into a float register instead of
37641         using the stack.
37642         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37643
37644 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37645
37646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37647         bits/syscall.h.
37648         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37649         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37650         ($(inst_includedir)/bits/syscall.h): Remove rule.
37651         ($(objpfx)bits/syscall.d): Include instead of
37652         $(objpfx)syscall-list.d.
37653         (generated): Change syscall-list.h and syscall-list.d to
37654         bits/syscall.h and bits/syscall.d.
37655
37656 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37657
37658         [BZ #13846]
37659         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37660
37661 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37662
37663         [BZ #13841]
37664         * math/s_csqrt.c: Include <float.h>.
37665         (__csqrt): Scale large or subnormal inputs.
37666         * math/s_csqrtf.c: Likewise.
37667         * math/s_csqrtl.c: Likewise.
37668         * math/libm-test.inc (csqrt_test): Add more tests.
37669         * sysdeps/i386/fpu/libm-test-ulps: Update.
37670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37671
37672         [BZ #13840]
37673         * math/libm-test.inc (hypot_test): Add more tests.
37674
37675 2012-03-13  David S. Miller  <davem@davemloft.net>
37676
37677         [BZ #13840]
37678         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37679         double-precision for the calculation instead of scaling.
37680
37681 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37682
37683         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37684         manipulate bits before adding and subtracting TWO52[sx].
37685         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37686         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37687         Likewise.
37688         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37689
37690 2012-03-13  David S. Miller  <davem@davemloft.net>
37691
37692         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37693         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37694         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37695         rtld-global-offsets.h
37696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37697
37698         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37699         large parameters.
37700
37701         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37702
37703         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37704         'err' in the ifdef scope in which it is actually used.
37705
37706         * nss/nss_db/db-init.c: Include string.h
37707
37708 2012-03-12  David S. Miller  <davem@davemloft.net>
37709
37710         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37711         masking out of the most significant byte of random value used.
37712         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37713         Fix coding style in previous change.
37714
37715         * sysdeps/unix/sysv/linux/kernel-features.h
37716         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37717         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37718         expression.
37719         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37720         later.
37721
37722 2012-03-11  David S. Miller  <davem@davemloft.net>
37723
37724         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37725         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37726         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37727         for 'resultvar' otherwise things get truncated on 64-bit.
37728
37729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37730         Fix masking out of the most significant byte of random value used.
37731
37732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37733
37734 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37735
37736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37737
37738 2012-03-09  David S. Miller  <davem@davemloft.net>
37739
37740         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37741         variables with appropriate CPP guards.
37742         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37743         from the frame pointer, not the stack pointer.  Correct layout
37744         comments.  Fix test on resulting framesize and the management of
37745         the outregs buffer for pltexit.  Preserve floating point return
37746         values across _dl_call_pltexit call.
37747         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37748         framesize and the management of the outregs buffer for pltexit.
37749         Preserve floating point return values across _dl_call_pltexit
37750         call.
37751         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37752         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37753         (la_sparc64_gnu_pltexit): New functions.
37754         (print_exit): Fix format string for return register value.
37755
37756 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37757
37758         * sunrpc/Makefile (others): Add rpcgen.
37759         ($(objpfx)rpcgen): Remove special build rule and dependency on
37760         libc.
37761         * sunrpc/rpcgen.c: New file.
37762
37763 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37764
37765         [BZ #13673]
37766         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37767         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37768         * sysdeps/i386/crti.S: Likewise.
37769         * sysdeps/i386/crtn.S: Likewise.
37770         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37771         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37772         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37773         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37774         * sysdeps/sh/crti.S: Likewise.
37775         * sysdeps/sh/crtn.S: Likewise.
37776         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37777
37778         [BZ #13673]
37779         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37780         with URL.
37781         * locale/programs/locfile-kw.gperf: Likewise.
37782         * locale/programs/charmap-kw.h: Regenerated.
37783         * locale/programs/locfile-kw.h: Likewise.
37784
37785         [BZ #13673]
37786         * intl/plural.y: Replace FSF snail mail address with URL.
37787         * intl/plural.c: Regenerated.
37788
37789 2012-03-09  Richard Henderson  <rth@twiddle.net>
37790
37791         * include/math_private.h: Remove file.
37792         * math/math_private.h: Move file ...
37793         * sysdeps/generic/math_private.h: ... here.
37794
37795         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37796         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37797         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37798
37799         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37800         and <math_private.h>.
37801         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37802         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37803         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37804         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37805         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37806         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37807         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37808         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37809         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37810         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37811         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37812         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37813         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37814         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37815         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37816         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37817         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37818         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37819         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37820         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37821         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37822         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37823         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37824         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37825         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37826         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37827         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37828         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37829         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37830         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37831         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37832         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37833         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37834         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37835         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37836         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37837         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37838         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37839         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37840         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37841         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37842         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37843         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37844         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37845         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37846         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37847         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37848         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37849         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37850         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37851         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37852         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37853         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37854         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37855         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37856         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37857         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37858         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37859         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37860         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37861         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37862         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37863         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37864         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37865         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37866         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37867         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37868         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37869         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37870         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37871         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37872         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37873         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37874         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37875         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37877         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37878         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37879         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37880         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37881         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37882         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37883         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37884         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37885         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37886         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37887         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37888         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37889         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37890         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37891         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37892         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37893         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37894         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37895         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37896         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37897         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37898         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37899         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37900         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37901         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37902         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37903         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37904         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37905         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37906         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37907         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37908         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37909         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37910         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37911         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37912         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37913         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37914         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37915         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37916         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37917         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37918         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37919         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37920         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37921         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37922         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37923         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37924         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37925         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37926         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37927         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37928         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37929         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37930         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37931         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37932         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37933         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37934         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37935         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37936         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37937         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37938         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37939         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37940         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37941         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37942         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37943         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37944         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37945         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37946         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37947         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37948         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37949         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37950         * sysdeps/ieee754/k_standard.c: Likewise.
37951         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37952         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37953         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37954         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37955         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37956         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37957         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37958         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37959         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37960         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37961         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37962         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37963         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37964         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37965         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37966         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37967         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37968         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37969         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37970         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37971         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37972         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37973         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37974         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37975         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37976         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37977         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37978         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37979         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37980         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37981         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37982         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37983         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37984         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37985         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37986         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37987         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37988         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37989         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37990         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37991         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37992         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37993         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37994         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37995         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37996         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37997         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37998         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37999         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38000         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38001         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38002         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38003         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38004         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38005         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38006         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38007         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38008         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38009         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38010         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38011         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38012         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38013         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38014         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38017         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38018         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38019         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38020         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38021         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38022         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38023         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38024         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38025         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38026         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38027         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38028         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38029         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38030         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38031         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38032         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38033         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38034         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38035         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38036         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38037         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38038         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38039         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38041         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38042         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38043         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38044         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38045         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38046         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38047         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38048         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38049         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38050         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38052         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38053         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38054         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38055         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38056         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38057         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38058         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38059         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38060         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38061         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38062         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38063         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38064         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38065         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38066         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38067         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38068         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38069         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38070         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38071         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38072         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38073         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38074         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38075         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38076         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38077         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38078         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38079         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38080         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38081         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38082         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38083         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38084         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38085         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38086         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38087         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38088         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38089         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38090         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38091         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38092         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38093         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38094         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38095         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38096         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38097         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38098         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38099         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38100         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38101         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38102         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38103         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38104         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38105         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38106         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38107         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38108         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38109         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38110         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38111         * sysdeps/ieee754/s_lib_version.c: Likewise.
38112         * sysdeps/ieee754/s_matherr.c: Likewise.
38113         * sysdeps/ieee754/s_signgam.c: Likewise.
38114         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38115         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38116         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38117         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38118         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38119         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38120         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38121         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38122         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38123         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38124         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38125         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38126         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38127         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38128         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38129         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38130         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38131         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38132         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38133         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38134         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38135
38136 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38137
38138         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38139         * sunrpc/rpc_main.c: Likewise.
38140         * sunrpc/rpc_svcout.c: Likewise.
38141
38142 2012-03-09  David S. Miller  <davem@davemloft.net>
38143
38144         * include/math_private.h: New file.
38145
38146 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38147
38148         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38149         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38150         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38151         from <bits/socket_type.h>.
38152         (enum __socket_type): Don't define here.
38153         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38155         bits/socket_type.h.
38156
38157         [BZ #13566]
38158         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38159         checking __USE_GNU.
38160
38161         * Makerules ($(inst_includedir)/%.h): New rule.
38162         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38163         (install-others): Remove variable setting.
38164         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38165
38166 2012-03-08  Richard Henderson  <rth@twiddle.net>
38167
38168         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38169         from macro to inline function; merge with the
38170         !__LIBC_INTERNAL_MATH_INLINES version.
38171         (__ieee754_sqrtf): Likewise.
38172
38173         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38174         to inline function.
38175         (__rintf, __floor, __floorf): Likewise.
38176
38177         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38178         macro to inline function.
38179         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38180
38181         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38182         not <math/math_private.h>.
38183
38184 2012-03-08  David S. Miller  <davem@davemloft.net>
38185
38186         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38187         copyright year.
38188         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38189
38190 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38191
38192         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38193         normalization.
38194         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38195         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38196
38197 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38198
38199         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38200         be defined individually, they must be defined as a block.  Define
38201         S for printing a string instead of hidint the different by using a
38202         macro for adding the 'l'.
38203         * stdio-common/tst-fphex-wide.c: Adjust.
38204
38205 2012-03-07  Marek Polacek  <polacek@redhat.com>
38206
38207         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38208
38209 2012-03-08  Marek Polacek  <polacek@redhat.com>
38210
38211         [BZ #13806]
38212         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38213         * stdio-common/tst-fphex.c: Define a few macros to make the
38214         test reusable.  Use them.
38215         * stdio-common/tst-fphex-wide.c: New file.
38216
38217 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38218
38219         [BZ #6911]
38220         * manual/macros.texi (gnusystems): New macro.
38221         (nongnusystems): Likewise.
38222         (gnulinuxhurdsystems): Likewise.
38223         (gnuhurdsystems): Likewise..
38224         (gnulinuxsystems): Likewise.
38225         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38226         variants of the GNU system, not "GNU system".
38227         * manual/conf.texi: Likewise.
38228         * manual/errno.texi: Likewise.  Update example of errno macro
38229         expansion.
38230         * manual/filesys.texi: Likewise.
38231         (getumask): Document as specific to GNU/Hurd.
38232         * manual/install.texi: Likewise.  Reword some references to
38233         GNU/Linux.
38234         * manual/intro.texi: Likewise.
38235         * manual/io.texi: Likewise.
38236         (File Name Portability): Detail which constraints are inapplicable
38237         to all GNU systems and which are only inapplicable to GNU/Hurd.
38238         * manual/job.texi: Likewise.
38239         * manual/llio.texi: Likewise.
38240         (O_NOCTTY): Document as present on GNU/Linux.
38241         * manual/maint.texi: Likewise.
38242         * manual/memory.texi: Likewise.
38243         * manual/pattern.texi: Likewise.
38244         * manual/pipe.texi: Likewise.
38245         * manual/process.texi: Likewise.
38246         * manual/resource.texi: Likewise.
38247         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38248         child on GNU/Hurd.
38249         * manual/setjmp.texi: Likewise.
38250         * manual/signal.texi: Likewise.
38251         * manual/startup.texi: Likewise.
38252         * manual/stdio.texi: Likewise.
38253         * manual/terminal.texi: Likewise.
38254         (ONLCR): Document as POSIX.
38255         (OXTABS): Document availability on GNU/Linux as XTABS.
38256         (ONOEOT): Document availability separately from other bits.
38257         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38258         * manual/time.texi: Likewise.
38259         * manual/users.texi: Likewise.
38260         * INSTALL: Regenerated.
38261         * sysdeps/gnu/errlist.c: Regenerated.
38262
38263         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38264         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38265         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38266         puts.
38267         * configure: Regenerated.
38268
38269 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38270
38271         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38272         default includes instead of AC_HEADER_CHECK.
38273         * sysdeps/i386/configure: Regenerated.
38274
38275         [BZ #10716]
38276         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38277         * math/s_cacoshf.c (__cacoshf): Likewise.
38278         * math/s_cacoshl.c (__cacoshl): Likewise.
38279         * math/s_casinh.c (__casinh): Set signs of result from argument.
38280         * math/s_casinhf.c (__casinhf): Likewise.
38281         * math/s_casinhl.c (__casinhl): Likewise.
38282         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38283         (casinh_test): Add more tests.
38284         * sysdeps/i386/fpu/libm-test-ulps: Update.
38285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38286
38287 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38288
38289         * po/zh_TW.po: Update from translation team.
38290
38291         * login/Makefile (distribute): Remove variable.
38292         * catgets/Makefile: Likewise.
38293         * mach/Makefile: Likewise.
38294         * malloc/Makefile: Likewise.
38295         * misc/Makefile: Likewise.
38296         * iconv/Makefile: Likewise.
38297         * nscd/Makefile: Likewise.
38298         * hurd/Makefile: Likewise.
38299         * manual/Makefile: Likewise.
38300         * locale/Makefile: Likewise.
38301         * intl/Makefile: Likewise.
38302         * conform/Makefile: Likewise.
38303         * nss/Makefile: Likewise.
38304         * time/Makefile: Likewise.
38305         * soft-fp/Makefile: Likewise.
38306         * dirent/Makefile: Likewise.
38307         * gmon/Makefile: Likewise.
38308         * po/Makefile: Likewise.
38309         * rt/Makefile: Likewise.
38310         * socket/Makefile: Likewise.
38311         * math/Makefile: Likewise.
38312         * signal/Makefile: Likewise.
38313         * debug/Makefile: Likewise.
38314         * elf/Makefile: Likewise.
38315         * timezone/Makefile: Likewise.
38316         * stdlib/Makefile: Likewise.
38317         * iconvdata/Makefile: Likewise.
38318         * sunrpc/Makefile: Likewise.
38319         * io/Makefile: Likewise.
38320         * argp/Makefile: Likewise.
38321         * inet/Makefile: Likewise.
38322         * hesiod/Makefile: Likewise.
38323         * grp/Makefile: Likewise.
38324         * csu/Makefile: Likewise.
38325         * wctype/Makefile: Likewise.
38326         * crypt/Makefile: Likewise.
38327         * libio/Makefile: Likewise.
38328         * string/Makefile: Likewise.
38329         * nis/Makefile: Likewise.
38330         * resolv/Makefile: Likewise.
38331         * stdio-common/Makefile: Likewise.
38332         * wcsmbs/Makefile: Likewise.
38333         * dlfcn/Makefile: Likewise.
38334         * posix/Makefile: Likewise.
38335
38336         [BZ #6959]
38337         * timezone/Makefile: Don't install timezone files, just the programs
38338         and scripts.
38339
38340 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38341
38342         * nss/databases.def: Add missing gshadow entry.
38343
38344         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38345
38346 2012-03-06  Marek Polacek  <polacek@redhat.com>
38347
38348         [BZ #13726]
38349         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38350         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38351         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38352         * stdio-common/tst-long-dbl-fphex.c: New file.
38353
38354 2012-03-06  David S. Miller  <davem@davemloft.net>
38355
38356         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38357         (set_obp_int): New function.
38358         (get_obp_int): New function.
38359         (__get_clockfreq_via_dev_openprom): Likewise.
38360         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38361         Avoid unused variable warnings on 'val' and use builtin_expect.
38362         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38363         __builtin_expect.
38364         (INLINE_CLONE_SYSCALL): Likewise.
38365
38366 2012-03-05  David S. Miller  <davem@davemloft.net>
38367
38368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38369
38370 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38371
38372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38373
38374         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38375         only for |x| >= 40.
38376         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38377
38378 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38379
38380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38381         Replace gettimeofday with __vdso_gettimeofday.
38382
38383         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38384         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38385         __vdso_clock_gettime and __vdso_getcpu.
38386
38387         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38388         time with __vdso_time.
38389
38390 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38391
38392         * manual/lang.texi (size_t): Note types to which size_t may be
38393         equivalent with the GNU C Library, but do not describe when
38394         differences between them are significant.
38395
38396 2012-03-05  Andreas Jaeger  <aj@suse.de>
38397
38398         * sysdeps/i386/fpu/libm-test-ulps: Update.
38399
38400 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38401
38402         [BZ #3976]
38403         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38404         (__ieee754_pow): Save and restore rounding mode and use
38405         round-to-nearest for main computations.
38406         * math/libm-test.inc (pow_test_tonearest): New function.
38407         (pow_test_towardzero): Likewise.
38408         (pow_test_downward): Likewise.
38409         (pow_test_upward): Likewise.
38410         (main): Call the new functions.
38411         * sysdeps/i386/fpu/libm-test-ulps: Update.
38412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38413
38414         [BZ #3976]
38415         * math/libm-test.inc (cosh_test_tonearest): New function.
38416         (cosh_test_towardzero): Likewise.
38417         (cosh_test_downward): Likewise.
38418         (cosh_test_upward): Likewise.
38419         (sinh_test_tonearest): Likewise.
38420         (sinh_test_towardzero): Likewise.
38421         (sinh_test_downward): Likewise.
38422         (sinh_test_upward): Likewise.
38423         (main): Call the new functions.
38424         * sysdeps/i386/fpu/libm-test-ulps: Update.
38425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38426
38427 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38428
38429         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38430         default stack guard is set in last bytes.
38431         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38432
38433 2012-03-05  Kees Cook  <keescook@chromium.org>
38434
38435         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38436
38437         [BZ #13656]
38438         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38439         possibly allocate from heap instead of stack.
38440         * stdio-common/bug-vfprintf-nargs.c: New file.
38441         * stdio-common/Makefile (tests): Add nargs overflow test.
38442
38443 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38444
38445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38446
38447 2012-03-03  Marek Polacek  <polacek@redhat.com>
38448
38449         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38450         * math/math_private.h: Likewise.
38451         * stdlib/tst-strtod.c: Likewise.
38452         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38453         * sysdeps/x86_64/bits/atomic.h: Likewise.
38454
38455 2012-03-02  David S. Miller  <davem@davemloft.net>
38456
38457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38461         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38462         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38463         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38464         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38465
38466 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38467
38468         [BZ #13792]
38469         * manual/examples/README: New file, says the example source files
38470         can be used under GPL>=2.
38471         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38472         line containing just "*/".
38473         * manual/examples/add.c: Add copyright header (GPL>=2).
38474         * manual/examples/argp-ex1.c: Likewise.
38475         * manual/examples/argp-ex2.c: Likewise.
38476         * manual/examples/argp-ex3.c: Likewise.
38477         * manual/examples/argp-ex4.c: Likewise.
38478         * manual/examples/atexit.c: Likewise.
38479         * manual/examples/db.c: Likewise.
38480         * manual/examples/dir.c: Likewise.
38481         * manual/examples/dir2.c: Likewise.
38482         * manual/examples/execinfo.c: Likewise.
38483         * manual/examples/filecli.c: Likewise.
38484         * manual/examples/filesrv.c: Likewise.
38485         * manual/examples/fmtmsgexpl.c: Likewise.
38486         * manual/examples/genpass.c: Likewise.
38487         * manual/examples/inetcli.c: Likewise.
38488         * manual/examples/inetsrv.c: Likewise.
38489         * manual/examples/isockad.c: Likewise.
38490         * manual/examples/longopt.c: Likewise.
38491         * manual/examples/memopen.c: Likewise.
38492         * manual/examples/memstrm.c: Likewise.
38493         * manual/examples/mkfsock.c: Likewise.
38494         * manual/examples/mkisock.c: Likewise.
38495         * manual/examples/mygetpass.c: Likewise.
38496         * manual/examples/pipe.c: Likewise.
38497         * manual/examples/popen.c: Likewise.
38498         * manual/examples/rprintf.c: Likewise.
38499         * manual/examples/search.c: Likewise.
38500         * manual/examples/select.c: Likewise.
38501         * manual/examples/setjmp.c: Likewise.
38502         * manual/examples/sigh1.c: Likewise.
38503         * manual/examples/sigusr.c: Likewise.
38504         * manual/examples/stpcpy.c: Likewise.
38505         * manual/examples/strdupa.c: Likewise.
38506         * manual/examples/strftim.c: Likewise.
38507         * manual/examples/strncat.c: Likewise.
38508         * manual/examples/subopt.c: Likewise.
38509         * manual/examples/swapcontext.c: Likewise.
38510         * manual/examples/termios.c: Likewise.
38511         * manual/examples/testopt.c: Likewise.
38512         * manual/examples/testpass.c: Likewise.
38513         * manual/examples/timeval_subtract.c: Likewise.
38514
38515         [BZ #13792]
38516         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38517         function to ...
38518         * manual/timeval_subtract.c.texi: ... here, new file.
38519
38520 2012-03-02  David S. Miller  <davem@davemloft.net>
38521
38522         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38523
38524 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38525
38526         [BZ #3976]
38527         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38528         (__sin): Save and restore rounding mode and use round-to-nearest
38529         for all computations.
38530         (__cos): Save and restore rounding mode and use round-to-nearest
38531         for all computations.
38532         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38533         <fenv.h>.
38534         (tan): Save and restore rounding mode and use round-to-nearest for
38535         all computations.
38536         * math/libm-test.inc (cos_test_tonearest): New function.
38537         (cos_test_towardzero): Likewise.
38538         (cos_test_downward): Likewise.
38539         (cos_test_upward): Likewise.
38540         (sin_test_tonearest): Likewise.
38541         (sin_test_towardzero): Likewise.
38542         (sin_test_downward): Likewise.
38543         (sin_test_upward): Likewise.
38544         (tan_test_tonearest): Likewise.
38545         (tan_test_towardzero): Likewise.
38546         (tan_test_downward): Likewise.
38547         (tan_test_upward): Likewise.
38548         (main): Call the new functions.
38549         * sysdeps/i386/fpu/libm-test-ulps: Update.
38550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38551
38552         [BZ #10135]
38553         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38554         small n, then large n, before computing and testing k+n.
38555         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38556         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38557         Likewise.
38558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38559         Likewise.
38560         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38561         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38562         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38563         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38564         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38565         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38566         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38567         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38568         * math/libm-test.inc (scalbn_test): Add more tests.
38569         (scalbln_test): Likewise.
38570
38571         * manual/filesys.texi (mode_t): Describe constraints on size and
38572         signedness, not exact equivalence to a particular type.
38573         (ino_t): Likewise.
38574         (ino64_t): Likewise.
38575         (dev_t): Likewise.
38576         (nlink_t): Likewise.
38577         (blkcnt_t): Likewise.
38578         (blkcnt64_t): Likewise.
38579         * manual/llio.texi (off_t): Likewise.
38580
38581         [BZ #3976]
38582         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38583         (__ieee754_exp): Save and restore rounding mode and use
38584         round-to-nearest for all computations.
38585         * math/libm-test.inc (exp_test_tonearest): New function.
38586         (exp_test_towardzero): Likewise.
38587         (exp_test_downward): Likewise.
38588         (exp_test_upward): Likewise.
38589         (main): Call the new functions.
38590         * sysdeps/i386/fpu/libm-test-ulps: Update.
38591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38592
38593 2012-03-01  Chris Demetriou  <cgd@google.com>
38594
38595         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38596         have predictable order.
38597
38598 2012-03-01  David S. Miller  <davem@davemloft.net>
38599
38600         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38601
38602         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38603         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38604         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38605         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38606
38607         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38608         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38609         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38611         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38612         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38613         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38614         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38615         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38616
38617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38618
38619         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38620         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38621         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38622
38623         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38624         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38625         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38626         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38627         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38628         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38629         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38630         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38631         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38632         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38633         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38634         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38635         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38636         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38637         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38638         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38639         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38640         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38641         * sysdeps/sparc/elf/configure: Regenerated.
38642
38643 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38644
38645         * configure.in (AS, LD): Require binutils 2.20 or later.
38646         * configure: Regenerated.
38647         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38648         as required minimum version.
38649         * INSTALL: Regenerated.
38650
38651         [BZ #2541]
38652         [BZ #4108]
38653         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38654         before squaring exponent.
38655         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38656         bottom long double and 27 bits of top long double before squaring
38657         exponent.
38658         * math/libm-test.inc (erfc_test): Add more tests.
38659         * sysdeps/i386/fpu/libm-test-ulps: Update.
38660         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38662
38663 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38664
38665         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38666         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38667         containing bit-fields.
38668         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38669         * soft-fp/single.h (_FP_UNION_S): Likewise.
38670         * soft-fp/double.h (_FP_UNION_D): Likewise.
38671
38672 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38673
38674         [BZ #13786]
38675         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38676         not include ../strcmp.S.
38677         [USE_AS_STRNCASECMP_L]: Likewise.
38678         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38679         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38680         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38681         (__strncasecmp_l_ia32): Define as alias to
38682         __strncasecmp_l_nonascii.
38683
38684         [BZ #5794]
38685         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38686         * sysdeps/i386/fpu/libm-test-ulps: Update.
38687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38688
38689         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38691
38692 2012-02-29  Jeff Law  <law@redhat.com>
38693
38694         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38695         out of bounds read.
38696
38697 2012-02-29  Marek Polacek  <polacek@redhat.com>
38698
38699         [BZ #13706]
38700         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38701         * elf/Makefile: Add rules to run tst-unused-dep.out.
38702
38703 2012-02-28  David S. Miller  <davem@davemloft.net>
38704
38705         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38706         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38707         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38708         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38709         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38710         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38711
38712 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38713
38714         * math/libm-test.inc (llround_test): Move one test from
38715         lround_test.  Use TEST_f_L in moved test.
38716         (lround_test): Move misplaced test to llround_test.  Add testcase
38717         from bug 2561.
38718
38719 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38720
38721         * sysdeps/x86_64/fpu/e_expf.S: New file.
38722         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38723
38724 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38725
38726         [BZ #13637]
38727         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38728         of remain_len that may cause incomplete multi-byte character and
38729         false match.
38730         * posix/bug-regex33.c: New file.
38731         * posix/Makefile (tests): Add bug-regex33.
38732
38733 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38734
38735         * manual/macros.texi: New file.
38736         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38737         * manual/libc.texinfo: Include macros.texi.
38738         * manual/creatute.texi: Likewise.
38739         * manual/install.texi: Likewise.
38740         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38741         @glibcadj{} in references to the GNU C Library.
38742         * manual/charset.texi: Likewise.
38743         * manual/conf.texi: Likewise.
38744         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38745         when not using those macros.
38746         * manual/creature.texi: Likewise.
38747         * manual/crypt.texi: Likewise.
38748         * manual/errno.texi: Likewise.
38749         * manual/filesys.texi: Likewise.
38750         * manual/header.texi: Likewise.
38751         * manual/install.texi: Likewise.
38752         * manual/intro.texi: Likewise.
38753         * manual/io.texi: Likewise.
38754         * manual/job.texi: Likewise.
38755         * manual/lang.texi: Likewise.
38756         * manual/libc.texiinfo: Likewise.
38757         * manual/llio.texi: Likewise.
38758         * manual/locale.texi: Likewise.
38759         * manual/maint.texi: Likewise.
38760         * manual/math.texi: Likewise.
38761         * manual/memory.texi: Likewise.
38762         * manual/message.texi: Likewise.
38763         * manual/nss.texi: Likewise.
38764         * manual/pattern.texi: Likewise.
38765         * manual/process.texi: Likewise.
38766         * manual/resource.texi: Likewise.
38767         * manual/search.texi: Likewise.
38768         * manual/setjmp.texi: Likewise.
38769         * manual/signal.texi: Likewise.
38770         * manual/socket.texi: Likewise.
38771         * manual/startup.texi: Likewise.
38772         * manual/stdio.texi: Likewise.
38773         * manual/string.texi: Likewise.
38774         * manual/sysinfo.texi: Likewise.
38775         * manual/syslog.texi: Likewise.
38776         * manual/terminal.texi: Likewise.
38777         * manual/time.texi: Likewise.
38778         * manual/users.texi: Likewise.
38779         * INSTALL: Regenerated.
38780         * NOTES: Regenerated.
38781         * sysdeps/gnu/errlist.c: Regenerated.
38782
38783 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38784
38785         * include/dirent.h: Include <dirstream.h> before
38786         <dirent/dirent.h>.
38787
38788 2012-02-28  David S. Miller  <davem@davemloft.net>
38789
38790         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38791         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38792         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38793         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38794
38795 2012-02-27  David S. Miller  <davem@davemloft.net>
38796
38797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38799         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38800         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38801
38802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38803         frame pointer instead of stack pointer relative arg slot.
38804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38805         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38806         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38807
38808 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38809
38810         [BZ #3992]
38811         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38812
38813 2012-02-27  David S. Miller  <davem@davemloft.net>
38814
38815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38819         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38820         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38821         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38822         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38823
38824 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38825
38826         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38827         later.  Allow versions 5-9.
38828         * configure: Regenerated.
38829         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38830         required minimum version and 4.6 as recommended version.  Do not
38831         mention bugs in GCC 2.7 and 2.8.
38832         * INSTALL: Regenerated.
38833
38834 2012-02-27  David S. Miller  <davem@davemloft.net>
38835
38836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38840         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38841         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38842         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38843         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38844
38845         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38846         manipulate bits before adding and subtracting TWO112[sx].
38847         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38848
38849 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38850
38851         [BZ #13775]
38852         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38853         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38854         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38855         being in POSIX, because they are in 1003.1-2008.
38856
38857         * rt/tst-aio.c: Include <fcntl.h>.
38858         * rt/tst-aio7.c: Likewise.
38859         * rt/tst-aio64.c: Likewise.
38860
38861         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38862
38863 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38864
38865         * manual/install.texi (--with-headers): Describe headers as
38866         interface headers, not private headers.
38867         (Specific advice for GNU/Linux systems): Describe use of headers
38868         from "make headers_install", not private headers from older
38869         kernels.
38870         * INSTALL: Regenerated.
38871         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38872         Change to 2.6.19.
38873         * sysdeps/unix/sysv/linux/configure: Regenerated.
38874
38875         * manual/llio.texi (fclean): Remove documentation.
38876
38877         * manual/Makefile (libc-texi-generated): New variable.  Include
38878         version.texi.
38879         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38880         $(libc-texi-generated), not duplicated list of files.
38881         (version.texi, stamp-version): New rules.
38882         (realclean): Remove $(libc-texi-generated), not individual files
38883         from that list.  Do not remove dir-add.texinfo.
38884         * manual/libc.texinfo: Comment out uses of edition numbers and
38885         references to printed manual.  Remove last-updated dates.
38886         (EDITION): Comment out.
38887         (ISBN): Likewise.
38888         (VERSION, UPDATED): Remove.
38889         (version.texi): Include.
38890
38891 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38892
38893         * sysdeps/posix/spawni.c: Include <signal.h>.
38894         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38895         * sysdeps/pthread/aio_fsync.c: Likewise.
38896
38897 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38898
38899         * conform/Makefile (tests): Run only when not cross-compiling and
38900         when fast-check is not defined.
38901
38902         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38903         * conform/data/limits.h-data: Fixes for POSIX2008.
38904         * conform/run-conformtest.sh: Run all tests.
38905         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38906         headers.
38907         * include/bits/dlfcn.h: Likewise.
38908         * include/langinfo.h: Likewise.
38909         * include/monetary.h: Likewise.
38910         * include/sys/poll.h: Likewise.
38911
38912         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38913         for __USE_GNU.
38914         * posix/spawn.h: Define __need_sigset_t.
38915         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38916         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38917         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38918         to get sigevent_t only.
38919         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38920         only for __USE_GNU.
38921         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38922         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38923         process_vm_writev only for __USE_GNU.
38924         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38925
38926         * conform/Makefile: For now ignore errors from run-conformtest.
38927         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38928         POSIX to avoid namespace pollution.  Don't prepend headers.
38929         * conform/data/aio.h-data: Fixes for POSIX testing.
38930         * conform/data/fcntl.h-data: Likewise.
38931         * conform/data/glob.h-data: Likewise.
38932         * conform/data/grp.h-data: Likewise.
38933         * conform/data/pthread.h-data: Likewise.
38934         * conform/data/pwd.h-data: Likewise.
38935         * conform/data/signal.h-data: Likewise.
38936         * conform/data/spawn.h-data: Likewise.
38937         * conform/data/stdio.h-data: Likewise.
38938         * conform/data/stdlib.h-data: Likewise.
38939         * conform/data/stropts.h-data: Likewise.
38940         * conform/data/sys/mman.h-data: Likewise.
38941         * conform/data/sys/stat.h-data: Likewise.
38942         * conform/data/sys/types.h-data: Likewise.
38943         * conform/data/sys/wait.h-data: Likewise.
38944         * conform/data/time.h-data: Likewise.
38945         * conform/data/unistd.h-data: Likewise.
38946         * conform/data/utime.h-data: Likewise.
38947
38948         * io/sys/stat.h: fchmod was always in POSIX.
38949         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38950         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38951         * rt/aio.h: Define __need_timespec before including <time.h>.
38952         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38953         struct.  Add forward declaration of pthread_attr_t and use it in
38954         sigevent.
38955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38956         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38957         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38958         always remove CLK_TCK definition.
38959
38960 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38961
38962         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38963
38964 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38965
38966         * conform/run-conformtest.sh: New file.
38967         * conform/Makefile: Run run-conformtest for tests.
38968         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38969         support.
38970
38971         * conform/data/uchar.h-data: New file.
38972         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38973         * conform/data/arpa/inet.h-data: Likewise.
38974         * conform/data/assert.h-data: Likewise.
38975         * conform/data/complex.h-data: Likewise.
38976         * conform/data/cpio.h-data: Likewise.
38977         * conform/data/ctype.h-data: Likewise.
38978         * conform/data/dirent.h-data: Likewise.
38979         * conform/data/dlfcn.h-data: Likewise.
38980         * conform/data/errno.h-data: Likewise.
38981         * conform/data/fcntl.h-data: Likewise.
38982         * conform/data/float.h-data: Likewise.
38983         * conform/data/fmtmsg.h-data: Likewise.
38984         * conform/data/fnmatch.h-data: Likewise.
38985         * conform/data/ftw.h-data: Likewise.
38986         * conform/data/glob.h-data: Likewise.
38987         * conform/data/grp.h-data: Likewise.
38988         * conform/data/iconv.h-data: Likewise.
38989         * conform/data/inttypes.h-data: Likewise.
38990         * conform/data/langinfo.h-data: Likewise.
38991         * conform/data/libgen.h-data: Likewise.
38992         * conform/data/limits.h-data: Likewise.
38993         * conform/data/locale.h-data: Likewise.
38994         * conform/data/math.h-data: Likewise.
38995         * conform/data/monetary.h-data: Likewise.
38996         * conform/data/mqueue.h-data: Likewise.
38997         * conform/data/ndbm.h-data: Likewise.
38998         * conform/data/net/if.h-data: Likewise.
38999         * conform/data/netdb.h-data: Likewise.
39000         * conform/data/netinet/in.h-data: Likewise.
39001         * conform/data/nl_types.h-data: Likewise.
39002         * conform/data/poll.h-data: Likewise.
39003         * conform/data/pthread.h-data: Likewise.
39004         * conform/data/pwd.h-data: Likewise.
39005         * conform/data/regex.h-data: Likewise.
39006         * conform/data/sched.h-data: Likewise.
39007         * conform/data/search.h-data: Likewise.
39008         * conform/data/semaphore.h-data: Likewise.
39009         * conform/data/setjmp.h-data: Likewise.
39010         * conform/data/signal.h-data: Likewise.
39011         * conform/data/spawn.h-data: Likewise.
39012         * conform/data/stdarg.h-data: Likewise.
39013         * conform/data/stdio.h-data: Likewise.
39014         * conform/data/stdlib.h-data: Likewise.
39015         * conform/data/string.h-data: Likewise.
39016         * conform/data/strings.h-data: Likewise.
39017         * conform/data/stropts.h-data: Likewise.
39018         * conform/data/sys/ipc.h-data: Likewise.
39019         * conform/data/sys/mman.h-data: Likewise.
39020         * conform/data/sys/msg.h-data: Likewise.
39021         * conform/data/sys/resource.h-data: Likewise.
39022         * conform/data/sys/select.h-data: Likewise.
39023         * conform/data/sys/sem.h-data: Likewise.
39024         * conform/data/sys/shm.h-data: Likewise.
39025         * conform/data/sys/socket.h-data: Likewise.
39026         * conform/data/sys/stat.h-data: Likewise.
39027         * conform/data/sys/statvfs.h-data: Likewise.
39028         * conform/data/sys/time.h-data: Likewise.
39029         * conform/data/sys/timeb.h-data: Likewise.
39030         * conform/data/sys/times.h-data: Likewise.
39031         * conform/data/sys/types.h-data: Likewise.
39032         * conform/data/sys/uio.h-data: Likewise.
39033         * conform/data/sys/un.h-data: Likewise.
39034         * conform/data/sys/utsname.h-data: Likewise.
39035         * conform/data/sys/wait.h-data: Likewise.
39036         * conform/data/syslog.h-data: Likewise.
39037         * conform/data/tar.h-data: Likewise.
39038         * conform/data/termios.h-data: Likewise.
39039         * conform/data/utime.h-data: Likewise.
39040         * conform/data/utmpx.h-data: Likewise.
39041         * conform/data/varargs.h-data: Likewise.
39042         * conform/data/wchar.h-data: Likewise.
39043         * conform/data/wctype.h-data: Likewise.
39044         * conform/data/wordexp.h-data: Likewise.
39045
39046         * include/stropts.h: New file.
39047         * include/uchar.h: New file.
39048         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39049         * include/assert.h: Likewise.
39050         * include/ctype.h: Likewise.
39051         * include/dirent.h: Likewise.
39052         * include/dlfcn.h: Likewise.
39053         * include/fcntl.h: Likewise.
39054         * include/fnmatch.h: Likewise.
39055         * include/glob.h: Likewise.
39056         * include/grp.h: Likewise.
39057         * include/libio.h: Likewise.
39058         * include/locale.h: Likewise.
39059         * include/math.h: Likewise.
39060         * include/net/if.h: Likewise.
39061         * include/netdb.h: Likewise.
39062         * include/netinet/in.h: Likewise.
39063         * include/pthread.h: Likewise.
39064         * include/pwd.h: Likewise.
39065         * include/regex.h: Likewise.
39066         * include/sched.h: Likewise.
39067         * include/search.h: Likewise.
39068         * include/setjmp.h: Likewise.
39069         * include/signal.h: Likewise.
39070         * include/stdio.h: Likewise.
39071         * include/stdlib.h: Likewise.
39072         * include/string.h: Likewise.
39073         * include/sys/cdefs.h: Likewise.
39074         * include/sys/mman.h: Likewise.
39075         * include/sys/msg.h: Likewise.
39076         * include/sys/resource.h: Likewise.
39077         * include/sys/select.h: Likewise.
39078         * include/sys/socket.h: Likewise.
39079         * include/sys/stat.h: Likewise.
39080         * include/sys/statvfs.h: Likewise.
39081         * include/sys/time.h: Likewise.
39082         * include/sys/times.h: Likewise.
39083         * include/sys/uio.h: Likewise.
39084         * include/sys/utsname.h: Likewise.
39085         * include/sys/wait.h: Likewise.
39086         * include/termios.h: Likewise.
39087         * include/time.h: Likewise.
39088         * include/ulimit.h: Likewise.
39089         * include/unistd.h: Likewise.
39090         * include/utime.h: Likewise.
39091         * include/wchar.h: Likewise.
39092         * include/wctype.h: Likewise.
39093         * include/wordexp.h: Likewise.
39094
39095         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39096
39097         * time/time.h: TIME_UTC must be a macro.
39098         Make timespec_get available for ISO C11 only as well.
39099
39100 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39101
39102         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39103         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39104
39105 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39106
39107         * configure.in: Use -o not -a in test for unsupported multi-arch.
39108
39109 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39110
39111         * manual/texinfo.tex: Update to version 2012-01-19.16.
39112
39113 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39114
39115         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39116
39117 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39118
39119         [BZ #13738]
39120         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39121         * manual/fdl-1.3.texi: New file.
39122         * manual/fdl-1.1.texi: File removed.
39123
39124         [BZ #13738]
39125         * manual/libc.texinfo (FDL_VERSION): New @set.
39126         Use it for mention of FDL in cover text.
39127         (Documentation License): Use it in @include file name.
39128
39129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39130             Roland McGrath  <roland@hack.frob.com>
39131
39132         [BZ #5461]
39133         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39134         (not LONG_LONG_MAX and LONG_LONG_MIN.
39135         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39136         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39137         name.
39138         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39139
39140 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39141
39142         [BZ #2547]
39143         [BZ #11365]
39144         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39145         manipulate bits before adding and subtracting TWO23[sx].
39146         * math/libm-test.inc (nearbyint_test): Add more tests.
39147
39148 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39149
39150         [BZ #2548]
39151         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39152         bits before adding and subtracting TWO23[sx].
39153         * math/libm-test.inc (rint_test): Add more tests.
39154         (rint_test_tonearest): Likewise.
39155         (rint_test_towardzero): Likewise.
39156         (rint_test_downward): Likewise.
39157         (rint_test_upward: Likewise.
39158
39159 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39160
39161         [BZ #10110]
39162         * include/stdc-predef.h: New file.  Extracted from features.h.
39163         * include/features.h: Include stdc-predef.h.
39164         * Makefile (headers): Add stdc-predef.h.
39165         * CONFORMANCE (Compiler limitations): Update.
39166
39167 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39168
39169         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39170
39171 2012-02-21  David S. Miller  <davem@davemloft.net>
39172
39173         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39174         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39175
39176 2012-02-20  David S. Miller  <davem@davemloft.net>
39177
39178         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39179         using a normal save/restore sequence, rather than allocating a
39180         dummy stack frame just to store a frame pointer and restore.
39181         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39182
39183 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39184
39185         * manual/install.texi: Fix stray word in line-wrapped comment.
39186
39187 2012-02-20  David S. Miller  <davem@davemloft.net>
39188
39189         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39190         both binutils and gcc support GOTDATA.
39191
39192         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39193         "rd %pc" in the PIC register setup sequences.
39194
39195         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39196         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39197         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39198         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39199         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39200         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39201         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39202         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39203         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39204         (SYSCALL_ERROR_HANDLER): Likewise.
39205         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39206         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39208         (SYSCALL_ERROR_HANDLER): Likewise.
39209
39210         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39211         (HAVE_GCC_GOTDATA): New.
39212         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39213         relocation support in both binutils and gcc.
39214         * sysdeps/sparc/elf/configure: Regenerate.
39215
39216         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39217         * sysdeps/sparc/sparc32/elf/configure: Delete.
39218         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39219         * sysdeps/sparc/sparc64/elf/configure: Delete.
39220         * sysdeps/sparc/elf/configure.in: New file.
39221         * sysdeps/sparc/elf/configure: Generate.
39222
39223         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39224         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39225         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39226         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39227         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39228
39229 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39230
39231         * manual/install.texi: Do not mention specific glibc version
39232         numbers.
39233         * manual/libc.texinfo (VERSION, UPDATED): Update.
39234         (@copying): Use @copyright{} and range of years.
39235
39236 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39237
39238         [BZ #13695]
39239         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39240         [crti.S not in sysdirs] (generated): Do not append.
39241         [crti.S not in sysdirs] (omit-deps): Likewise.
39242         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39243         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39244         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39245         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39246         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39247         Likewise.
39248         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39249         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39250         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39251         * csu/defs.awk: Remove file.
39252         * sysdeps/generic/initfini.c: Likewise.
39253         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39254         variable.
39255         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39256         Likewise.
39257
39258 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39259
39260         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39261         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39262         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39263         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39264         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39265         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39266         <bits/epoll.h>.
39267         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39268         (__EPOLL_PACKED): Define to empty if not defined by
39269         <bits/epoll.h>.
39270         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39272         bits/epoll.h.
39273
39274 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39275
39276         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39277         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39278         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39279         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39280         <bits/timerfd.h>.
39281         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39283         bits/timerfd.h.
39284
39285 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39286
39287         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39288         in C locale.
39289         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39290         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39291         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39293
39294 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39295
39296         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39297         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39298
39299 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39300
39301         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39302         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39303         defined.
39304         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39305         Likewise.
39306         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39307         entry for 2.16.
39308
39309 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39310
39311         * math/w_acos.c: Use non-signaling floating-point comparisons.
39312         * math/w_acosf.c: Likewise.
39313         * math/w_acosh.c: Likewise.
39314         * math/w_acoshf.c: Likewise.
39315         * math/w_acoshl.c: Likewise.
39316         * math/w_acosl.c: Likewise.
39317         * math/w_asin.c: Likewise.
39318         * math/w_asinf.c: Likewise.
39319         * math/w_asinl.c: Likewise.
39320         * math/w_atanh.c: Likewise.
39321         * math/w_atanhf.c: Likewise.
39322         * math/w_atanhl.c: Likewise.
39323         * math/w_exp2.c: Likewise.
39324         * math/w_exp2f.c: Likewise.
39325         * math/w_exp2l.c: Likewise.
39326         * math/w_j0.c: Likewise.
39327         * math/w_j0f.c: Likewise.
39328         * math/w_j0l.c: Likewise.
39329         * math/w_j1.c: Likewise.
39330         * math/w_j1f.c: Likewise.
39331         * math/w_j1l.c: Likewise.
39332         * math/w_jn.c: Likewise.
39333         * math/w_jnf.c: Likewise.
39334         * math/w_log.c: Likewise.
39335         * math/w_log10.c: Likewise.
39336         * math/w_log10f.c: Likewise.
39337         * math/w_log10l.c: Likewise.
39338         * math/w_log2.c: Likewise.
39339         * math/w_log2f.c: Likewise.
39340         * math/w_log2l.c: Likewise.
39341         * math/w_logf.c: Likewise.
39342         * math/w_logl.c: Likewise.
39343         * math/w_sqrt.c: Likewise.
39344         * math/w_sqrtf.c: Likewise.
39345         * math/w_sqrtl.c: Likewise.
39346         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39347         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39348         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39349         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39350         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39351
39352 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39353
39354         [BZ #9739]
39355         * manual/string.texi (strnlen): Use correct parameter name in
39356         equivalent expression.
39357
39358 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39359
39360         [BZ #11174]
39361         * manual/users.texi (seteuid): Consistently use neweuid for
39362         argument name.
39363
39364 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39365
39366         [BZ #13704]
39367         * manual/nss.texi (Services in the NSS configuration): Correct
39368         list of services in example configuration file.
39369
39370 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39371
39372         [BZ #11322]
39373         * manual/arith.texi: Remove statements about negative zero
39374         behaving identically to zero.
39375
39376 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39377
39378         [BZ #5993]
39379         * manual/install.texi: Do not document upgrading from libc5.
39380
39381 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39382
39383         [BZ #4596]
39384         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39385
39386 2012-02-18  David S. Miller  <davem@davemloft.net>
39387
39388         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39389         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39390         %o7 across the call.
39391         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39392         instead.
39393         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39394         SETUP_PIC_REG_LEAF.
39395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39396         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39397         * sysdeps/sparc/crtn.S: Likewise.
39398
39399 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39400
39401         * aout/Makefile: Remove.
39402
39403 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39404
39405         [BZ #13058]
39406         * manual/examples/argp-ex1.c (main): Format definition in GNU
39407         style.
39408         * manual/examples/argp-ex2.c (main): Likewise.
39409         * manual/examples/argp-ex3.c (main): Likewise.
39410         * manual/examples/argp-ex4.c (main): Likewise.
39411         * manual/examples/longopt.c (main): Use new-style prototype
39412         definition.
39413         * manual/examples/strncat.c (main): Specify return type and use
39414         (void) for arguments.
39415         * manual/examples/subopt.c (main): Use char **argv argument.
39416
39417 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39418
39419         [BZ #5077]
39420         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39421         rounding modes.
39422
39423 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39424
39425         [BZ #6907]
39426         * manual/string.texi (strchr): Change when strchrnul is
39427         recommended.
39428
39429 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39430
39431         [BZ #174]
39432         * manual/locale.texi (setlocale): Document LOCPATH.
39433
39434 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39435
39436         [BZ #10210]
39437         * manual/process.texi (execle): Move @dots{} before last argument.
39438
39439 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39440
39441         [BZ #12047]
39442         * manual/charset.texi (Generic Charset Conversion): Fix typo
39443         (LC_TYPE -> LC_CTYPE).
39444
39445 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39446
39447         [BZ #5805]
39448         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39449         (scalbnf): Likewise.
39450         (scalbnl): Likewise.
39451         (scalbln): Likewise.
39452         (scalblnf): Likewise.
39453         (scalblnl): Likewise.
39454         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39455         (vwarnx): Likewise.
39456         (verr): Likewise.
39457         (verrx): Likewise.
39458         * manual/filesys.texi (telldir): Use braces around return type.
39459         * manual/llio.texi (mmap): Add space after comma.
39460         (mmap64): Likewise.
39461         * manual/math.texi (jn): Use @var{} on parameter names.
39462         (jnf): Likewise.
39463         (jnl): Likewise.
39464         (yn): Likewise.
39465         (ynf): Likewise.
39466         (ynl): Likewise.
39467         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39468         line.
39469         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39470         "...".
39471         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39472         (sched_get_priority_max): Likewise.
39473         * manual/signal.texi (sigvec): Add space after comma.
39474         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39475         names.
39476         (if_indextoname): Likewise.
39477         (if_freenameindex): Likewise.
39478         (sendto): Use ',' instead of '.' in prototype.
39479         * manual/startup.texi (syscall): Use @dots{} instead of literal
39480         "...".
39481         * manual/stdio.texi (__fpending): Separate initial words of
39482         paragraph from @deftypefun line.
39483         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39484         "...".
39485         (vsyslog): Use @var{} on parameter names.
39486         * manual/terminal.texi (stty): Use @var{} on parameter names.
39487         * manual/users.texi (getutmp): Use @var{} on parameter names.
39488         (getutmpx): Likewise.
39489
39490 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39491
39492         [BZ #6884]
39493         * manual/stdio.texi (fopen): Fix typos in description of
39494         ",ccs=STRING".
39495
39496 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39497
39498         [BZ #4026]
39499         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39500         get clock_id definition.
39501
39502 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39503
39504         [BZ #4822]
39505         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39506         (madvise): Cast every argument to void on its own.
39507
39508 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39509
39510         [BZ #9902]
39511         * manual/startup.texi (Exit Status): Fix typo.
39512
39513 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39514
39515         [BZ #10140]
39516         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39517         * manual/examples/argp-ex2.c: Likewise.
39518         * manual/examples/argp-ex3.c: Likewise.
39519
39520 2012-02-16  Richard Henderson  <rth@redhat.com>
39521
39522         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39523         * sysdeps/s390/s390-32/initfini.c: Remove.
39524         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39525         * sysdeps/s390/s390-64/initfini.c: Remove.
39526
39527 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39528
39529         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39530         compiler output for sysdeps/generic/initfini.c.
39531         * sysdeps/sh/elf/initfini.c: Remove file.
39532
39533 2012-02-16  David S. Miller  <davem@davemloft.net>
39534
39535         [BZ #11494]
39536         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39537
39538         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39539         * sysdeps/sparc/crti.S: New file.
39540         * sysdeps/sparc/crtn.S: New file.
39541         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39542         * sysdeps/sparc/sparc64/Makefile: Likewise.
39543
39544 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39545
39546         [BZ #3335]
39547         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39548
39549 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39550
39551         [BZ #4822]
39552         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39553
39554         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39555         (write, read, close): Likewise.
39556         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39557
39558 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39559
39560         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39561         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39562         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39563         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39564         <bits/signalfd.h>.
39565         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39566         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39567         bits/signalfd.h.
39568
39569 2012-02-14  Marek Polacek  <polacek@redhat.com>
39570
39571         * sysdeps/x86_64/crti.S: New file.
39572         * sysdeps/x86_64/crtn.S: New file.
39573         * sysdeps/x86_64/elf/initfini.c: Remove file.
39574
39575 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39576
39577         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39578         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39579         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39580         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39581         <bits/inotify.h>.
39582         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39583         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39584         bits/inotify.h.
39585
39586 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39587
39588         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39589         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39590         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39591         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39592         <bits/eventfd.h>.
39593         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39595         bits/eventfd.h.
39596
39597 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39598
39599         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39600         __feraiseexcept instead of feraiseexcept.
39601
39602         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39603         nanosleep invocations.
39604         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39605         strings, and add error checking for a nanosleep invocations.
39606
39607 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39608
39609         Replace FSF snail mail address with URLs, as per GNU coding standards.
39610         Most of the snail mail addresses were wrong anyway, and omitting
39611         them makes the source code easier to maintain.  Almost all of the
39612         changes are to license notices and to locale LC_IDENTIFICATION
39613         addresses, except for this one:
39614         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39615         not its snail mail address.
39616
39617 2012-02-09  Richard Henderson  <rth@twiddle.net>
39618
39619         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39620         of kernel-features.h.
39621
39622         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39623
39624 2012-02-08  Marek Polacek  <polacek@redhat.com>
39625
39626         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39627         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39628         * sysdeps/gnu/_G_config.h: Likewise.
39629         * sysdeps/generic/_G_config.h: Likewise.
39630
39631 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39632
39633         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39634         tests.
39635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39636
39637         * sysdeps/powerpc/powerpc32/crti.S: New file.
39638         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39639         * sysdeps/powerpc/powerpc64/crti.S: New file.
39640         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39641
39642         * Makeconfig (have-initfini): Don't set.
39643         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39644         * configure.in (nopic_initfini): Don't substitute.
39645         * config.h.in (HAVE_INITFINI): Don't #undef.
39646         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39647         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39648
39649 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39650
39651         Support crti.S and crtn.S provided directly by architectures.
39652         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39653         [crti.S in sysdirs] (omit-deps): Likewise.
39654         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39655         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39656         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39657         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39658         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39659         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39660         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39661         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39662         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39663         compiler output for sysdeps/generic/initfini.c.
39664         * sysdeps/i386/elf/Makefile: Remove file.
39665         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39666
39667 2012-02-07  Marek Polacek  <polacek@redhat.com>
39668
39669         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39670         * sysdeps/gnu/_G_config.h: Likewise.
39671         * sysdeps/mach/hurd/_G_config.h: Likewise.
39672
39673 2012-02-07  Marek Polacek  <polacek@redhat.com>
39674
39675         * math/Makefile (tests): Add tst-CMPLX2.
39676         * math/tst-CMPLX2.c: New file.
39677
39678 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39679
39680         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39681
39682         * math/libm-test.inc (jn_test): Add missing L suffix.
39683
39684 2012-02-06  Marek Polacek  <polacek@redhat.com>
39685
39686         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39687         * sysdeps/i386/fpu/e_powf.S: Likewise.
39688         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39689         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39690         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39691         * sysdeps/i386/fpu/e_pow.S: Likewise.
39692         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39693         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39694         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39695         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39696         * sysdeps/i386/fpu/e_log2.S: Likewise.
39697         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39698         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39699         * sysdeps/i386/fpu/e_powl.S: Likewise.
39700         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39701         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39702         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39703         * sysdeps/i386/fpu/e_logl.S: Likewise.
39704         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39705         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39706         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39707         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39708         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39709         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39710         * sysdeps/i386/fpu/e_log.S: Likewise.
39711         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39712         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39713         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39714         * sysdeps/i386/fpu/e_logf.S: Likewise.
39715         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39716         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39717         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39718         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39719         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39720         * sysdeps/i386/fpu/e_log10.S: Likewise.
39721         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39722         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39723         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39724         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39725         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39726         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39727         * sysdeps/i386/asm-syntax.h: Likewise.
39728         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39729         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39730         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39731         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39732         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39733         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39734         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39735         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39736         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39737         * sysdeps/powerpc/sysdep.h: Likewise.
39738         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39739         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39740
39741 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39742
39743         [BZ #411]
39744         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39745
39746 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39747
39748         * sysdeps/i386/sysdep.h: Include <features.h>.
39749         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39750         version.
39751
39752 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39753
39754         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39755         Define.
39756         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39757         LOAD_PIC_REG_STR.
39758
39759 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39760
39761         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39762         (SETUP_PIC_REG): Use GET_PC_THUNK.
39763         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39764         macro.
39765
39766 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39767
39768         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39769         for non-PIC compilation.
39770         (SETUP_PIC_REG): Add .p2align directive.
39771         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39772         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39773         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39774         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39775         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39776         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39777         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39778         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39779         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39780         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39781         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39782         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39783         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39784         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39785         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39786         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39787         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39788         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39789         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39790         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39791         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39792         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39793         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39794         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39795         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39797         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39798         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39799         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39800         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39801         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39802         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39803         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39804         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39805         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39806         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39807         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39808         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39809         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39810         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39811         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39812
39813 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39814
39815         * math/tst-CMPLX.c: Include <stdio.h>.
39816
39817 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39818
39819         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39820         float.
39821         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39822         * sysdeps/sparc/bits/mathdef.h: Likewise.
39823
39824 2012-01-31  Marek Polacek  <polacek@redhat.com>
39825
39826         * libio/libio.h: Don't define _PARAMS.
39827         * locale/programs/config.h: Don't define PARAMS.
39828         * stdlib/strtol_l.c: Likewise.
39829         (__strtol_l): Remove PARAMS from the prototype.
39830
39831 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39832
39833         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39834         names.  Just use the correct names.  Remove unnecessary wrapper
39835         functions.
39836         * malloc/arena.c: Likewise.
39837         * malloc/hooks.c: Likewise.
39838
39839         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39840         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39841         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39842
39843 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39844
39845         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39846         into tail calls.
39847         (update_get_addr): New function.
39848         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39849         GET_ADDR_MODULE parameter.
39850
39851 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39852
39853         * crypt/cert.c: Remove __STDC__ conditionals.
39854         * crypt/crypt-entry.c: Likewise.
39855         * crypt/crypt_util.c: Likewise.
39856         * libio/filedoalloc.c: Likewise.
39857         * libio/fileops.c: Likewise.
39858         * libio/genops.c: Likewise.
39859         * libio/iofclose.c: Likewise.
39860         * libio/iofdopen.c: Likewise.
39861         * libio/iofopen.c: Likewise.
39862         * libio/iofopen64.c: Likewise.
39863         * libio/iogetdelim.c: Likewise.
39864         * libio/iopopen.c: Likewise.
39865         * libio/obprintf.c: Likewise.
39866         * libio/oldfileops.c: Likewise.
39867         * libio/oldiofclose.c: Likewise.
39868         * libio/oldiofdopen.c: Likewise.
39869         * libio/oldiofopen.c: Likewise.
39870         * libio/oldiopopen.c: Likewise.
39871         * libio/wfiledoalloc.c: Likewise.
39872         * libio/wgenops.c: Likewise.
39873         * locale/programs/xmalloc.c: Likewise.
39874         * misc/syslog.c: Likewise.
39875         * stdio-common/xbug.c: Likewise.
39876         * string/memchr.c: Likewise.
39877         * string/memcmp.c: Likewise.
39878         * string/memrchr.c: Likewise.
39879         * string/rawmemchr.c: Likewise.
39880         * sysdeps/posix/getcwd.c: Likewise.
39881         * time/strftime_l.c: Likewise.
39882
39883 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39884
39885         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39886         * config.make.in (config-cflags-sse2avx): Define.
39887         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39888         Fix typo.
39889
39890 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39891
39892         * scripts/config.guess: Update from upstream config git repository.
39893         * scripts/config.sub: Likewise.
39894
39895 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39896
39897         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39898         (EM_NUM): Update.
39899         (R_TILEPRO_*, R_TILEGX_*): New macros.
39900
39901         * scripts/firstversions.awk: Fix bug in version range handling.
39902
39903         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39904
39905         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39906
39907         * include/sys/epoll.h: New file.
39908         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39909         libc_hidden_def.
39910
39911 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39912
39913         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39914         Avoid unnecessary __WORDSIZE == 64 test.
39915         (fmaxf): Use VEX format if possible.
39916         (fmax): Likewise.
39917         (fminf): Likewise.
39918         (fmin): Likewise.
39919
39920         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39921         * math/math_private.h: Remove libc_fegetround* and
39922         libc_fesetround*.
39923         * sysdeps/i386/configure.in: Check for -msse2avx.
39924         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39925         also if SSE2AVX is defined.
39926         Remove libc_fegetround* and libc_fesetround*.
39927         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39928         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39929         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39930         of HAS_YMM_USABLE.
39931         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39932         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39933         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39934         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39935         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39936
39937         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39938
39939 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39940
39941         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39942         size is not set.
39943         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39944
39945 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39946
39947         [BZ #13618]
39948         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39949         relocation.
39950         * Makeconfig (libm): Define.
39951         * elf/Makefile: Add rules to build and run tst-relsort1.
39952         * elf/tst-relsort1.c: New file.
39953         * elf/tst-relsort1mod1.c: New file.
39954         * elf/tst-relsort1mod2.c: New file.
39955
39956 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39957
39958         * math/s_ldexp.c: Remove __STDC__ conditionals.
39959         * math/s_ldexpf.c: Likewise.
39960         * math/s_ldexpl.c: Likewise.
39961         * math/s_nextafter.c: Likewise.
39962         * math/s_nexttowardf.c: Likewise.
39963         * math/s_significand.c: Likewise.
39964         * math/s_significandf.c: Likewise.
39965         * math/s_significandl.c: Likewise.
39966         * math/w_jnl.c: Likewise.
39967         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39968         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39969         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39970         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39971         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39972         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39973         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39974         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39975         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39976         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39977         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39978         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39979         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39980         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39981         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39982         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39983         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39984         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39985         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39986         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39987         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39988         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39989         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39990         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39991         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39992         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39993         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39994         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39995         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39996         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39997         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39998         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39999         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40000         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40001         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40002         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40003         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40004         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40005         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40006         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40007         * sysdeps/ieee754/k_standard.c: Likewise.
40008         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40009         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40010         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40011         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40012         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40013         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40014         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40015         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40016         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40017         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40018         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40019         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40020         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40021         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40022         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40023         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40024         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40025         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40026         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40027         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40029         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40030         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40031         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40032         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40033         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40034         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40035         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40037         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40038         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40040         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40041         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40042         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40043         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40044         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40045         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40046         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40047         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40048         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40050         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40051         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40052         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40053         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40054         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40055         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40056         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40057         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40058         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40061         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40062         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40063         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40064         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40065         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40066         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40067         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40068         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40069         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40070         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40071         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40072         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40073         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40074         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40075         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40076         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40077         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40078         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40079         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40080         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40081         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40082         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40083         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40084         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40086         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40087         * sysdeps/ieee754/s_matherr.c: Likewise.
40088         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40089         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40090         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40091         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40092
40093 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40094
40095         * crypt/md5.h: Remove __STDC__ conditionals.
40096         * libio/libioP.h: Likewise.
40097         * locale/programs/config.h: Likewise.
40098         * sysdeps/generic/sysdep.h: Likewise.
40099         * sysdeps/i386/asm-syntax.h: Likewise.
40100         * sysdeps/s390/asm-syntax.h: Likewise.
40101         * sysdeps/unix/sysdep.h: Likewise.
40102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40104
40105 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40106
40107         * libio/libio.h: Remove __STDC__ conditionals.
40108         * malloc/obstack.h: Likewise.
40109         * math/complex.h: Likewise.
40110         * math/math.h: Likewise.
40111         * sysdeps/generic/_G_config.h: Likewise.
40112         * sysdeps/gnu/_G_config.h: Likewise.
40113         * sysdeps/mach/hurd/_G_config.h: Likewise.
40114         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40115         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40116         * sysdeps/sparc/bits/mathdef.h: Likewise.
40117
40118 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40119
40120         [BZ #13583]
40121         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40122         Clean up HAS_* macros.
40123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40124         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40125         possible.
40126         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40127         HAS_AVX.
40128         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40129         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40130         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40131         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40132         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40133
40134 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40135
40136         * elf/tst-unique3.cc (gets): Remove declaration.
40137         * elf/tst-unique3lib.cc (gets): Likewise.
40138         * elf/tst-unique3lib2.cc (gets): Likewise.
40139         * elf/tst-unique4.cc (gets): Likewise.
40140
40141 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40142
40143         * include/stdio.h: Add C++ protection.  Add gets declarations and
40144         definitions.
40145         * debug/tst-chk1.c: Don't declare gets here.
40146         * stdio-common/tst-gets.c: Likewise.
40147
40148 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40149
40150         * posix/glob: Remove directory.
40151
40152 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40153
40154         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40155
40156 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40157
40158         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40159         of the non-standard EPFNOSUPPORT.
40160
40161 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40162
40163         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40164         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40165         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40166
40167 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40168
40169         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40170
40171 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40172
40173         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40174         transient errors.
40175         * nscd/grpcache.c (cache_addgr): Likewise.
40176         * nscd/hstcache.c (cache_addhst): Likewise.
40177         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40178         * nscd/pwdcache.c (cache_addpw): Likewise.
40179         * nscd/servicescache.c (cache_addserv): Likewise.
40180
40181 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40182
40183         * malloc/malloc.c: Various cleanups.
40184         * malloc/hooks.c: Likewise.
40185
40186         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40187         * stdlib/bug-fmtmsg1.c: New file.
40188
40189         * stdlib/fmtmsg.c (init): Add missing unlock.
40190         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40191
40192 2012-01-12  Marek Polacek  <polacek@redhat.com>
40193
40194         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40195         and _GNU_SOURCE.
40196
40197 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40198
40199         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40200         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40201         macro to ensure uniqueness of label name.
40202         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40203         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40204
40205 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40206
40207         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40208
40209         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40210         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40211         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40212         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40213
40214 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40215
40216         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40217
40218         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40219         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40220         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40221
40222         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40223
40224         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40225         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40226         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40227         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40228
40229         * math/bits/math-finite.h: Add ldexp support.
40230
40231 2012-01-10  Marek Polacek  <polacek@redhat.com>
40232
40233         * locale/programs/localedef.h (show_archive_content): Add noreturn
40234         attribute.
40235
40236 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40237
40238         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40239
40240 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40241
40242         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40243
40244         * io/Makefile (headers): Add bits/poll2.h.
40245
40246 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40247
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40249         typo #include statement.
40250
40251 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40252
40253         * include/sys/cdefs.h: Define __attribute_alloc_size.
40254         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40255         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40256         * elf/pldd.c: Likewise.
40257         * iconv/iconv_charmap.c: Likewise.
40258         * iconv/iconvconfig.c: Likewise.
40259         * iconv/strtab.c: Likewise.
40260         * locale/programs/locale.c: Likewise.
40261         * locale/programs/localedef.h: Likewise.
40262         * locale/programs/simple-hash.c: Likewise.
40263         * nscd/nscd.h: Likewise.
40264         * nss/makedb.c: Likewise.
40265         * sysdeps/generic/ldconfig.h: Likewise.
40266         * locale/programs/localedef.c: Remove xmalloc prototype.
40267         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40268
40269 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40270
40271         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40272         appropriate.
40273
40274 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40275
40276         * math/Makefile (tests): Add tst-CMPLX.
40277         * math/tst-CMPLX.c: New file.
40278
40279         * math/complex.h (CMPLXL): Fix typo.
40280
40281         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40282         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40283         GLIBC_2.16.
40284         * debug/tst-chk1.c: Add poll and ppoll tests.
40285         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40286         * include/sys/poll.h: Add hidden proto for ppoll.
40287         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40288         * sysdeps/mach/hurd/ppoll.c: Likewise.
40289         * io/ppoll.c: Likewise.
40290         * debug/poll_chk.c: New file.
40291         * debug/ppoll_chk.c: New file.
40292         * include/bits/poll2.h: New file.
40293         * io/bits/poll2.h: New file.
40294
40295         [BZ #1350]
40296         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40297
40298         * configure.in: static is always set to yes.  Remove.
40299         * config.make.in: Don't set build-static.
40300         * Makeconfig: Remove use of build-static.
40301         * dlfcn/Makefile: Likewise.
40302         * elf/Makefile: Likewise.
40303         * math/Makefile: Likewise.
40304         * misc/Makefile: Likewise.
40305         * nptl/Makefile: Likewise.
40306         * sysdeps/mach/hurd/Makefile: Likewise.
40307
40308         * configure.in: PWD_P is not used anymore.
40309         * config.make.in: Remove PWD_P entry.
40310
40311         * configure.in: Remove last remnants of RANLIB.
40312         No need to check for signed size_t anymore.
40313         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40314         and IA-64.
40315         Remove __builtin_expect test because we require at least gcc 3.4.
40316         * aclocal.m4: Likewise.
40317
40318         * wcsmbs/mbrtoc16.c: Implement using towc function.
40319         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40320         * wcsmbs/wcsmbsload.c: Likewise.
40321         * iconv/gconv_simple.c: Likewise.
40322         * iconv/gconv_int.h: Likewise.
40323         * iconv/gconv_builtin.h: Likewise.
40324         * iconv/iconv_prog.c: Remove CHAR16 handling.
40325
40326         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40327
40328         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40329
40330         * configure.in: Remove --with-elf and --enable-bounded options.
40331         Dont set base_machine for ia64.  More non-ELF conditions removed.
40332         Remove testing and setting of leading underscore information.
40333         * config.make.in (build-bounded): Set to no.
40334         * config.h.in: Remove NO_UNDERSCORES entry.
40335         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40336         them.
40337         * csu/start.c: Remove !NO_UNDERSCORE code.
40338         * locale/localeinfo.h: Likewise.
40339         * sysdeps/generic/machine-gmon.h: Likewise.
40340         * sysdeps/generic/sysdep.h: Likewise.
40341         * sysdeps/i386/sysdep.h: Likewise.
40342         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40343         * sysdeps/mach/sysdep.h: Likewise.
40344         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40345         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40346         * sysdeps/sh/sysdep.h: Likewise.
40347         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40348         * sysdeps/unix/i386/sysdep.S: Likewise.
40349         * sysdeps/unix/sparc/start.c: Likewise.
40350         * sysdeps/unix/sparc/sysdep.S: Likewise.
40351         * sysdeps/unix/sparc/sysdep.h: Likewise.
40352         * sysdeps/unix/start.c: Likewise.
40353         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40354         * sysdeps/x86_64/sysdep.h: Likewise.
40355
40356 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40357
40358         [BZ #13553]
40359         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40360         for non-gcc.
40361         * argp/argp-fmtstream.h: Use const instead __const.
40362         * argp/argp.h: Likewise.
40363         * assert/assert.h: Likewise.
40364         * bits/fenv.h: Likewise.
40365         * bits/sched.h: Likewise.
40366         * bits/sigset.h: Likewise.
40367         * bits/sigthread.h: Likewise.
40368         * catgets/nl_types.h: Likewise.
40369         * conform/data/pthread.h-data: Likewise.
40370         * crypt/crypt-private.h: Likewise.
40371         * crypt/crypt.h: Likewise.
40372         * crypt/crypt_util.c: Likewise.
40373         * ctype/ctype.h: Likewise.
40374         * debug/execinfo.h: Likewise.
40375         * debug/mbsnrtowcs_chk.c: Likewise.
40376         * debug/mbsrtowcs_chk.c: Likewise.
40377         * debug/wcsnrtombs_chk.c: Likewise.
40378         * debug/wcsrtombs_chk.c: Likewise.
40379         * debug/wcstombs_chk.c: Likewise.
40380         * dirent/dirent.h: Likewise.
40381         * dlfcn/dlfcn.h: Likewise.
40382         * elf/neededtest4.c: Likewise.
40383         * grp/grp.h: Likewise.
40384         * gshadow/gshadow.h: Likewise.
40385         * iconv/gconv.h: Likewise.
40386         * iconv/gconv_int.h: Likewise.
40387         * iconv/gconv_simple.c: Likewise.
40388         * iconv/iconv.h: Likewise.
40389         * iconv/loop.c: Likewise.
40390         * iconv/skeleton.c: Likewise.
40391         * include/aio.h: Likewise.
40392         * include/aliases.h: Likewise.
40393         * include/argz.h: Likewise.
40394         * include/arpa/inet.h: Likewise.
40395         * include/assert.h: Likewise.
40396         * include/dirent.h: Likewise.
40397         * include/dlfcn.h: Likewise.
40398         * include/execinfo.h: Likewise.
40399         * include/fcntl.h: Likewise.
40400         * include/fenv.h: Likewise.
40401         * include/glob.h: Likewise.
40402         * include/grp.h: Likewise.
40403         * include/libintl.h: Likewise.
40404         * include/mntent.h: Likewise.
40405         * include/netdb.h: Likewise.
40406         * include/pwd.h: Likewise.
40407         * include/rpc/netdb.h: Likewise.
40408         * include/sched.h: Likewise.
40409         * include/search.h: Likewise.
40410         * include/shadow.h: Likewise.
40411         * include/signal.h: Likewise.
40412         * include/stdio.h: Likewise.
40413         * include/stdlib.h: Likewise.
40414         * include/string.h: Likewise.
40415         * include/sys/socket.h: Likewise.
40416         * include/sys/stat.h: Likewise.
40417         * include/sys/statfs.h: Likewise.
40418         * include/sys/statvfs.h: Likewise.
40419         * include/sys/syslog.h: Likewise.
40420         * include/sys/time.h: Likewise.
40421         * include/sys/uio.h: Likewise.
40422         * include/time.h: Likewise.
40423         * include/unistd.h: Likewise.
40424         * include/utmp.h: Likewise.
40425         * include/wchar.h: Likewise.
40426         * include/wctype.h: Likewise.
40427         * inet/aliases.h: Likewise.
40428         * inet/arpa/inet.h: Likewise.
40429         * inet/netinet/ether.h: Likewise.
40430         * inet/netinet/in.h: Likewise.
40431         * intl/libintl.h: Likewise.
40432         * io/bits/fcntl2.h: Likewise.
40433         * io/fcntl.h: Likewise.
40434         * io/ftw.h: Likewise.
40435         * io/sys/poll.h: Likewise.
40436         * io/sys/stat.h: Likewise.
40437         * io/sys/statfs.h: Likewise.
40438         * io/sys/statvfs.h: Likewise.
40439         * io/utime.h: Likewise.
40440         * libio/bits/stdio.h: Likewise.
40441         * libio/bits/stdio2.h: Likewise.
40442         * libio/libio.h: Likewise.
40443         * libio/libioP.h: Likewise.
40444         * libio/stdio.h: Likewise.
40445         * locale/lc-ctype.c: Likewise.
40446         * locale/locale.h: Likewise.
40447         * login/utmp.h: Likewise.
40448         * malloc/arena.c: Likewise.
40449         * malloc/malloc.c: Likewise.
40450         * malloc/malloc.h: Likewise.
40451         * malloc/mcheck.c: Likewise.
40452         * malloc/mtrace.c: Likewise.
40453         * math/bits/mathcalls.h: Likewise.
40454         * math/fenv.h: Likewise.
40455         * math/math_private.h: Likewise.
40456         * misc/bits/error.h: Likewise.
40457         * misc/bits/syslog.h: Likewise.
40458         * misc/err.h: Likewise.
40459         * misc/error.h: Likewise.
40460         * misc/fstab.h: Likewise.
40461         * misc/mntent.h: Likewise.
40462         * misc/regexp.h: Likewise.
40463         * misc/search.h: Likewise.
40464         * misc/sgtty.h: Likewise.
40465         * misc/sys/mman.h: Likewise.
40466         * misc/sys/syslog.h: Likewise.
40467         * misc/sys/uio.h: Likewise.
40468         * misc/sys/xattr.h: Likewise.
40469         * misc/ttyent.h: Likewise.
40470         * nis/rpcsvc/ypclnt.h: Likewise.
40471         * nss/nss.h: Likewise.
40472         * posix/bits/unistd.h: Likewise.
40473         * posix/fnmatch.h: Likewise.
40474         * posix/glob.h: Likewise.
40475         * posix/sched.h: Likewise.
40476         * posix/spawn.h: Likewise.
40477         * posix/sys/wait.h: Likewise.
40478         * posix/unistd.h: Likewise.
40479         * posix/wordexp.h: Likewise.
40480         * pwd/pwd.h: Likewise.
40481         * resolv/netdb.h: Likewise.
40482         * resource/sys/resource.h: Likewise.
40483         * rt/aio.h: Likewise.
40484         * rt/bits/mqueue2.h: Likewise.
40485         * rt/mqueue.h: Likewise.
40486         * shadow/shadow.h: Likewise.
40487         * signal/signal.h: Likewise.
40488         * socket/send.c: Likewise.
40489         * socket/sendto.c: Likewise.
40490         * socket/sys/socket.h: Likewise.
40491         * stdio-common/printf.h: Likewise.
40492         * stdlib/bits/stdlib.h: Likewise.
40493         * stdlib/fmtmsg.h: Likewise.
40494         * stdlib/monetary.h: Likewise.
40495         * stdlib/stdlib.h: Likewise.
40496         * stdlib/ucontext.h: Likewise.
40497         * streams/stropts.h: Likewise.
40498         * string/argz.h: Likewise.
40499         * string/bits/string2.h: Likewise.
40500         * string/string.h: Likewise.
40501         * string/strings.h: Likewise.
40502         * sunrpc/rpc/auth.h: Likewise.
40503         * sunrpc/rpc/auth_des.h: Likewise.
40504         * sunrpc/rpc/clnt.h: Likewise.
40505         * sunrpc/rpc/netdb.h: Likewise.
40506         * sunrpc/rpc/pmap_clnt.h: Likewise.
40507         * sunrpc/rpc/xdr.h: Likewise.
40508         * sysdeps/generic/inttypes.h: Likewise.
40509         * sysdeps/generic/net/if.h: Likewise.
40510         * sysdeps/generic/sys/swap.h: Likewise.
40511         * sysdeps/gnu/net/if.h: Likewise.
40512         * sysdeps/gnu/utmpx.h: Likewise.
40513         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40514         * sysdeps/i386/i486/bits/string.h: Likewise.
40515         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40516         * sysdeps/s390/bits/string.h: Likewise.
40517         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40518         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40519         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40520         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40521         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40522         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40523         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40524         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40525         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40526         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40527         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40528         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40529         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40530         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40531         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40532         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40533         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40534         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40535         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40536         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40537         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40538         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40539         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40540         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40541         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40542         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40543         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40544         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40545         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40546         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40547         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40548         * sysvipc/sys/ipc.h: Likewise.
40549         * sysvipc/sys/msg.h: Likewise.
40550         * sysvipc/sys/sem.h: Likewise.
40551         * sysvipc/sys/shm.h: Likewise.
40552         * termios/termios.h: Likewise.
40553         * time/sys/time.h: Likewise.
40554         * time/time.h: Likewise.
40555         * wcsmbs/bits/wchar2.h: Likewise.
40556         * wcsmbs/uchar.h: Likewise.
40557         * wcsmbs/wchar.h: Likewise.
40558         * wctype/wctype.h: Likewise.
40559
40560         [BZ #13551]
40561         * Makeconfig: Remove all but ELF support including AIX support.
40562         * Makerules: Likewise.
40563         * config.h.in: Likewise.
40564         * config.make.in: Likewise.
40565         * configure: Likewise.
40566         * configure.in: Likewise.
40567         * csu/Makefile: Likewise.
40568         * csu/version.c: Likewise.
40569         * debug/Makefile: Likewise.
40570         * dlfcn/Makefile: Likewise.
40571         * elf/Makefile: Likewise.
40572         * extra-lib.mk: Likewise.
40573         * iconv/Makefile: Likewise.
40574         * include/libc-symbols.h: Likewise.
40575         * include/shlib-compat.h: Likewise.
40576         * resolv/Makefile: Likewise.
40577         * resolv/res_libc.c: Likewise.
40578         * rt/Makefile: Likewise.
40579         * sysdeps/i386/asm-syntax.h: Likewise.
40580         * sysdeps/i386/sysdep.h: Likewise.
40581         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40582         * sysdeps/mach/sysdep.h: Likewise.
40583         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40584         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40585         * sysdeps/s390/asm-syntax.h: Likewise.
40586         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40587         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40588         * sysdeps/sh/sysdep.h: Likewise.
40589         * sysdeps/unix/sparc/sysdep.h: Likewise.
40590         * sysdeps/wordsize-32/divdi3.c: Likewise.
40591         * sysdeps/x86_64/sysdep.h: Likewise.
40592
40593         * argp/Versions: Remove _argp_unlock_xxx.
40594
40595         [BZ #13559]
40596         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40597         * abilist/libBrokenLocale.abilist: Likewise.
40598         * abilist/libanl.abilist: Likewise.
40599         * abilist/libc.abilist: Likewise.
40600         * abilist/libcrypt.abilist: Likewise.
40601         * abilist/libdl.abilist: Likewise.
40602         * abilist/libm.abilist: Likewise.
40603         * abilist/libnsl.abilist: Likewise.
40604         * abilist/libpthread.abilist: Likewise.
40605         * abilist/libresolv.abilist: Likewise.
40606         * abilist/librt.abilist: Likewise.
40607         * abilist/libthread_db.abilist: Likewise.
40608         * abilist/libutil.abilist: Likewise.
40609         * abilist/libnss_db.abilist: New file.
40610
40611         * scripts/abilist.awk: Add support for indirect functions.
40612
40613         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40614
40615         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40616
40617         * shlib-versions: Remove entries for ports architectures.
40618
40619         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40620         files in ports.
40621         * elf/stackguard-macros.h: Remove support for IA-64.
40622         * elf/tst-auditmod1.c: Likewise.
40623         * sysdeps/generic/ldsodefs.h: Likewise.
40624
40625         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40626         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40627         configure files.
40628
40629         [BZ #13552]
40630         * configure.in: Remove --enable-omitfp support.
40631         * FAQ.in: Adjust.
40632         * config.make.in: Likewise.
40633         * Makeconfig: Likewise.
40634         * manual/install.texi: Likewise.
40635
40636         In case anyone cares, the IA-64 architecture could move to ports.
40637         * sysdeps/ia64/*: Removed.
40638         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40639         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40640
40641         [BZ #13555]
40642         * configure.in: Remove entries for unsupported architectures.
40643
40644         [BZ #13533]
40645         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40646         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40647         routines.
40648         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40649         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40650         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40651         fall back to using wcrtomb.
40652         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40653         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40654         renaming.
40655         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40656         * wcsmbs/tst-c16c32-1.c: New file.
40657
40658         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40659         local variable.
40660
40661         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40662
40663         * elf/tst-unique3.cc: Add explicit declaration of gets.
40664         * elf/tst-unique3lib.cc: Likewise.
40665         * elf/tst-unique3lib2.cc: Likewise.
40666         * elf/tst-unique4.cc: Likewise.
40667
40668         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40669
40670 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40671
40672         [BZ #13566]
40673         * assert/assert.h (static_assert): Don't define for C++.
40674         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40675         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40676
40677 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40678
40679         * iconv/loop.c (single loop): Fix assertion in storing of
40680         remaining bytes.
40681
40682         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40683
40684 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40685
40686         * posix/getconf.c: Update copyright year.
40687         * nss/getent.c: Likewise.
40688         * nss/makedb.c: Likewise.
40689         * iconv/iconvconfig.c: Likewise.
40690         * iconv/iconv_prog.c: Likewise.
40691         * elf/ldconfig.c: Likewise.
40692         * elf/pldd.c: Likewise.
40693         * elf/sotruss.ksh: Likewise.
40694         * catgets/gencat.c: Likewise.
40695         * csu/version.c: Likewise.
40696         * elf/ldd.bash.in: Likewise.
40697         * elf/sprof.c (print_version): Likewise.
40698         * locale/programs/locale.c: Likewise.
40699         * locale/programs/localedef.c: Likewise.
40700         * login/programs/pt_chown.c: Likewise.
40701         * nscd/nscd.c (print_version): Likewise.
40702         * debug/xtrace.sh: Likewise.
40703         * malloc/memusage.sh: Likewise.
40704         * malloc/mtrace.pl: Likewise.
40705         * debug/catchsegv.sh: Likewise.
40706
40707 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40708
40709         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40710         pure attribute.
40711
40712 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40713
40714         [BZ #13533]
40715         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40716         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40717         transformations.
40718         * iconv/gconv_int.h: Likewise.
40719         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40720         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40721         from libc for GLIBC_2.16.
40722         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40723         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40724         * wcsmbs/uchar.h: Really define mbstate_t.
40725         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40726         * wcsmbs/c16rtomb.c: New file.
40727         * wcsmbs/mbrtoc16.c: New file.
40728         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40729         for C/POSIX locale.
40730         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40731         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40732
40733         * wcsmbs/wchar.h: Add missing __restrict.
40734
40735 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40736
40737         [BZ #13532]
40738         * time/Makefile (routines): Add timespec_get.
40739         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40740         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40741         timespec for ISO C11.
40742         * time/timespec_get.c: New file.
40743         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40744         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40745
40746         [BZ #13531]
40747         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40748         * stdlib/stdlib.h: Declare aligned_alloc.
40749         * Versions.def: Add GLIBC_2.16 for libc.
40750         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40751
40752         [BZ 13527]
40753         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40754         ISO C11.
40755
40756         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40757         code.
40758
40759         [BZ #13528]
40760         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40761
40762         [BZ #13529]
40763         * assert/assert.h (static_assert): Define.
40764
40765         * version.h: Update for 2.16 development version.
40766
40767         [BZ #13526]
40768         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40769         _ISOC11_SOURCE.
40770
40771         * version.h (RELEASE): Bump for 2.15 release.
40772         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40773
40774         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40775         Patch by Marek Polacek <mpolacek@redhat.com>.
40776
40777         * bits/byteswap.h: Protect long long constants with __extension__.
40778         * sysdeps/i386/bits/byteswap.h: Likewise.
40779         * sysdeps/ia64/bits/byteswap.h: Likewise.
40780         * sysdeps/s390/bits/byteswap.h: Likewise.
40781         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40782
40783 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40784
40785         [BZ #13540]
40786         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40787         destination buffer.
40788         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40789
40790 2011-12-23  Marek Polacek  <polacek@redhat.com>
40791
40792         * elf/dl-addr.c (determine_info): Add inline keyword.
40793         * elf/tst-auditmod4b.c (check_avx): Likewise.
40794         * elf/tst-auditmod6b.c (check_avx): Likewise.
40795         * elf/tst-auditmod6c.c (check_avx): Likewise.
40796         * elf/tst-auditmod7b.c (check_avx): Likewise.
40797
40798 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40799
40800         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40801         !__SSE_MATH__.
40802
40803 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40804
40805         [BZ #13540]
40806         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40807         processing for last bytes.
40808
40809 2011-08-06  Bruno Haible  <bruno@clisp.org>
40810
40811         [BZ #13061]
40812         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40813         U+0385, not to U+1FEE.
40814
40815         [BZ #13062]
40816         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40817         entry for U+00A5 U+0301.
40818
40819 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40820
40821         [BZ #13166]
40822         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40823         buffer for the output is too small.
40824
40825         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40826         optimization.
40827
40828         [BZ #13185]
40829         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40830         SSE flags if possible.
40831
40832 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40833
40834         [BZ #13540]
40835         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40836         processing for last bytes.
40837
40838 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40839
40840         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40841         (syscall-list-default-options, syscall-list-default-condition)
40842         (syscall-list-includes): Define.
40843         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40844         list of ABIs and options and #if conditions for each ABI.  Do not
40845         handle common syscalls between ABIs specially.
40846         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40847         Remove.
40848         (syscall-list-variants, syscall-list-32bit-options)
40849         (syscall-list-32bit-condition, syscall-list-64bit-options)
40850         (syscall-list-64bit-condition): Define.
40851         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40852         (syscall-list-variants, syscall-list-32bit-options)
40853         (syscall-list-32bit-condition, syscall-list-64bit-options)
40854         (syscall-list-64bit-condition): Define.
40855         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40856         Remove.
40857         (syscall-list-variants, syscall-list-32bit-options)
40858         (syscall-list-32bit-condition, syscall-list-64bit-options)
40859         (syscall-list-64bit-condition): Define.
40860         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40861         Remove.
40862         (syscall-list-variants, syscall-list-32bit-options)
40863         (syscall-list-32bit-condition, syscall-list-64bit-options)
40864         (syscall-list-64bit-condition): Define.
40865
40866 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40867
40868         * locale/iso-639.def: Add brx entry.
40869
40870         [BZ #13328]
40871         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40872         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40873
40874         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40875         __feraiseexcept_renamed.
40876
40877 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40878
40879         [BZ #13538]
40880         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40881         EPOLLET with unsigned values.
40882         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40883         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40884
40885         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40886         to large cancellation.
40887         * math/s_cacoshf.c: Likewise.
40888         * math/s_cacoshl.c: Likewise.
40889
40890 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40891
40892         [BZ #13305]
40893         [BZ #12786]
40894         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40895         * math/s_cacoshf.c: Likewise.
40896         * math/s_cacoshl.c: Likewise.
40897
40898 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40899
40900         [BZ #13439]
40901         * iconv/gconv.h: Define __GCONV_SWAP.
40902         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40903         * iconvdata/utf-16.c: Likewise.
40904         * iconvdata/utf-32.c: Likewise.
40905
40906 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40907
40908         [BZ #13524]
40909         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40910         numerator after shifting it by one limb.
40911
40912 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40913
40914         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40915         under [__USE_EXTERN_INLINES].
40916
40917 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40918
40919         [BZ #13446]
40920         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40921
40922 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40923
40924         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40925         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40926         optimized code.
40927         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40928         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40929         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40930         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40931         for strncasecmp/strncasecmp_l compilation.
40932         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40933         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40934
40935 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40936
40937         [BZ #13484]
40938         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40939         of __asm__.
40940
40941 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40942
40943         [BZ #13506]
40944         * time/tzfile.c (__tzfile_read): Check values from file header.
40945
40946 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40947
40948         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40949         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40950         * powerpc/powerpc32/dl-start.S: Likewise.
40951         * powerpc/powerpc32/elf/start.S: Likewise.
40952         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40953         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40954         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40955         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40956         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40957         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40958         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40959         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40960         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40961         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40962         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40963         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40964         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40965         * powerpc/powerpc32/memset.S: Likewise.
40966         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40967         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40968         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40969         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40970         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40971         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40972         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40973         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40974         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40975         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40976         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40977         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40978         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40979
40980 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40981
40982         * math/libm-test.inc: Added more nearbyint tests.
40983         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40984         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40985         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40986         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40987
40988 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40989
40990         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40991         FD_CLOEXEC.
40992
40993 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40994
40995         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40996         Add wcscpy-ssse3 wcscpy-c.
40997         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40998         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40999         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41000         * sysdeps/x86_64/wcschr.S: New file.
41001         * sysdeps/x86_64/wcsrchr.S: New file.
41002         * string/test-strcmp.c: Remove checking of wcscmp function for
41003         wrong alignments.
41004         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41005         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41006         wcsrchr-sse2 wcsrchr-c.
41007         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41008         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41009         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41010         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41011         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41012         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41013         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41014         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41015         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41016         * wcsmbc/wcschr.c (WCSCHR): New macro.
41017
41018 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41019
41020         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41021         * wcsmbs/test-wcsrchr.c: New file.
41022         * string/test-strrchr.c: Add wcsrchr support.
41023         (WIDE): New macro.
41024         * wcsmbs/test-wcscpy.c: New file.
41025         * string/test-strcpy.c: Add wcscpy support.
41026         (WIDE): New macro.
41027
41028 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41029
41030         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41031         the inner loop.
41032
41033 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41034
41035         [BZ #13472]
41036         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41037
41038 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41039
41040         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41041         Minor optimizations.
41042
41043         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41044         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41045         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41046
41047 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41048
41049         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41050         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41051         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41052         for gcc to avoid warnings.
41053         * inet/Makefile (tests): Add tst-checks.
41054         * inet/tst-checks.c: New file.
41055
41056         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41057         warning.
41058
41059         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41060         __wmemcmp_sse2.
41061
41062         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41063         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41064
41065         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41066
41067 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41068
41069         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41070         problem.
41071
41072         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41073
41074 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41075
41076         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41077         conditional on GCC version.
41078         (__arch_compare_and_exchange_val_8_acq)
41079         (__arch_compare_and_exchange_val_16_acq)
41080         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41081         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41082         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41083
41084 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41085
41086         * sysdeps/sh/backtrace.c: New file.
41087
41088 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41089
41090         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41091         parenthesis.
41092
41093 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41094
41095         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41096         falling back to utime.
41097
41098 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41099
41100         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41101         expectations for float.
41102
41103 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41104
41105         * locale/weight.h (findidx): Add parameter len.
41106         * locale/weightwc.h (findidx): Likewise.
41107         * posix/fnmatch_loop.c (FCT): Adjust caller.
41108         * posix/regcomp.c (build_equiv_class): Likewise.
41109         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41110         * posix/regexec.c (check_node_accept_bytes): Likewise.
41111         * string/strcoll_l.c (STRCOLL): Likewise.
41112         * string/strxfrm_l.c (STRXFRM): Likewise.
41113
41114 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41115
41116         * Makefile.in: Remove CVSOPT handling.
41117         * configure.in: Remove use of AC_REVISION.
41118         * iconvdata/Makefile (distribute): No need to filter out CVS.
41119         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41120         handling.
41121
41122 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41123
41124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41125         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41126         [USE_AS_STRNCASECMP_L]: Likewise.
41127         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41128         NO_TLS_DIRECT_SEG_REFS.
41129         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41130         Fix argument offsets for non-PIC.
41131         [USE_AS_STRNCASECMP_L]: Likewise.
41132         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41133         NO_TLS_DIRECT_SEG_REFS.
41134
41135 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41136
41137         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41138         O_CLOEXEC.
41139         * locale/loadlocale.c (_nl_load_locale): Likewise.
41140
41141 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41142
41143         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41144         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41145         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41146         (SYSCALL_GETTIME): Set errno on error.
41147
41148         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41149         count references to noai6ai_cached.
41150
41151 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41152
41153         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41154
41155         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41156         FD_CLOEXEC for /proc/self/maps.
41157
41158         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41159         FD_CLOEXEC for /proc/meminfo.
41160
41161         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41162         gai.conf.
41163
41164         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41165         FD_CLOEXEC for given file.
41166
41167         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41168
41169         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41170         FD_CLOEXEC for /etc/hosts.
41171         (_gethtent): Likewise.
41172
41173         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41174
41175         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41176         cancellation and set FD_CLOEXEC for /etc/netgroup.
41177
41178         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41179         reading /etc/publickey.
41180
41181         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41182         allow cancellation when reading /etc/group.
41183
41184         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41185         cancellation.
41186         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41187
41188         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41189         when using data file.
41190
41191         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41192
41193         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41194         (write_nis_obj): Use "c" and "e" in fopen.
41195
41196         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41197
41198         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41199
41200         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41201
41202         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41203
41204         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41205         locale.alias.
41206
41207         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41208
41209         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41210
41211         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41212
41213         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41214         file parsing and set FD_CLOEXEC.
41215
41216 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41217
41218         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41219
41220 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41221
41222         * malloc/arena.c (arena_get2): Don't call reused_arena when
41223         _int_new_arena failed.
41224
41225 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41226
41227         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41228         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41229         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41230         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41231         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41232         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41233         to compile strcasecmp and strncasecmp.
41234         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41235         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41236
41237         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41238
41239 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41240
41241         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41242         locale-defines.sym to gen-as-const-headers.
41243         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41244         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41246         to compile strcasecmp and strncasecmp.
41247         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41248         strcasecmp_l and strncasecmp_l.
41249         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41250         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41251         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41252         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41253         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41254         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41255         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41256         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41257         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41258         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41259         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41260
41261 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41262
41263         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41264         result of SYSDEP_GETTIME_CPU to retval.
41265         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41266         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41267
41268         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41269         variable.
41270
41271         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41272         mantissa words.
41273         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41274
41275         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41276         from unused variable.
41277
41278         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41279         DWARF definitions.
41280         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41281         for assembling.
41282
41283         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41284         over namespaces.
41285
41286         * sunrpc/rpc_prot.c (rejected): Fix case value.
41287
41288         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41289         unsigned long long int to avoid warnings in shift.
41290
41291         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41292         of use of trans.
41293         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41294         variable tmp.
41295
41296         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41297         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41298         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41299
41300         * nis/nis_table.c (nis_list): Use variable of correct type for
41301         result of __follow_path call.
41302
41303 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41304
41305         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41306         of math functions ceil, trunc, floor, round, and sqrt, when
41307         avaliable on the platform.
41308         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41309         name clash.
41310         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41311         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41312         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41313
41314 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41315
41316         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41317         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41318
41319 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41320
41321         * include/unistd.h: Fix __readlink return type.
41322         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41323
41324 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41325
41326         * stdlib/ucontext.h: Undo last change for makecontext.
41327
41328 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41329
41330         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41331
41332         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41333         * setjmp/setjmp.h: Mark functions as non-leaf.
41334         * setjmp/bits/setjmp2.h: Likewise.
41335         * stdlib/ucontext.h: Likewise.
41336
41337 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41338
41339         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41340         (reused_arena): Don't check arena limit.
41341         (arena_get2): Atomically check arena limit.
41342
41343 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41344
41345         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41346         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41347
41348         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41349         instructions.
41350
41351 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41352
41353         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41354         handler when locking.
41355
41356         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41357         Fix size of allocated buffer.
41358
41359 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41360
41361         [BZ #10103]
41362         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41363         declarations for long double functions.
41364         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41365
41366         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41367
41368 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41369
41370         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41371         installed.
41372
41373         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41374         is disabled.
41375
41376 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41377
41378         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41379
41380 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41381
41382         * include/alloca.h (stackinfo_alloca_round): Define.
41383         (extend_alloca): Use it.
41384         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41385         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41386         here.
41387
41388         * scripts/check-local-headers.sh: Ignore libaudit.h.
41389
41390         * nscd/Makefile (extra-objs): Make recursively expanded.
41391
41392 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41393
41394         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41395         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41396
41397         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41398         * posix/tst-rfc3484-2.c: Likewise.
41399         * posix/tst-rfc3484-3.c: Likewise.
41400
41401         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41402         process_vm_writev.
41403         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41404         process_vm_writev.
41405         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41406         process_vm_writev from libc using GLIBC_2.15 version.
41407
41408         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41409
41410 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41411
41412         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41413         stack usage.
41414
41415 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41416
41417         [BZ #13367]
41418         * nss/getent.c (initgroups_keys): Show error message in case no group
41419         names are given.
41420
41421         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41422         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41423         __bump_nl_timestamp.
41424         * nscd/connections (nscd_init): When host database is served open
41425         netlink socket and request notification about configuration changes.
41426         (main_loop_poll): Track netlink file descriptor and bump timestamp
41427         in case data becomes available.
41428         (main_loop_epoll): Likewise.
41429         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41430         (database_pers_head): Add extra_data fileds.
41431         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41432         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41433         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41434         Adjust caller.
41435         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41436         in6ai data, call __free_in6ai.
41437         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41438         Add -DHAVE_NETLINK.
41439         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41440         interface information.  Reuse previous data if netlink timestamp
41441         is not changed.
41442         (__bump_nl_timestamp): New function.
41443         (__free_in6ai): New function.
41444
41445 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41446
41447         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41448         close_not_cancel_no_status here.
41449         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41450
41451 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41452
41453         [BZ #13276]
41454         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41455         return value.
41456
41457         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41458         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41459         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41460
41461 2011-07-03  Andreas Jaeger  <aj@suse.de>
41462
41463         [BZ #10709]
41464         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41465         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41466         * math/libm-test.inc (sin_test): Add test case.
41467
41468 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41469
41470         [BZ #13337]
41471         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41472         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41473
41474         * elf/chroot_canon.c (chroot_canon): Cleanups.
41475
41476         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41477
41478         [BZ #13335]
41479         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41480         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41481
41482         * string/test-strchr.c: Make usable for strchrnul testing.
41483         * string/test-strchrnul.c: New file.
41484         * string/Makefile (strop-tests): Add strchrnul.
41485
41486         * po/it.po: Update from translation team.
41487         * po/es.po: Likewise.
41488
41489 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41490
41491         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41492         the three constants needed as parameters.  Drop the others.
41493         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41494         __m128i_strloadu_tolower.
41495         Create and initialize variable zero and use it in all the places
41496         where _mm_setzero_si128 was used.
41497
41498         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41499         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41500         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41501         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41502         anymore.
41503         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41504         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41505         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41506         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41507         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41508         __mpranred, __mptan.
41509         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41510         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41511         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41512         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41513         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41514         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41515         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41516         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41517         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41518
41519 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41520
41521         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41522         redefine if SHARED.
41523         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41524
41525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41526         wide char related routines to wcsmbs subdir.
41527
41528 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41529
41530         [BZ #13344]
41531         * misc/sys/cdefs.h (__THROWNL): Define.
41532         * posix/unistd.h: Use __THREADNL instead of __THREAD
41533         for memory synchronization functions.
41534
41535 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41536
41537         [BZ #13349]
41538         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41539         doesn't exist.
41540         * manual/stdio.texi (Obstack Streams): Node removed.
41541
41542 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41543
41544         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41545         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41546         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41547
41548         * math/math_private.h (math_force_eval): Allow non-addressable
41549         arguments.
41550         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41551
41552 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41553
41554         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41555         file is not needed.
41556
41557         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41558         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41559         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41560         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41561         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41562         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41563         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41564         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41565         Add AVX variants.
41566         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41567         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41568         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41569         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41570         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41571         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41572         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41573         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41574         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41575         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41576         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41577         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41578         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41579         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41580         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41581         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41582         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41583         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41584         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41585
41586         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41587         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41588
41589         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41590         place.  Use VEX encoding when compiling for AVX.
41591
41592 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41593
41594         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41595         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41596
41597         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41598
41599 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41600
41601         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41602         useless if() expression.
41603         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41604         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41605         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41606         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41607         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41608         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41609         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41610         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41611         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41612         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41613         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41614         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41615         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41616         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41617         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41618         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41619         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41620         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41621         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41622
41623         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41624
41625 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41626
41627         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41628         condition.
41629         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41630
41631 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41632
41633         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41634         .text section.  Avoid duplicate constants.
41635         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41637         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41639         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41643         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41644         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41645         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41646         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41647         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41648         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41649         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41650         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41651         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41652         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41653         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41654         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41655         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41656         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41657         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41658         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41659         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41660         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41661         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41662         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41663         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41664         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41665         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41666         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41667         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41668         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41669         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41670         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41671         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41672         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41673         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41674         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41675         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41676         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41677         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41678         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41679         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41680
41681 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41682
41683         * sysdeps/x86_64/dla.h: Move to ...
41684         * sysdeps/x86_64/fpu/dla.h: ...here.
41685         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41686         situations.  Use __builtin_fma only for gcc 4.6 and up.
41687
41688         * config.make.in: Add have-mfma4 entry.
41689         * configure.in: Substitute libc_cv_cc_fma4.
41690         * math/Makefile (dbl-only-routines): Add sincostab.
41691         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41692         Use __sincostab not sincos.
41693         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41694         name is a macro.
41695         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41696         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41697         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41699         using __copysign.
41700         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41701         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41702         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41703         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41704         and __inv.
41705         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41706         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41707         __copysign.
41708         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41709         define aliases when function name is a macro.
41710         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41711         sysdeps/ieee754/dbl-64/sincos.tbl.
41712         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41713         fma4-enabled routines.
41714         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41715         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41716         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41717         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41718         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41719         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41721         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41722         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41723         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41724         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41725         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41726         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41727         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41728         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41729         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41730         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41731         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41732         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41733         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41734         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41735         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41736         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41737         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41738         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41739         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41740         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41741         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41742         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41743         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41744
41745         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41746         rename.
41747         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41748         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41749         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41752         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41753         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41755
41756 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41757
41758         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41759
41760 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41761
41762         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41763
41764         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41765         prediction.
41766         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41767
41768         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41769         Remove unused variable magic_bits.
41770         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41771
41772         * string/strnlen.c: Define and use STRNLEN macro.
41773         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41774         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41775         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41776         * wcsmbs/wcslen.c: Define and use WCSLEN.
41777         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41778         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41779         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41780         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41781         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41782         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41783         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41784
41785 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41786
41787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41788         strnlen-sse2-no-bsf.
41789         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41790         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41791         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41792         Add strnlen support.
41793         (USE_AS_STRNLEN): New macro.
41794         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41795         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41796         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41797         * sysdeps/x86_64/wcslen.S: New file.
41798
41799 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41800
41801         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41802         XMM-moves are used for copying on small sizes.
41803
41804 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41805
41806         * wcsmbs/Makefile (strop-tests): Add wcschr.
41807         * wcsmbs/test-wcschr.c: New file.
41808         * string/test-strchr.c: Update.
41809         Add wcschr support.
41810         (WIDE): New macro.
41811
41812 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41813
41814         * wcsmbs/Makefile (strop-tests): Add wcslen.
41815         * wcsmbs/test-wcslen.c: New file.
41816         * string/test-strlen.c: Update.
41817         Add wcslen support.
41818         (WIDE): New macro.
41819
41820 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41821
41822         * po/it.po: Update from translation team.
41823
41824 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41825
41826         * sysdeps/x86_64/wcscmp.S: Update.
41827         Fix wrong comparison semantics.
41828         wcscmp shall use signed comparison not unsigned.
41829         Don't use substraction to avoid overflow bug.
41830         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41831         * wcsmbc/wcscmp.c: Likewise.
41832         * string/test-strcmp.c: Likewise.
41833         Add new tests to check cases with negative values.
41834
41835 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41836
41837         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41838         * sysdeps/x86_64/dla.h: ...here.  New file.
41839         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41840         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41841         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41842         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41843         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41844         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41845         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41846         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41848
41849 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41850
41851         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41852         __ynl_finite aliases.
41853
41854 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41855
41856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41857
41858         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41859         define DLA_FMA.
41860         [DLA_FMA] (EMULV): Use DLA_FMA.
41861         [DLA_FMA] (MUL12): Use EMULV.
41862         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41863         that are not needed.
41864         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41866         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41868         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41869         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41870         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41871
41872 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41873
41874         * math/s_nan.c: Undef __nan.
41875         * math/s_nanf.c: Undef __nanf.
41876         * math/s_nanl.c: Undef __nanl.
41877         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41878         "math_private.h".
41879
41880 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41881
41882         * math/s_catan.c: Add branch predictions.
41883         * math/s_catanf.c: Likewise.
41884         * math/s_catanh.c: Likewise.
41885         * math/s_catanhf.c: Likewise.
41886         * math/s_catanhl.c: Likewise.
41887         * math/s_catanl.c: Likewise.
41888         * math/s_cexp.c: Likewise.
41889         * math/s_cexpf.c: Likewise.
41890         * math/s_cexpl.c: Likewise.
41891         * math/s_clog.c: Likewise.
41892         * math/s_clog10.c: Likewise.
41893         * math/s_clog10f.c: Likewise.
41894         * math/s_clog10l.c: Likewise.
41895         * math/s_clogf.c: Likewise.
41896         * math/s_clogl.c: Likewise.
41897         * math/s_csqrt.c: Likewise.
41898         * math/s_csqrtf.c: Likewise.
41899         * math/s_csqrtl.c: Likewise.
41900         * math/s_ctanf.c: Likewise.
41901         * math/s_ctanh.c: Likewise.
41902         * math/s_ctanhf.c: Likewise.
41903         * math/s_ctanhl.c: Likewise.
41904         * math/s_ctanl.c: Likewise.
41905
41906         * math/math_private.h: Define __nan, __nanf, __nanl.
41907         * math/s_cacosh.c: Include <math_private.h>.
41908         * math/s_cacoshl.c: Likewise.
41909         * math/s_casinh.c: Likewise.
41910         * math/s_casinhf.c: Likewise.
41911         * math/s_casinhl.c: Likewise.
41912         * math/s_ccos.c: Rely entire on ccosh.
41913         * math/s_ccosf.c: Rely entire on ccoshf.
41914         * math/s_ccosl.c: Rely entirely on ccoshl.
41915         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41916         Remove tests for FE_INVALID.
41917         * math/s_ccoshf.c: Likewise.
41918         * math/s_ccoshl.c: Likewise.
41919         * math/s_csin.c: Likewise.
41920         * math/s_csinf.c: Likewise.
41921         * math/s_csinh.c Likewise.
41922         * math/s_csinhf.c: Likewise.
41923         * math/s_csinhl.c: Likewise.
41924         * math/s_csinl.c: Likewise.
41925         * math/s_ctan.c: Likewise.
41926         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41927         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41928         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41929
41930 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41931
41932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41933         compilation problems.
41934
41935         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41936         __builtin_expect.
41937
41938 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41939
41940         * sysdeps/i386/configure.in: Test for -mfma4 option.
41941         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41942         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41943         COMMON_CPUID_INDEX_80000001.
41944         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41945         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41946         use it if FMA3 is not supported.
41947         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41948
41949         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41950         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41951
41952 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41953
41954         [BZ #12892]
41955         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41956         it would create a cycle with a link time dependency.
41957
41958 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41959
41960         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41961         instruction.
41962         * string/Makefile (strop-tests): Add rawmemchr.
41963         * string/test-rawmemchr.c: New file.
41964
41965         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41966         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41967         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41968         when compiling str{,n}casecmp and when AVX is available.  Hook up
41969         new optimized code in initializers.
41970
41971 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41972
41973         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41974         __feraiseexcept instead of feraiseexcept.
41975
41976 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41977
41978         * math/math_private.h: Define defaults for libc_fetestexcept and
41979         libc_feupdateenv.
41980         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41981         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41982         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41983         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41984         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41985         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41986         libc_fetestexcept and libc_feupdateenv.
41987
41988         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41989         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41990         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41991         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41992         libc_feholdexcept_setround.
41993
41994         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41995         Add s_nearbyint-c and s_nearbyintf-c.
41996         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41997         nearbyintf inlines.
41998         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41999         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42000         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42001         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42002
42003         * math/math_private.h: Define defaults for libc_fegetround,
42004         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42005         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42006         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42007         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42008         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42009         standard functions.
42010         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42011         Remove comments and hacks for old compiler versions.
42012         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42013         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42014         libc_feholdexceptl.
42015
42016 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42017
42018         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42019         (__feraiseexcept_renamed): Add __NTH.
42020         (feraiseexcept): Add __NTH.  Rename local variables to fix
42021         namespace violations.
42022
42023 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42024
42025         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42026
42027         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42028
42029         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42030         recently added interfaces.
42031         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42032
42033         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42034         about macro parameter expansion.
42035
42036         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42037         __NO_MATH_INLINES is defined.  Cleanups.
42038
42039         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42040         and __floorf is target has SSE4.1.
42041         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42042         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42043         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42044         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42045
42046         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42047         name.
42048         (floorf): Likewise.
42049
42050         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42051
42052 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42053
42054         * misc/sys/cdefs.h: Fix last change.
42055
42056         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42057         database lookup.
42058
42059 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42060
42061         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42062
42063         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42064         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42065         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42066         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42067         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42068         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42069         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42070         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42071         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42072         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42073         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42074         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42075         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42076         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42077         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42078         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42079         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42080         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42081         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42082         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42083         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42084         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42085
42086         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42087         ceil, ceilf, floor, floorf.
42088
42089         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42090         Perform IRELATIVE relocations last.
42091
42092         * elf/do-rel.h: Add another parameter nrelative, replacing the
42093         local variable with the same name.  Change name of the function
42094         to end in Rel or Rela (uppercase).
42095         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42096         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42097         elf_dynamic_do_##reloc function.
42098
42099 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42100
42101         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42102         is sufficient, at least on modern CPUs.
42103
42104         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42105
42106         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42107         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42108
42109         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42110         __expl_finite.
42111         * math/bits/math-finite.h: Add entries for exp.
42112         * math/e_expl.c: Add __*_finite alias.
42113         * sysdeps/i386/fpu/e_exp.S: Likewise.
42114         * sysdeps/i386/fpu/e_expf.S: Likewise.
42115         * sysdeps/i386/fpu/e_expl.c: Likewise.
42116         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42117         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42118         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42119         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42120         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42121         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42122         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42123
42124         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42125         is sufficient, at least on modern CPUs.
42126
42127         * ctype/ctype-info.c (__ctype_init): Define.
42128         * include/ctype.h (__ctype_init): Declare.
42129         (__ctype_b_loc): The variable is always initialized.
42130         (__ctype_toupper_loc): Likewise.
42131         (__ctype_tolower_loc): Likewise.
42132         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42133         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42134
42135 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42136
42137         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42138
42139         * configure.in: Also look in $cxxmachine/include for C++ system
42140         headers.
42141
42142 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42143
42144         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42145         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42146         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42147         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42148         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42149         (USE_AS_WMEMCMP): New macro.
42150         Fixing indents.
42151         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42152         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42153         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42154         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42156         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42157         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42158         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42159         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42160         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42161         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42162         (USE_AS_WMEMCMP): New macro.
42163         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42164         * sysdeps/string/test-memcmp.c: Update.
42165         Fix simple_wmemcmp.
42166         Add new tests.
42167         * wcsmbs/wmemcmp.c: Update.
42168         (WMEMCMP): New macro.
42169         Fix overflow bug.
42170
42171 2011-10-12  Andreas Jaeger  <aj@suse.de>
42172
42173         [BZ #13268]
42174         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42175
42176 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42177
42178         * libio/iofwide.c (do_length): Avoid warning.
42179
42180         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42181
42182 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42183
42184         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42185
42186         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42187         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42188         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42189         * sysdeps/i386/i686/fpu/e_log.S: New file.
42190         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42191         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42192
42193         * ctype/ctype.h: Add support for inlined isXXX functions when
42194         compiling C++ code.
42195
42196 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42197
42198         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42199
42200         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42201
42202 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42203
42204         [BZ #13291]
42205         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42206
42207 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42208
42209         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42210         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42211         feraiseexcept.
42212
42213         * sysdeps/x86_64/memrchr.S: Check for zero size.
42214
42215         * string/stratcliff.c: Add memrchr tests.
42216
42217 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42218
42219         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42220         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42221         rawmemchr-sse2 rawmemchr-sse2-bsf.
42222         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42223         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42224         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42225         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42226         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42227         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42228         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42229         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42230         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42231         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42232         * string/memrchr.c (MEMRCHR): New macro.
42233
42234 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42235
42236         Add integration with gcc's -ffinite-math-only and optimize wrapper
42237         functions in libm.
42238         * Versions.def: Define GLIBC_2.15 version for libm.
42239         * math/Makefile (headers): Add bits/math-finite.h.
42240         * math/bits/math-finite.h: New file.
42241         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42242         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42243         * math/e_acoshl.c: Add __*_finite alias.
42244         * math/e_acosl.c: Likewise.
42245         * math/e_asinl.c: Likewise.
42246         * math/e_atan2l.c: Likewise.
42247         * math/e_atanhl.c: Likewise.
42248         * math/e_coshl.c: Likewise.
42249         * math/e_exp10.c: Likewise.
42250         * math/e_exp10f.c: Likewise.
42251         * math/e_exp10l.c: Likewise.
42252         * math/e_exp2l.c: Likewise.
42253         * math/e_fmodl.c: Likewise.
42254         * math/e_gammal_r.c: Likewise.
42255         * math/e_hypotl.c: Likewise.
42256         * math/e_j0l.c: Likewise.
42257         * math/e_j1l.c: Likewise.
42258         * math/e_jnl.c: Likewise.
42259         * math/e_lgammal_r.c: Likewise.
42260         * math/e_log10l.c: Likewise.
42261         * math/e_log2l.c: Likewise.
42262         * math/e_logl.c: Likewise.
42263         * math/e_powl.c: Likewise.
42264         * math/e_sinhl.c: Likewise.
42265         * math/e_sqrtl.c: Likewise.
42266         * math/e_scalb.c: Completely rewritten and optimized.
42267         * math/e_scalbf.c: Likewise.
42268         * math/e_scalbl.c: Likewise.
42269         * math/w_acos.c: Likewise.
42270         * math/w_acosf.c: Likewise.
42271         * math/w_acosl.c: Likewise.
42272         * math/w_acosh.c: Likewise.
42273         * math/w_acoshf.c: Likewise.
42274         * math/w_acoshl.c: Likewise.
42275         * math/w_asin.c: Likewise.
42276         * math/w_asinf.c: Likewise.
42277         * math/w_asinl.c: Likewise.
42278         * math/w_atan2.c: Likewise.
42279         * math/w_atan2f.c: Likewise.
42280         * math/w_atan2l.c: Likewise.
42281         * math/w_atanh.c: Likewise.
42282         * math/w_atanhf.c: Likewise.
42283         * math/w_atanhl.c: Likewise.
42284         * math/w_exp10.c: Likewise.
42285         * math/w_exp10f.c: Likewise.
42286         * math/w_exp10l.c: Likewise.
42287         * math/w_fmod.c: Likewise.
42288         * math/w_fmodf.c: Likewise.
42289         * math/w_fmodl.c: Likewise.
42290         * math/w_j0.c: Likewise.
42291         * math/w_j0f.c: Likewise.
42292         * math/w_j0l.c: Likewise.
42293         * math/w_j1.c: Likewise.
42294         * math/w_j1f.c: Likewise.
42295         * math/w_j1l.c: Likewise.
42296         * math/w_jn.c: Likewise.
42297         * math/w_jnf.c: Likewise.
42298         * math/w_log.c: Likewise.
42299         * math/w_logf.c: Likewise.
42300         * math/w_logl.c: Likewise.
42301         * math/w_log10.c: Likewise.
42302         * math/w_log10f.c: Likewise.
42303         * math/w_log10l.c: Likewise.
42304         * math/w_log2.c: Likewise.
42305         * math/w_log2f.c: Likewise.
42306         * math/w_log2l.c: Likewise.
42307         * math/w_pow.c: Likewise.
42308         * math/w_powf.c: Likewise.
42309         * math/w_powl.c: Likewise.
42310         * math/w_remainder.c: Likewise.
42311         * math/w_remainderf.c: Likewise.
42312         * math/w_remainderl.c: Likewise.
42313         * math/w_scalb.c: Likewise.
42314         * math/w_scalbf.c: Likewise.
42315         * math/w_scalbl.c: Likewise.
42316         * math/w_sqrt.c: Likewise.
42317         * math/w_sqrtf.c: Likewise.
42318         * math/w_sqrtl.c: Likewise.
42319         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42320         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42321         used.
42322         * math/math_private.h: Declare __kernel_standard_f.
42323         * math/w_cosh.c: Remove cruft and optimize a bit.
42324         * math/w_coshf.c: Likewise.
42325         * math/w_coshl.c: Likewise.
42326         * math/w_exp2.c: Likewise.
42327         * math/w_exp2f.c: Likewise.
42328         * math/w_exp2l.c: Likewise.
42329         * math/w_hypot.c: Likewise.
42330         * math/w_hypotf.c: Likewise.
42331         * math/w_hypotl.c: Likewise.
42332         * math/w_lgamma.c: Likewise.
42333         * math/w_lgamma_r.c: Likewise.
42334         * math/w_lgammaf.c: Likewise.
42335         * math/w_lgammaf_r.c: Likewise.
42336         * math/w_lgammal.c: Likewise.
42337         * math/w_lgammal_r.c: Likewise.
42338         * math/w_sinh.c: Likewise.
42339         * math/w_sinhf.c: Likewise.
42340         * math/w_sinhl.c: Likewise.
42341         * math/w_tgamma.c: Likewise.
42342         * math/w_tgammaf.c: Likewise.
42343         * math/w_tgammal.c: Likewise.
42344         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42345         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42346         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42347         Minor optimizations.  Pretty printing.  Remove cruft.
42348         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42349         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42350         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42351         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42352         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42353         * sysdeps/i386/fpu/e_asin.S: Likewise.
42354         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42355         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42356         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42357         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42358         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42359         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42360         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42361         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42362         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42363         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42364         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42365         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42366         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42367         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42368         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42369         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42370         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42371         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42372         * sysdeps/i386/fpu/e_log.S: Likewise.
42373         * sysdeps/i386/fpu/e_log10.S: Likewise.
42374         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42375         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42376         * sysdeps/i386/fpu/e_log2.S: Likewise.
42377         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42378         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42379         * sysdeps/i386/fpu/e_logf.S: Likewise.
42380         * sysdeps/i386/fpu/e_logl.S: Likewise.
42381         * sysdeps/i386/fpu/e_pow.S: Likewise.
42382         * sysdeps/i386/fpu/e_powf.S: Likewise.
42383         * sysdeps/i386/fpu/e_powl.S: Likewise.
42384         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42385         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42386         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42387         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42388         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42389         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42390         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42391         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42392         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42393         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42394         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42395         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42396         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42397         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42398         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42399         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42400         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42401         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42402         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42403         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42404         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42405         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42406         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42407         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42409         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42410         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42411         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42412         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42413         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42414         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42415         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42416         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42417         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42418         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42419         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42420         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42421         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42422         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42423         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42424         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42425         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42426         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42427         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42428         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42429         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42430         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42431         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42432         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42433         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42434         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42435         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42436         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42437         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42438         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42439         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42440         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42441         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42443         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42444         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42445         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42446         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42448         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42449         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42450         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42451         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42454         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42457         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42458         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42459         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42460         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42461         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42462         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42463         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42464         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42465         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42466         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42467         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42470         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42471         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42472         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42473         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42474         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42475         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42476         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42477         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42478         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42479         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42480         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42481         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42482         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42483         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42484         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42485         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42486         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42487         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42488         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42489         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42490         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42491         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42492         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42493         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42494         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42495         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42496         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42497         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42498         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42499         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42500         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42501         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42502         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42503         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42504         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42505         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42506         (__isnanf): Likewise.
42507         (__isinf_ns): Likewise.
42508         (__isinf_nsf): Likewise.
42509         (__finite): Likewise.
42510         (__finitef): Likewise.
42511         (__ieee754_sqrt): Define as macro.
42512         (__ieee754_sqrtf): Define as macro.
42513         (__ieee754_sqrtl): Define as macro.
42514         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42515         inlined copy.
42516         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42517         __FINITE_MATH_ONLY__ consistent.
42518         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42519
42520 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42521
42522         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42523         of rawmemchr.
42524
42525         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42526
42527 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42528
42529         * po/ja.po: Update from translation team.
42530
42531 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42532
42533         * locale/programs/locarchive.c (prepare_address_space): New function.
42534         (create_archive, enlarge_archive, open_archive): Use it.
42535
42536         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42537         inside [SHARED], where it is used.
42538
42539         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42540
42541         * nss/getent.c (netgroup_keys): Remove unused variable.
42542         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42543
42544 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42545
42546         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42547         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42548         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42549         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42550         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42551         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42552         * math/Makefile (libm-calls): Add s_isinf_ns.
42553         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42554         * math/multc3.c: Likewise.
42555         * math/s_casin.c: Likewise.
42556         * math/s_casinf.c: Likewise.
42557         * math/s_casinl.c: Likewise.
42558         * math/s_ccos.c: Likewise.
42559         * math/s_ccosf.c: Likewise.
42560         * math/s_ccosl.c: Likewise.
42561         * math/s_ctan.c: Likewise.
42562         * math/s_ctanf.c: Likewise.
42563         * math/s_ctanh.c: Likewise.
42564         * math/s_ctanhf.c: Likewise.
42565         * math/s_ctanhl.c: Likewise.
42566         * math/s_ctanl.c: Likewise.
42567         * math/w_fmod.c: Likewise.
42568         * math/w_fmodf.c: Likewise.
42569         * math/w_fmodl.c: Likewise.
42570         * math/w_remainder.c: Likewise.
42571         * math/w_remainderf.c: Likewise.
42572         * math/w_remainderl.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42574         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42575         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42576         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42577         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42578         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42579         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42580         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42581
42582         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42583         of the number.
42584         * stdio-common/printf_fphex.c: Likewise.
42585         * stdio-common/printf_size.c: Likewise.
42586
42587         * math/e_exp10.c: Include math_private.h using <...> not "...".
42588         * math/e_exp10f.c: Likewise.
42589         * math/e_exp10l.c: Likewise.
42590         * math/e_exp2l.c: Likewise.
42591         * math/e_j0l.c: Likewise.
42592         * math/e_j1l.c: Likewise.
42593         * math/e_jnl.c: Likewise.
42594         * math/e_lgammal_r.c: Likewise.
42595         * math/e_rem_pio2l.c: Likewise.
42596         * math/e_scalb.c: Likewise.
42597         * math/e_scalbf.c: Likewise.
42598         * math/e_scalbl.c: Likewise.
42599         * math/k_cosl.c: Likewise.
42600         * math/k_sinl.c: Likewise.
42601         * math/k_tanl.c: Likewise.
42602         * math/s_cacoshf.c: Likewise.
42603         * math/s_catan.c: Likewise.
42604         * math/s_catanf.c: Likewise.
42605         * math/s_catanh.c: Likewise.
42606         * math/s_catanhf.c: Likewise.
42607         * math/s_catanhl.c: Likewise.
42608         * math/s_catanl.c: Likewise.
42609         * math/s_ccosh.c: Likewise.
42610         * math/s_ccoshf.c: Likewise.
42611         * math/s_ccoshl.c: Likewise.
42612         * math/s_cexp.c: Likewise.
42613         * math/s_cexpf.c: Likewise.
42614         * math/s_cexpl.c: Likewise.
42615         * math/s_clog.c: Likewise.
42616         * math/s_clog10.c: Likewise.
42617         * math/s_clog10f.c: Likewise.
42618         * math/s_clog10l.c: Likewise.
42619         * math/s_clogf.c: Likewise.
42620         * math/s_clogl.c: Likewise.
42621         * math/s_csin.c: Likewise.
42622         * math/s_csinf.c: Likewise.
42623         * math/s_csinh.c: Likewise.
42624         * math/s_csinhf.c: Likewise.
42625         * math/s_csinhl.c: Likewise.
42626         * math/s_csinl.c: Likewise.
42627         * math/s_csqrt.c: Likewise.
42628         * math/s_csqrtf.c: Likewise.
42629         * math/s_csqrtl.c: Likewise.
42630         * math/s_ctan.c: Likewise.
42631         * math/s_ctanf.c: Likewise.
42632         * math/s_ctanh.c: Likewise.
42633         * math/s_ctanhf.c: Likewise.
42634         * math/s_ctanhl.c: Likewise.
42635         * math/s_ctanl.c: Likewise.
42636         * math/s_ldexp.c: Likewise.
42637         * math/s_ldexpf.c: Likewise.
42638         * math/s_ldexpl.c: Likewise.
42639         * math/s_significand.c: Likewise.
42640         * math/s_significandf.c: Likewise.
42641         * math/s_significandl.c: Likewise.
42642         * math/w_acos.c: Likewise.
42643         * math/w_acosf.c: Likewise.
42644         * math/w_acosh.c: Likewise.
42645         * math/w_acoshf.c: Likewise.
42646         * math/w_acoshl.c: Likewise.
42647         * math/w_acosl.c: Likewise.
42648         * math/w_asin.c: Likewise.
42649         * math/w_asinf.c: Likewise.
42650         * math/w_asinl.c: Likewise.
42651         * math/w_atan2.c: Likewise.
42652         * math/w_atan2f.c: Likewise.
42653         * math/w_atan2l.c: Likewise.
42654         * math/w_atanh.c: Likewise.
42655         * math/w_atanhf.c: Likewise.
42656         * math/w_atanhl.c: Likewise.
42657         * math/w_cosh.c: Likewise.
42658         * math/w_coshf.c: Likewise.
42659         * math/w_coshl.c: Likewise.
42660         * math/w_dremf.c: Likewise.
42661         * math/w_exp10.c: Likewise.
42662         * math/w_exp10f.c: Likewise.
42663         * math/w_exp10l.c: Likewise.
42664         * math/w_exp2.c: Likewise.
42665         * math/w_exp2f.c: Likewise.
42666         * math/w_fmod.c: Likewise.
42667         * math/w_fmodf.c: Likewise.
42668         * math/w_fmodl.c: Likewise.
42669         * math/w_hypot.c: Likewise.
42670         * math/w_hypotf.c: Likewise.
42671         * math/w_hypotl.c: Likewise.
42672         * math/w_j0.c: Likewise.
42673         * math/w_j0f.c: Likewise.
42674         * math/w_j0l.c: Likewise.
42675         * math/w_j1.c: Likewise.
42676         * math/w_j1f.c: Likewise.
42677         * math/w_j1l.c: Likewise.
42678         * math/w_jn.c: Likewise.
42679         * math/w_jnf.c: Likewise.
42680         * math/w_jnl.c: Likewise.
42681         * math/w_lgamma.c: Likewise.
42682         * math/w_lgamma_r.c: Likewise.
42683         * math/w_lgammaf.c: Likewise.
42684         * math/w_lgammaf_r.c: Likewise.
42685         * math/w_lgammal.c: Likewise.
42686         * math/w_lgammal_r.c: Likewise.
42687         * math/w_log.c: Likewise.
42688         * math/w_log10.c: Likewise.
42689         * math/w_log10f.c: Likewise.
42690         * math/w_log10l.c: Likewise.
42691         * math/w_log2.c: Likewise.
42692         * math/w_log2f.c: Likewise.
42693         * math/w_log2l.c: Likewise.
42694         * math/w_logf.c: Likewise.
42695         * math/w_logl.c: Likewise.
42696         * math/w_pow.c: Likewise.
42697         * math/w_powf.c: Likewise.
42698         * math/w_powl.c: Likewise.
42699         * math/w_remainder.c: Likewise.
42700         * math/w_remainderf.c: Likewise.
42701         * math/w_remainderl.c: Likewise.
42702         * math/w_scalb.c: Likewise.
42703         * math/w_scalbf.c: Likewise.
42704         * math/w_scalbl.c: Likewise.
42705         * math/w_sinh.c: Likewise.
42706         * math/w_sinhf.c: Likewise.
42707         * math/w_sinhl.c: Likewise.
42708         * math/w_sqrt.c: Likewise.
42709         * math/w_sqrtf.c: Likewise.
42710         * math/w_sqrtl.c: Likewise.
42711         * math/w_tgamma.c: Likewise.
42712         * math/w_tgammaf.c: Likewise.
42713         * math/w_tgammal.c: Likewise.
42714
42715         * po/ja.po: Update from translation team.
42716
42717 2011-09-29  Andreas Jaeger  <aj@suse.de>
42718
42719         [BZ #13179]
42720         * sunrpc/netname.c (netname2host): Fix logic.
42721
42722         [BZ #6779]
42723         [BZ #6783]
42724         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42725         correctly.
42726         * math/w_remainder.c (__remainder): Likewise.
42727         * math/w_remainderf.c (__remainderf): Likewise.
42728         * math/libm-test.inc (remainder_test): Add test cases.
42729
42730 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42731
42732         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42733         sdiv_qrnnd.
42734
42735 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42736
42737         * string/test-memcmp.c: Avoid unncessary #defines.
42738         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42739
42740 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42741
42742         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42743         Use new sse2 version for core i3 - i7 as it's faster
42744         than sse42 version.
42745         (bit_Prefer_PMINUB_for_stringop): New.
42746         * sysdeps/x86_64/rawmemchr.S: Update.
42747         Replace with faster SSE2 version.
42748         * sysdeps/x86_64/memrchr.S: New file.
42749         * sysdeps/x86_64/memchr.S: Update.
42750         Replace with faster SSE2 version.
42751
42752 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42753
42754         * elf/dl-load.c (lose): Add cast to avoid warning.
42755
42756 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42757
42758         * po/ca.po: Update from translation team.
42759
42760         * inet/getnetgrent_r.c: Hook up nscd.
42761         * nscd/Makefile (routines): Add nscd_netgroup.
42762         (nscd-modules): Add netgroupcache.
42763         (CFLAGS-netgroupcache.c): Define.
42764         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42765         (cache_search): Add const to second parameter.
42766         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42767         INNETGR.
42768         (dbs): Add netgrdb entry.
42769         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42770         (verify_persistent_db): Handle netgrdb.
42771         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42772         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42773         GETFDNETGR.
42774         (netgroup_response_header): Define.
42775         (innetgroup_response_header): Define.
42776         (datahead): Add netgroup_response_header and innetgroup_response_header
42777         elements.
42778         * nscd/nscd.conf: Add entries for netgroup cache.
42779         * nscd/nscd.h (dbtype): Add netgrdb.
42780         (_PATH_NSCD_NETGROUP_DB): Define.
42781         (netgroup_iov_disabled): Declare.
42782         (xmalloc, xcalloc, xrealloc): Move declarations here.
42783         (cache_search): Adjust prototype.
42784         Add netgroup-related prototypes.
42785         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42786         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42787         (__nscd_innetgr): Declare.
42788         * nscd/selinux.c (perms): Use access_vector_t as element type and
42789         add netgroup-related initializers.
42790         * nscd/netgroupcache.c: New file.
42791         * nscd/nscd_netgroup.c: New file.
42792         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42793         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42794         For four parameters use innetgr.
42795         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42796         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42797         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42798         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42799
42800         * nscd/connections.c (register_traced_file): Don't register file
42801         for disabled databases.
42802
42803 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42804
42805         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42806
42807         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42808         from tree and freeing node.
42809
42810 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42811
42812         * nss/nsswitch.c (__nss_database_lookup): Handle
42813         nss_parse_service_list out of memory case.
42814
42815 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42816
42817         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42818         out of memory case.
42819
42820 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42821
42822         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42823         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42824         pass it down.
42825         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42826         elf_machine_rela, elf_machine_lazy_rel.
42827         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42828         (ELF_DYNAMIC_DO_REL): Likewise.
42829         (ELF_DYNAMIC_DO_RELA): Likewise.
42830         (ELF_DYNAMIC_RELOCATE): Likewise.
42831         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42832         to ELF_DYNAMIC_DO_REL.
42833         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42834         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42835         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42836         elf_machine_rela.
42837         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42838         skip_ifunc, don't call ifunc function if non-zero.
42839         (elf_machine_rela): Likewise.
42840         (elf_machine_lazy_rel): Likewise.
42841         (elf_machine_lazy_rela): Likewise.
42842         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42843         (elf_machine_lazy_rel): Likewise.
42844         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42845         Likewise.
42846         (elf_machine_lazy_rel): Likewise.
42847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42848         Likewise.
42849         (elf_machine_lazy_rel): Likewise.
42850         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42851         (elf_machine_lazy_rel): Likewise.
42852         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42853         (elf_machine_lazy_rel): Likewise.
42854         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42855         (elf_machine_lazy_rel): Likewise.
42856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42857         (elf_machine_lazy_rel): Likewise.
42858         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42859         (elf_machine_lazy_rel): Likewise.
42860         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42861         (elf_machine_lazy_rel): Likewise.
42862
42863 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42864
42865         * nss/nss_files/files-init.c (_nss_files_init): Use static
42866         initialization for all the *_traced_file variables.
42867
42868 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42869
42870         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42871
42872 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42873
42874         [BZ #13226]
42875         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42876
42877 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42878
42879         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42880         Reread the line before reparsing it.
42881
42882 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42883
42884         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42885
42886 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42887             Maxim Kuvyrkov  <maxim@codesourcery.com>
42888             Joseph Myers  <joseph@codesourcery.com>
42889
42890         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42891         if needed for __stack_chk_guard.
42892
42893 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42894
42895         * sysdeps/posix/spawni.c (script_execute): Always define it.
42896         It will be optimized away if unused.
42897         (maybe_script_execute): New function.
42898         (__spawni): Call it.
42899
42900         * Makerules: Don't include tls.make.
42901         (config-tls): Always set to thread.
42902         * tls.make.c: File removed.
42903
42904 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42905
42906         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42907         * config.make.in (CPPFLAGS-config): New substituted variable.
42908
42909 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42910
42911         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42912
42913         [BZ #13192]
42914         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42915         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42916
42917 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42918
42919         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42920         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42921         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42922         (CALL_FAIL): Likewise.
42923         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42924         (CALL_FAIL): Macro removed.
42925         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42926
42927 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42928
42929         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42930         for __FINITE_MATH_ONLY__ == 1.
42931
42932 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42933
42934         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42935         __ieee754_sqrt instead of sqrt.
42936         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42937         __ieee754_sqrtf instead of sqrtf.
42938         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42939         __floorf instead of floorf.
42940         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42941         __floorf, __truncf instead of floorf, truncf.
42942
42943 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42944
42945         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42946
42947         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42948         __extern_always_inline.
42949         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42950         32-bit.
42951
42952 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42953
42954         * elf/rtld.c (dl_main): Also relocate in dependency order when
42955         doing symbol dependency testing.
42956
42957 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42958
42959         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42960         Always define `refsym'.
42961
42962 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42963
42964         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42965         (__FD_ELT): Renamed from __FDELT.
42966         * misc/bits/select2.h (__FD_ELT): Likewise.
42967         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42968         __FD_MASK instead of __FDELT, __FDMASK.
42969         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42970         Likewise.
42971         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42972         Likewise.
42973
42974         * elf/Makefile (gen-ldd): Fix pattern.
42975
42976         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42977         (init_tls): Likewise.
42978
42979 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42980
42981         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42982
42983 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42984
42985         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42986         `struct cmsghdr *' instead of `void *'.
42987         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42988         Likewise.
42989
42990 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42991
42992         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42993         if non-absolute.
42994         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42995         ldd_rewrite_script.
42996
42997 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42998
42999         * configure.in: Remove --with-tls option.
43000         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43001         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43002         out in case it is missing.
43003         * sysdeps/ia64/elf/configure.in: Likewise.
43004         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43005         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43006         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43007         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43008         * sysdeps/sh/elf/configure.in: Likewise.
43009         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43010         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43011         * sysdeps/x86_64/elf/configure.in: Likewise.
43012         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43013         * sysdeps/mach/hurd/tls.h: Likewise.
43014
43015         [BZ #13067]
43016         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43017
43018         [BZ #13090]
43019         * configure.in: Fix use of AC_INIT.
43020
43021         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43022
43023 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43024
43025         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43026         __set_errno.
43027         * malloc/hooks.c: Likewise.
43028
43029         [BZ #11929]
43030         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43031         variables statically.
43032         (narenas): Initialize.
43033         (list_lock): Initialize.
43034         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43035         initializtion of main_arena and list_lock.  Small cleanups.
43036         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43037         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43038         Add initializers to main_arena and mp_.
43039         (malloc_state): Remove pagesize member.  Change all users to use
43040         GLRO(dl_pagesize).
43041
43042         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43043         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43044         is always initialized.
43045
43046         * malloc/malloc.c: Removed unused configurations and dead code.
43047         * malloc/arena.c: Likewise.
43048         * malloc/hooks.c: Likewise.
43049         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43050
43051         * include/tls.h: Removed.  USE___THREAD must always be defined.
43052         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43053         * elf/dl-libc.c: Likewise.
43054         * elf/dl-tsd.c: Likewise.
43055         * include/errno.h: Likewise.
43056         * include/netdb.h: Likewise.
43057         * include/resolv.h: Likewise.
43058         * inet/herrno-loc.c: Likewise.
43059         * inet/herrno.c: Likewise.
43060         * malloc/arena.c: Likewise.
43061         * malloc/hooks.c: Likewise.
43062         * malloc/malloc.c: Likewise.
43063         * resolv/res-state.c: Likewise.
43064         * resolv/res_libc.c: Likewise.
43065         * sysdeps/i386/dl-machine.h: Likewise.
43066         * sysdeps/ia64/dl-machine.h: Likewise.
43067         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43068         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43069         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43070         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43071         * sysdeps/sh/dl-machine.h: Likewise.
43072         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43073         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43074         * sysdeps/unix/i386/sysdep.S: Likewise.
43075         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43076         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43079         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43081         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43082         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43083         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43085         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43086         * sysdeps/x86_64/dl-machine.h: Likewise.
43087         * tls.make.c: Likewise.
43088
43089         * configure.in: Remove --with-__thread option.  Make tests for
43090         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43091         tls_model attribute fail if no support is available.  Remove
43092         USE_IN_LIBIO.
43093         * Makeconfig: Adjust for dropped configure option.  All features are
43094         now mandatory.
43095         * Makerules: Likewise.
43096         * Versions.def: Likewise.
43097         * argp/argp-fmtstream.c: Likewise.
43098         * argp/argp-fmtstream.h: Likewise.
43099         * argp/argp-help.c: Likewise.
43100         * assert/assert.c: Likewise.
43101         * config.h.in: Likewise.
43102         * config.make.in: Likewise.
43103         * configure: Likewise.
43104         * configure.in: Likewise.
43105         * csu/Versions: Likewise.
43106         * csu/init.c: Likewise.
43107         * elf/tst-audit2.c: Likewise.
43108         * elf/tst-tls10.c: Likewise.
43109         * elf/tst-tls10.h: Likewise.
43110         * elf/tst-tls11.c: Likewise.
43111         * elf/tst-tls12.c: Likewise.
43112         * elf/tst-tls14.c: Likewise.
43113         * elf/tst-tlsmod11.c: Likewise.
43114         * elf/tst-tlsmod12.c: Likewise.
43115         * elf/tst-tlsmod13.c: Likewise.
43116         * elf/tst-tlsmod13a.c: Likewise.
43117         * elf/tst-tlsmod14a.c: Likewise.
43118         * elf/tst-tlsmod15b.c: Likewise.
43119         * elf/tst-tlsmod16a.c: Likewise.
43120         * elf/tst-tlsmod16b.c: Likewise.
43121         * elf/tst-tlsmod7.c: Likewise.
43122         * elf/tst-tlsmod8.c: Likewise.
43123         * elf/tst-tlsmod9.c: Likewise.
43124         * gmon/gmon.c: Likewise.
43125         * grp/fgetgrent_r.c: Likewise.
43126         * grp/putgrent.c: Likewise.
43127         * hurd/fopenport.c: Likewise.
43128         * include/libc-symbols.h: Likewise.
43129         * include/tls.h: Likewise.
43130         * intl/gettextP.h: Likewise.
43131         * intl/loadinfo.h: Likewise.
43132         * locale/global-locale.c: Likewise.
43133         * locale/localeinfo.h: Likewise.
43134         * mach/devstream.c: Likewise.
43135         * malloc/arena.c: Likewise.
43136         * malloc/set-freeres.c: Likewise.
43137         * misc/err.c: Likewise.
43138         * misc/getttyent.c: Likewise.
43139         * misc/mntent_r.c: Likewise.
43140         * posix/getopt.c: Likewise.
43141         * posix/wordexp.c: Likewise.
43142         * pwd/fgetpwent_r.c: Likewise.
43143         * resolv/Versions: Likewise.
43144         * resolv/res_hconf.c: Likewise.
43145         * shadow/fgetspent_r.c: Likewise.
43146         * shadow/putspent.c: Likewise.
43147         * stdio-common/printf_fphex.c: Likewise.
43148         * stdio-common/tmpfile.c: Likewise.
43149         * stdlib/abort.c: Likewise.
43150         * stdlib/fmtmsg.c: Likewise.
43151         * sunrpc/auth_unix.c: Likewise.
43152         * sunrpc/clnt_perr.c: Likewise.
43153         * sunrpc/clnt_tcp.c: Likewise.
43154         * sunrpc/clnt_udp.c: Likewise.
43155         * sunrpc/clnt_unix.c: Likewise.
43156         * sunrpc/openchild.c: Likewise.
43157         * sunrpc/svc_simple.c: Likewise.
43158         * sunrpc/svc_tcp.c: Likewise.
43159         * sunrpc/svc_udp.c: Likewise.
43160         * sunrpc/svc_unix.c: Likewise.
43161         * sunrpc/xdr.c: Likewise.
43162         * sunrpc/xdr_array.c: Likewise.
43163         * sunrpc/xdr_rec.c: Likewise.
43164         * sunrpc/xdr_ref.c: Likewise.
43165         * sunrpc/xdr_stdio.c: Likewise.
43166
43167 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43168
43169         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43170
43171 2011-07-03  Andreas Jaeger  <aj@suse.de>
43172
43173         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43174         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43175         regenerate with gen-libm-tests.pl.
43176
43177 2010-05-12  Petr Baudis  <pasky@suse.cz>
43178
43179         [BZ #11589]
43180         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43181         around j0() zero points by switching to j1().
43182         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43183         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43185         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43186
43187 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43188
43189         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43190         instead of 0.
43191         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43192         instead of 0.
43193         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43194         Patch in part by Pavel Roskin <proski@gnu.org>.
43195
43196         [BZ #13138]
43197         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43198         realloc.
43199         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43200         Free memory block if necessary.
43201
43202         [BZ #12847]
43203         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43204         be NULL.  Don't lock in this case.
43205
43206 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43207
43208         * elf/elf.h (ELFOSABI_GNU): New macro.
43209         (ELFOSABI_LINUX): Define to that.
43210
43211 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43212
43213         * string/strncat.c (strncat): Undef the symbol in case it has been
43214         defined in bits/string.h.
43215
43216 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43217
43218         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43219
43220         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43221         link map.
43222
43223 2011-08-17  Andreas Jaeger  <aj@suse.de>
43224
43225         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43226
43227 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43228             Ian Lance Taylor  <iant@google.com>
43229
43230         * math/libm-test.inc (lround_test): New testcase.
43231         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43232
43233 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43234
43235         * Makefile: Remove support for automatic cvs check-ins.
43236         * Makerules: Likewise.
43237         * config.make.in: Likewise.
43238         * configure.in: Likewise.
43239         * intl/Makefile: Likewise.
43240         * locale/Makefile: Likewise.
43241         * po/Makefile: Likewise.
43242         * posix/Makefile: Likewise.
43243         * sysdeps/gnu/Makefile: Likewise.
43244         * sysdeps/mach/hurd/Makefile: Likewise.
43245         * sysdeps/sparc/sparc32/Makefile: Likewise.
43246
43247         [BZ #13118]
43248         * posix/Makefile (bug-regex32-ENV): Define.
43249         Patch by John Stanley <jpsinthemix@verizon.net>.
43250
43251         * misc/Makefile (headers): Add bits/select2.h.
43252         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43253         * misc/bits/select2.h: New file.
43254         * include/bits/select2.h: New file.
43255         * debug/Makefile (routines): Add fdelt_chk.
43256         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43257         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43258         FD_ISSET.
43259         * debug/fdelt_chk.c: New file.
43260
43261         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43262         * wcsmbs/test-wmemcmp.c: Likewise.
43263         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43264         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43265
43266 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43267
43268         * string/Makefile (strop-tests): Add memcmp.
43269         * string/test-wmemcmp.c: New file.
43270         * string/test-memcmp.c: Add wmemcmp support.
43271
43272 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43273
43274         [BZ #13153]
43275         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43276         2011-07-19 change.
43277
43278         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43279         garbage value in a __mach_port_mod_refs call in the cases of the
43280         task-self and thread-self ports.
43281
43282 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43283
43284         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43285
43286 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43287
43288         * elf/dl-load.c (lose): Check for non-null L.
43289
43290 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43291
43292         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43293
43294         * elf/dl-libc.c (dlerror_run): Pass back error code from
43295         dl_catch_error.
43296
43297         [BZ #13123]
43298         * elf/dl-load.c (lose): Free l_origin if it is valid.
43299
43300         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43301         names.
43302         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43303         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43304         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43305         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43306         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43307         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43308
43309 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43310
43311         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43312         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43313         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43314         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43315         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43316         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43317         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43318         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43319         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43320         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43321
43322 2011-08-15  Alan Modra  <amodra@gmail.com>
43323
43324         [BZ #13092]
43325         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43326         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43327         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43328         ppc_mcount to static-only-routines.
43329         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43330         __mcount_internal.
43331         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43332         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43333
43334 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43335
43336         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43337         for finite and infinity parameters.
43338
43339 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43340
43341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43342         and add nop instructions for throughput optimization.
43343         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43344
43345 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43346
43347         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43348         aligned copy for power7 with vector-scalar instructions.
43349         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43350
43351 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43352
43353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43354         AVX check.
43355
43356 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43357
43358         [BZ #13144]
43359         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43360         last change.
43361
43362 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43363
43364         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43365         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43366         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43367         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43368         clock_gettime.
43369
43370 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43371
43372         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43373         Forgot to demangle the pointer.
43374
43375         * sysdeps/i386/sysdep.h: Define atom_text_section.
43376         * sysdeps/x86_64/sysdep.h: Likewise.
43377         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43378         section with atom_text_section.
43379         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43380         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43381         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43382         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43383         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43384
43385         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43386         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43387         already be defined.  Change to take two parameters and don't assign
43388         result to variable.  Adjust all users.
43389         Define INTERNAL_GETTIME if not already defined.
43390         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43391         call.
43392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43393         HAVE_CLOCK_GETTIME_VSYSCALL.
43394         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43395
43396         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43397         gettimeofday vsyscall, just use time.
43398
43399 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43400
43401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43402         <errno.h>.
43403
43404 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43405
43406         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43407         syscall on x86-64.
43408         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43409         syscall.
43410         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43411         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43412         syscall if possible.
43413
43414 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43415
43416         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43417         e_ident.  Don't pass to find_mapsXX.
43418         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43419
43420 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43421
43422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43423         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43424         * sysdeps/x86_64/multiarch/strchr.S: Update.
43425         Check bit_slow_BSF bit.
43426         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43427         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43428         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43429
43430 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43431
43432         [BZ #13134]
43433         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43434         before glibc 2.15.
43435         (tryshell): Define.
43436         (__spawni): Change last parameter to be flag.  Test
43437         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43438         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43439         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43440         * posix/spawni.c: Likewise.
43441         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43442         * posix/spawnp.c: Likewise.  Change normal version to use
43443         SPAWN_XFLAGS_USE_PATH.
43444         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43445         SPAWN_XFLAGS_TRY_SHELL.
43446
43447         [BZ #13150]
43448         * posix/glob.h: Remove gcc 1.x support.
43449
43450         [BZ #13068]
43451         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43452
43453 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43454
43455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43456         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43457         strrchr-sse2-bsf
43458         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43459         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43460         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43461         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43462         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43463         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43464
43465 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43466
43467         * sysdeps/x86_64/wcscmp.S: New file.
43468
43469         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43470         wcscmp-c wcscmp-sse2
43471         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43472         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43473         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43474         * wcsmbs/wcscmp.c: Allow renaming.
43475
43476 2011-09-05  David S. Miller  <davem@davemloft.net>
43477
43478         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43479         stack slot, rather than the struct return pointer slot.
43480         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43481         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43483         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43484
43485 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43486
43487         * po/ja.po: Update from translation team.
43488
43489         [BZ #13144]
43490         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43491         kernel in 64-bit binaries.
43492
43493 2011-09-01  David S. Miller  <davem@davemloft.net>
43494
43495         * elf/elf.h (HWCAP_SPARC_*): Move to..
43496         * sysdeps/sparc/sysdep.h: this new file and add new values.
43497         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43498         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43499         _DL_HWCAP_COUNT to 24.
43500         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43501         entries.
43502         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43503         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43504         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43505         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43506         instead of magic constants.
43507         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43508
43509 2011-08-31  David S. Miller  <davem@davemloft.net>
43510
43511         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43513         Reimplement to do errno handling inline.
43514         (SYSCALL_ERROR_HANDLER): New macro.
43515         (__SYSCALL_STRING): Do not do errno handling in asm.
43516         (__CLONE_SYSCALL_STRING): Delete.
43517         (__INTERNAL_SYSCALL_STRING): Delete.
43518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43519         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43520         (PSEUDO): Reimplement to do errno handling inline.
43521         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43522         (SYSCALL_ERROR_HANDLER): New macro.
43523         (__SYSCALL_STRING): Do not do errno handling in asm.
43524         (__CLONE_SYSCALL_STRING): Delete.
43525         (__INTERNAL_SYSCALL_STRING): Delete.
43526         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43527         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43528         i386.
43529         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43530         (inline_syscall*): Add 'err' argument.
43531         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43532         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43533         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43534         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43535
43536         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43537         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43538
43539 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43540
43541         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43542
43543 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43544
43545         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43546         directive.
43547
43548 2011-08-24  David S. Miller  <davem@davemloft.net>
43549
43550         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43551
43552 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43553
43554         * elf/Makefile: Add rules to build and run unload8 test.
43555         * elf/unload8.c: New file.
43556         * elf/unload8mod1.c: New file.
43557         * elf/unload8mod1x.c: New file.
43558         * elf/unload8mod2.c: New file.
43559         * elf/unload8mod3.c: New file.
43560
43561         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43562         it wasn't used.
43563
43564 2011-08-23  David S. Miller  <davem@davemloft.net>
43565
43566         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43567         subtract stack bias.
43568         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43569         %sp not %fp in calculations.
43570         (_JMPBUF_UNWINDS_ADJ): Likewise.
43571
43572         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43573         (aio_suspend): Call it to force an exception region around the
43574         AIO_MISC_WAIT() invocation.
43575
43576 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43577
43578         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43579         backslash.
43580
43581 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43582
43583         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43584         protection macro.
43585         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43586         and <dl-machine.h>.
43587         (Elf64_FuncDesc): Remove.
43588
43589 2011-08-22  David S. Miller  <davem@davemloft.net>
43590
43591         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43592         sigaltstack check, add missing cfi directives.
43593         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43594         missing cfi directives, and sigaltstack handling.
43595
43596 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43597
43598         [BZ #11724]
43599         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43600         object is seen twice.
43601         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43602
43603         * elf/Makefile (distribute): Add tst-initorder2.c.
43604         (tests): Add tst-initorder2.
43605         (modules-names): Add tst-initorder2a tst-initorder2b
43606         tst-initorder2c tst-initorder2d.  Add rules to build them.
43607         ($(objpfx)tst-initorder2.out): New rule.
43608         * elf/tst-initorder2.c: New file.
43609         * elf/tst-initorder2.exp: New file.
43610
43611 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43612
43613         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43614
43615         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43616         dependencies back to end of function.
43617
43618         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43619         $(elfobjdir)/ld.so.
43620
43621 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43622
43623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43624         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43625         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43626         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43627         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43628         of __vdso_gettimeofday.
43629         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43630         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43631         attribute_hidden.
43632         (_libc_vdso_platform_setup): Remove initialization of
43633         __vdso_gettimeofday and __vdso_time.
43634
43635 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43636
43637         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43638         and fgetc_unlocked.
43639         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43640         getc_unlocked.
43641
43642         * elf/dl-open.c (add_to_global): Report additions to the global scope
43643         for LD_DEBUG=scopes.
43644         (dl_open_worker): Also print scope of newly loaded dependencies.
43645         (_dl_show_scope): Indicate if there is no scope.
43646
43647         [BZ #13114]
43648         * stdio-common/Makefile (tests): Add bug24.
43649         * stdio-common/bug24.c: New file.
43650
43651 2011-08-19  Andreas Jaeger  <aj@suse.de>
43652
43653         [BZ #13114]
43654         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43655         non-existant file when using close-on-exec mode.
43656
43657 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43658
43659         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43660         the very first instruction.
43661
43662         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43663         the CFI state in the end.
43664         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43665         inclusion of dl-trampoline.h.
43666         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43667
43668 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43669
43670         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43671         expectations for long double.
43672
43673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43674         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43675
43676 2011-08-14  David S. Miller  <davem@davemloft.net>
43677
43678         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43679         artificual limit depends upon the system page size.
43680
43681 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43682
43683         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43684         * resolv/Makefile: Define CFLAGS-libresolv.
43685
43686 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43687
43688         * nss/makedb.c (compute_tables): Make variables used in nested
43689         function static.
43690
43691 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43692
43693         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43694         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43695         if buffer was too small.
43696
43697         * elf/pldd.c (main): Attach to all threads in the process.
43698         Rewrite /proc handling to use *at functions.
43699
43700 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43701
43702         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43703         specifies first scope to show.
43704         (dl_open_worker): Update callers.  Move printing scope of new
43705         object to before the relocation.
43706         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43707         * sysdeps/generic/ldsodefs.h: Update declaration.
43708
43709         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43710         string for the scope number.
43711
43712 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43713
43714         * nscd/servicescache.c (cache_addserv): Make sure written is always
43715         initialized.
43716
43717 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43718
43719         * sysdeps/i386/i486/bits/atomic.h
43720         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43721         statement expression, so as to suppress "set but not used" warning.
43722         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43723
43724         * string/strncat.c (STRNCAT): Use prototype definition.
43725
43726         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43727         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43728         -Iprograms here.
43729         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43730         (localedef-modules): Add localedef.
43731         (locale-modules): Add locale.
43732
43733         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43734         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43735         to avoid a warning.
43736
43737 2011-08-14  David S. Miller  <davem@davemloft.net>
43738
43739         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43740         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43741
43742 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43743
43744         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43745         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43746         * elf/rtld.c (dl_main): Set l_name of vDSO.
43747         Call _dl_show_scope when DL_DEBUG_SCOPES.
43748         (process_dl_debug): Recognize scopes flag and also set it for all.
43749         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43750         Declare _dl_show_scope.
43751
43752         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43753         (do_dlopen): Pass caller_dlopen to dl_open.
43754         (__libc_dlopen_mode): Initialize caller_dlopen.
43755
43756         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43757         of libc.  Make tolower call locale-independent.  Optimize a bit by
43758         using isdigit instead of isalnum.
43759         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43760
43761 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43762
43763         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43764         was a dependency or dynamically loaded.
43765
43766 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43767
43768         * intl/l10nflist.c: Allow architecture-specific pop function.
43769         * sysdeps/x86_64/l10nflist.c: New file.
43770
43771         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43772         classification.
43773
43774 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43775
43776         * include/dirent.h: Add libc_hidden_proto for scandirat and
43777         scandirat64.  Don't declare __scandirat64.
43778         * dirent/scandirat.c: Add libc_hidden_def.
43779         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43780         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43781
43782 2011-08-10  David S. Miller  <davem@davemloft.net>
43783
43784         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43785         enum.
43786         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43787         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43788         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43789
43790 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43791
43792         * Versions.def [libc]: Add GLIBC_2.15.
43793         * dirent/Makefile (routines): Add scandirat and scandirat64.
43794         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43795         GLIBC_2.15.
43796         * dirent/dirent.h: Declare scandirat and scandirat64.
43797         * dirent/scandirat.c: New file.
43798         * dirent/scandirat64.c: New file.
43799         * sysdeps/wordsize-64/scandirat.c: New file.
43800         * sysdeps/wordsize-64/scandirat64.c: New file.
43801         * dirent/opendir.c: Define opendirat.
43802         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43803         using scandirat.
43804         * dirent/scandir64.c: Adjust for scandir.c change.
43805         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43806         __scandirat64, and __scandir_cancel_handler.
43807         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43808         additional parameter and use openat instead of open (outside of ld.so).
43809         Add new __opendir as wrapper around __opendirat.
43810         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43811         here without requiring old scandirat implementation.
43812
43813 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43814
43815         * dirent/scandir.c (cancel_handler): Renamed to
43816         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43817         defined.  Adjust users.
43818         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43819         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43820
43821 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43822
43823         * string/test-string.h (IMPL): Use __STRING to expand name and then
43824         stringify it.
43825
43826         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43827         of cleanups.
43828
43829 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43830
43831         * string/Makefile: Update.
43832         (strop-tests): Append strncat.
43833         * string/test-wcscmp.c: New file.
43834         New comprehensive test for wcscmp.
43835         * string/test-strcmp.c: Update.
43836         (WIDE): New define.
43837
43838 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43839
43840         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43841         line.
43842
43843 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43844
43845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43846         encoding to ACE if AI_IDN.
43847
43848 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43849
43850         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43851         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43852
43853 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43854
43855         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43856         Fix overflow bug in strncat.
43857         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43858
43859         * string/test-strncat.c: Update.
43860         Add new tests for checking overflow bugs.
43861
43862 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43863
43864         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43865         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43866         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43867         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43868         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43869         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43870         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43871         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43872         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43873
43874         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43875         (USE_AS_STRCAT): Define.
43876         Add strcat and strncat support.
43877         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43878
43879 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43880
43881         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43882         __n bigger than INT_MAX+1.
43883         (__strncmp_g): Likewise.
43884
43885 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43886
43887         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43888         * libio/stido.h: Likewise.
43889
43890         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43891         (AF_NFC): Define.
43892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43893         (AF_NFC): Define.
43894
43895         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43896         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43897         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43898         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43899         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43900
43901         [BZ #13021]
43902         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43903         installed.
43904
43905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43906         typo.
43907         (_dl_x86_64_save_sse): Likewise.
43908
43909 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43910
43911         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43912         OSXSAVE.
43913         (_dl_x86_64_save_sse): Likewise.
43914
43915         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43916
43917         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43918
43919 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43920
43921         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43922         change.
43923         (_dl_x86_64_save_sse): Use correct AVX check.
43924
43925 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43926
43927         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43928         bug in strncpy/strncat.
43929         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43930
43931 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43932
43933         * string/tester.c (test_strcat): Add tests for different alignments
43934         of source and destination.
43935         (test_strncat): Likewise.
43936
43937 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43938
43939         [BZ #12852]
43940         * posix/glob.c (glob): Check passed in values before using them in
43941         expressions to avoid some overflows.
43942         (glob_in_dir): Likewise.
43943
43944         [BZ #13007]
43945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43946         check for AVX enablement so that we don't crash with old kernels and
43947         new hardware.
43948         * elf/tst-audit4.c: Add same checks here.
43949         * elf/tst-audit6.c: Likewise.
43950
43951         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43952
43953 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43954
43955         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43956
43957 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43958
43959         * po/cs.po: Update from translation team.
43960         * po/bg.po: Likewise.
43961
43962 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43963
43964         * misc/sys/cdefs.h: Add support for const attribute.
43965         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43966         to gnu_dev_{major,minor,makedev} functions.
43967
43968 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43969
43970         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43971
43972 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43973
43974         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43975         strlen results.
43976
43977 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43978
43979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43980         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43981         register in order to avoid conflicts with the soft frame pointer
43982         being held in r11 when necessary.
43983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43984         (INTERNAL_VSYSCALL_NCS): Likewise.
43985
43986 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43987
43988         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43989         * elf/dl-fini.c (_dl_fini): Adjust caller.
43990         * elf/dl-close.c (_dl_close_worker): Likewise.
43991         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43992
43993 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43994
43995         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43996         "aux_cache->nlibs < 0".
43997
43998         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43999         in the reload-count case.
44000
44001 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44002
44003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44004         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44005         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44006         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44007         * sysdeps/x86_64/multiarch/strcat.S: New file.
44008         * sysdeps/x86_64/multiarch/strncat.S: New file.
44009         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44010         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44011         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44012         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44013         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44014         (USE_AS_STRCAT): Define.
44015         Add strcat and strncat support.
44016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44017         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44018         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44019         * string/strncat.c: Update.
44020         (USE_AS_STRNCAT): Define.
44021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44022         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44023         and i7.
44024         * sysdeps/x86_64/multiarch/init-arch.h
44025         (bit_Prefer_PMINUB_for_stringop): New.
44026         (index_Prefer_PMINUB_for_stringop): Likewise.
44027         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44028         bit_Prefer_PMINUB_for_stringop.
44029
44030 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44031
44032         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44033         buffer64.
44034         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44035         of casting of buffer.
44036         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44037         buffer32 and buffer64.
44038         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44039         writes instead of casting of buffer.
44040         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44041         buffer32.
44042         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44043         casting of buffer.
44044
44045 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44046
44047         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44048
44049 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44050
44051         * nscd/nscd.c (termination_handler): Don't do anything for a database
44052         if it has not yet been initialized.
44053
44054 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44055
44056         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44057
44058 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44059
44060         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44061
44062 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44063
44064         * po/nl.po: Update from translation team.
44065         * po/sv.po: Likewise.
44066
44067 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44068
44069         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44070         now disallowed by GCC.
44071
44072         * configure.in (use-default-link): Default to yes if a test -shared
44073         link meets our qualifications.
44074         * configure: Regenerated.
44075
44076         * config.make.in (output-format): New variable.
44077         * configure.in: Check for ld --print-output-format support.
44078         * configure: Regenerated.
44079         * Makerules ($(common-objpfx)format.lds)
44080         [$(output-format) != unknown]: Just use $(output-format),
44081         instead of the linker-script munging.
44082
44083 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44084
44085         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44086         of $(common-objpfx)shlib.lds.
44087         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44088
44089         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44090         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44091
44092         * configure.in (-z relro check): Adjust test code to add a large
44093         writable data section after it.
44094         * configure: Regenerated.
44095
44096 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44097
44098         * configure.in (-z relro check): Fix test code to make the variable
44099         truly const.
44100         * configure: Regenerated.
44101
44102 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44103
44104         * nscd/nscd.h (struct traced_file): Define.
44105         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44106         elements.  Add traced_files.
44107         (inotify_fd): Declare.
44108         (register_traced_file): Declare.
44109         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44110         (inotify_fd): Export.
44111         (resolv_conf_descr): Remove.
44112         (nscd_init): Move inotify descriptor creation to main.
44113         Don't register files for notification here.
44114         (register_traced_file): New function.
44115         (invalidate_cache): Don't use reset_res to determine whether to call
44116         res_init, go through the list of registered files.
44117         (main_loop_poll): The inotify descriptors are now stored in the
44118         structures for the traced files.
44119         (main_loop_epoll): Likewise
44120         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44121         to __nss_disable_nscd.
44122         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44123         for a database anymore.  Check the records for all the registered
44124         files instead.
44125         * nss/Makefile (libnss_files-routines): Add files-init.
44126         (libnss_db-routines): Add db-init.
44127         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44128         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44129         * nss/nss_db/db-init.c: New file.
44130         * nss/nss_files/files-init.c: New file.
44131         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44132         __nss_lookup_function.
44133         (__nss_lookup_function): Call nss_load_library.
44134         (nss_load_all_libraries): New function.
44135         (__nss_disable_nscd): Take parameter with callback function for files
44136         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44137         used for the cached services.
44138         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44139         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44140         options for features to all the files in nscd.
44141
44142         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44143
44144 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44145
44146         * csu/elf-init.c (__libc_csu_init): Comment typo.
44147
44148 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44149
44150         * po/pl.po: Update from translation team.
44151         * po/ja.po: Likewise.
44152         * po/ru.po: Likewise.
44153         * po/ko.po: Likewise.
44154         * po/fr.po: Likewise.
44155
44156 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44157
44158         * configure.in (.ctors/.dtors header and trailer check):
44159         Use an empirical test on a built program.
44160         * configure: Regenerated.
44161
44162         * configure.in (-z relro check): Use an empirical test on a built DSO.
44163         Detect, but do not require, on ia64.
44164         * configure: Regenerated.
44165
44166         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44167         Update tests that use readelf to use $READELF instead.
44168         * configure: Regenerated.
44169
44170 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44171
44172         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44173         if the result is not used.
44174
44175 2011-07-05  Andreas Jaeger  <aj@suse.de>
44176
44177         [BZ#9696]
44178         * stdlib/tst-strtod.c: Add testcase.
44179
44180 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44181
44182         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44183         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44184         The latter has a higher limit.  Take additional parameter to pass to
44185         the new function.
44186         (__pathconf): Pass file to __statfs_link_max.
44187         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44188         __statfs_link_max.
44189         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44190         __statfs_link_max.
44191
44192         [BZ #12868]
44193         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44194         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44195         Handle Lustre.
44196         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44197         (__statfs_filesize_max): Likewise.
44198         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44199
44200 2011-07-05  Andreas Jaeger  <aj@suse.de>
44201
44202         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44203
44204 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44205
44206         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44207         `status' variable.
44208         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44209         Likewise.
44210
44211 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44212
44213         * Makefile (strop-tests): Add strncat.
44214         * string/test-strncat.c: New file.
44215
44216 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44217
44218         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44219
44220 2011-06-21  Andreas Jaeger  <aj@suse.de>
44221
44222         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44223         Copy rule from iconvdata/Makefile.
44224
44225 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44226
44227         [BZ #12922]
44228         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44229         but no long options are defined, just return 'W'.
44230
44231 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44232
44233         [BZ #9696]
44234         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44235
44236 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44237
44238         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44239         netgroups to read.
44240         (innetgr): Likewise.
44241
44242 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44243
44244         * config.make.in (install_root): Default to $(DESTDIR).
44245
44246 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44247
44248         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44249
44250 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44251
44252         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44253
44254         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44255         containing directory rather than embedding absolute directory names.
44256
44257         * scripts/check-local-headers.sh: Rewritten using awk.
44258         Match by word, not by line.  Print error messages for matches.
44259         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44260
44261         * Makerules [shlib-lds-flags empty]:
44262         ($(common-objpfx)libc_pic.opts): New target.
44263         ($(common-objpfx)libc_pic.os.clean): New target.
44264         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44265
44266         * config.make.in (OBJCOPY): New variable.
44267         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44268         * configure: Regenerated.
44269
44270         * config.make.in (use-default-link): New variable.
44271         * configure.in (use_default_link): Grok --with-default-link to set it.
44272         * configure: Regenerated.
44273         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44274         (shlib-lds, shlib-lds-flags): Define to empty.
44275
44276         * Makerules (shlib-lds): New variable.
44277         (shlib-lds-flags): New variable.
44278         (build-shlib, build-moduile, build-module-asneeded): Use it.
44279         ($(common-objpfx)libc.so): Use $(shlib-lds).
44280         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44281         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44282
44283         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44284         DT_FLAGS/DT_FLAGS_1 with zero flags.
44285
44286         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44287         linker script munging.
44288
44289 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44290
44291         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44292         as 128-bit value.
44293         * crypt/sha512.c (sha512_process_block): Perform total addition using
44294         128-bit if possible.
44295         (__sha512_finish_ctx): Likewise.
44296         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44297         as 64-bit value.
44298         * crypt/sha256.c (SWAP64): Define.
44299         (sha256_process_block): Perform total addition using 64-bit if
44300         possible.
44301         (__sha256_finish_ctx): Likewise.
44302
44303 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44304
44305         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44306         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44307         * nscd/hstcache.c (cache_addhst): Likewise.
44308         * nscd/grpcache.c (cache_addgr): Likewise.
44309         * nscd/aicache.c (addhstaiX): Likewise
44310         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44311
44312 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44313
44314         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44316         * nscd/hstcache.c (cache_addhst): Likewise.
44317         * nscd/grpcache.c (cache_addgr): Likewise.
44318         * nscd/aicache.c (addhstaiX): Likewise
44319
44320 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44321
44322         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44323         domain only when needed.
44324
44325 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44326
44327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44328         is always restored.
44329
44330 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44331
44332         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44333         are re-adding the entry.
44334         * nscd/servicescache.c (cache_addserv): Likewise.
44335
44336 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44337
44338         * sysdeps/generic/dl-irel.h: fix protection against multiple
44339         inclusions.
44340         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44341
44342 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44343
44344         [BZ #12935]
44345         * malloc/memusage.sh: Fix quoting in message.
44346         * debug/xtrace.sh: Likewise.
44347
44348         * configure.in: Remove support for --experimental-malloc option, make
44349         it the default.
44350         * config.make.in: Likewise.
44351         * malloc/Makefile: Likewise.
44352
44353 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44354
44355         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44356         two-byte characters.
44357
44358 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44359
44360         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44361         AC_CACHE_CHECK invocation.
44362         * configure: Regenerated.
44363
44364         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44365
44366 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44367
44368         [BZ #12350]
44369         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44370         bit from old_res_options.
44371
44372         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44373
44374         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44375         value type for setfct.
44376
44377 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44378
44379         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44380         __gettimeofday instead of gettimeofday.
44381
44382 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44383
44384         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44385
44386 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44387
44388         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44389
44390         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44391         info.
44392
44393 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44394
44395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44396         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44397         strcpy-sse2-unaligned strncpy-sse2-unaligned
44398         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44399         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44400         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44401         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44402         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44403         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44404         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44405         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44406         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44407         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44408         (STRCPY): Support SSE2 and SSSE3 versions.
44409
44410 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44411
44412         [BZ #12874]
44413         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44414         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44415         kernels which artificially limit size of requests.
44416
44417 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44418
44419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44420         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44421         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44422         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44423         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44424         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44425         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44426         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44427         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44428         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44429         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44430         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44431         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44432         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44433         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44435         Enable unaligned load optimization for Intel Core i3, i5 and i7
44436         processors.
44437         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44438         Define.
44439         (index_Fast_Unaligned_Load): Define.
44440         (HAS_FAST_UNALIGNED_LOAD): Define.
44441
44442 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44443
44444         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44445
44446 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44447
44448         [BZ #12907]
44449         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44450         until it is clear that the information is realy needed.
44451         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44452
44453 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44454
44455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44456
44457 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44458
44459         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44460         /sys/devices/system/cpu/online if it is usable.
44461
44462         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44463         reading the information from the /proc filesystem to once a second.
44464
44465 2011-06-21  Andreas Jaeger  <aj@suse.de>
44466
44467         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44468         NULL after inclusion of kernel headers.
44469
44470 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44471
44472         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44473         calls to internal_setent.
44474
44475         [BZ #12885]
44476         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44477         addresses using gethostbyname4_r ignore IPv4 addresses.
44478
44479         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44480         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44481
44482         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44483
44484 2011-06-20  David S. Miller  <davem@davemloft.net>
44485
44486         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44487         inclusions.
44488         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44489
44490         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44491         (elf_irel): Use it.
44492         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44493         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44494         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44495         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44496         * sysdeps/x86_64/dl-irel.h: Likewise.
44497
44498         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44499         * elf/dl-sym.c: Likewise.
44500
44501 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44502
44503         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44504         need to dereference resplen2.
44505
44506 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44507
44508         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44509
44510 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44511
44512         * Makeconfig: Define vardbdir and inst_vardbdir.
44513         * nss/Makefile: Add rules to install db-Makefile.
44514
44515         * nss/nss_db/db-XXX.c: Cleanup.
44516
44517         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44518         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44519         GLIBC_PRIVATE.
44520         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44521         * nss/makedb.c: Implement -g option to specify that value strings
44522         are generated and should not be added to table iterated over for
44523         get*ent calls.
44524         * nss/nss_db/db-initgroups.c: New file.
44525
44526         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44527         interface.
44528
44529         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44530         (internal_getgrouplist): Adjust to name change.
44531         Update use_initgroups_entry if this is not the first call.
44532         * nss/databases.def: Add initgroups entry.
44533
44534         * nss/makedb.c (compute_tables): Check result of multiple hash table
44535         sizes to minimize maximum chain length.
44536
44537 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44538
44539         * Versions.def: Add entry for libnss_db.
44540         * shlib-versions: Likewise.
44541         * nss/Makefile: Add rules to build libnss_db.
44542         * nss/Versions: Add libnss_db information.  Organize libnss_files
44543         entries better.
44544         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44545         makedb progra.  Some minor improvements to generate smaller files.
44546         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44547         here from...
44548         * nss/makedb.c: ...here.
44549         Improve database format to be smaller and require less memory at
44550         runtime.
44551         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44552         db anymore.
44553         * nss/nss_db/db-netgrp.c: Likewise.
44554         * nss/nss_db/db-open.c: Likewise.
44555         * nss/nss_files/flies-XXX.x: Adjust comments.
44556         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44557         * nss/nss_files/files-grp.c: Likewise.
44558         * nss/nss_files/files-hosts.c: Likewise.
44559         * nss/nss_files/files-network.c: Likewise.
44560         * nss/nss_files/files-proto.c: Likewise.
44561         * nss/nss_files/files-pwd.c: Likewise.
44562         * nss/nss_files/files-rpc.c: Likewise.
44563         * nss/nss_files/files-service.c: Likewise.
44564         * nss/nss_files/files-sgrp.c: Likewise.
44565         * nss/nss_files/files-spwd.c: Likewise.
44566         * nss/nss_db/db-alias.c: Removed.
44567         * nss/nss_db/dummy-db.h: Removed.
44568
44569 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44570
44571         * nss/makedb.c: Rewritten to not use database library.
44572         * nss/Makefile: Update to build new makedb program.
44573
44574 2011-06-14  Andreas Jaeger  <aj@suse.de>
44575
44576         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44577         memset declaration.
44578
44579 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44580
44581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44582         tmpbuf.
44583
44584 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44585
44586         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44587         * elf/Makefile ($(objpfx)ld.so): Likewise.
44588
44589         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44590         Don't list ld.so twice in dependencies.
44591
44592         * posix/bug-regex31.c: Include <stdlib.h>.
44593
44594         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44595
44596         * nis/nss_compat/compat-spwd.c
44597         (getspent_next_nss_netgr): Remove unused variable.
44598         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44599
44600         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44601         nonmembers" output to use the right array.
44602
44603         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44604
44605         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44606
44607         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44608         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44609         * catgets/gencat.c (read_input_file): Likewise.
44610         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44611
44612         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44613         variable definition inside #if's controlling its use.
44614
44615         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44616
44617         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44618
44619         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44620
44621         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44622         unreachable code.
44623
44624         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44625
44626         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44627         * configure: Regenerated.
44628
44629         * Makerules: Revert last change.
44630         * elf/Makefile: Likewise.
44631
44632 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44633
44634         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44635         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44636         (reloc-link): Likewise.
44637
44638 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44639
44640         * elf/Makefile: Add rules to build pldd.
44641         * elf/pldd.c: New file.
44642         * elf/pldd-xx.c: New file.
44643
44644 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44645
44646         * version.h: Update for 2.15 development version.
44647
44648 2011-06-07  David S. Miller  <davem@davemloft.net>
44649
44650         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44651         ifuncs.
44652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44653         elf_machine_lazy_rel): Likewise.
44654         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44656         elf_machine_lazy_rel): Likewise.
44657         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44658         dl_hwcap via passed in argument.
44659         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44660         Likewise.
44661
44662 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44663
44664         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44665
44666 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44667
44668         [BZ #12849]
44669         * manual/fdl-1.1.texi: New file, verbatim from:
44670         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44671         * manual/lgpl-2.1.texi: New file, verbatim from:
44672         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44673         * manual/Makefile (licenses): New variable, list those new file names.
44674         (texis): Use it.
44675         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44676
44677         * manual/fdl.texi: File removed.
44678         * manual/lesser.texi: File removed.
44679         * manual/libc.texinfo (Copying, Documentation License):
44680         Use new @include file names, put @appendix directive before @include.
44681
44682 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44683
44684         [BZ #12841]
44685         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44686         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44687         (mq_open): Add __NTH.
44688
44689 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44690
44691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44692         Assume Intel Core i3/i5/i7 processor if AVX is available.
44693
44694 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44695
44696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44697         typo.
44698
44699 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44700
44701         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44702         memory.  Use alloca_account.  Fix memory leak when retrying.
44703
44704 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44705
44706         * version.h (RELEASE): Bump for 2.14 release.
44707         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44708
44709         * config.make.in (RANLIB): Remove entry.
44710
44711 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44712
44713         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44714         (libc.pot): Work around missing support for .ksh extension in xgettext.
44715
44716         [BZ #12684]
44717         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44718         if both request failed.
44719         (send_dg): In case of server errors clear resplen or *resplen2.
44720
44721         [BZ #12454]
44722         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44723         when there are multiple maps.
44724         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44725         (_dl_fini): Remove test here.
44726
44727         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44728
44729 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44730
44731         [BZ #12350]
44732         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44733         bit from old_res_options.
44734         (gaih_inet): Likewise.
44735
44736         [BZ #11099]
44737         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44738         as signed.
44739
44740         * resolv/res_init.c (res_setoptions): Make the code more compact.
44741
44742         [BZ #11558]
44743         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44744         set RES_USEVC.
44745
44746         [BZ #11634]
44747         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44748
44749         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44750
44751         [BZ #11781]
44752         * malloc/malloc.h: Declare malloc hook variables as volatile.
44753
44754         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44755         in last patch.
44756
44757         [BZ #11799]
44758         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44759         raise in the comment.
44760         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44761         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44762         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44763
44764 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44765
44766         [BZ #12811]
44767         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44768         grow the buffers more if it already has to be sufficient.
44769         (build_wcs_upper_buffer): Likewise.
44770         * posix/regexec.c (check_matching): Likewise.
44771         (clean_state_log_if_needed): Likewise.
44772         (extend_buffers): Don't enlarge buffers beyond size of the input
44773         buffer.
44774         Patches mostly by Emil Wojak <emil@wojak.eu>.
44775         * posix/bug-regex32.c: New file.
44776         * posix/Makefile (tests): Add bug-regex32.
44777
44778         * locale/findlocale.c (_nl_find_locale): Return right away if
44779         _nl_explode_name failed.
44780         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44781
44782         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44783
44784         * debug/xtrace.sh: Unify messages.
44785         * malloc/memusage.sh: Likewise.
44786
44787         [BZ #12813]
44788         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44789         time symbol from vDSO.  Substitute with vsyscall if not available.
44790         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44791         __vdso_time.
44792
44793         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44794         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44795         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44796         Add sendmmsg and internal_sendmmsg.
44797         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44798         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44799         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44800
44801         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44802         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44803         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44804
44805 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44806
44807         [BZ #12813]
44808         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44809         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44810         available.
44811         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44812         __vdso_getcpu.
44813
44814         [BZ #12814]
44815         * iconvdata/Makefile (tests): Add bug-iconv9.
44816         * iconvdata/bug-iconv9.c: New file.
44817
44818 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44819
44820         [BZ #12814]
44821         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44822
44823 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44824
44825         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44826         (struct user_regs_struct): Change intcs field back to cs.
44827
44828 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44829
44830         * po/ja.po: Update from translation team.
44831
44832 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44833
44834         [BZ #12795]
44835         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44836         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44837
44838 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44839
44840         * stdlib/longlong.h: Update from GCC.
44841
44842 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44843
44844         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44845         parameter name.
44846         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44847         Add parameter name.
44848         (__sysconf): Pass it down.
44849
44850 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44851
44852         [BZ #12671]
44853         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44854         some situations.
44855         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44856         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44857         add in in __libc_use_alloca calls.  Adjust callers.
44858         (glob): Use malloc in some situations.
44859
44860         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44861         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44862         pltexit.
44863
44864 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44865
44866         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44867         and CLOCK_BOOTTIME_ALARM.
44868
44869         [BZ #12782]
44870         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44871         is returned.
44872
44873         * string/_strerror.c (__strerror_r): Print negative errors as signed
44874         numbers.
44875
44876         [BZ #12777]
44877         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44878         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44879         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44880
44881         * configure.in: Fix typo in redirection and correct removal of test
44882         files in two cases.
44883
44884         [BZ #12788]
44885         * locale/setlocale.c (new_composite_name): Fix test to check for
44886         identical name of all categories.
44887
44888         [BZ #12792]
44889         * libio/filedoalloc.c (local_isatty): New function.
44890         (_IO_file_doallocate): Use local_isatty.
44891         * stdio-common/perror.c (perror): In case a new stream is used
44892         forward the stream error.
44893         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44894         error flag.
44895
44896 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44897
44898         [BZ #11869]
44899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44900         alloca.
44901         * include/alloca.h (extend_alloca_account): Define.
44902
44903         [BZ #11857]
44904         * posix/regex.h: Fix comments with documentation of user-accessible
44905         fields after compilation and describe correct free'ing of pattern
44906         after re_compile_pattern.
44907         Patch by Reuben Thomas <rrt@sc3d.org>.
44908
44909 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44910
44911         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44912         and -mno-altivec to prevent the compiler from using Altivec and/or
44913         VSX instructions when the corresponding registers are not available.
44914
44915 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44916
44917         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44918
44919 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44920
44921         * libio/freopen.c (freopen): Use __dup2, not dup2.
44922         * libio/freopen64.c (freopen64): Likewise.
44923
44924 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44925
44926         [BZ #12775]
44927         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44928         * math/Makefile (tests): Add test-powl.
44929         (CFLAGS-test-powl.c): Define.
44930         * math/test-powl.c: New file.
44931
44932 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44933
44934         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44935
44936 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44937
44938         [BZ #11837]
44939         * iconvdata/gb18030.c: Update to GB18020-2005.
44940
44941 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44942
44943         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44944         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44945         Patch by Aharon Robbins <arnold@skeeve.com>.
44946
44947         [BZ #11892]
44948         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44949         on the stack.
44950
44951         [BZ #11895]
44952         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44953         through underflows.
44954
44955         [BZ #12766]
44956         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44957         point to strings before performing equality test for error_one_per_line
44958         mode.
44959
44960         [BZ #11697]
44961         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44962
44963         [BZ #11820]
44964         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44965         (struct user_fpregs_struct): Avoid __uint*_t types.
44966
44967         [BZ #6420]
44968         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44969         symbol info.  Use it instead of calling _dl_addr locally.
44970         (lock_and_info): New function.
44971         (tr_freehook): Call lock_and_info and pass symbol info as additional
44972         parameter to tr_where.
44973         (tr_mallochook): Likewise.
44974         (tr_reallochook): Likewise.
44975         (tr_memalignhook): Likewise.
44976
44977         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44978         used and couldn't be at all thread-safe.
44979
44980 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44981
44982         * libio/freopen.c (freopen): Don't close old file descriptor
44983         before the new one is opened.  Instead dup the new file descriptor
44984         to the old one after the new stream is created.
44985         * libio/freopen64.c (freopen64): Likewise.
44986         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44987         * libio/fileops.c (_IO_new_file_close_it): Handle new
44988         _IO_FLAGS2_NOCLOSE flag.
44989         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44990         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44991         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44992         _IO_FLAGS2_NOCLOSE flag.
44993         * include/unistd.h: Add hidden_proto for dup3.
44994         Define __have_dup3.
44995         * io/dup3.c: Define hidden symbol.
44996         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44997
44998         [BZ #7101]
44999         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45000         when an incomplete long option is used.
45001         * posix/tst-getopt_long1.c: New file.
45002         * posix/Makefile (tests): Add tst-getopt_long1.
45003
45004         [BZ #10138]
45005         * scripts/config.guess: Update from autoconf-2.68.
45006         * scripts/config.sub: Likewise.
45007
45008         [BZ #10157]
45009         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45010         tests into ...
45011         (has_cpuclock): ...this.  New function.
45012         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45013         macro here based on has_cpuclock code.
45014
45015         [BZ #10149]
45016         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45017         First byte (not low byte) is now always NUL.
45018         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45019
45020         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45021         Use non-cancelable interfaces.
45022
45023         [BZ #9809]
45024         * locale/iso-639.def: Add entry for Sorani.
45025
45026         [BZ #11901]
45027         * include/stdlib.h: Move include protection to the right place.
45028         Define abort_msg_s.  Declare __abort_msg with it.
45029         * stdlib/abort.c (__abort_msg): Adjust type.
45030         * assert/assert.c (__assert_fail_base): New function.  Majority
45031         of code from __assert_fail.  Allocate memory for __abort_msg with
45032         mmap.
45033         (__assert_fail): Now call __assert_fail_base.
45034         * assert/assert-perr.c: Remove bulk of implementation.  Use
45035         __assert_fail_base.
45036         * include/assert.hL Declare __assert_fail_base.
45037         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45038         mmap.
45039         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45040
45041 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45042
45043         [BZ #11952]
45044         [BZ #12453]
45045         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45046         until all modules are registered in the DTV.
45047         * elf/Makefile: Add rules to build and run tst-tls19.
45048         * elf/tst-tls19.c: New file.
45049         * elf/tst-tls19mod1.c: New file.
45050         * elf/tst-tls19mod2.c: New file.
45051         * elf/tst-tls19mod3.c: New file.
45052         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45053
45054         [BZ #12083]
45055         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45056         correctly.
45057
45058         [BZ #12601]
45059         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45060         two-byte sequence errors.
45061         * iconvdata/Makefile (tests): Add bug-iconv8.
45062         * iconvdata/bug-iconv8.c: New file.
45063
45064         [BZ #12626]
45065         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45066         buf2 definition.
45067
45068         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45069
45070         [BZ #12432]
45071         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45072         (dummy_getcfa): New function.
45073         (init): Get _Unwind_GetCFA address, use dummy if not found.
45074         (backtrace_helper): In recursion check, also check whether CFA changes.
45075         (__backtrace): Completely initialize arg.
45076
45077         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45078         storing incomplete byte sequence in state object.  Avoid testing for
45079         guaranteed too small input if we know there is enough data available.
45080
45081 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45082
45083         * Makeconfig (+link-pie): Indent.
45084         * Rules (binaries-pie): Define if $(have-fpie) and
45085         $(build-shared).
45086         (binaries-shared): Also filter out $(binaries-pie).
45087         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45088         * nscd/Makefile (others-pie): Add nscd.
45089         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45090         ($(objpfx)nscd): Remove command override.
45091         * login/Makefile (others-pie): Add pt_chown.
45092         ($(objpfx)pt_chown): Remove command override.
45093         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45094         remove command overrides.
45095
45096 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45097
45098         * libio/tst_putwc.c: Fix error messages.
45099
45100         [BZ #12724]
45101         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45102         currently writing and seek to current position when not.
45103         * libio/Makefile (tests): Add bug-fclose1.
45104         * libio/bug-fclose1.c: New file.
45105
45106 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45107
45108         [BZ #12511]
45109         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45110         don't set DF_1_NODELETE here.
45111         (do_lookup_x): When entering new entry test for copy relocation
45112         and if necessary set DF_1_NODELETE flag.
45113         * elf/tst-unique4.cc: New file.
45114         * elf/tst-unique4.h: New file.
45115         * elf/tst-unique4lib.cc: New file.
45116         * elf/Makefile: Add rules to build and run tst-unique4.
45117         Patch by Piotr Bury <pbury@goahead.com>.
45118
45119 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45120
45121         [BZ #12052]
45122         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45123
45124         [BZ #12625]
45125         * misc/mntent_r.c (addmntent): Flush the stream after the output
45126
45127         [BZ #12393]
45128         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45129         (is_trusted_path_normalize): Skip initial colon.  Append slash
45130         to empty buffer.  Duplicate is_trusted_path code but allow
45131         constructed patch to be prefix.
45132         (is_dst): Allow $ORIGIN followed by /.
45133         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45134         Correct testing of result of is_trusted_path_normalize
45135         (decompose_rpath): Fix warning.
45136
45137 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45138
45139         [BZ #11257]
45140         * grp/initgroups.c (internal_getgrouplist): When we found the service
45141         list through the initgroups entry in nsswitch.conf do not always
45142         continue on a successful lookup.  Don't always use the
45143         __nss_group_database value if it is set.
45144         * nss/nsswitch.conf (initgroups): Change action for successful db
45145         lookup to continue for compatibility.
45146
45147 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45148
45149         [BZ #11532]
45150         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45151         and CP774 modules.
45152         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45153         and CP774 modules.
45154         * iconvdata/tst-tables.sh: Likewise.
45155         * iconvdata/cp770.c: New file.
45156         * iconvdata/cp771.c: New file.
45157         * iconvdata/cp772.c: New file.
45158         * iconvdata/cp773.c: New file.
45159         * iconvdata/cp774.c: New file.
45160         * iconvdata/testdata/CP770: New file.
45161         * iconvdata/testdata/CP770..UTF8: New file.
45162         * iconvdata/testdata/CP771: New file.
45163         * iconvdata/testdata/CP771..UTF8: New file.
45164         * iconvdata/testdata/CP772: New file.
45165         * iconvdata/testdata/CP772..UTF8: New file.
45166         * iconvdata/testdata/CP773: New file.
45167         * iconvdata/testdata/CP773..UTF8: New file.
45168         * iconvdata/testdata/CP774: New file.
45169         * iconvdata/testdata/CP774..UTF8: New file.
45170
45171         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45172         END CHARMAP line.
45173         * iconvdata/gen-8bit-gap.sh: Likewise.
45174         * iconvdata/gen-8bit.sh: Likewise.
45175
45176         * locale/iso-639.def: Add ary entry.
45177
45178         [BZ #11258]
45179         * locale/C-translit.h.in: Add U20A1 transliteration.
45180
45181         [BZ #12178]
45182         * locale/iso-639.def: Add wae entry.
45183         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45184
45185         [BZ #12545]
45186         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45187         for n.
45188
45189         [BZ #12711]
45190         * locale/C-translit.h.in: Add entry for U20B9.
45191         Patch by pravin.d.s@gmail.com.
45192
45193 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45194
45195         [BZ #12713]
45196         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45197         ENAMETOOLONG use generic getcwd.
45198         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45199         in rtld.  Use *stat64.
45200         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45201         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45202         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45203         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45204         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45205         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45206         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45207         __fstatat64 macros.
45208         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45209         * dirent/rewinddir.c: Add libc_hidden_def.
45210         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45211         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45212
45213         * include/dirent.h (__alloc_dir): Add flags parameter.
45214         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45215         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45216         __alloc_dir.
45217         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45218         from fdopendir if O_CLOEXEC is already set.
45219
45220 2011-03-15  Alan Modra  <amodra@gmail.com>
45221
45222         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45223         l_tls_firstbyte_offset non-zero.  Save padding offset in
45224         l_tls_firstbyte_offset for later use.
45225         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45226         freeing static tls block.
45227
45228 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45229
45230         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45231         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45232         being defined by the kernel headers.
45233
45234 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45235
45236         [BZ #12734]
45237         * resolv/resolv.h: Define RES_NOTLDQUERY.
45238         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45239         no-tld-query and set RES_NOTLDQUERY.
45240         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45241         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45242         modern BIND to search name as TLD unless forbidden.
45243
45244 2011-05-07  Petr Baudis  <pasky@suse.cz>
45245             Ulrich Drepper  <drepper@gmail.com>
45246
45247         [BZ #12393]
45248         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45249         (is_trusted_path): ...to here.
45250         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45251         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45252         using is_trusted_path_normalize() in setuid scripts.
45253
45254 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45255
45256         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45257         __BEGIN/__END_DECLS.
45258
45259 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45260
45261         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45262         NSS_STATUS_NOTFOUND if no record was found.
45263
45264 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45265
45266         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45267         (headers-not-in-tirpc): Remove rpc/netdb.h
45268         * resolv/netdb.h: Revert last change.
45269
45270 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45271
45272         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45273         circular dependency between libgcc.a and libc.a.
45274
45275 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45276
45277         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45278         * nis/Makefile: Don't install rpcsvc/*.
45279         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45280         instead of <rpc/types.h>.
45281         (MAXHOSTNAMELEN): Define.
45282
45283 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45284
45285         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45286
45287 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45288
45289         [BZ #12714]
45290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45291         gethostbyname4_r when IPv6 results are possible.
45292
45293 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45294
45295         [BZ #12723]
45296         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45297         _PC_PIPE_BUF handling.
45298
45299 2011-04-30  Bruno Haible  <bruno@clisp.org>
45300
45301         [BZ #12717]
45302         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45303         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45304         to 'int'.
45305         * inet/getnameinfo.c (getnameinfo): Likewise.
45306
45307 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45308
45309         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45310         to groups setting in database lookup.
45311         * nss/nsswitch.conf: Add initgroups entry.
45312
45313 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45314
45315         [BZ #12685]
45316         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45317         mode string.
45318         Patch by Eric Blake <eblake@redhat.com>.
45319
45320 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45321
45322         * sunrpc/Makefile (need-export-routines): Add svc_run.
45323         (routines): Remove svc_run.
45324         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45325         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45326         * sunrpc/svc_run.c (svc_run): Likewise.
45327         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45328
45329 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45330
45331         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45332         problem in reallocation in last patch.
45333
45334 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45335
45336         * sunrpc/Makefile: Move inclusion of Rules.
45337
45338 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45339
45340         * nss/nss_files/files-initgroups.c: New file.
45341         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45342         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45343         _nss_files_initgroups_dyn.
45344
45345 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45346
45347         * elf/elf.h (R_ARM_IRELATIVE): Define.
45348
45349 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45350
45351         * po/ru.po: Update from translation team.
45352
45353 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45354
45355         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45356         dependencies.
45357
45358 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45359
45360         [BZ #12653]
45361         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45362         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45363         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45364         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45365         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45366
45367 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45368
45369         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45370         differing bytes.
45371         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45372         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45373         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45374
45375 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45376
45377         [BZ #12420]
45378         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45379         storing it.
45380         * stdlib/bug-getcontext.c: New file.
45381         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45382
45383 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45384
45385         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45386         instructions into .machine "z9-109".
45387         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45388         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45389
45390 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45391
45392         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45393         between environment variables and auxiliary vector.
45394
45395 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45396
45397         * Makefile: Add rules to build linkobj/libc.so.
45398         * include/libc-symbols.h: Define libc_hidden_nolink.
45399         * include/rpc/auth.h: Mark functions which are to be hidden.
45400         * include/rpc/auth_des.h: Likewise.
45401         * include/rpc/auth_unix.h: Likewise.
45402         * include/rpc/clnt.h: Likewise.
45403         * include/rpc/des_crypt.h: Likewise.
45404         * include/rpc/key_prot.h: Likewise.
45405         * include/rpc/pmap_clnt.h: Likewise.
45406         * include/rpc/pmap_prot.h: Likewise.
45407         * include/rpc/pmap_rmt.h: Likewise.
45408         * include/rpc/rpc_msg.h: Likewise.
45409         * include/rpc/svc.h: Likewise.
45410         * include/rpc/svc_auth.h: Likewise.
45411         * include/rpc/xdr.h: Likewise.
45412         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45413         * nss/Makefile: Likewise.
45414         * sunrpc/Makefile: Don't install headers.  Build library with normal
45415         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45416         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45417         for the compat linking library.  Remove use of INTDEF/INTUSE.
45418         * sunrpc/auth_none.c: Likewise.
45419         * sunrpc/auth_unix.c: Likewise.
45420         * sunrpc/authdes_prot.c: Likewise.
45421         * sunrpc/authuxprot.c: Likewise.
45422         * sunrpc/clnt_gen.c: Likewise.
45423         * sunrpc/clnt_perr.c: Likewise.
45424         * sunrpc/clnt_raw.c: Likewise.
45425         * sunrpc/clnt_simp.c: Likewise.
45426         * sunrpc/clnt_tcp.c: Likewise.
45427         * sunrpc/clnt_udp.c: Likewise.
45428         * sunrpc/clnt_unix.c: Likewise.
45429         * sunrpc/des_crypt.c: Likewise.
45430         * sunrpc/des_soft.c: Likewise.
45431         * sunrpc/get_myaddr.c: Likewise.
45432         * sunrpc/key_call.c: Likewise.
45433         * sunrpc/key_prot.c: Likewise.
45434         * sunrpc/netname.c: Likewise.
45435         * sunrpc/pm_getmaps.c: Likewise.
45436         * sunrpc/pm_getport.c: Likewise.
45437         * sunrpc/pmap_clnt.c: Likewise.
45438         * sunrpc/pmap_prot.c: Likewise.
45439         * sunrpc/pmap_prot2.c: Likewise.
45440         * sunrpc/pmap_rmt.c: Likewise.
45441         * sunrpc/publickey.c: Likewise.
45442         * sunrpc/rpc_cmsg.c: Likewise.
45443         * sunrpc/rpc_common.c: Likewise.
45444         * sunrpc/rpc_dtable.c: Likewise.
45445         * sunrpc/rpc_prot.c: Likewise.
45446         * sunrpc/rpc_thread.c: Likewise.
45447         * sunrpc/rtime.c: Likewise.
45448         * sunrpc/svc.c: Likewise.
45449         * sunrpc/svc_auth.c: Likewise.
45450         * sunrpc/svc_authux.c: Likewise.
45451         * sunrpc/svc_raw.c: Likewise.
45452         * sunrpc/svc_run.c: Likewise.
45453         * sunrpc/svc_simple.c: Likewise.
45454         * sunrpc/svc_tcp.c: Likewise.
45455         * sunrpc/svc_udp.c: Likewise.
45456         * sunrpc/svc_unix.c: Likewise.
45457         * sunrpc/svcauth_des.c: Likewise.
45458         * sunrpc/xcrypt.c: Likewise.
45459         * sunrpc/xdr.c: Likewise.
45460         * sunrpc/xdr_array.c: Likewise.
45461         * sunrpc/xdr_float.c: Likewise.
45462         * sunrpc/xdr_intXX_t.c: Likewise.
45463         * sunrpc/xdr_mem.c: Likewise.
45464         * sunrpc/xdr_rec.c: Likewise.
45465         * sunrpc/xdr_ref.c: Likewise.
45466         * sunrpc/xdr_sizeof.c: Likewise.
45467         * sunrpc/xdr_stdio.c: Likewise.
45468
45469 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45470
45471         [BZ #12650]
45472         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45473         * sysdeps/ia64/dl-tls.h: Likewise.
45474         * sysdeps/powerpc/dl-tls.h: Likewise.
45475         * sysdeps/s390/dl-tls.h: Likewise.
45476         * sysdeps/sh/dl-tls.h: Likewise.
45477         * sysdeps/sparc/dl-tls.h: Likewise.
45478         * sysdeps/x86_64/dl-tls.h: Likewise.
45479         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45480
45481 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45482
45483         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45484         rpath element also skip the following colon.
45485         (expand_dynamic_string_token): Add is_path parameter and pass
45486         down to DL_DST_REQUIRED and _dl_dst_substitute.
45487         (decompose_rpath): Call expand_dynamic_string_token with
45488         non-zero is_path.  Ignore empty rpaths.
45489         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45490         with zero is_path.
45491
45492 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45493
45494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45495         Make cancelable.
45496
45497 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45498
45499         [BZ #12655]
45500         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45501         Patch by Filipe David Manana <fdmanana@apache.org>.
45502
45503 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45504
45505         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45506         Maintain aligned stack.
45507         (CHECK_RSP): Remove unused macro.
45508
45509 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45510
45511         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45512         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45513
45514 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45515
45516         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45517
45518         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45519
45520 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45521
45522         [BZ #12518]
45523         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45524         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45525         * sysdeps/x86_64/memmove.c: New file.
45526         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45527         (memcpy): Renamed to ...
45528         (__new_memcpy): This.
45529         (memcpy): Provide GLIBC_2_14 memcpy.
45530         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45531         (memcpy): Provide GLIBC_2_2_5 memcpy.
45532
45533 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45534
45535         [BZ #12631]
45536         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45537
45538 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45539
45540         * misc/syncfs.c: New file.
45541         * misc/Makefile (routines): Add syncfs.
45542         * posix/unistd.h: Declare syncfs.
45543         * sysdeps/unix/syscalls.list: Add syncfs.
45544
45545 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45546
45547         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45548         open_by_handle_at.
45549         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45550         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45551         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45552         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45554         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45555         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45556
45557 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45558
45559         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45560         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45561         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45562         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45563         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45564         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45565         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45566
45567         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45568         sync_file_range.c with -fexceptions.
45569         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45570         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45571         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45572         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45573         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45574         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45576         sync_file_range as cancellation point
45577         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45578         now a wrapper around __call_sync_file_range with cancellation handling.
45579         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45580         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45581         function name to __call_sync_file_range.
45582         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45583         Add call_sync_file_range.
45584
45585 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45586
45587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45588         bits/timex.h.
45589
45590 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45591
45592         * iconv/iconv.h: Fix typo in comment.
45593         * io/fcntl.h: Likewise.
45594         * libio/stdio.h: Likewise.
45595         * posix/spawn.h: Likewise.
45596         * posix/unistd.h: Likewise.
45597         * stdlib/stdlib.h: Likewise.
45598         * time/time.h: Likewise.
45599         * wcsmbs/wchar.h: Likewise.
45600
45601         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45602         open_by_handle): Add.
45603         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45604         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45605         Augment a few comments.
45606         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45607         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45608         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45609         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45610         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45611         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45612         open_by_handle.
45613
45614         * io/fcntl.h (AT_EMPTY_PATH): Define.
45615
45616 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45617
45618         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45619         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45620         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45621         to...
45622         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45623         * Versions.def: Add GLIBC_2.14.
45624         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45625         Export.
45626
45627 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45628
45629         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45630         round counter.
45631         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45632
45633 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45634
45635         [BZ #12597]
45636         * string/test-strncmp.c (do_page_test): New function.
45637         (check2): Likewise.
45638         (test_main): Call check2.
45639         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45640
45641 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45642
45643         [BZ #12587]
45644         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45645         Handle cache information in CPU leaf 4.
45646         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45647
45648 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45649
45650         [BZ #12583]
45651         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45652         character representation.
45653         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45654
45655 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45656
45657         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45658         END(__isnan) to END(__isnanf) to match function entry point/label
45659         EALIGN(__isnanf,...).
45660
45661 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45662
45663         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45664
45665 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45666
45667         [BZ #12510]
45668         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45669         copy from the symbol referenced in the relocation to initialize the
45670         used variable.
45671         Patch by Piotr Bury <pbury@goahead.com>.
45672         * elf/Makefile: Add rules to build and tst-unique3.
45673         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45674         * elf/tst-unique3.cc: New file.
45675         * elf/tst-unique3.h: New file.
45676         * elf/tst-unique3lib.cc: New file.
45677         * elf/tst-unique3lib2.cc: New file.
45678
45679         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45680
45681 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45682
45683         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45684         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45685         to _start.
45686
45687 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45688
45689         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45690         to-be-loaded object along a path to loader is ld.so.
45691
45692 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45693             Ulrich Drepper  <drepper@gmail.com>
45694
45695         * sysdeps/x86_64/memset.S: After aligning destination, code
45696         branches to different locations depending on the value of
45697         misalignment, when multiarch is enabled. Fix this.
45698
45699 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45700
45701         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45702         Set _x86_64_preferred_memory_instruction for AMD processsors.
45703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45704         Set bit_Prefer_SSE_for_memop for AMD processors.
45705
45706 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45707
45708         * libio/fmemopen.c (fmemopen): Optimize a bit.
45709
45710 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45711
45712         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45713
45714 2011-03-03  Roland McGrath  <roland@redhat.com>
45715
45716         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45717
45718 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45719
45720         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45721         __bzero_ultra1 instead of __memset_ultra1.
45722
45723 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45724             Ulrich Drepper  <drepper@gmail.com>
45725
45726         [BZ #12509]
45727         * include/link.h (struct link_map): Add l_orig_initfini.
45728         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45729         returning unsuccessfully.
45730         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45731         close of a file loaded at startup, restore the original l_initfini
45732         list.
45733         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45734         list, store the pointer.
45735         * elf/Makefile ($(objpfx)noload-mem): New rule.
45736         (noload-ENV): Define.
45737         (tests): Add $(objpfx)noload-mem.
45738         * elf/noload.c: Include <memcheck.h>.
45739         (main): Call mtrace.  Close all opened handles.
45740
45741 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45742
45743         [BZ #12454]
45744         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45745         dependencies are missing.
45746
45747 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45748
45749         Fix __if_freereq crash: Unlike the generic version which uses free,
45750         Hurd needs munmap.
45751         * sysdeps/mach/hurd/ifreq.h: New file.
45752
45753 2011-01-27  Petr Baudis  <pasky@suse.cz>
45754             Ulrich Drepper  <drepper@gmail.com>
45755
45756         [BZ 12445]#
45757         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45758         to extend_alloca().
45759         * stdio-common/bug23.c: New file.
45760         * stdio-common/Makefile (tests): Add bug23.
45761
45762 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45763             Ulrich Drepper  <drepper@gmail.com>
45764
45765         [BZ #12489]
45766         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45767         before performing relro protection.  At old place add assertion
45768         to make sure nothing changed.
45769
45770 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45771             Glauber de Oliveira Costa  <glommer@gmail.com>
45772
45773         * elf/elf.h: Add new ARM TLS relocs.
45774
45775 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45776
45777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45778         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45779         cast from r3.
45780         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45781         'tests' variable.
45782         * sysdeps/wordsize-64/tst-writev.c: New file.
45783
45784 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45785
45786         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45787         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45788         insns in _dl_start to prevent a TOC reference before relocs are
45789         resolved.
45790
45791 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45792
45793         [BZ #12469]
45794         * Makeconfig: Remove RANLIB definition.
45795         * Makerules: Don't use RANLIB.
45796         * aclocal.m4: Remove ranlib test.
45797         * configure.in: No need to check for ranlib.
45798         * elf/rtld-Rules: Don't use RANLIB.
45799
45800 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45801
45802         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45803         protection macro.
45804         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45805         inclusion protection macro.
45806
45807         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45808         SIGRTMIN and SIGRTMAX and print information in that case only when
45809         SIGRTMIN is defined.
45810
45811 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45812
45813         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45814         arginfo fn returning -1.
45815
45816         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45817         and thousands string is zero terminated.
45818
45819 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45820
45821         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45822         sysdeps/unix/sysv/linux/bits/socket.h.
45823
45824 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45825
45826         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45827         (__CPU_COUNT): Remove old macros.
45828         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45829         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45830         (__CPU_ALLOC, __CPU_FREE): Add macros.
45831         (__sched_cpualloc, __sched_cpufree): Add declarations.
45832
45833 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45834
45835         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45836         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45837         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45838         (readdhstai): Return value of addhstaiX call.
45839         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45840         (addgrbyX): Return value returned by cache_addgr.
45841         (readdgrbyname): Return value returned by addgrbyX.
45842         (readdgrbygid): Likewise.
45843         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45844         (addpwbyX): Return value returned by cache_addpw.
45845         (readdpwbyname): Return value returned by addhstbyX.
45846         (readdpwbyuid): Likewise.
45847         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45848         (addservbyX): Return value returned by cache_addserv.
45849         (readdservbyname): Return value returned by addservbyX:
45850         (readdservbyport): Likewise.
45851         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45852         (addhstbyX): Return value returned by cache_addhst.
45853         (readdhstbyname): Return value returned by addhstbyX.
45854         (readdhstbyaddr): Likewise.
45855         (readdhstbynamev6): Likewise.
45856         (readdhstbyaddrv6): Likewise.
45857         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45858         (readdinitgroups): Return value returned by addinitgroupsX.
45859         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45860         (prune_cache): Keep track of timeout value of re-added entries.
45861         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45862         * nscd/nscd.h: Adjust prototypes of readd* functions.
45863
45864 2011-02-04  Roland McGrath  <roland@redhat.com>
45865
45866         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45867         (nis_stats): Likewise.
45868         * nis/nis_modify.c (nis_modify): Likewise.
45869         * nis/nis_remove.c (nis_remove): Likewise.
45870         * nis/nis_add.c (nis_add): Likewise.
45871
45872         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45873
45874         * posix/fnmatch_loop.c: Add some consts.
45875
45876         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45877
45878 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45879
45880         [BZ #12460]
45881         * config.make.in (config-cflags-novzeroupper): Define.
45882         * configure.in: Substitute libc_cv_cc_novzeroupper.
45883         * elf/Makefile (AVX-CFLAGS): Define.
45884         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45885         (CFLAGS-tst-auditmod4a.c): Likewise.
45886         (CFLAGS-tst-auditmod4b.c): Likewise.
45887         (CFLAGS-tst-auditmod6b.c): Likewise.
45888         (CFLAGS-tst-auditmod6c.c): Likewise.
45889         (CFLAGS-tst-auditmod7b.c): Likewise.
45890         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45891
45892 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45893
45894         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45895         function to the callback.
45896         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45897
45898 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45899
45900         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45901         of errno.
45902
45903 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45904
45905         [BZ #11724]
45906         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45907         of constructors.
45908         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45909         of destructors.
45910         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45911
45912         [BZ #11724]
45913         * elf/Makefile: Add rules to build and run new test.
45914         * elf/tst-initorder.c: New file.
45915         * elf/tst-initorder.exp: New file.
45916         * elf/tst-initordera1.c: New file.
45917         * elf/tst-initordera2.c: New file.
45918         * elf/tst-initordera3.c: New file.
45919         * elf/tst-initordera4.c: New file.
45920         * elf/tst-initorderb1.c: New file.
45921         * elf/tst-initorderb2.c: New file.
45922         * elf/tst-order-a1.c: New file.
45923         * elf/tst-order-a2.c: New file.
45924         * elf/tst-order-a3.c: New file.
45925         * elf/tst-order-a4.c: New file.
45926         * elf/tst-order-b1.c: New file.
45927         * elf/tst-order-b2.c: New file.
45928         * elf/tst-order-main.c: New file.
45929         New test case by George Gensure <werkt0@gmail.com>.
45930
45931 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45932
45933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45934         decoding ACE if AI_CANONIDN.
45935
45936 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45937
45938         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45939
45940 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45941
45942         * version.h (RELEASE): Bump for 2.13 release.
45943         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45944
45945         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45946
45947         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45948         MADV_NOHUGEPAGE.
45949         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45950         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45951         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45952         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45953         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45954         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45955
45956         * posix/getconf.c: Update copyright year.
45957         * catgets/gencat.c: Likewise.
45958         * csu/version.c: Likewise.
45959         * debug/catchsegv.sh: Likewise.
45960         * debug/xtrace.sh: Likewise.
45961         * elf/ldconfig.c: Likewise.
45962         * elf/ldd.bash.in: Likewise.
45963         * elf/sprof.c (print_version): Likewise.
45964         * iconv/iconv_prog.c: Likewise.
45965         * iconv/iconvconfig.c: Likewise.
45966         * locale/programs/locale.c: Likewise.
45967         * locale/programs/localedef.c: Likewise.
45968         * malloc/memusage.sh: Likewise.
45969         * malloc/mtrace.pl: Likewise.
45970         * nscd/nscd.c (print_version): Likewise.
45971         * nss/getent.c: Likewise.
45972
45973         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45974         PF_CAIF, and PF_ALG.
45975         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45976
45977 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45978
45979         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45980         (modules-names): Use them.
45981         (ifunc-test-modules, ifunc-pie-tests): Define.
45982         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45983         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45984         (test-extras): Likewise.
45985         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45986         $(compile-command.c).
45987         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45988         (all-built-dso): Define.
45989         (check-textrel.out, check-execstack.out): Depend on it.
45990
45991         * configure.in: Don't override --enable-multi-arch.
45992
45993 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45994
45995         [BZ #6812]
45996         * nscd/hstcache.c (tryagain): Define.
45997         (cache_addhst): Return tryagain not notfound for temporary errors.
45998         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45999         failed.
46000
46001 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46002
46003         [BZ #10563]
46004         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46005         to make the syscall.
46006         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46007
46008         [BZ #12378]
46009         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46010         and fall back to matching as normal character if the string ends before
46011         the matching ']' is found.  This is what POSIX requires.
46012         * posix/testfnm.c: Adjust test result.
46013         * posix/globtest.sh: Adjust test result.  Add new test.
46014         * posix/tst-fnmatch.input: Likewise.
46015         * posix/tst-fnmatch2.c: Add new test.
46016
46017 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46018
46019         * elf/Makefile (check-execstack): Revert last change.  Depend on
46020         check-execstack.h.
46021         (check-execstack.h): New target.
46022         (generated): Add check-execstack.h.
46023         * elf/check-execstack.c: Include "check-execstack.h".
46024         (main): Revert last change.
46025         (handle_file): Return zero if GNU_STACK is absent and
46026         DEFAULT_STACK_PERMS doesn't include PF_X.
46027
46028 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46029
46030         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46031         in child fails because the descriptor is already closed.
46032         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46033         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46034         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46035
46036         [BZ #12397]
46037         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46038         syscall.
46039
46040         [BZ #10484]
46041         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46042         temporary buffer used to handle multi lookups locally.
46043         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46044
46045 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46046
46047         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46048         loader is ld.so.
46049
46050 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46051
46052         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46053         alignment for SSE2.
46054
46055 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46056
46057         [BZ #12394]
46058         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46059         characters.  When rounding increased number of integer digits recompute
46060         number of groups.
46061         * stdio-common/tst-grouping.c: New file.
46062         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46063
46064 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46065
46066         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46067         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46068
46069         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46070         void.
46071         * bits/select.h: Likewise.
46072
46073 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46074
46075         * po/ja.po: Update from translation team.
46076
46077 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46078
46079         [BZ #11155]
46080         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46081         implementation just like for lxstat, fxstatat, et al.
46082
46083 2010-12-27  Jim Meyering  <meyering@redhat.com>
46084
46085         [BZ #12348]
46086         * posix/regexec.c (build_trtable): Return failure indication upon
46087         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46088
46089 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46090
46091         [BZ #12201]
46092         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46093         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46094         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46095         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46096
46097         [BZ #12207]
46098         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46099
46100         [BZ #12204]
46101         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46102         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46103
46104 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46105
46106         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46107         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46108         script has SORT_BY_INIT_PRIORITY.
46109         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46110         NO_CTORS_DTORS_SECTIONS is defined.
46111         * elf/soinit.c: Likewise.
46112         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46113         NO_CTORS_DTORS_SECTIONS is defined.
46114         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46115         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46116         * sysdeps/sh/init-first.c: Likewise.
46117         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46118
46119 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46120
46121         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46122         always use the slow path.
46123
46124 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46125
46126         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46127         similar rule which adds the sysdep directories to the header search in
46128         order to pick up the correct platform stackinfo.h.
46129         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46130         perform test if it is, otherwise return successfully without testing.
46131         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46132         DEFAULT_STACK_PERMS define in stackinfo.h.
46133         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46134         defined in stackinfo.h.
46135         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46136         DEFAULT_STACK_PERMS defined in stackinfo.h.
46137         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46138         * sysdeps/ia64/stackinfo.h: Likewise.
46139         * sysdeps/s390/stackinfo.h: Likewise.
46140         * sysdeps/sh/stackinfo.h: Likewise.
46141         * sysdeps/sparc/stackinfo.h: Likewise.
46142         * sysdeps/x86_64/stackinfo.h: Likewise.
46143         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46144         PF_X for powerpc64.  Retain PF_X for powerpc32.
46145
46146 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46147
46148         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46149         accurately.
46150         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46151         GETDENTS_64BIT_ALIGNED.
46152
46153 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46154
46155         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46156
46157 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46158
46159         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46160         _GNU_SOURCE.
46161
46162         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46163         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46164         Remove __restrict.
46165         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46166         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46167
46168 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46169
46170         [BZ #11655]
46171         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46172         are initialized.
46173
46174 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46175
46176         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46177
46178 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46179
46180         * po/it.po: Update from translation team.
46181
46182 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46183
46184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46185         unused codes.
46186
46187 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46188
46189         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46190
46191 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46192
46193         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46194         specially.
46195         (gaih_getanswer_slice): Likewise.
46196
46197 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46198
46199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46200
46201 2010-05-31  Petr Baudis  <pasky@suse.cz>
46202
46203         [BZ #11149]
46204         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46205         silently even in the chroot mode.
46206
46207 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46208
46209         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46210         last patch a bit.  Pretty printing
46211
46212 2010-05-31  Petr Baudis <pasky@suse.cz>
46213
46214         [BZ #10085]
46215         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46216         initialization of skip_initgroups_dyn.
46217
46218 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46219
46220         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46221         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46222
46223 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46224
46225         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46226
46227 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46228
46229         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46230         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46231         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46232         ($(objpfx)tst-fnmatch-mem): New rule.
46233         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46234         * posix/tst-fnmatch.c (main): Call mtrace.
46235
46236 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46237
46238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46239         Support Intel processor model 6 and model 0x2c.
46240
46241 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46242
46243         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46244           signed comparison.
46245
46246 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46247
46248         [BZ #12205]
46249         * string/test-strncasecmp.c (check_result): New function.
46250         (do_one_test): Use it.
46251         (check1): New function.
46252         (test_main): Use it.
46253         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46254         Support strcasecmp and strncasecmp.
46255
46256 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46257
46258         [BZ #12194]
46259         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46260         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46261
46262 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46263
46264         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46265         IFUNC support.
46266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46267         memset-x86-64.
46268         * sysdeps/x86_64/multiarch/bzero.S: New file.
46269         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46270         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46271         * sysdeps/x86_64/multiarch/memset.S: New file.
46272         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46274         Set bit_Prefer_SSE_for_memop for Intel processors.
46275         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46276         Define.
46277         (index_Prefer_SSE_for_memop): Define.
46278         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46279
46280 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46281
46282         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46283         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46284
46285 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46286
46287         [BZ #12191]
46288         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46289         (__x86_64_raw_data_cache_size_half): Likewise.
46290         (__x86_64_raw_shared_cache_size): Likewise.
46291         (__x86_64_raw_shared_cache_size_half): Likewise.
46292
46293         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46294         (__x86_64_raw_data_cache_size_half): Likewise.
46295         (__x86_64_raw_shared_cache_size): Likewise.
46296         (__x86_64_raw_shared_cache_size_half): Likewise.
46297         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46298         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46299         and __x86_64_raw_shared_cache_size_half.  Round
46300         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46301         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46302         to multiple of 256 bytes.
46303
46304 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46305
46306         [BZ #12167]
46307         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46308         of inacessible symlinks.  Verify result of symlink before returning it.
46309         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46310         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46311
46312 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46313
46314         * math/math.h (isinf): Fix typo in comment.
46315
46316 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46317
46318         * po/da.po: Update from translation team.
46319
46320 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46321
46322         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46323         is added to the list.
46324
46325 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46326             Ulrich Drepper  <drepper@gmail.com>
46327
46328         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46329         the global list here.  Move code to...
46330         (_dl_add_to_namespace_list): ...here.  New function.
46331         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46332         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46333         * elf/dl-load.c (lose): Don't remove the element from the list.
46334         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46335         (_dl_map_object): Likewise.
46336
46337 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46338
46339         [BZ #12159]
46340         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46341         into all bytes of SSE register.
46342         Patch by Richard Li <richardpku@gmail.com>.
46343
46344 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46345
46346         [BZ #12140]
46347         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46348         perturbing.
46349
46350 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46351
46352         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46353         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46354         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46355         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46357         submachine.
46358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46359
46360 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46361
46362         * include/dlfcn.h (__RTLD_SECURE): Define.
46363         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46364         mode & __RTLD_SECURE instead.
46365         (open_path): Rename preloaded parameter to secure.
46366         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46367         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46368         * elf/dl-deps.c (openaux): Likewise.
46369         * elf/rtld.c (struct map_args): Remove is_preloaded.
46370         (map_doit): Don't use it.
46371         (dl_main): Likewise.
46372         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46373         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46374
46375 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46376
46377         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46378         (sysd-rules-targets): Remove duplicates.
46379         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46380         rtld-%.$o dependency.
46381
46382 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46383
46384         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46385         _dl_map_object do it.
46386
46387 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46388
46389         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46390         fast fma builtins, define the macros in the C99 standard.
46391         (FP_FAST_FMAF): Likewise.
46392         (FP_FAST_FMAL): Likewise.
46393         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46394
46395         * bits/mathdef.h: Update copyright year.
46396         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46397
46398 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46399
46400         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46401         builtins, define the macros in the C99 standard.
46402         (FP_FAST_FMAF): Likewise.
46403         (FP_FAST_FMAL): Likewise.
46404         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46405         multiply/add.
46406         (FP_FAST_FMAF): Likewise.
46407
46408 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46409
46410         [BZ #3268]
46411         * math/libm-test.inc (fma_test): Some new testcases.
46412         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46413         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46414         y and infinite z.  Do multiplication by C already in long double.
46415         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46417         y and infinite z.  Do bitwise or of inexact bit into u.d.
46418         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46419         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46420         * sysdeps/i386/fpu/s_fma.S: Removed.
46421         * sysdeps/i386/fpu/s_fmal.S: Removed.
46422
46423 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46424
46425         [BZ #3268]
46426         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46428         computation is not scheduled after fetestexcept.  Fix value
46429         of minimum denormal long double.
46430
46431 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46432
46433         [BZ #3268]
46434         * math/libm-test.inc (fma_test): Add some more tests.
46435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46436         correctly.
46437
46438 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46439
46440         * scripts/data/localplt-s390-linux-gnu.data: New file.
46441         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46442
46443 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46444
46445         [BZ #3268]
46446         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46447         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46448         instead of dbl-64.
46449         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46450         inlines.
46451         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46453         if one of x and y is very large and the other is subnormal.
46454         * sysdeps/s390/fpu/s_fmaf.c: New file.
46455         * sysdeps/s390/fpu/s_fma.c: New file.
46456         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46457         * sysdeps/powerpc/fpu/s_fma.S: New file.
46458         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46459         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46460         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46461
46462 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46463
46464         [BZ #3268]
46465         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46466         fma tests.
46467         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46468         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46469         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46470         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46471         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46472         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46473         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46474
46475 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46476
46477         [BZ #12078]
46478         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46479         * posix/bug-regex31.input: Add test case.
46480
46481 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46482
46483         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46484         * posix/bug-regex31.input: New file.
46485
46486         [BZ #12078]
46487         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46488         (parse_sub_exp): Fix last change, use postorder.
46489
46490         * posix/bug-regex31.c: New file.
46491         * posix/Makefile: Add rules to build and run bug-regex31.
46492
46493         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46494
46495         [BZ #12078]
46496         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46497
46498         [BZ #12108]
46499         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46500         to have entries in sys_siglist.
46501
46502         [BZ #12093]
46503         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46504         be NULL.
46505
46506 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46507
46508         [BZ #3268]
46509         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46510         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46511         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46512         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46513         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46514         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46515         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46516         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46517         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46518         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46519         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46520         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46521         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46522         * math/ftestexcept.c (fetestexcept): Likewise.
46523         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46524         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46525         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46526         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46527         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46528         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46529         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46530
46531 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46532
46533         [BZ #12107]
46534         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46535         newline.
46536
46537 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46538
46539         * string/bug-strstr1.c: New file.
46540         * string/Makefile: Add rules to build and run bug-strstr1.
46541
46542 2010-10-05  Eric Blake  <eblake@redhat.com>
46543
46544         [BZ #12092]
46545         * string/str-two-way.h (two_way_long_needle): Always clear memory
46546         when skipping input due to the shift table.
46547
46548 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46549
46550         [BZ #12005]
46551         * malloc/mcheck.c: Handle large requests.
46552
46553         [BZ #12077]
46554         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46555         for strncmp and strncasecmp.
46556         * string/stratcliff.c: Add tests for strcmp and strncmp.
46557         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46558
46559 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46560
46561         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46562         __set_fpscr.
46563
46564 2010-09-30  Andreas Jaeger  <aj@suse.de>
46565
46566         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46567         (CGROUP_SUPER_MAGIC): Define.
46568         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46569         Handle btrfs and cgroup file systems.
46570         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46571         Likewise.
46572
46573 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46574
46575         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46576         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46577
46578 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46579
46580         [BZ #12067]
46581         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46582         trying to locate the ELF header.
46583
46584 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46585
46586         [BZ #11611]
46587         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46588         Mask out sign-bit copies when constructing f_fsid.
46589
46590 2010-09-24  Petr Baudis <pasky@suse.cz>
46591
46592         * debug/stack_chk_fail_local.c: Add missing licence exception.
46593         * debug/warning-nop.c: Likewise.
46594
46595 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46596
46597         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46598         implementing getdents64 using getdents syscall, set d_type if
46599         __ASSUME_GETDENTS32_D_TYPE.
46600
46601 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46602
46603         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46604         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46605
46606 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46607
46608         [BZ #12037]
46609         * posix/unistd.h: Undo change of feature selection for ftruncate from
46610         2010-01-11.
46611
46612 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46613
46614         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46615         detection.
46616
46617 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46618
46619         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46620         fanotify_mark.
46621         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46622
46623 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46624
46625         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46626         variables after CHECK_SP call.
46627         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46628
46629 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46630             Ulrich Drepper  <drepper@redhat.com>
46631
46632         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46633         re-relocationg ld.so.
46634         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46635         _dl_init_paths call.
46636         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46637         here anymore.
46638
46639 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46640
46641         * resolv/res_init.c (__res_vinit): Count the default server we added.
46642
46643 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46644             Ulrich Drepper  <drepper@redhat.com>
46645
46646         [BZ #11968]
46647         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46648         (____longjmp_chk): Use %ebx for saving value across system call.
46649         Add unwind info.
46650
46651 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46652
46653         * manual/Makefile: Don't mix pattern rules with normal rules.
46654
46655 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46656
46657         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46658         operation.
46659         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46660         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46661         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46662         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46664         Likewise.
46665
46666 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46667
46668         [BZ #11979]
46669         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46670         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46671
46672 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46673
46674         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46675         * sysdeps/x86_64/addmul_1.S: Likewise.
46676         * sysdeps/x86_64/lshift.S: Likewise.
46677         * sysdeps/x86_64/mul_1.S: Likewise.
46678         * sysdeps/x86_64/rshift.S: Likewise.
46679         * sysdeps/x86_64/sub_n.S: Likewise.
46680         * sysdeps/x86_64/submul_1.S: Likewise.
46681
46682 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46683
46684         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46685         Define __sched_param instead of SCHED_* and sched_param when
46686         <bits/sched.h> is included with __need_schedparam defined.
46687         * bits/sched.h [__need_schedparam]
46688         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46689         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46690         (__defined_schedparam): Define to 1.
46691         (__sched_param): New structure, identical to sched_param.
46692         (__need_schedparam): Undefine.
46693
46694 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46695
46696         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46697         (epoll_create1): Declare.
46698
46699         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46700
46701 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46702
46703         [BZ #7066]
46704         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46705         shifting retval into place.
46706
46707 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46708
46709         * nis/rpcsvc/nis.h: Update copyright notice.
46710         * nis/rpcsvc/nis.x: Likewise.
46711         * nis/rpcsvc/nis_callback.h: Likewise.
46712         * nis/rpcsvc/nis_callback.x: Likewise.
46713         * nis/rpcsvc/nis_object.x: Likewise.
46714         * nis/rpcsvc/nis_tags.h: Likewise.
46715         * nis/rpcsvc/yp.h: Likewise.
46716         * nis/rpcsvc/yp.x: Likewise.
46717         * nis/rpcsvc/ypupd.h: Likewise.
46718         * nis/yp_xdr.c: Likewise.
46719         * nis/ypupdate_xdr.c: Likewise.
46720
46721         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46722         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46723         (pmap_getport): Use __libc_rpc_getport.
46724         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46725         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46726         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46727
46728 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46729
46730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46731         fanotify_mark.
46732
46733 2010-08-27  Roland McGrath  <roland@redhat.com>
46734
46735         * sysdeps/i386/i686/multiarch/Makefile
46736         (CFLAGS-varshift.c): New variable.
46737
46738 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46739
46740         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46741         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46742
46743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46744
46745         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46746
46747 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46748
46749         * sysdeps/x86_64/strlen.S: Unroll the loop.
46750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46751         strlen-sse2 strlen-sse2-bsf.
46752         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46753         __strlen_no_bsf if bit_Slow_BSF is set.
46754         (__strlen_sse42): Removed.
46755         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46756         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46757
46758 2010-08-25  Roland McGrath  <roland@redhat.com>
46759
46760         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46761         * sysdeps/x86_64/multiarch/varshift.c: New file.
46762         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46763         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46764         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46765         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46766
46767 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46768
46769         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46770         strlen-sse2 strlen-sse2-bsf.
46771         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46772         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46773         (__strlen_sse2): Removed.
46774         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46775         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46777         bit_Slow_BSF for Atom.
46778         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46779         (index_Slow_BSF): Define.
46780         (HAS_SLOW_BSF): Define.
46781
46782 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46783
46784         [BZ #10851]
46785         * resolv/res_init.c (__res_vinit): When no server address at all
46786         is given default to loopback.
46787
46788 2010-08-24  Roland McGrath  <roland@redhat.com>
46789
46790         * configure.in: Remove config-name.h generation.
46791         * configure: Regenerated.
46792         * config-name.in: File removed.
46793         * scripts/config-uname.sh: New file.
46794         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46795         ($(objdir)config-name.h): New target.
46796
46797         * sunrpc/rpc_parse.h: Avoid nested comment.
46798
46799 2010-08-24  Richard Henderson  <rth@redhat.com>
46800             Ulrich Drepper  <drepper@redhat.com>
46801             H.J. Lu  <hongjiu.lu@intel.com>
46802
46803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46805         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46806         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46807         _mm_alignr_epi8 with _mm_loadu_si128.
46808         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46809         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46810         (__m128i_shift_right): Removed.
46811         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46812         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46813         * sysdeps/x86_64/multiarch/varshift.h: New file.
46814         * sysdeps/x86_64/multiarch/varshift.S: New file.
46815
46816 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46817
46818         * configure.in: Move assembler checks to before sysdep dir checking.
46819
46820 2010-08-20  Petr Baudis  <pasky@suse.cz>
46821
46822         * LICENSES: Sync the sunrpc license.
46823
46824 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46825
46826         * sunrpc/auth_des.c: Update copyright notice once again.
46827         * sunrpc/auth_none.c: Likewise.
46828         * sunrpc/auth_unix.c: Likewise.
46829         * sunrpc/authdes_prot.c: Likewise.
46830         * sunrpc/authuxprot.c: Likewise.
46831         * sunrpc/bindrsvprt.c: Likewise.
46832         * sunrpc/clnt_gen.c: Likewise.
46833         * sunrpc/clnt_perr.c: Likewise.
46834         * sunrpc/clnt_raw.c: Likewise.
46835         * sunrpc/clnt_simp.c: Likewise.
46836         * sunrpc/clnt_tcp.c: Likewise.
46837         * sunrpc/clnt_udp.c: Likewise.
46838         * sunrpc/clnt_unix.c: Likewise.
46839         * sunrpc/des_crypt.c: Likewise.
46840         * sunrpc/des_soft.c: Likewise.
46841         * sunrpc/get_myaddr.c: Likewise.
46842         * sunrpc/getrpcport.c: Likewise.
46843         * sunrpc/key_call.c: Likewise.
46844         * sunrpc/key_prot.c: Likewise.
46845         * sunrpc/openchild.c: Likewise.
46846         * sunrpc/pm_getmaps.c: Likewise.
46847         * sunrpc/pm_getport.c: Likewise.
46848         * sunrpc/pmap_clnt.c: Likewise.
46849         * sunrpc/pmap_prot.c: Likewise.
46850         * sunrpc/pmap_prot2.c: Likewise.
46851         * sunrpc/pmap_rmt.c: Likewise.
46852         * sunrpc/rpc/auth.h: Likewise.
46853         * sunrpc/rpc/auth_unix.h: Likewise.
46854         * sunrpc/rpc/clnt.h: Likewise.
46855         * sunrpc/rpc/des_crypt.h: Likewise.
46856         * sunrpc/rpc/key_prot.h: Likewise.
46857         * sunrpc/rpc/netdb.h: Likewise.
46858         * sunrpc/rpc/pmap_clnt.h: Likewise.
46859         * sunrpc/rpc/pmap_prot.h: Likewise.
46860         * sunrpc/rpc/pmap_rmt.h: Likewise.
46861         * sunrpc/rpc/rpc.h: Likewise.
46862         * sunrpc/rpc/rpc_des.h: Likewise.
46863         * sunrpc/rpc/rpc_msg.h: Likewise.
46864         * sunrpc/rpc/svc.h: Likewise.
46865         * sunrpc/rpc/svc_auth.h: Likewise.
46866         * sunrpc/rpc/types.h: Likewise.
46867         * sunrpc/rpc/xdr.h: Likewise.
46868         * sunrpc/rpc_clntout.c: Likewise.
46869         * sunrpc/rpc_cmsg.c: Likewise.
46870         * sunrpc/rpc_common.c: Likewise.
46871         * sunrpc/rpc_cout.c: Likewise.
46872         * sunrpc/rpc_dtable.c: Likewise.
46873         * sunrpc/rpc_hout.c: Likewise.
46874         * sunrpc/rpc_main.c: Likewise.
46875         * sunrpc/rpc_parse.c: Likewise.
46876         * sunrpc/rpc_parse.h: Likewise.
46877         * sunrpc/rpc_prot.c: Likewise.
46878         * sunrpc/rpc_sample.c: Likewise.
46879         * sunrpc/rpc_scan.c: Likewise.
46880         * sunrpc/rpc_scan.h: Likewise.
46881         * sunrpc/rpc_svcout.c: Likewise.
46882         * sunrpc/rpc_tblout.c: Likewise.
46883         * sunrpc/rpc_util.c: Likewise.
46884         * sunrpc/rpc_util.h: Likewise.
46885         * sunrpc/rpcinfo.c: Likewise.
46886         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46887         * sunrpc/rpcsvc/key_prot.x: Likewise.
46888         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46889         * sunrpc/rpcsvc/mount.x: Likewise.
46890         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46891         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46892         * sunrpc/rpcsvc/rex.x: Likewise.
46893         * sunrpc/rpcsvc/rstat.x: Likewise.
46894         * sunrpc/rpcsvc/rusers.x: Likewise.
46895         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46896         * sunrpc/rpcsvc/spray.x: Likewise.
46897         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46898         * sunrpc/rtime.c: Likewise.
46899         * sunrpc/svc.c: Likewise.
46900         * sunrpc/svc_auth.c: Likewise.
46901         * sunrpc/svc_authux.c: Likewise.
46902         * sunrpc/svc_raw.c: Likewise.
46903         * sunrpc/svc_run.c: Likewise.
46904         * sunrpc/svc_simple.c: Likewise.
46905         * sunrpc/svc_tcp.c: Likewise.
46906         * sunrpc/svc_udp.c: Likewise.
46907         * sunrpc/svc_unix.c: Likewise.
46908         * sunrpc/svcauth_des.c: Likewise.
46909         * sunrpc/xcrypt.c: Likewise.
46910         * sunrpc/xdr.c: Likewise.
46911         * sunrpc/xdr_array.c: Likewise.
46912         * sunrpc/xdr_float.c: Likewise.
46913         * sunrpc/xdr_mem.c: Likewise.
46914         * sunrpc/xdr_rec.c: Likewise.
46915         * sunrpc/xdr_ref.c: Likewise.
46916         * sunrpc/xdr_sizeof.c: Likewise.
46917         * sunrpc/xdr_stdio.c: Likewise.
46918
46919         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46920         handling.
46921
46922 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46923
46924         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46925
46926 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46927
46928         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46929         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46930         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46931         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46932         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46933         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46934         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46935         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46936         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46937         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46938         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46939         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46940         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46941         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46942
46943 2010-07-26  Anton Blanchard  <anton@samba.org>
46944
46945         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46946         * malloc/arena.c (heap_trim): Likewise.
46947
46948 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46949
46950         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46951         here.  Not...
46952         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46953         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46954
46955 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46956
46957         * sysdeps/i386/elf/Makefile: New file.
46958
46959 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46960
46961         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46962         from fanotify_init.
46963         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46964         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46965
46966 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46967
46968         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46969         of strncasecmp_l.
46970         * sysdeps/multiarch/strcmp.S: Likewise.
46971
46972 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46973
46974         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46975         strncase_l-nonascii.
46976         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46977         Add strncase_l-ssse3.
46978         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46979         * sysdeps/x86_64/strcmp.S: Likewise.
46980         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46981         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46982         * sysdeps/x86_64/strncase.S: New file.
46983         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46984         * sysdeps/x86_64/strncase_l.S: New file.
46985         * string/Makefile (strop-tests): Add strncasecmp.
46986         * string/test-strncasecmp.c: New file.
46987
46988         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46989         warning.
46990
46991         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46992         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46993
46994 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46995
46996         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46997
46998 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46999
47000         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47001         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47002         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47003
47004 2010-05-01  Alan Modra  <amodra@gmail.com>
47005
47006         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47007         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47008         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47009         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47010         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47011         tidying.  Don't tail-call __sigjmp_save for static lib.
47012         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47013         save location.
47014         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47015         (CALL_MCOUNT): Add eh info, and nop after bl.
47016         (TAIL_CALL_SYSCALL_ERROR): New macro.
47017         (PSEUDO_RET): Use it.
47018         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47019         Correct save location of integer regs and cr.
47020         (_dl_profile_resolve): Correct cr save location.  Delete nops
47021         after bl when SHARED.  Reduce cfi size a little by better
47022         placement of cfi directives.
47023         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47024         make a stack frame.  Instead use parm save area as a temp.
47025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47026         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47028         Don't make a stack frame for parent, use parm save area.
47029         Increase child stack frame to 112 bytes.  Don't save unused reg,
47030         and adjust reg usage.  Set up cfi on error recovery and
47031         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47033         (__makecontext): Add dummy nop after jump to exit.
47034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47035         Use correct parm save area and cr save, reduce stack frame.
47036         Correct cfi for possible PSEUDO_RET frame setup.
47037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47038         Branch to local label emitted by PSEUDO_RET rather than
47039         __syscall_error.
47040
47041 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47042
47043         [BZ #11904]
47044         * locale/programs/locale.c (print_assignment): New function.
47045         (show_locale_vars): Use it.
47046
47047 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47048
47049         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47050         field.
47051         (struct statfs64): Likewise.
47052         (_STATFS_F_FLAGS): Define.
47053         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47054         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47055         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47056         (ST_VALID): Define locally.
47057         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47058         __statvfs_getflags, use the provided value.
47059         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47060         __ASSUME_STATFS_F_FLAGS.
47061
47062         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47063
47064         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47065         Add sys/fanotify.h.
47066         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47067         fanotify_mask for GLIBC_2.13.
47068         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47069         fanotify_init and fanotify_mark.
47070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47071         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47072
47073         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47074         Add prlimit.
47075         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47076         prlimit64 for GLIBC_2.13.
47077         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47078         prlimit64.
47079         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47080         syscall.
47081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47082         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47083         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47084         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47086         add prlimit alias.
47087         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47088
47089         [BZ #11903]
47090         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47091         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47092
47093         * nss/Makefile: Add rules to build and run tst-nss-test1.
47094         * shlib-versions: Add entry for libnss_test1.
47095         * nss/nss_test1.c: New file.
47096         * nss/tst-nss-test1.c: New file.
47097
47098         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47099         (__nss_configure_lookup): Set appropriate entry in
47100         __nss_configure_lookup to true.
47101         * nss/nsswitch.h: Define enum with indeces of databases in
47102         databases and __nss_database_custom arrays.  Declare
47103         __nss_database_custom.
47104         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47105         to avoid using nscd when custom rules are installed.
47106         * nss/getXXbyYY_r.c: Likewise.
47107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47108
47109         * nss/nss_files/files-parse.c: Whitespace fixes.
47110
47111 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47112
47113         [BZ #11883]
47114         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47115         * posix/fnmatch_loop.c: Likewise.
47116
47117 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47118
47119         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47120         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47121         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47122         * Versions.def [GLIBC_2.13]: Add.
47123
47124 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47125
47126         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47127         Also fail if tpwd after pwuid call is NULL.
47128
47129 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47130
47131         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47132         when converting to ms.
47133
47134 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47135
47136         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47137         EOPNOTSUPP errors with ENOTTY.
47138         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47139         EOPNOTSUPP errors with ENOTTY.
47140
47141 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47142
47143         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47144         Add strcasecmp_l-ssse3.
47145         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47146         strcasecmp.
47147         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47148         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47149         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47150
47151 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47152
47153         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47154
47155         * string/Makefile (strop-tests): Add strcasecmp.
47156         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47157         strcasecmp_l-nonascii.
47158         (gen-as-const-headers): Add locale-defines.sym.
47159         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47160         * sysdeps/x86_64/strcasecmp.S: New file.
47161         * sysdeps/x86_64/strcasecmp_l.S: New file.
47162         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47163         * sysdeps/x86_64/locale-defines.sym: New file.
47164         * string/test-strcasecmp.c: New file.
47165
47166         * string/test-strcasestr.c: Test both ends of the range of characters.
47167         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47168
47169 2010-07-29  Roland McGrath  <roland@redhat.com>
47170
47171         [BZ #11856]
47172         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47173
47174 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47175
47176         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47177         for ld.so.
47178
47179 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47180
47181         * manual/memory.texi (Malloc Tunable Parameters): Document
47182         M_PERTURB.
47183
47184 2010-07-26  Roland McGrath  <roland@redhat.com>
47185
47186         [BZ #11840]
47187         * configure.in (-fgnu89-inline check): Set and substitute
47188         gnu89_inline, not libc_cv_gnu89_inline.
47189         * configure: Regenerated.
47190         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47191
47192 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47193
47194         * string/test-strnlen.c: New file.
47195         * string/Makefile (strop-tests): Add strnlen.
47196         * string/tester.c (test_strnlen): Add a few more test cases.
47197         * string/tst-strlen.c: Better error reporting.
47198
47199         * sysdeps/x86_64/strnlen.S: New file.
47200
47201 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47202
47203         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47204         lower-latency instructions.
47205
47206 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47207
47208         * string/test-strcasestr.c: New file.
47209         * string/test-strstr.c: New file.
47210         * string/Makefile (strop-tests): Add strstr and strcasestr.
47211         * string/str-two-way.h: Don't undefine MAX.
47212         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47213
47214 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47215
47216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47217         strcasestr-nonascii.
47218         (CFLAGS-strcasestr-nonascii.c): Define.
47219         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47220         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47221         Remove unused attribute.
47222
47223 2010-07-20  Roland McGrath  <roland@redhat.com>
47224
47225         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47226         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47227         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47228         like LD_HWCAP_MASK can disable hwcaps.
47229
47230 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47231
47232         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47233
47234 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47235
47236         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47237         call in strcasestr.
47238         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47239         __strcasestr_sse42_nonascii.
47240         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47241         strcasestr-nonascii.c.
47242         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47243
47244 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47245
47246         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47247         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47248         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47249         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47250
47251 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47252
47253         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47254         fcntl.
47255
47256 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47257
47258         [BZ #11577]
47259         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47260         dl_signal_cerror.
47261
47262 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47263
47264         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47265         _PC_PIPE_BUF using F_GETPIPE_SZ.
47266
47267 2010-07-05  Roland McGrath  <roland@redhat.com>
47268
47269         * manual/arith.texi (Rounding Functions): Fix rint description
47270         implicit in round description.
47271
47272 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47273
47274         * elf/Makefile: Fix linking for a few tests to make recent linker
47275         happy.
47276
47277 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47278
47279         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47280         $(common-objpfx)libc_nonshared.a.
47281
47282 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47283
47284         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47285         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47286         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47287         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47288         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47289         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47290         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47291         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47306         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47307         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47308         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47309         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47310         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47311         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47312         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47313         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47314         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47315         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47316         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47317         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47332
47333 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47334
47335         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47336         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47337         * string/memmove.c (memmove): Renamed to ...
47338         (MEMMOVE): ...this.  Default to memmove.
47339         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47340         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47341         (END_CHK): Define.
47342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47343         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47344         mempcpy-ssse3-back memmove-ssse3-back.
47345         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47346         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47347         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47348         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47349         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47350         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47351         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47352         * sysdeps/x86_64/multiarch/memmove.c: New file.
47353         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47354         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47355         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47356         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47357         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47358         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47359         Define.
47360         (index_Fast_Copy_Backward): Define.
47361         (HAS_ARCH_FEATURE): Define.
47362         (HAS_FAST_REP_STRING): Define.
47363         (HAS_FAST_COPY_BACKWARD): Define.
47364
47365 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47366
47367         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47368         Restore proper fallback handling.
47369
47370 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47371
47372         [BZ #11701]
47373         * posix/group_member.c (__group_member): Correct checking loop.
47374
47375         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47376         OOM in getpwuid_r correctly.  Return error number when the caller
47377         should return, otherwise -1.
47378         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47379         call returning > 0 value.
47380         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47381
47382 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47383
47384         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47385         libc_nonshared.a from targets in modules-names.
47386
47387 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47388
47389         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47390         requires it.
47391
47392 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47393
47394         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47395         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47396         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47397         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47398
47399 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47400
47401         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47402
47403 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47404
47405         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47406         and F_GETPIPE_SZ.
47407         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47408         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47409         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47410         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47411         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47412         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47413
47414 2010-06-14  Roland McGrath  <roland@redhat.com>
47415
47416         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47417
47418 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47419
47420         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47421         __REDIRECT followed by __THROW.
47422         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47423         * posix/getopt.h (getopt): Likewise.
47424
47425 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47426
47427         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47428         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47429         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47430         in AT_FLAGS.
47431         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47432         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47433
47434 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47435
47436         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47437
47438 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47439
47440         [BZ #11640]
47441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47442         Properly check family and model.
47443
47444 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47445
47446         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47447
47448 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47449
47450         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47451
47452 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47453
47454         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47455         symbol reference.
47456
47457 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47458
47459         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47460         symbol reference.
47461
47462 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47463
47464         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47465         and internal_recvmmsg.
47466         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47467         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47468         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47469         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47470
47471         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47472         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47473         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47474
47475 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47476
47477         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47478
47479 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47480
47481         POWER7 optimizations.
47482         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47483         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47484
47485 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47486
47487         * version.h: Update for 2.13 development version.
47488
47489 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47490
47491         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47492         exceptions.  Return 0.
47493
47494 2010-05-07  Roland McGrath  <roland@redhat.com>
47495
47496         * elf/ldconfig.c (main): Add a const.
47497
47498 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47499
47500         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47501         (args_options): Add no-idn option.
47502         (ahosts_keys_int): Add idn_flags to ai_flags.
47503         (parse_option): Handle 'i' option to clear idn_flags.
47504
47505         * malloc/malloc.c (_int_free): Possible race in the most recently
47506         added check.  Only act on the data if no current modification
47507         happened.
47508
47509 See ChangeLog.17 for earlier changes.